I have a quick question regarding the difference in terms of functionality between 
<put> tag and <tiles:put> tag, with <tiles:put> tag, you can pass objects through 
beanName attribute
example:

foo.jsp
<jsp:useBean .. name="someBean"/>

<tiles:insert definition="bar">
  <tiles:put name="list" beanName="somebean"/>

However with the <put> tag, you can only pass string, page, template or definitions.  
Is there a good reason for this difference?  The only way to pass objects in separate 
XML file is through the <putList> tag, which baffles me since there might be instances 
where I want to define a simle attribute to contain an Object, is there a plan to 
create something like:

<definition name="foo.bar">
  <putObject name="topMenuItem" type="org.apache.struts.tiles.beans.SimpleMenuItem" 
                 value="Click me" link="foo.bar"/> ..


Thanks in advance.

Frank

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

Reply via email to