OK, I have gotten to where I know what is happening. Now, I hope
someone can help me to understand why.
The ActionMessage is getting properly saved in the request and the
Further, the error has a valid key into the current application resouces
. Other tags
My conclusion: for some reason, t
Joe wrote"A common case here would be if you are returning a redirecting
forward; in that case, the JSP would be drawn in response to a second
HTTP request, and the saved errors would have been lost. "
No, nothing special just the plain vanilla form-jsp setup.
struts-config snips:
Done: http://issues.apache.org/bugzilla/show_bug.cgi?id=34460
K.C.
Joe Germuska wrote:
At 11:19 AM -0700 4/14/05, K.C. Baltz wrote:
I stand corrected and informed. Now that you mention it, I remember
looking into this before. I wish the Struts Users Guide HTML tag API
made the difference a litt
At 3:24 PM -0400 4/14/05, Les Dunaway wrote:
Joe,
Thanks for looking at it. Yes, I am saving the errors - I cut it
too short here's all the code
if(!ud.isUserExist(username)){
errors.add(ActionMessages.GLOBAL_MESSAGE,
new ActionMessage("error.logon.
Joe,
Thanks for looking at it. Yes, I am saving the errors - I cut it too
short here's all the code
if(!ud.isUserExist(username)){
errors.add(ActionMessages.GLOBAL_MESSAGE,
new ActionMessage("error.logon.invalid.user"));
log.debug("Inval
At 11:19 AM -0700 4/14/05, K.C. Baltz wrote:
I stand corrected and informed. Now that you mention it, I remember
looking into this before. I wish the Struts Users Guide HTML tag
API made the difference a little more obvious in the description.
I'm not saying the documentation is incorrect, jus
I stand corrected and informed. Now that you mention it, I remember
looking into this before. I wish the Struts Users Guide HTML tag API
made the difference a little more obvious in the description. I'm not
saying the documentation is incorrect, just that the quick skim I did
before I sent m
At 8:55 AM -0700 4/14/05, K.C. Baltz wrote:
Perhaps you should be using to display your error
messages instead of
I think it depends on if you use saveErrors or saveMessages in your Action.
This is NOT true.
The differences between the h:errors tag and the h:messages tag are
functional, but bo
Perhaps you should be using to display your error messages
instead of
I think it depends on if you use saveErrors or saveMessages in your Action.
K.C.
Les Dunaway wrote:
I am having problems with Struts 1.2.4 ActionMessage / ActionError.
I'm using a setup like recommended on the wiki
Acti
At 8:03 AM -0400 4/14/05, Les Dunaway wrote:
What am I messing up?
In the code you included in your email, you were not saving the
errors. If that's not just a copy/paste mistake, then there's your
problem.
Joe
I am having problems with Struts 1.2.4 ActionMessage / ActionError.
I'm using a set
I am having problems with Struts 1.2.4 ActionMessage / ActionError.
I'm using a setup like recommended on the wiki
ActionMessages am = new ActionMessages();
am.add( ActionMessages.GLOBAL_MESSAGE,
new ActionMessage( "not.authorized.for.account" ) );
saveErrors( request, am );
11 matches
Mail list logo