Tiles allows us to specify attribute values at run time in a JSP
definition. For example, I can use the following

<tiles:put name="title" beanName="myBean" beanProperty="myProperty"/>

to specify title at runtime by setting the myProperty attribute of myBean.

However, I am using XML for defining tiles and would like to do the
equivalent of what I can do using JSP definition. The following
fragment in DTD only has name and value attributes, no beanName and
beanProperty. So how can I set values at runtime.

<!ATTLIST put              id               ID              #IMPLIED>
<!ATTLIST put              content          CDATA           #IMPLIED>
<!ATTLIST put              direct           %Boolean;       #IMPLIED>
<!ATTLIST put              name             CDATA           #REQUIRED>
<!ATTLIST put              type             %ContentType;   #IMPLIED>
<!ATTLIST put              value            CDATA           #IMPLIED>


--
Sanjay Sharma

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

Reply via email to