adam pinder wrote:
>
> You don't redirect on validation errors.
> A jsp page form is associated with an action, the same jsp is
> displayed on validation errors then the action and jsp will re-
> display the erroneous values automatically. Redirect on success is
> more common.
>
> Adam
>
Any form textfield will be submitted when page submitted which is
effectively a parameter.
Adam
On 5 Mar 2010, at 19:46, lucas owen wrote:
Hi Struts users:
I'm wondering if it is possible to pass a parameter inside a
s:submit tag.
I'm working with the following form (this is just a ske
You don't redirect on validation errors.
A jsp page form is associated with an action, the same jsp is
displayed on validation errors then the action and jsp will re-
display the erroneous values automatically. Redirect on success is
more common.
Adam
On 5 Mar 2010, at 21:37, Siddiq Syed
Looks like I have to specify two attributes on the tag:
bundle="applicationMessages"
locale="WW_TRANS_I18N_LOCALE"
By doing this allows struts-menu to work with the Struts2
internationalization support.
Chris
> -Original Message-
> From: CRANFORD, CHRIS [mailto:chris.cranf...@sete
Sounds like a good use for javascript , not a struts tag.
On 3/5/10, lucas owen wrote:
> Hi Struts users:
>
> I'm wondering if it is possible to pass a parameter inside a s:submit tag.
>
> I'm working with the following form (this is just a sketch) on a webpage, in
> which I collect some user dat
Besides specifying the bundle attribute on the menu:useDisplayer tag, is
there any other way to translate the text from menu-config.xml with
struts2? If I specify the bundle as "applicationMessages", it works but
always translates to English rather than the other languages such as
german. How can
Hi all,
The only part that I hate most is validation in struts 2. Rest of the things
falls in right place.
When client side validations happens and the validation messages have to be
displayed in the page that need to be determined form the action., i.e
redirect-action on INPUT.
Here is the exa
Hi Struts users:
I'm wondering if it is possible to pass a parameter inside a s:submit tag.
I'm working with the following form (this is just a sketch) on a webpage, in
which I collect some user data and display a list of elements (let's say
books):
___
some days after jquery UI 1.8 is final.
Best Regards
Johannes Geppert
nani2ratna wrote:
>
> Thanks you very much Johannes.
> Can you tell me when the next version might be released.
>
-
---
web: http://www.jgeppert.com
twitter: http://twitter.com/jogep
--
View this message in context
Hi All,
I'm currently using Struts2 + Spring(DAO).
Say I have 2 web application, these two application are using file upload
functionality. Currently, we are placing same functionality in different
projects(coping .jsp, .action and spring dao classes).
I'd like to know similar to w
Thanks you very much Johannes.
Can you tell me when the next version might be released.
Thanks and Regards
RS
Johannes Geppert wrote:
>
>
> nani2ratna wrote:
>>
>> But sj:select is not working like s:select.
>> If i use normal struts 2 select, values are loading normally.
>> But sj:select
nani2ratna wrote:
>
> But sj:select is not working like s:select.
> If i use normal struts 2 select, values are loading normally.
> But sj:select loading after all the elements in the jsp page rendered
> completely.
>
The Content is loaded via AJAX, and this was executed when the DOM is ready.
Hi,
to exclude a property from be serialized just use the annotation on get
method of the property.
@JSON(serialize=false)
2010/3/4 nani2ratna
>
> Hi Johannes,
> I saw that one earlier.
> I found the bug.
> I have another property in my action class which is service class.
>
> So i exclude
Hi Adam,
You were right. A double check has solved it. Yes it was the server
logging. I was able to add an additional property on the logging page
for GlassFish.
There I was able to set the logging for org.apache.struts2.util to OFF.
Thanks for the prod in the right direction.
Cheers,
Car
On Fri, Mar 5, 2010 at 2:02 PM, abhishek jain wrote:
> Hi friends,
> I am using struts 1 , and i am trying to fetch a list from database, (as a
> use case the students and marks )
> i need to display that in the jsp page by itegrating,
> I can print via out.print() in jsp and not via the normal lo
Hi Adam,
Looks to me like it is Struts.
I am using GlassFish 2.1 and went into the admin console and turned
the logging off for the Root ( javax.enterprise; ). But doing that
turns of any logging at all. I cannot set it to another level because
the level WARNING is higher than DEBUG which
Hi
I am Rakesh.I am using display tag.it is working fine with following error
and
i am getting all the export list except PDF.
ognl.InappropriateExpressionException: Inappropriate OGNL expression: (d -
49653) - p
at ognl.SimpleNode.setValueBody(SimpleNode.java:257)
at ognl.Si
Thank you both for your help. I got this working with your suggestions. :)
I made an experiment with various ways of working this out. Here are the
results. They may be helpful to others looking for the same answer.
1. Doesn't work
name('Locale.US'):
2. Doesn't work
nam
1. Place log4j.properties in WEB-INF\classes
2. Set log4j.logger.org.apache.struts2=warn, struts in log4j.properties.
Raghuveer
-Original Message-
From: carl ballantyne [mailto:carl.ballant...@cast-info.es]
Sent: Wednesday, March 03, 2010 6:25 PM
To: Struts Users Mailing List
Subject:
are you sure its not your appserver logging and not struts logging.
adam
> Date: Fri, 5 Mar 2010 11:02:07 +0100
> From: carl.ballant...@cast-info.es
> To: user@struts.apache.org
> Subject: RE: Struts 2, Log4J and turning off WARNING messages
>
> Thanks Raghuveer,
>
> I already have th
Thanks Raghuveer,
I already have the log4j.properties in the WEB-INF/classes folder.
And I want to turn the messages off, hence I have put
log4j.logger.org.apache.struts2=DEBUG. But it seems to have no effect.
Cheers,
Carl.
Quoting Raghuveer :
1. Place log4j.properties in WEB-INF\classes
implement this interface
com.opensymphony.xwork2.Result
to create your own result type.
> Date: Fri, 5 Mar 2010 14:57:07 +0530
> Subject: Re: jsp out to a differnet outputstream
> From: abhishek.netj...@gmail.com
> To: user@struts.apache.org
>
> Hi Adam,
> Thanks for replying,
then create a new result type handler class, add into struts.xml and use that
to handle file creation.
i've not done it myself, but there are result types for handling jasper reports
etc.. so can't be too involved.
adam
> Date: Fri, 5 Mar 2010 14:57:07 +0530
> Subject: Re: jsp out t
Hi Adam,
Thanks for replying, It is a file on server side,
I could have written plain java code in JSP, but that will loose the benefit
of jsp and also rework on my end, I am sure there must be a method to
redirect the output of *out *to a file and not to STDOUT or so.
thanks
abhi
On Fri, Mar 5,
1. Place log4j.properties in WEB-INF\classes
2. Set log4j.logger.org.apache.struts2=warn, struts in log4j.properties.
Raghuveer
-Original Message-
From: carl ballantyne [mailto:carl.ballant...@cast-info.es]
Sent: Wednesday, March 03, 2010 6:25 PM
To: Struts Users Mailing List
Subject: St
Hi,
I just came to work and saw your email.
Once again Thanks for replies.
But sj:select is not working like s:select.
If i use normal struts 2 select, its loading normally.
But sj:select loading after all the elements in the jsp page rendered
completely.
Another one, while loading the elements
is it a file on the client side or server side ?
if client side, you can specify a result type in the struts.xml but the user
will be prompted to save the file as its a security risk to write it without
there confirmation.
server side, just use plain java code in jsp to write and then
Hi friends,
I am using struts 1 , and i am trying to fetch a list from database, (as a
use case the students and marks )
i need to display that in the jsp page by itegrating,
I can print via out.print() in jsp and not via the normal logic:iterate,
Can any one point me to a suitable tutorial or chea
28 matches
Mail list logo