I discovered a problem with this definition. On startup if I have
validation turned on, I get the following message in my log file from the
configuration in previous message::
digester.Digester (Digester.java, 1434) Parse Error at line 45 column -1:
Attribute "beanName" is not declared for element "add".
org.xml.sax.SAXParseException: Attribute "beanName" is not declared for
element "add".
at org.apache.crimson.parser.Parser2.error(Parser2.java:3160)
at
org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1411)
at org.apache.crimson.parser.Parser2.content(Parser2.java:1779)
at
org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1507)
at org.apache.crimson.parser.Parser2.content(Parser2.java:1779)
at
org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1507)
at org.apache.crimson.parser.Parser2.content(Parser2.
Attribute "beanName" is not declared for element "add"? But it seems to be
in the TLD for tiles tag?
Anyone?
Henrik Bentel
[EMAIL PROTECTED] on 06/02/2003 11:00:18 AM
Please respond to "Struts Users Mailing List"
<[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
cc:
Subject: Tiles - putlist , add and beanName
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]