As much as I absolutely hate to say it, I think we need to resolve this
ajax tag issue before 2.0 goes GA. The AJAX support of Struts 2 gets so
much attention by the community that to have a brittle, poorly supported
feature that we hope to remove in the next release will only bring
confusion
I believe the request attribute behavior is part of the 2.4 servlet
spec. Regardless, it doesn't hurt to check there if the querystring is
null. Please open up a JIRA ticket and attach the patch there.
Don
Tom Schneider wrote:
Ok, we've had a chance to dig into this a little more. It appear
Ok, we've had a chance to dig into this a little more. It appears that
in Websphere 5.1.1.8, 5.1.1.13 and 6.1, the behavior of the
getQueryString() is different from Jetty/Tomcat. Under websphere, after
a forward, getQueryString() will always return null. Whereas on
Jetty/Tomcat, the getQuer
. . .I was going to suggest the same thing, but you beat me to it :)
I think you may come into some problems because of how we use
TilesAccess internally. This class should be a helpful utility for
external applications, but not used by the guts of tiles (tags for
instance). My guess is that
On Dec 15, 2006, at 11:43 AM, Antonio Petrelli wrote:
Antonio Petrelli ha scritto:
I think that the support to multiple DefinitionsFactory should be
provided (that contradicts what I wrote some time ago), but I
don't know if the "multiplicity" should be provided at container-
level or at D
Antonio Petrelli ha scritto:
I think that the support to multiple DefinitionsFactory should be
provided (that contradicts what I wrote some time ago), but I don't
know if the "multiplicity" should be provided at container-level or at
DefinitionsFactory-level.
I think I answered myself. I am g
Unfortunately it depends on which versions you're using. Tiles support
in struts2 is experimental at this point. Things should stabilize in
2.0.2 since we will not release with a SNAPSHOT dependency, but rather a
versioned SNAPSHOT.
It looks to me like you're using a version of struts that d
when i am executing tiles2 application in the server console & in the browser
exception like this
any one know the solution
give me reply immediately
Thanks
Ravi
java.lang.NullPointerException
at
org.apache.struts2.views.tiles.TilesResult.getComponentDefinition(TilesResult.java:162)
The wrappers around the beans are there to provide accessors to new
attributes needed by the ajax tags. If we were to extract the tags into
a separate taglib or library, I don't think we would need the wrappers.
The additionally required attributes would be contained on the new
classes in the