Sorry Maurizio.
I am reading the JSON response from the web application server.
Is there an efficient and practical way to get the action errors so I
can use a JQuery Dialog popup to show them to the user?
> -Original Message-
> From: Maurizio Cucchiara [mailto:maurizio.cucchi...@gmail.
I strongly recommend you read the following link [1], in particoular the
section that talks about "Localizing and Parameterizing Messages"
[1] http://struts.apache.org/2.x/docs/validation.html
Maurizio Cucchiara
On Jan 11, 2011 7:27 PM, "Paul Mefford" wrote:
Does anyone know of the best way to
When you talk about ajax do you mean dojo, json or what else?
Could you be a little bit more accurate?
Maurizio Cucchiara
On Jan 11, 2011 8:14 PM, "CRANFORD, CHRIS"
wrote:
No I am referring to Struts 2.1.8.1
> -Original Message-
> From: Frank W. Zammetti [mailto:fzli...@omnytex.com]
> S
No I am referring to Struts 2.1.8.1
> -Original Message-
> From: Frank W. Zammetti [mailto:fzli...@omnytex.com]
> Sent: Tuesday, January 11, 2011 1:04 PM
> To: Struts Users Mailing List
> Subject: Re: Ajax & ActionErrors
>
> On 1/11/2011 1:43 PM, CRANFORD, CHRIS wrote:
> > Can someone exp
On 1/11/2011 1:43 PM, CRANFORD, CHRIS wrote:
Can someone explain how I can render my action errors when I use Ajax to
post a form to the server?
Assuming you're talking Struts 1... error are rendered via JSP custom
tags, so to make it work with AJAX, without hacking the framework, all
you need
On 1/11/2011 1:57 PM, Jari Fredriksson wrote:
On 11.1.2011 18:07, Anjib Mulepati wrote:
Can I use JPA with Struts 1?
If yes is there any good tutorial I can look into?
I have used it so that I manipulated all JPA objects in a EJB 3.x
Session bean, which was called from Structs Actions.
Sessi
On 11.1.2011 18:07, Anjib Mulepati wrote:
> Can I use JPA with Struts 1?
>
> If yes is there any good tutorial I can look into?
>
I have used it so that I manipulated all JPA objects in a EJB 3.x
Session bean, which was called from Structs Actions.
Session bean Dependency Injection does not wor
Does anyone know of the best way to have different validation rules
for different locales in the validation.xml.
I created what I feel is a hack by using wildcard in the alias:
Then I call startUS so my validation.xml file is named
MyClass-startUS-validation.xml
Is this the best or rec
Awesome! Glad that worked for ya!
Beez
-Original Message-
From: Rubens Gomes [mailto:rub...@pocketgear.com]
Sent: Tuesday, January 11, 2011 12:01 PM
To: Struts Users Mailing List
Subject: RE: How to use an application scoped variable in ?
Thanks. The following also worked:
Thanks. The following also worked:
Bottom-line, if we want to use "-" hyphen on OGNL expressions we must define
them in the following way
%{application['var-name']}
This is great. Now I can name my JSP URL action variables the same way as the
equivalent Struts 2 Annotation actio
Sorry, I had a typo...I meant you could use your hyphens and try this:
%{#application['view-register']}
Beez
r 5347
-Original Message-
From: Rubens Gomes [mailto:rub...@pocketgear.com]
Sent: Tuesday, January 11, 2011 11:45 AM
To: Struts Users Mailing List
Subject: RE: How to use an app
BTW, the only reason I strated using the "-" minus sign in my JSP URL variable
is to follow the
convention used by Struts Annotation that uses "-" sign to map to the
corresponding Action class
name.
For example, if the actions are in a package "com.softlagos.web.struts2.action";
And I have a c
I prefer camel case anyway for my variable names but if you like the
hyphen, I think you could do something like this:
%{#application['viewRegister']}
Beez
r 5347
-Original Message-
From: Rubens Gomes [mailto:rub...@pocketgear.com]
Sent: Tuesday, January 11, 2011 11:38 AM
To: Struts U
That fixed the problem.
The following works:
Bottom-line: We *cannot* use "-" (minus-sign) when naming variables that are
used by the OGNL parser. Like in the case of the .
Thank you very much.
Rubens.
From: Chris Pratt [thechrispr...@gma
Oh, yeah, didn't even see that--that will parse as (#application.view) -
register.
Dave
On Tue, Jan 11, 2011 at 11:23 AM, Chris Pratt wrote:
> It seems to me that the minus sign in your expression might be being
> confused by the OGNL parser. You might try renaming your variable to
> something
It seems to me that the minus sign in your expression might be being
confused by the OGNL parser. You might try renaming your variable to
something that is consistent with the Java bean naming convention and stay
away from arithmetic operands.
Maybe change
to
(*Chris*)
On Tue, Jan 11,
Can I use JPA with Struts 1?
If yes is there any good tutorial I can look into?
Thanks in advance
Anjib
-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org
Don't take in consideration my last email.
Maurizio Cucchiara
On Jan 11, 2011 4:30 PM, "Maurizio Cucchiara"
wrote:
Did you try the set tag [1]?
http://struts.apache.org/2.0.14/docs/set.html
Maurizio Cucchiara
On Jan 11, 2011 4:25 PM, "Rubens Gomes" wrote:
> I am using the
On Tue, Jan 11, 2011 at 10:25 AM, Rubens Gomes wrote:
> I am using the Struts 2 tag, *not* the HTML standard href=".." /> tag.
>
Why?
(Man, that seems like a confusing way to add another layer of
complexity--aren't action names already supposed to add a layer of
abstraction onto functionality?
Did you try the set tag [1]?
http://struts.apache.org/2.0.14/docs/set.html
Maurizio Cucchiara
On Jan 11, 2011 4:25 PM, "Rubens Gomes" wrote:
> I am using the Struts 2 tag, *not* the HTML standard tag.
>
> And I would like to be able to de-reference an application scope variable
in the href arg
I am using the Struts 2 tag, *not* the HTML standard tag.
And I would like to be able to de-reference an application scope variable in
the href argument
of the tag. I have already tried
and it did not work. Below is an example (please see href).
then, I import the ab
Check the startup logs. Make sure devMode is turned on. I'd also crank up
the logging level to DEBUG until resolved. "Not available" means isn't
trying to process the request (in general) and that something failed on
startup.
Dave
On Tue, Jan 11, 2011 at 6:33 AM, Kushan Jayathilake wrote:
> Yeah
Yeah..
*pages/ext/search *and *pages/ext/search.action *both same.
On Tue, Jan 11, 2011 at 4:42 PM, Dave Newton wrote:
> So... Is there a page called that?
>
> Dave
>
> On Tuesday, January 11, 2011, Kushan Jayathilake
> wrote:
> > Hi Guys,
> >
> > I have deployed a WAR file in WAS, (It deplo
So... Is there a page called that?
Dave
On Tuesday, January 11, 2011, Kushan Jayathilake wrote:
> Hi Guys,
>
> I have deployed a WAR file in WAS, (It deployed successfully) but when
> accessing its URL through the brower it shows this error message
>
> Error 404: SRVE0190E: File not found: /page
Hi,
I have a multiple selection box in one of the jsp:
Select Level :
Hi,
I have a multiple selection box in one of the jsp:
Select Level :
Hi Guys,
I have deployed a WAR file in WAS, (It deployed successfully) but when
accessing its URL through the brower it shows this error message
Error 404: SRVE0190E: File not found: /pages/ext/search
This is struts based application and this was working fine sometimes back,
and I have some othe
27 matches
Mail list logo