I didnt understand the previous message . Could you please elaborate on it or
tell me as to where to add it ?
Thanks
Nanditha
nandyiyer wrote:
Hello all ,
I'm trying to include XML based validation in my application ?
This is part of my struts.xml -
action
2010/4/26 nandyiyer nandussi...@gmail.com:
I didnt understand the previous message . Could you please elaborate on it or
tell me as to where to add it ?
If you are using Simple theme, you must add previously mentioned tag
into your jsp.
Regards
--
Łukasz
http://www.lenart.org.pl/
Kapituła
I tried adding this tag - s:actionerror / ( and also with s:actionmessage
/ , but no luck ... What could be the problem here ?
And suppose if I dont use Simple theme , should we do anything ?
Thanks
Nanditha
--
View this message in context:
2010/4/23 nandyiyer nandussi...@gmail.com:
Changed the code and fixed the issue . The validation works but the message
wont be displayed on the screen . Can anyone say what is the problem here ?
How do you know that it works?
Regards
--
Łukasz
http://www.lenart.org.pl/
Kapituła Javarsovia
Integrating Tiles 2 by using Struts 2 Annotations
Hi Everybody,
I'm using Spring 3 and Struts 2.1.8 (with the convention plugin) in my
project and have tried to embed jsp's related to either of them by using
tiles 2.2.1.
With Spring it works out great, but not with Struts. I tried some
Hello,
I am trying to use the JSON plug-in for the first time. I have a form
that uses jquery to submit to a struts2 action, the action is being
invoked properly and I am trying to send result back to call back
function, but when result returns the browser prompts me to save or
open the result
You need to point the location property of each Result annotation to the tile
definition you want to display not the actual page e.g.
@Results({
@Result(name = input, location = bLogin, type = tiles),
@Result(name = error, location = bLogin, type = tiles),
@Result(name = success,
Wow, it can be so easy ... Thank you so much.
At a first glance it seems to be working ...
There apear just some problems when resolving the namespace (There is no
action mapped for namespace...) and the css can't also be found anymore
after refreshing the page.
The dependencies of the pages
Hi Martin,
Thanks for the reply. I apologize if I was not clear earlier. Let me try to
rephrase my question again. The 'selected' value of the auto-select comes
from another bean property. The iterator is used to iterate over an action
specific bean property.
The s:select is used inside
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
All,
Bump: does anyone have any ideas?
Thanks,
- -chris
On 4/12/2010 4:48 PM, Christopher Schultz wrote:
All,
It's been a long time since I've posted, and I've got my eye on S2 for
some upcoming work that will share code with a non-web-based
Hi,
Is your intention to show the message 'success' in the results div? In
that case you don't need a JSON response.
Also, is jsonData an instance variable of your action class. Otherwise,
your json result will simply return an empty json. You can verify the
response by opening the response
Chris,
I think the fundamental mechanism of S2 is the configurable interceptor
stack where each interceptor applies itself to the current action based on
the interfaces the action implements. You can still reuse this mechanism
by defining your own interceptor stack with your own interfaces.
When I dont provide any values to the input fields , I cannot perform the
operation and when I provide , it happens .
So I'm sure that validation is working .
Thanks
Nanditha
nandyiyer wrote:
Hello all ,
I'm trying to include XML based validation in my application ?
This is part
13 matches
Mail list logo