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
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
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
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
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
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?
; 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
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
;>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> The problem is that these tags are never populated while using the AJAX
>>>> feature. Neither errors nor messages are displayed at any tim
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
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=
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
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:
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
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
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
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
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
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
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
iling List" <[EMAIL PROTECTED]>
|
| cc:
|
| S
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
22 matches
Mail list logo