Yes, I'm getting the message saying that there are errors on the controller.
The strange thing is if I remove the wiring, Struts will complain about not
finding any configuration for the "input" result. So it seems as if the
configuration is found and used, but something gets in its way.
Unfortuna
Hey Jose. I did see you mention globalmessages in your first email but I
missed your point. My bad.
To Chris' point, the specification of multiple bundles via struts.properties
would do the trick.
jb
/
On Jul 21, 2011, at 8:50 PM, JOSE L MARTINEZ-AVIAL wrote:
> Hi Jeff,
> Yes, that work
Humm, I didn't know I could setup multiple values for that. Will try. Any
case, I think that declaring a default resource per package could be useful,
so maybe I will fill a Jira to request that.
Thanks for your help.
JL
2011/7/22 Chris Pratt
> It may not be a perfect solution, but you can sp
It may not be a perfect solution, but you can specify multiple values for
that property. Maybe something like this would work:
struts.custom.i18n.resources=store, documents
or even:
struts.custom.i18n.resources=com.package.store, com.package.documents
Which would allow you to have a com/packag
Hi Jeff,
Yes, that works(I think I mentioned it on my first mail). But my point is
that it's only possible to setup that property at a global level, i.e., is
the same property for all packages. Is it not possible to define that
property at a package level? then I could have a package called "stor
I had my original "registration" email and it mentions sending an email using
the following format:
user-unsubscribe-c.dias=ivstel@struts.apache.org
jb
/
From: Croydon Dias
To: Struts Users Mailing List
Sent: Wed, July 20, 2011 5:49:31 PM
Subject: RE:
Hi Jose,
I have the following entry in my struts.properties file:
struts.custom.i18n.resources=globalmessages
My globalmessage.properties file is sitting alongside my struts.properties file
on the Classpath.
I am using, for example, tags to hit the resource bundle via my
Class-less JSP's
Thanks Mitch
shalom
Martin
__
Note de déni et de confidentialité
Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le
destinataire prévu, nous te demandons avec bonté que pour satisfaire informez
l'expéditeur. N'importe quelle
That's it.
Mitch
From: Martin Gainty
To: Struts Users Mailing List
Date: 07/21/2011 05:16 PM
Subject:RE: Doubt on Struts 2 Architechture
is this the book?
http://www.manning.com/dbrown/
Martin Gainty
__
Jogi és Bizalmassági ki
is this the book?
http://www.manning.com/dbrown/
Martin Gainty
__
Jogi és Bizalmassági kinyilatkoztatás/Verzicht und
Vertraulichkeitanmerkung/Note de déni et de confidentialité
Ez az
üzenet bizalmas. Ha nem ön az akinek szánva volt, akkor kérjük, h
was looking for a good interceptors reference, thank you Mitch for the book
--
Manolo Pájaro Santander
Ingeniero de Sistemas VIII Semestre (Actual)
<>
CUSOL-UAC
Linux Registered User # 522026
On 07/21/2011 08:07 PM, log2akshat wrote:
I got the Solution:
But how can I escape the ' to display by .properties file in error message.
I used (\') but its not working.
Please anybody can help me on how to validate the number of words typed on
click of submit
I got the Solution:
But how can I escape the ' to display by .properties file in error message.
I used (\') but its not working.
Please anybody can help me on how to validate the number of words typed on
click of submit button by validation.xml file.
--
View
Can somebody please tell me how to do validation for Single Quote (') through
validation.xml file?
My problem is that when anybody types in the form field I have set the
javascript with onkeyup event that pops up the error on pressing single
quote as well as for the maximum word limit set. But if
The source for 2.2.3 that appears to apply to this situation can be read here:
http://grepcode.com/file/repo1.maven.org/maven2/org.apache.struts.xwork/xwork-core/2.2.3/com/opensymphony/xwork2/interceptor/DefaultWorkflowInterceptor.java#144
I referenced line 144 because that's where the doIntercep
Just to clarify that when I talk about "accessing a Resource bundle on an
action that has no action class" I mean accessing the resource from a JSP
called as as result from an Struts2 action that has no class associated.
Nobody has found this issue before? If so, how do you solve it?
TIA
Jose
20
(Or struts.xml, the preferred mechanism AFAIK).
On Thursday, July 21, 2011, Jason Pyeron wrote:
>> -Original Message-
>> From: Asleson, Ryan
>> Sent: Thursday, July 21, 2011 8:37
>> To: user@struts.apache.org
>> Subject: [struts-user] OGNL Problems During Struts2 Upgrade
>>
>>
>> Hello,
>
> -Original Message-
> From: Asleson, Ryan
> Sent: Thursday, July 21, 2011 8:37
> To: user@struts.apache.org
> Subject: [struts-user] OGNL Problems During Struts2 Upgrade
>
>
> Hello,
>
> We are attempting to upgrade our application from Struts2
> version 2.0.11.2 to the current versio
I enabled static method access by adding this to struts.xml:
Thanks to the direction I found here under the "Accessing static properties"
section:
http://struts.apache.org/2.2.3/docs/ognl-basics.html
And it now works!!! Thank you
On Jul 21, 2011, at 7:42 AM, Asleson, Ryan wrote:
How
How do I enable static method access? Is that through OGNL or Struts2?
I don't know why the default formatting tags aren't being used. Probably
because the app uses a custom content management system but I don't know.
There are over 100 files that use this method for formatting dates and I r
Did you enable static method access? The default may have changed. (Is
there a reason the default formatting tags aren't being used? Or the
JSTL format tags?)
Dave
On Thursday, July 21, 2011, Asleson, Ryan wrote:
>
> Hello,
>
> We are attempting to upgrade our application from Struts2 version 2.
Hello,
We are attempting to upgrade our application from Struts2 version 2.0.11.2 to
the current version, 2.2.3. As part of the upgrade, OGNL was upgraded from
version 2.7.3 to version 3.0.1.
Our JSPs make use of OGNL to call static methods on classes to help with
formatting. Here's an exam
I'm using the restDefaultStack together with my AuthenticationInterceptor
(which only checks for a token on the session and when inexistent sends the
user to login):
//Christoffer
Maurizio Cucchiara wrote:
>
> What interceptor stack are you using?
>
> Maurizio Cucchiara
>
What interceptor stack are you using?
Maurizio Cucchiara
Il giorno 21/lug/2011 13.56, "christoe" ha scritto:
> I think the JIRA issue explains the general setup quite well:
>
> "After upgrading from 2.2.1.1 to 2.2.3 input validation fails (i.e.
invalid
> input values), and returns Action.NONE in
I think the JIRA issue explains the general setup quite well:
"After upgrading from 2.2.1.1 to 2.2.3 input validation fails (i.e. invalid
input values), and returns Action.NONE instead of Action.INPUT. Log
(TRACE-level) doesn't show anything interesting. Completely removing
result-definition does
It'd be easier to diagnose/discuss if we knew more about your config/etc.
Dave
On Thursday, July 21, 2011, christoe wrote:
> Hi,
>
> Is anyone else experiencing this? I posted a JIRA issue some time ago at
> https://issues.apache.org/jira/browse/WW-3654 - but since noone else has
> reported prob
Hi,
Is anyone else experiencing this? I posted a JIRA issue some time ago at
https://issues.apache.org/jira/browse/WW-3654 - but since noone else has
reported problems with this (that I can see) I'm wondering if it's me doing
something wrong?
--
View this message in context:
http://struts.104572
27 matches
Mail list logo