Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Struts 2 »

Re: Problems migrating Roller to Struts 2.0.9

eliasthayer

2007-08-06

Replies:


I ran into the same problem and was able to resolve it by changing the <put>
tags to <put-attribute> in my tiles.xml file.


Dave Johnson-8 wrote:
>
> On 8/4/07, Antonio Petrelli <antonio.petrelli@(protected):
>> > So I downloaded 2.0.9. First, I found that the old Tiles listener
>> > "org.apache.tiles.listener.TilesListener" is gone.
>>
>> Wrong, it has been renamed to org.apache.tiles.web.startup.TilesListener.
>
> Thanks. I changed my web.xml accordingly. Unfortunately that did not
> fix the problem.
>
>
>> > DEBUG 2007-08-03 17:34:03,725 BasicTilesContainer:render - Dispatching
>> > to definition path '/WEB-INF/jsps/tiles/tiles-simplepage.jsp '
>> > ERROR 2007-08-03 17:34:05,180 RoleSecurityTagSupport:doEndTag - Error
>> > executing tag: Attribute 'head' not found.
>>
>> Err... did you upgrade your Tiles definitions files and JSP pages?
>
> Yes.
>
> We migrated to Tiles 2.0 a couple of months ago using a Tiles
> 2.0-20070207.130156-4 (a snapshot release?) and things have been
> working fine until now when we try to upgrade to Struts 2.0.9. The
> problem is migrating from Tiles 2.0-20070207.130156-4 to Tiles 2.0.
>
> We already converted our tiles.xml file over and the log files
> indicate that it is being loaded. We also migrated our JSP pages over.
>
> Here are the JSP pages involved in the error above:
> * tiles.xml file: http://tinyurl.com/2o4cyr
> * tiles-simplepage.jsp http://tinyurl.com/2dr8g4
> * login.jsp - http://tinyurl.com/yp5cut
>
> Any other ideas what I might be dong wrong?
>
> - Dave
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@(protected)
> For additional commands, e-mail: user-help@(protected)
>
>
>

--
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@(protected)
For additional commands, e-mail: user-help@(protected)

©2008 junlu.com - Jax Systems, LLC, U.S.A.