I did some work on the Tiles 2 TLD last night, first bringing over the
comments from struts-tiles.tld as-is, then starting to modify them to
match the new taglib.

I think I got the [page|component] -> template change finished.  These
were synonyms in the Struts Tiles taglib, so I just removed references
to the old attribute names and left only 'template'.

There is a FAQ to try to capture short answers for people who just
need to get it to work:
  http://struts.apache.org/struts-sandbox/tiles/faq.html

I'd also like to have a taglib-changes page with background
information on why certain decisions were made, so we don't have to
keep asking Greg. :)  I'll try to get some of that from the list
archives.

Here's one I need help with:  Can someone explain how, (for the insert
tag,) "name" replaces "definition" and "attribute"?

The original documentation from Struts Tiles is:

   * definition, for inserting a definition from definitions factory
   * attribute, surrounding tiles's attribute name whose value is used.
     If attribute is associated to 'direct' flag (see put), and flag
is true, write attribute value (no insertion).
   * name, to let 'insert' determine the type of entities to insert.
In this later case, search is done in this order : definitions,
tiles/components/templates, pages.
  * In fact, Page, component and template, are equivalent as a tile,
component or template are jsp page.

Thanks!
--
Wendy

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to