2017-11-16 16:15 GMT+01:00 Dhulipudi, Sivannarayana
:
> Hi All,
>
> I tried to use struts 2.x ActionError and ActonMessage classes to do
> validations.
>
> I saw a lot examples on internet, in those examples adding errors and
> messages to actionsupport class like
>
> addActionErrors() and addA
ursday, November 16, 2017 9:28 AM
> To: 'Struts Users Mailing List'
> Subject: RE: Struts2.x ActionError And ActionMessage
>
> ActionError and ActionMessage are not classes you can utilize stand alone.
> Calling addActionError() is actually building a List in the action and
>
On 11/17/2017 9:12 AM, Yasser Zamani wrote:
> Hello Dhulipudi, Welcome!
>
> Could you try below please
>
> ActionSupport myCurrentActionSupport = (ActionSupport)
> ActionContext.getContext().getValueStack().peek();
>
> myCurrentActionSupport.addActionError("my error");
Please remember if
On 11/16/2017 8:09 PM, Dhulipudi, Sivannarayana wrote:
> when ever validation failed, I want to create one action error message and
> keep that action error in context
Hello Dhulipudi, Welcome!
Could you try below please
ActionSupport myCurrentActionSupport = (ActionSupport)
ActionContex
]
Sent: Thursday, November 16, 2017 11:39 AM
To: Struts Users Mailing List
Subject: RE: Struts2.x ActionError And ActionMessage
Actually we are using Apache commons validation frame work along with struts,
when ever validation failed, I want to create one action error message and keep
that action
[paul.zepern...@healthsmart.com]
Sent: Thursday, November 16, 2017 9:28 AM
To: 'Struts Users Mailing List'
Subject: RE: Struts2.x ActionError And ActionMessage
ActionError and ActionMessage are not classes you can utilize stand alone.
Calling addActionError() is actually building a L
: Struts2.x ActionError And ActionMessage
Hi Siva,
Can you share an example of what you’re doing and what’s not working?
thanks,
adam
--
_
Adam Brin
Director of Technology, Digital Antiquity
480.965.1278
> On Nov 16, 2017, at 8:15
Hi Siva,
Can you share an example of what you’re doing and what’s not working?
thanks,
adam
--
_
Adam Brin
Director of Technology, Digital Antiquity
480.965.1278
> On Nov 16, 2017, at 8:15 AM, Dhulipudi, Sivannarayana
> wrote:
>
> Hi
Hi All,
I tried to use struts 2.x ActionError and ActonMessage classes to do
validations.
I saw a lot examples on internet, in those examples adding errors and messages
to actionsupport class like
addActionErrors() and addActionMessage(). but I want to use ActionError and
ActionMessage cla
9 matches
Mail list logo