Hi,


The beanName and beanScope attributes are only allowed in a jsp tag <tiles:add ...>. They are not allowed in a definition declared in the config file.
The reason is that there is no beans declared in the config file, so you can't reference one.
One can expect that using beanName in the config file will reference a bean in the jsp where the definition is used/inserted. This is not the case in the actual version. This can be an enhancement request for the next release (you can open a ticket in bugzilla if you whish).


Cedric

[EMAIL PROTECTED] wrote:

Hi

according to the tld and documentation the following should be possible:

<definition name="someInfo" extends="test.somePage">
  <put name="InfoHeader" value="Some Info" />
  <putList name="InfoMessages">
     <add beanName="myMessageBean" beanScope="request"/>
  </putList>
</definition>

The beanName attribute should work for both the put and add tag. Using the
above configuration, I get nothing
Can anyone shed some light on this?

thx,
Henrik Bentel






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






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



Reply via email to