struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "javaskull" <Greg.Bis...@harcourt.com>
Subject Can I use these two together?
Date Fri, 01 Feb 2008 18:52:16 GMT
I am using RAD 7.0 and targeting WebSphere 6.1 using JDK 5.0.   I 
recently moved from RAD 6.0 and WAS 5.1.  I removed Struts 1.1 and 
Tiles 1.1 from the project facets, and then added the JARS for Apache 
Tiles 2.05 and Struts 1.38 (and DisplayTag 1.1.1).

Can I use Tiles 2.05 and Struts 1.38 together?

Also, if I can, should I change this:

<tiles:insert attribute="header">
<tiles:put name="title" beanName="title" beanScope="tile" />
<tiles:put name="formDescription" beanName="formDescription" 
beanScope="tile" />
<tiles:put name="formInstructions" beanName="formInstructions" 
beanScope="tile" />
</tiles:insert>

to this:

<tiles:insertAttribute name="header">
<tiles:putAttribute name="title" value="${tile.title}" />
<tiles:putAttribute name="formDescription" 
value="${title.formDescription}" />
<tiles:putAttribute name="formInstructions" 
value="${title.formInstructions}" />
</tiles:insertAttribute>

?

I'm confused because there's only 2 of the beanXXX thigns instead of 
all 3.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message