RE: ActionErrors and ActionMessages not included in the result generated by org.apache.struts2.json.JSONResult

2010-11-22 Thread Alfredo Manuel Osorio Martinez
Manuel Osorio Martinez Enviado el: Monday, November 22, 2010 2:03 PM Para: Struts Users Mailing List Asunto: ActionErrors and ActionMessages not included in the result generated by org.apache.struts2.json.JSONResult Hello, I'm trying to generate a json output with the JSONResult but the pr

ActionErrors and ActionMessages not included in the result generated by org.apache.struts2.json.JSONResult

2010-11-22 Thread Alfredo Manuel Osorio Martinez
Hello, I'm trying to generate a json output with the JSONResult but the problem is that actionMessages and actionErrors properties are not being included. I also tried to pass this parameter to the interceptor but it didn't work: actionErro

Re: How to format the actionerrors and actionmessages in the jsp page?

2007-07-29 Thread M.Liang Liu
Hi, Richard Sayre Thanks for ur reply. I have been looking for a solution by myself but to find that there was none to resolve it just change the configuration-file. I have no experience in taking use of FreeMarker. However,ur way may be just the only one. I will just try and thanks for ur commen

Re: How to format the actionerrors and actionmessages in the jsp page?

2007-07-29 Thread Richard Sayre
For clarification the following line: <#include "/${parameters.templateDir}/xhtml/validationarea.ftl" /> was added to the first line of form.ftl - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAI

Re: How to format the actionerrors and actionmessages in the jsp page?

2007-07-29 Thread Richard Sayre
Hi, I had the same problem. I did not like the way the error were being displayed (In a new row above the field that has the error) To do this I have to chenge the XHTML template First I removed the validation from the controlheader-core <#-- REMOVED We have our own Error area <#if hasFieldEr

Re: How to format the actionerrors and actionmessages in the jsp page?

2007-07-28 Thread Nuwan Chandrasoma
Hi, I think you have to change the actionerror.ftl and actionmessage.ftl file to customize the error/message display. i am not sure there may be some other way to do this also. Thanks, Nuwan Bhuwan wrote: Hey! I am having the same issue. Have you found out a solution for it by any chance?

Re: How to format the actionerrors and actionmessages in the jsp page?

2007-07-28 Thread Bhuwan
; in > the classpath,as well as defined the struts.xml as: > > > Thanks for reading and looking forward to any reply. > > -- > --M.Liang Liu > > -- View this message in context: http://www.nabble.com/How-to-format-the-actionerrors-and-actionmessages-in-the-js

How to format the actionerrors and actionmessages in the jsp page?

2007-07-27 Thread M.Liang Liu
Hi,all: I would like to add header and footer to the actionerrors so as to it can display in the way my client like. In Struts1.2,i can just put the following code in the properties file: errors.hea

Re: [S2] Mixing Struts2 ajax functions with actionErrors and actionMessages

2007-02-13 Thread kedgecomb
;>> >>>> >>>> >>>> >>>> >>>> >>>> The problem is that these tags are never populated while using the AJAX >>>> feature. Neither errors nor messages are displayed at any tim

Re: [S2] Mixing Struts2 ajax functions with actionErrors and actionMessages

2007-02-13 Thread Musachy Barroso
That should be it. Just to make sure it is not related to the errors or the messages, replace the with some fixed text, and see if that text is showing up. musachy kedgecomb wrote: I am using a single taglib directive: <%@ taglib prefix="s" uri="/struts-tags" %> Is there something

Re: [S2] Mixing Struts2 ajax functions with actionErrors and actionMessages

2007-02-13 Thread kedgecomb
either errors nor messages are displayed at any time. If I >> use >> the same url that the s:div tag uses, and key it into the browser >> address, >> the row is added or deleted and the message displays correctly, (using >> the >> exact same jsp). When I use an ajax link: >> >> >> >> >> > name=

Re: Mixing Struts2 ajax functions with actionErrors and actionMessages

2007-02-13 Thread Musachy Barroso
The ajax request is handled just like any other request (its asynchronous nature is only related to the client). So whatever the action outputs, it will be sent to the client and inserted inside the div. Use Firebug to see what is the return of the ajax call, plus make sure the jsp fragment has

Mixing Struts2 ajax functions with actionErrors and actionMessages

2007-02-13 Thread kedgecomb
ew this message in context: http://www.nabble.com/Mixing-Struts2-ajax-functions-with-actionErrors-and-actionMessages-tf3222408.html#a8950048 Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe, e-mail:

ActionErrors and ActionMessages not working.

2006-11-30 Thread Tamilselvan Radha Krishnan
Hi, I'm using struts 1.2 version and currently held up in a minor issue but I could not figure out what i'm missing. In the code snippet below, From Action class I'm adding an ActionErrors to display an Error message in the JSP. In JSP I've a message Tag with correctly. The Action is correctly

Re: ActionErrors and ActionMessages

2005-12-05 Thread Laurie Harper
burnayev wrote: I'm trying to validate a sign in form with 2 fileds: email and password. I'm using standard "required" and "email" validators to check the validity of the email. As far as I can tell from the debugger output all the errors are added under org.apache.struts.action.ERROR key like

ActionErrors and ActionMessages

2005-12-05 Thread burnayev
I'm trying to validate a sign in form with 2 fileds: email and password. I'm using standard "required" and "email" validators to check the validity of the email. As far as I can tell from the debugger output all the errors are added under org.apache.struts.action.ERROR key like this: org.apache

Re: ActionErrors and ActionMessages struts 1.2.4 confusion

2004-09-21 Thread Muhammad Momin Rashid
Muhammad Momin Rashid. "Matt Bathje" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Muhammad Momin Rashid wrote: > >> Hello All, >> >> I have recently migrated our application from struts 1.1 to 1.2.4. There >> is some confusion in my min

Re: ActionErrors and ActionMessages struts 1.2.4 confusion

2004-09-21 Thread Matt Bathje
Muhammad Momin Rashid wrote: Hello All, I have recently migrated our application from struts 1.1 to 1.2.4. There is some confusion in my mind over use of ActionErrors and ActionMessages. 1. Since ActionError is depricated, I have changed ActionError to ActionMessage in my code as recommended

RE: ActionErrors and ActionMessages struts 1.2.4 confusion

2004-09-21 Thread Allistair Crossley
i use for ActionMessages saved with saveErrors(request, actionMessages). ADC > -Original Message- > From: news [mailto:[EMAIL PROTECTED] Behalf Of Muhammad > Momin Rashid > Sent: 21 September 2004 14:45 > To: [EMAIL PROTECTED] > Subject: ActionErrors and ActionMes

ActionErrors and ActionMessages struts 1.2.4 confusion

2004-09-21 Thread Muhammad Momin Rashid
Hello All, I have recently migrated our application from struts 1.1 to 1.2.4. There is some confusion in my mind over use of ActionErrors and ActionMessages. 1. Since ActionError is depricated, I have changed ActionError to ActionMessage in my code as recommended. 2. ActionErrors is still

Re: ActionErrors and ActionMessages

2004-07-25 Thread jthompson
iling List" <[EMAIL PROTECTED]> | | cc: | | S

ActionErrors and ActionMessages

2004-07-25 Thread jthompson
I'm trying to use the saveErrors method in an Action class using (request,actionMessages) as parameters, instead of (request,actionErrors) which has been deprecated. I keep getting the following error at compilation though: saveErrors(javax.servlet.http.HttpServletRequest,org.apache.struts.ac