You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by Wendy Smoak <ws...@gmail.com> on 2006/06/18 05:41:30 UTC

[tiles] DTD version and cleanup

In the sandbox, Tiles has tiles-config_1_1.dtd and tiles-config_1_2.dtd.

After the "Tiles 2.0" thread, I'd suggest changing to just tiles-config_2_0.dtd.

And along the lines of SB-21 cleaning up the TLD, it looks like a few
things can be removed from the DTD:

ContentType
    page  (use template)
    definition  (use template)
    (I'm not certain about this, but I think page/definition/template
are the same.)

component-definitions (use tiles-definitions)

definition
   page (use path)
   template (use path)

add
   direct (use type=string)

put
   direct  (use type=string)
   content  (use value)

If there are no objections, I'll open an issue for it.

-- 
Wendy

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org


Re: [tiles] DTD version and cleanup

Posted by Greg Reddin <gr...@apache.org>.
On Jun 17, 2006, at 10:41 PM, Wendy Smoak wrote:

> In the sandbox, Tiles has tiles-config_1_1.dtd and tiles- 
> config_1_2.dtd.
>
> After the "Tiles 2.0" thread, I'd suggest changing to just tiles- 
> config_2_0.dtd.
>
> And along the lines of SB-21 cleaning up the TLD, it looks like a few
> things can be removed from the DTD:
>
> ContentType
>    page  (use template)
>    definition  (use template)
>    (I'm not certain about this, but I think page/definition/template
> are the same.)
>
> component-definitions (use tiles-definitions)
>
> definition
>   page (use path)
>   template (use path)
>
> add
>   direct (use type=string)
>
> put
>   direct  (use type=string)
>   content  (use value)
>
> If there are no objections, I'll open an issue for it.

I think you are correct.  Please do.

Thanks,
Greg


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org