Re: Problem with Struts 6.0 and Bootstrap plugin

2022-06-25 Thread Ralph Grove
I see that the issue has already been raised there, so I’ll watch for developments. Thanks for your help. Ralph > On Jun 24, 2022, at 4:53 PM, Lukasz Lenart wrote: > > The plugin must be adjusted to Struts 6.0.0 - I would register an > issue at Github to address this problem. After fixing the

Re: Problem with Struts 6.0 and Bootstrap plugin

2022-06-24 Thread Lukasz Lenart
The plugin must be adjusted to Struts 6.0.0 - I would register an issue at Github to address this problem. After fixing the JQuery plugin we will try to focus on that. Please be aware that this plugin isn't directly maintained by ASF and Struts' volunteers. Cheers Łukasz czw., 23 cze 2022 o 23:0

Re: Problem with Struts 6.0 and Bootstrap plugin

2022-06-24 Thread Yasser Zamani
I think you should keep the global 'output_format' unset. Regards. On 2022/06/23 21:07:44 Ralph Grove wrote: > I’m working on a Struts application that uses the Struts Bootstrap plugin. I > upgraded it to Struts V6 by installing theses libs: > > commons-fileupload-1.4.jar > commons-lang3-3.10.j

Re: Problem Freemarker struts 2.5.27

2022-01-06 Thread Lukasz Lenart
Britta, James I think that PR should fix the problem https://github.com/apache/struts/pull/524 Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ śr., 5 sty 2022 o 23:20 J. Chaplin napisał(a): > > Hello Britta. > > The behaviour you noted using Struts 2.5.27 appears to be equivalent

Re: Problem Freemarker struts 2.5.27

2022-01-05 Thread J. Chaplin
Hello Britta. The behaviour you noted using Struts 2.5.27 appears to be equivalent to what was reported in a recent JIRA WW-5160.  A fix for JIRA WW-5117, introduced with Struts 2.5.27, appears to have introduced issues for actions that define a getParameters() method. Unfortunately I do not

Re: Problem Freemarker struts 2.5.27

2022-01-04 Thread Lukasz Lenart
wt., 4 sty 2022 o 16:10 Britta Katzenbach napisał(a): > When switching from struts 2.5.26 to 2.5.27 we get the following error: > > FreeMarker template error (HTML_DEBUG mode; use RETHROW in production!) > > > Template inclusion failed (for parameter value > "/Empty{name='templateDir'}/Empty{name

Re: Problem using the Spring's AOP in Struts2's Actions with json-plugin

2017-05-11 Thread developer researcher
Of course Adam, If no solution is found by configuration, there is to try other alternatives without the json-plugin. As you indicate using the stream result. Thanks and regards. 2017-05-09 17:52 GMT-05:00 Adam Brin : > Hi, > I don't use the JSON plugin. My suggestion is, you're using a numbe

Re: Problem using the Spring's AOP in Struts2's Actions with json-plugin

2017-05-09 Thread Adam Brin
Hi, I don't use the JSON plugin. My suggestion is, you're using a number of tools in a chain, one isn't working, so what's the minimum viable way out? Clearly something with the JSON plugin isn't working, so try and verify where the problem is and work around it. Alternately, it might make sense

Re: Problem using the Spring's AOP in Struts2's Actions with json-plugin

2017-05-09 Thread Martin Gainty
, May 9, 2017 8:05 AM To: Struts Users Mailing List Subject: Re: Problem using the Spring's AOP in Struts2's Actions with json-plugin MG>below From: developer researcher Sent: Monday, May 8, 2017 10:14 PM To: Struts Users Mailing List Subject: Re: Probl

Re: Problem using the Spring's AOP in Struts2's Actions with json-plugin

2017-05-09 Thread developer researcher
Hi Adam, I have not tried Jackson and the Spring AOP outside of Struts2. My context is: modify a Struts web application (with spring-plugin and json-plugin) to add some functionality (advices) through AOP. I would have to test in another application to see if there is any problem between Jackson a

Re: Problem using the Spring's AOP in Struts2's Actions with json-plugin

2017-05-09 Thread Martin Gainty
MG>below From: developer researcher Sent: Monday, May 8, 2017 10:14 PM To: Struts Users Mailing List Subject: Re: Problem using the Spring's AOP in Struts2's Actions with json-plugin Hello Adam, Yes, I am using the "ignoreInterfaces" p

Re: Problem using the Spring's AOP in Struts2's Actions with json-plugin

2017-05-08 Thread Adam Brin
We just set content-type to application json and output a stream or a string. In the action, I just convert the object to a stream. But, here's the question: does your spring AOP proxy work properly with Jackson outside of struts2? On Mon, May 8, 2017 at 7:14 PM, developer researcher < java.d

Re: Problem using the Spring's AOP in Struts2's Actions with json-plugin

2017-05-08 Thread developer researcher
Hello Adam, Yes, I am using the "ignoreInterfaces" param set to "false". My result is: "@Result(name="success",type="json", params={"contentType", "text/html", "ignoreInterfaces", "false"})" The file "struts-2.5.10.1-all.zip" contains the jackson's jars, so I guess the json-plugin use jackson.In

Re: Problem using the Spring's AOP in Struts2's Actions with json-plugin

2017-05-08 Thread Adam Brin
Hi, I presume you’ve read this: https://struts.apache.org/docs/json-plugin.html#JSONPlugin-Proxiedobjects It may be that the issue is not Struts2, but the JSON library that the Struts2 Json plugin uses… and thus, you may need to handle the JSON serialization using Jackson or another library.

Re: Problem using the Spring's AOP in Struts2's Actions with json-plugin

2017-05-08 Thread developer researcher
Hello Martin, First of all thanks for the reply, but I'm not sure if my queries have been understood. I am using Struts 2.5.10.1 My main query is: *Is there a way to use Spring AOP in Struts2 Actions using the "JDK dynamic proxies"? Does anyone have an example?* Sorry, but I can not find any rel

Re: Problem using the Spring's AOP in Struts2's Actions with json-plugin

2017-05-06 Thread Martin Gainty
MG>below From: developer researcher Sent: Friday, May 5, 2017 10:09 PM To: Struts Users Mailing List Subject: Problem using the Spring's AOP in Struts2's Actions with json-plugin Hello, I am using Strust 2 with spring-plugin and json-plugin to use: 1. Injectio

Re: Problem reading a resource file (migrating 2.3.29 --> 2.5.10)

2017-03-12 Thread Lukasz Lenart
2017-03-12 0:30 GMT+01:00 Heikki Hyyrö : > I now that the particular example was a bit of a hack. DBConnectionManager > inherited ActionSupport only for the sole purpose of getting easy access to > the resource files (just rely on the framework to find it; no need to hard > code any path or filenam

Re: Problem reading a resource file (migrating 2.3.29 --> 2.5.10)

2017-03-11 Thread Heikki Hyyrö
11.03.2017, 09:20, Lukasz Lenart kirjoitti: This is do the changes in ActionSupport's dependencies, you must inject them first to have access to resource bundles. Instead your approach with singleton you can use something like this public class DbConnectionManager { public DbConnectionManag

Re: Problem reading a resource file (migrating 2.3.29 --> 2.5.10)

2017-03-10 Thread Lukasz Lenart
2017-03-11 0:21 GMT+01:00 Heikki Hyyrö : > Hi, > > I decided to migrate a Struts-based application from Struts 2.3.x to 2.5.x. > The application worked without problems with Struts version 2.3.29. After > updating to 2.5.10, the application no longer seems to be able to read a > root-level resource

RE: problem Migrating from Struts 2.3 to 2.5

2016-12-22 Thread John Aylward
2016 3:58 PM To: Struts Users Mailing List Subject: Re: problem Migrating from Struts 2.3 to 2.5 Right, SMI is a new addition in Struts 2.5 and it's better to use it instead of disabling, please read this - To unsubscrib

Re: problem Migrating from Struts 2.3 to 2.5

2016-12-22 Thread Lukasz Lenart
's working. > > > > -- > John J. Aylward > > -Original Message- > From: John Aylward [mailto:john.aylw...@sagenet.com] > Sent: Thursday, December 22, 2016 10:20 AM > To: Struts Users Mailing List > Subject: RE: problem Migrating from Struts 2.3 to 2.5 >

RE: problem Migrating from Struts 2.3 to 2.5

2016-12-22 Thread John Aylward
rs Mailing List Subject: RE: problem Migrating from Struts 2.3 to 2.5 I combined all my struts.xml files into one and finally got a struts configuration error after a bit of massaging to get rid of old elements that I didn't need anymore and messed one up. At least I know the struts.xml file is

RE: problem Migrating from Struts 2.3 to 2.5

2016-12-22 Thread John Aylward
ssage when an action was configured, but in 2.5.x I don't appear to get any such messages. -- John -Original Message- From: Lukasz Lenart [mailto:lukaszlen...@apache.org] Sent: Thursday, December 22, 2016 1:33 AM To: Struts Users Mailing List Subject: Re: problem Migrating from

Re: problem Migrating from Struts 2.3 to 2.5

2016-12-21 Thread Lukasz Lenart
2016-12-22 6:53 GMT+01:00 John Aylward : > I'm trying to migrate my struts application from 2.3.31 to 2.5.8 but it > appears that my struts.xml is not getting loaded. My web.xml is pretty > standard: Please try to use Struts 2.5.5 > >"-//Apache Software Foundation//DTD Struts Configuration

Re: Problem using TypeConverters with SelectTag

2016-03-08 Thread Lukasz Lenart
imo. > > -Original Message- > From: Lukasz Lenart [mailto:lukaszlen...@apache.org] > Sent: Thursday, April 30, 2015 8:30 AM > To: Struts Users Mailing List > Subject: Re: Problem using TypeConverters with SelectTag > > 2015-04-30 15:22 GMT+02:00 CRANFORD, CHRIS : &g

Re: problem with file upload

2015-09-11 Thread Yaragalla Muralidhar
Hi Johannes, it worked. thank u so much. *Thanks and Regards,* Muralidhar Yaragalla. *http://yaragalla.blogspot.in/ * On Fri, Sep 11, 2015 at 3:12 PM, Johannes Geppert wrote: > Does it not work with the point notation? Not sur if this works when you > are workin

Re: problem with file upload

2015-09-11 Thread Johannes Geppert
Does it not work with the point notation? Not sur if this works when you are working with list of object. Best Regards Johannes # web: http://www.jgeppert.com twitter: http://twitter.com/jogep 2015-09-11 11:38 GMT+02:00 Yaragalla Muralidhar :

Re: problem with file upload

2015-09-11 Thread Yaragalla Muralidhar
That is what i am saying. The docs shows how to upload files to action class but my requirement is different. Please read the problem carefully. and do help me. *Thanks and Regards,* Muralidhar Yaragalla. *http://yaragalla.blogspot.in/ * On Fri, Sep 11, 2015 at 3:0

Re: problem with file upload

2015-09-11 Thread Johannes Geppert
Have you already checked the docs? https://struts.apache.org/docs/file-upload.html Best Regards Johannes # web: http://www.jgeppert.com twitter: http://twitter.com/jogep 2015-09-11 11:31 GMT+02:00 Yaragalla Muralidhar : > Hi , > I know how to

Re: Problem reading package.properties value when deploying application via wildfly-deploy plugin

2015-08-05 Thread Sreekanth S. Nair
Its not the problem of plugin, its plugin's default behavior to do the deployment to "data" dir, the option targetDir is not for where to deploy but from where to get deployable, bit confusing. As i mentioned, there is no other issue with struts2 application except labels are not coming. One more

Re: Problem reading package.properties value when deploying application via wildfly-deploy plugin

2015-07-29 Thread Lukasz Lenart
2015-07-29 10:30 GMT+02:00 Sreekanth S. Nair : > package.properties file values are not getting displayed while we deploy > our application in wildfly server using wildfly deploy maven plugin, but at > the same time properties values are getting displayed properly if we deploy > from eclipse or man

RE: Problem using TypeConverters with SelectTag

2015-04-30 Thread CRANFORD, CHRIS
:lukaszlen...@apache.org] Sent: Thursday, April 30, 2015 8:30 AM To: Struts Users Mailing List Subject: Re: Problem using TypeConverters with SelectTag 2015-04-30 15:22 GMT+02:00 CRANFORD, CHRIS : > Was this part of the fix in WW-4427? Rather unrelated to your problem as tags don't use context to

Re: Problem using TypeConverters with SelectTag

2015-04-30 Thread Lukasz Lenart
2015-04-30 15:22 GMT+02:00 CRANFORD, CHRIS : > Was this part of the fix in WW-4427? Rather unrelated to your problem as tags don't use context to store values. I'm still thinking if your solution is right, I mean common to be used by any other or rather is your specific use case. Regards -- Łuk

RE: Problem using TypeConverters with SelectTag

2015-04-30 Thread CRANFORD, CHRIS
Was this part of the fix in WW-4427? -Original Message- From: CRANFORD, CHRIS [mailto:chris.cranf...@setech.com] Sent: Tuesday, April 28, 2015 8:30 AM To: Struts Users Mailing List Subject: RE: Problem using TypeConverters with SelectTag Version 2.3.20 GA -Original Message

RE: Problem using TypeConverters with SelectTag

2015-04-28 Thread CRANFORD, CHRIS
Version 2.3.20 GA -Original Message- From: Lukasz Lenart [mailto:lukaszlen...@apache.org] Sent: Tuesday, April 28, 2015 6:20 AM To: Struts Users Mailing List Subject: Re: Problem using TypeConverters with SelectTag Struts version? I thought this was already resolved. 2015-04-24 15:16

Re: Problem using TypeConverters with SelectTag

2015-04-28 Thread Lukasz Lenart
Struts version? I thought this was already resolved. 2015-04-24 15:16 GMT+02:00 CRANFORD, CHRIS : > I have defined a simple POJO and type converter shown here: > > // Model POJO > public class SiteSelection { > private String type; > private String label; >

RE: problem in xml validation

2015-02-17 Thread Martin Gainty
> Date: Tue, 17 Feb 2015 21:07:03 +0530 > Subject: Re: problem in xml validation > From: yaragallamur...@gmail.com > To: user@struts.apache.org > > No dave. It is because in the same Action class i have a validate method. > So in this method if validation fails it is showin

Re: problem in xml validation

2015-02-17 Thread Yaragalla Muralidhar
No dave. It is because in the same Action class i have a validate method. So in this method if validation fails it is showing "inpu" jsp with the errors. *Thanks and Regards,* Muralidhar Yaragalla. *http://yaragalla.blogspot.in/ * On Tue, Feb 17, 2015 at 9:03 PM, D

Re: problem in xml validation

2015-02-17 Thread Dave Newton
... If you want any help, you need to provide actionable information. My first guesses are that you're either missing an `input` definition, or its JSP page isn't where you think it is. On Tue, Feb 17, 2015 at 10:05 AM, Yaragalla Muralidhar < yaragallamur...@gmail.com> wrote: > Hi, > I have

Re: problem with select boxes

2014-12-26 Thread Yaragalla Muralidhar
ok. thank u so much. *Thanks and Regards,* Muralidhar Yaragalla. *http://yaragalla.blogspot.in/ * On Sat, Dec 27, 2014 at 12:52 AM, Lukasz Lenart wrote: > 2014-12-26 18:42 GMT+01:00 Yaragalla Muralidhar >: > > Hi > > If i have 5 select boxes on the first pag

Re: problem with select boxes

2014-12-26 Thread Lukasz Lenart
2014-12-26 18:42 GMT+01:00 Yaragalla Muralidhar : > Hi > If i have 5 select boxes on the first page which is mapped to lists. > this lists should be populated in the action class that launches the page > and also in the action class that we are submitting. So we have to write > the same code in

Re: problem with

2014-12-22 Thread Yaragalla Muralidhar
ok thank u *Thanks and Regards,* Muralidhar Yaragalla. *http://yaragalla.blogspot.in/ * On Mon, Dec 22, 2014 at 7:00 PM, Lukasz Lenart wrote: > 2014-12-22 13:57 GMT+01:00 Yaragalla Muralidhar >: > > hi i have a drop down() in jsp. but what i need is, the user

Re: problem with

2014-12-22 Thread Lukasz Lenart
2014-12-22 13:57 GMT+01:00 Yaragalla Muralidhar : > hi i have a drop down() in jsp. but what i need is, the user > need to type in the drop down. When user types the first letter it has to > display options which starts with that letter so selection will be easy. > how can i achieve this? the dro

Re: problem with

2014-12-21 Thread Yaragalla Muralidhar
Thank u so much. it worked. *Thanks and Regards,* Muralidhar Yaragalla. *http://yaragalla.blogspot.in/ * On Sun, Dec 21, 2014 at 7:36 PM, Johannes Geppert wrote: > Please take a look at the documentation for the select tag. [1] > There are some examples how to us

Re: problem with

2014-12-21 Thread Johannes Geppert
Please take a look at the documentation for the select tag. [1] There are some examples how to use it. [1] https://cwiki.apache.org/confluence/display/WW/select Best Regards Johannes # web: http://www.jgeppert.com twitter: http://twitter.com/j

Re: problem with i18n

2014-12-20 Thread Yaragalla Muralidhar
ok thank u so much. *Thanks and Regards,* Muralidhar Yaragalla. *http://yaragalla.blogspot.in/ * On Sat, Dec 20, 2014 at 3:21 PM, Lukasz Lenart wrote: > 2014-12-20 10:48 GMT+01:00 Yaragalla Muralidhar >: > > i use simple theme > > labels are generated only with

Re: problem with i18n

2014-12-20 Thread Lukasz Lenart
2014-12-20 10:48 GMT+01:00 Yaragalla Muralidhar : > i use simple theme labels are generated only with one of the Xhtml themes, if use simple theme you must add tag by yourself. REgards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ ---

Re: problem with i18n

2014-12-20 Thread Chris Pratt
That's why you're not seeing the labels, they are not supported by the simple theme. (*Chris*) On Sat Dec 20 2014 at 1:49:15 AM Yaragalla Muralidhar < yaragallamur...@gmail.com> wrote: > i use simple theme > > *Thanks and Regards,* > Muralidhar Yaragalla. > > *http://yaragalla.blogspot.in/

Re: problem with i18n

2014-12-20 Thread Yaragalla Muralidhar
i use simple theme *Thanks and Regards,* Muralidhar Yaragalla. *http://yaragalla.blogspot.in/ * On Sat, Dec 20, 2014 at 3:16 PM, Lukasz Lenart wrote: > What theme do you use? > > (on mobile) > 20 gru 2014 08:35 "Yaragalla Muralidhar" > napisał(a): > > > I am usi

Re: problem with i18n

2014-12-20 Thread Lukasz Lenart
What theme do you use? (on mobile) 20 gru 2014 08:35 "Yaragalla Muralidhar" napisał(a): > I am using eclipse. yes it is copied into same package. > > *Thanks and Regards,* > Muralidhar Yaragalla. > > *http://yaragalla.blogspot.in/ * > > On Sat, Dec 20, 2014 at 12:4

Re: problem with i18n

2014-12-19 Thread Yaragalla Muralidhar
I am using eclipse. yes it is copied into same package. *Thanks and Regards,* Muralidhar Yaragalla. *http://yaragalla.blogspot.in/ * On Sat, Dec 20, 2014 at 12:46 PM, Lukasz Lenart wrote: > 2014-12-20 4:57 GMT+01:00 Yaragalla Muralidhar >: > > Hi I have created

Re: problem with i18n

2014-12-19 Thread Lukasz Lenart
2014-12-20 4:57 GMT+01:00 Yaragalla Muralidhar : > Hi I have created an action class and i have created an properties file > with the same name as action class. Then i am using the following code > > key="sample.reg.sampleid"/> > > Even though the resource bundle key is specified the label is anot

Re: problem with i18n

2014-12-19 Thread Yaragalla Muralidhar
Is there something i have to configure in struts.xml file? *Thanks and Regards,* Muralidhar Yaragalla. *http://yaragalla.blogspot.in/ * On Sat, Dec 20, 2014 at 9:27 AM, Yaragalla Muralidhar < yaragallamur...@gmail.com> wrote: > Hi I have created an action class an

Re: problem with select tag

2014-12-19 Thread Yaragalla Muralidhar
Problem solved. Thank you so much. *Thanks and Regards,* Muralidhar Yaragalla. *http://yaragalla.blogspot.in/ * On Sat, Dec 20, 2014 at 8:37 AM, Yaragalla Muralidhar < yaragallamur...@gmail.com> wrote: > i mean 'list" attribute is set with the property in action c

Re: problem with select tag

2014-12-19 Thread Yaragalla Muralidhar
i mean 'list" attribute is set with the property in action class. The same code is working fine on the remaining page. Thanking you. *Thanks and Regards,* Muralidhar Yaragalla. *http://yaragalla.blogspot.in/ * On Sat, Dec 20, 2014 at 8:32 AM, Yaragalla Muralidhar <

Re: problem with select tag

2014-12-19 Thread Yaragalla Muralidhar
Which property are u asking? branches is properly set in action that is the reason it is showing one of the value. *Thanks and Regards,* Muralidhar Yaragalla. *http://yaragalla.blogspot.in/ * On Sat, Dec 20, 2014 at 8:28 AM, Dave Newton wrote: > Is the property

Re: problem with select tag

2014-12-19 Thread Dave Newton
Is the property set in the Acton? On Dec 19, 2014 9:54 PM, "Yaragalla Muralidhar" wrote: > Hi i am using the select tag as below > > headerKey="-1" headerValue="Select Branch" >list="branches" cssClass="select" > required="true" /> > > by default it should s

Re: Problem with form tag

2014-12-19 Thread Yaragalla Muralidhar
Thank u so much. *Thanks and Regards,* Muralidhar Yaragalla. *http://yaragalla.blogspot.in/ * On Sat, Dec 20, 2014 at 3:26 AM, Dave Newton wrote: > The default XHTML theme? Hard to say without actionable details. > On Dec 19, 2014 4:52 PM, "Yaragalla Muralidhar"

Re: Problem with form tag

2014-12-19 Thread Dave Newton
The default XHTML theme? Hard to say without actionable details. On Dec 19, 2014 4:52 PM, "Yaragalla Muralidhar" wrote: > I am using struts2.3.20. I have designed my page using divs. Everything is > perfect. at the end i have added tag. all the alignment went > wrong. The page looks awkward. wha

Re: Problem with internationalisation of Struts2

2014-08-24 Thread Lukasz Lenart
2014-08-24 20:20 GMT+02:00 Amine BADID : > The class org.apache.struts2.util.TextProviderHelper does not give the good > message. > And it does not see the french file if there is only one mistake on one line > !!! That's how Java ResourceBundle is working, it has nothing to do with TextProvider

Re: Problem with internationalisation of Struts2

2014-08-24 Thread Lukasz Lenart
2014-08-24 19:58 GMT+02:00 Dave Newton : > Tell us how you really feel. It was poor way of educating via sarcasm but I assume it won't work either :| Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ - To unsubscrib

Re: Problem with internationalisation of Struts2

2014-08-24 Thread Amine BADID
Hi Dave. I use two files for internationalisation and I use Struts2. First I've no problem but after I've added just a line in the french file "global_fr.properties", I can not display any value because this line contains a mistake which I've explained in the previous message : > I've found the p

Re: Problem with internationalisation of Struts2

2014-08-24 Thread Dave Newton
Tell us how you really feel. On Aug 24, 2014 1:04 PM, "Lukasz Lenart" wrote: > 2014-08-24 13:42 GMT+02:00 Amine BADID : > > Hi Lukasz. > > Thank you. > > I've found the problem. > > It was about an accentuated word. I've forget to add a number to the > unicode word like '\u00e9'. > > The class Te

Re: Problem with internationalisation of Struts2

2014-08-24 Thread Lukasz Lenart
2014-08-24 13:42 GMT+02:00 Amine BADID : > Hi Lukasz. > Thank you. > I've found the problem. > It was about an accentuated word. I've forget to add a number to the unicode > word like '\u00e9'. > The class TextProviderHelper do not give the good message ! > Because it lacks only a letter in the do

Re: Problem with internationalisation of Struts2

2014-08-24 Thread Amine BADID
Hi Lukasz. Thank you. I've found the problem. It was about an accentuated word. I've forget to add a number to the unicode word like '\u00e9'. The class TextProviderHelper do not give the good message ! Because it lacks only a letter in the document global_fr.properties, TextProviderHelper do not

Re: Problem with internationalisation of Struts2

2014-08-24 Thread Lukasz Lenart
2014-08-23 18:05 GMT+02:00 Amine BADID : > Hi All. > I have a procblem with Struts2 about Internationation exactly. > Here is the error message : > - 2014-08-23 17:55:39,643 WARN [org.apache.struts2.util.TextProviderHelper] - > property. The literal value 'Menu.logout' will be used.> > I can hav

Re: Problem with s:radio Struts2

2014-06-28 Thread Amine BADID
Hi Dave. Yes, I have. I've found the error. The welcome page was index.jsp, so I've changed it in web.xml : login.jsp and I've not this problem now. May this solution help other peoples. Thank you for all. Amine Le Samedi 28 juin 2014 1h28, Dave Newton a écrit : On Fri, Jun 27, 2014 at 3:39

Re: Problem with s:radio Struts2

2014-06-27 Thread Dave Newton
On Fri, Jun 27, 2014 at 3:39 PM, Amine BADID wrote: > listRoles Do you have an action method returning `listRoles`, e.g., `getListRoles`? -- e: davelnew...@gmail.com m: 908-380-8699 s: davelnewton_skype t: @dave_newton b: Bucky Bits

Re: Problem with resultType "dispatcher" when using sitemesh

2014-01-07 Thread Lukasz Lenart
It won't work, you can try adding REQUEST FORWARD INCLUDE to Struts2 filter mapping. Instead of "dispatcher" try to use "chain" result. Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ 2014/1/7 Thomas Hermann : > Hello, > > I have a problem with the resultType "dispatcher" when us

RE: Problem with tutorial

2013-11-24 Thread Dave Newton
worked like a charm! > > -Original Message- > From: bphill...@ku.edu [mailto:bphill...@ku.edu] > Sent: November-24-13 8:23 AM > To: user@struts.apache.org > Subject: Re: Problem with tutorial > > Michel: > >Are you using the tutorial code provided at > h

RE: Problem with tutorial

2013-11-24 Thread Michel Prévost
: November-24-13 8:23 AM To: user@struts.apache.org Subject: Re: Problem with tutorial Michel: Are you using the tutorial code provided at https://svn.apache.org/repos/asf/struts/sandbox/trunk/struts2examples or are you coding the example yourself? If you are coding the example yourself you may

Re: Problem with tutorial

2013-11-24 Thread bphill...@ku.edu
Michel: Are you using the tutorial code provided at https://svn.apache.org/repos/asf/struts/sandbox/trunk/struts2examples or are you coding the example yourself? If you are coding the example yourself you may want to compare your code and files to the example code checked out from the subve

Re: Problem with tutorial

2013-11-23 Thread Dave Newton
Does *any* EL work? What's your web.xml app (servlet spec) version? On Nov 23, 2013 5:43 PM, "Michel Prévost" wrote: > I am new to struts and going through the > http://struts.apache.org/release/2.3.x/docs/using-struts-2-tags.html > tutorial. I have a problem where a var is not expanded. > > Ex:

Re: problem while integrating struts 2 hibernate3.5 and tiles

2013-07-14 Thread Lukasz Lenart
Could you post the whole stacktrace? Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ 2013/7/14 alok mazumdar : > hello user, > when iam integrating struts and hibernate it is working fine,struts with > tiles fine,but when i am integrating all three it shows error! > > 1)Exception s

Re: problem with regex validator

2013-03-19 Thread Muralidhar Yaragalla
Yahoo.. This is working. when i change the param name "expression" to "regex" as you suggested it is working. Thank you so much. Finally got it On Wed, Mar 20, 2013 at 4:27 AM, Chris Pratt wrote: > Try: > > [^<>]+ > > (*Chris*) > > > > > On Tue, Mar 19, 2013 at 3:50 PM, Mural

Re: problem with regex validator

2013-03-19 Thread Muralidhar Yaragalla
Yes I did. Not only this to that matter a simple reg which is shown in docs also did not work. so i concluded that validator itself is not working. I dont know why? On Wed, Mar 20, 2013 at 4:23 AM, Chris Pratt wrote: > Muralindhar, > I just realized I forgot the + from your original regex. Di

Re: problem with regex validator

2013-03-19 Thread Chris Pratt
Try: [^<>]+ (*Chris*) On Tue, Mar 19, 2013 at 3:50 PM, Muralidhar Yaragalla < java.yaraga...@gmail.com> wrote: > This is how i did > > http://struts.apache.org/dtds/xwork-validator-1.0.2.dtd";> > > > > > The value of bar2 must be in the format > w

Re: problem with regex validator

2013-03-19 Thread Chris Pratt
Muralindhar, I just realized I forgot the + from your original regex. Did you try my regex as is or did you fix it like "[<>]+" ? (*Chris*) On Tue, Mar 19, 2013 at 1:35 PM, Muralidhar Yaragalla < java.yaraga...@gmail.com> wrote: > Hi Chris, I tried with the regex that you suggested but it did

Re: problem with regex validator

2013-03-19 Thread Muralidhar Yaragalla
This is how i did http://struts.apache.org/dtds/xwork-validator-1.0.2.dtd";> The value of bar2 must be in the format where x and y are between 0 and 9 Almost I have tried all the suggested combination by the members. It did not work. On Wed, Mar 20,

Re: problem with regex validator

2013-03-19 Thread Lukasz Lenart
2013/3/19 Dave Newton : > This is fun. don't push ;-) Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@st

Re: problem with regex validator

2013-03-19 Thread Dave Newton
This is fun. On Tue, Mar 19, 2013 at 6:29 PM, Lukasz Lenart wrote: > 2013/3/19 Muralidhar Yaragalla : > > are u asking me to show how i have written custom validator for regex? > > Nope, how did you configure built-in regex validator, the *-validation.xml > file > > > Regards > -- > Łukasz > + 4

Re: problem with regex validator

2013-03-19 Thread Lukasz Lenart
2013/3/19 Muralidhar Yaragalla : > are u asking me to show how i have written custom validator for regex? Nope, how did you configure built-in regex validator, the *-validation.xml file Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ ---

Re: problem with regex validator

2013-03-19 Thread Muralidhar Yaragalla
are u asking me to show how i have written custom validator for regex? On Wed, Mar 20, 2013 at 3:50 AM, Lukasz Lenart wrote: > 2013/3/19 Muralidhar Yaragalla : > > I am not sure who is "toy". > > *you > > > Regards > -- > Łukasz > + 48 606 323 122 http://www.lenart.org.pl/ > > --

Re: problem with regex validator

2013-03-19 Thread Lukasz Lenart
2013/3/19 Muralidhar Yaragalla : > I am not sure who is "toy". *you Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: use

Re: problem with regex validator

2013-03-19 Thread Muralidhar Yaragalla
I am not sure who is "toy". On Wed, Mar 20, 2013 at 3:44 AM, Lukasz Lenart wrote: > 2013/3/19 Muralidhar Yaragalla : > > i use struts 2.3.12 > > Could you show how did toy define regex validator? As I said, > expression param name was changed to regex > > > Regards > -- > Łukasz > + 48 606 323 1

Re: problem with regex validator

2013-03-19 Thread Lukasz Lenart
2013/3/19 Muralidhar Yaragalla : > i use struts 2.3.12 Could you show how did toy define regex validator? As I said, expression param name was changed to regex Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ - To

Re: problem with regex validator

2013-03-19 Thread Muralidhar Yaragalla
i use struts 2.3.12 On Wed, Mar 20, 2013 at 3:15 AM, Lukasz Lenart wrote: > 2013/3/19 Muralidhar Yaragalla : > > something like "apple<>" (without quotes). > > Which version of Struts do you use? > > > Regards > -- > Łukasz > + 48 606 323 122 http://www.lenart.org.pl/ > > ---

Re: problem with regex validator

2013-03-19 Thread Muralidhar Yaragalla
sorry for my comment. what you said is right. Thank you for that info. On Wed, Mar 20, 2013 at 3:04 AM, Lukasz Lenart wrote: > 2013/3/19 Muralidhar Yaragalla : > > As far as i remember commons logging is one of the implementation of > log4j. > > but xworks classes does not use log4j. I am saying

Re: problem with regex validator

2013-03-19 Thread Lukasz Lenart
2013/3/19 Muralidhar Yaragalla : > something like "apple<>" (without quotes). Which version of Struts do you use? Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ - To unsubscribe, e-mail: user-unsubscr...@struts.a

Re: problem with regex validator

2013-03-19 Thread Lukasz Lenart
2013/3/19 Paul Benedict : > Did you add the ^ and $ like I suggested? Is really not needed, I have tested with the Showcase app, just modify FieldValidatorsExampleAction-submitFieldValidatorsExamples-validation.xml and you can see the desired behaviour Regards -- Łukasz + 48 606 323 122 http://

Re: problem with regex validator

2013-03-19 Thread Paul Benedict
Did you add the ^ and $ like I suggested? On Tue, Mar 19, 2013 at 4:34 PM, Muralidhar Yaragalla < java.yaraga...@gmail.com> wrote: > something like "apple<>" (without quotes). > > > On Wed, Mar 20, 2013 at 3:02 AM, Paul Benedict > wrote: > > > What input value are you testing against the regex?

Re: problem with regex validator

2013-03-19 Thread Muralidhar Yaragalla
something like "apple<>" (without quotes). On Wed, Mar 20, 2013 at 3:02 AM, Paul Benedict wrote: > What input value are you testing against the regex? > > On Tue, Mar 19, 2013 at 4:28 PM, Muralidhar Yaragalla < > java.yaraga...@gmail.com> wrote: > > > As far as i remember commons logging is one

Re: problem with regex validator

2013-03-19 Thread Lukasz Lenart
2013/3/19 Muralidhar Yaragalla : > As far as i remember commons logging is one of the implementation of log4j. > but xworks classes does not use log4j. I am saying this because i have used > the log that comes from the super class which is a xworks class and that is > not of log4j. No, is not. com

Re: problem with regex validator

2013-03-19 Thread Paul Benedict
What input value are you testing against the regex? On Tue, Mar 19, 2013 at 4:28 PM, Muralidhar Yaragalla < java.yaraga...@gmail.com> wrote: > As far as i remember commons logging is one of the implementation of log4j. > but xworks classes does not use log4j. I am saying this because i have used

Re: problem with regex validator

2013-03-19 Thread Muralidhar Yaragalla
As far as i remember commons logging is one of the implementation of log4j. but xworks classes does not use log4j. I am saying this because i have used the log that comes from the super class which is a xworks class and that is not of log4j. On Wed, Mar 20, 2013 at 2:53 AM, Lukasz Lenart wrote:

Re: problem with regex validator

2013-03-19 Thread Lukasz Lenart
I have modified the Showcase app and defined regexp as and everything works as expected. But I noticed one thing, I have renamed expression param into regex in 2.3.12, the question is which version do you use? http://struts.apache.org/development/2.x/docs/regex-validator.html Regards -- Łukas

Re: problem with regex validator

2013-03-19 Thread Lukasz Lenart
2013/3/19 Muralidhar Yaragalla : > I have added the following to log4j > > log4j.logger.com.opensymphony.xwork2.validator.validators=debug > > But it doe not print anything on console. The logger was set for console > and for file.(both appenders) Log4j is supported throughout commons-logging Re

Re: problem with regex validator

2013-03-19 Thread Muralidhar Yaragalla
ok. will do. On Wed, Mar 20, 2013 at 2:29 AM, Dave Newton wrote: > Put a SSCCE and its pom on github/etc and we'll take a look. AFAIK regex > validationworks fine for me. > On Mar 19, 2013 4:57 PM, "Muralidhar Yaragalla" > > wrote: > > > Hi, All the other validators are working fine except r

Re: problem with regex validator

2013-03-19 Thread Dave Newton
Put a SSCCE and its pom on github/etc and we'll take a look. AFAIK regex validationworks fine for me. On Mar 19, 2013 4:57 PM, "Muralidhar Yaragalla" wrote: > Hi, All the other validators are working fine except regex. > > > On Wed, Mar 20, 2013 at 2:21 AM, Paul Benedict > wrote: > > > When th

Re: problem with regex validator

2013-03-19 Thread Muralidhar Yaragalla
Hi, All the other validators are working fine except regex. On Wed, Mar 20, 2013 at 2:21 AM, Paul Benedict wrote: > When the validator isn't working, it could signify none of your validation > is working. Have you tried the "required-string" validator or anything else > is working? > > Paul > >

  1   2   3   4   5   6   7   8   9   10   >