Re: Struts2: Problem with form fields

2013-03-20 Thread Dhananjay Makwana
Thanks for solution. I followed [2] and it works perfectly. Now any suggestions/patterns for implementations of "acceptableParameterName(String)" method, apart from the obvious checking of parameter startWith, endsWith etc.? On 3/19/13 5:41 PM, Lukasz Lenart wrote: 2013/3/19 Dhananjay Makwana :

Re: Struts2: Problem with form fields

2013-03-19 Thread Lukasz Lenart
2013/3/19 Dhananjay Makwana : > I do have an excludePattern but that is for my css, js files. Here's my > struts.xml file. I am using version 2.3.8. I have double checked and your problem is related to acceptParamNames property of ParametersInterceptor which was defined very restrictive [1] to sec

Re: Struts2: Problem with form fields

2013-03-19 Thread Dhananjay Makwana
I do have an excludePattern but that is for my css, js files. Here's my struts.xml file. I am using version 2.3.8. /accountList.tiles accounts On 3/19/13 4:22 PM, Lukasz L

Re: Struts2: Problem with form fields

2013-03-19 Thread Lukasz Lenart
2013/3/19 Dhananjay Makwana : > 2013-03-19 14:33:25,683 [http-8080-2] WARN > com.opensymphony.xwork2.interceptor.ParametersInterceptor - Parameter > [#session.accounts['aaa'].properties[0].value] didn't match acceptedPattern > pattern! This is odd, as I have already checked and #session.accounts['

Struts2: Problem with form fields

2013-03-19 Thread Dhananjay Makwana
Hi Everyone, I am new to Struts2. I am creating a basic page where user can see login credentials for few accounts (any type like Email, FB etc.) and if one of them is not present then add them. Each account has a list of properties with a name and a string value (keeping it simple). Now in m

RE: struts2 problem when file download dialog is closed

2012-04-11 Thread svetlana . roslyakova
returns cashed results from the previous AJAX call. Thanks, Lana. From: adam pinder To: Date: 04/11/2012 01:46 PM Subject:RE: struts2 problem when file download dialog is closed is the user "cancelling" still sending a request to the server and hence you are

RE: struts2 problem when file download dialog is closed

2012-04-11 Thread adam pinder
nce then leave it. > To: user@struts.apache.org > Subject: Re: struts2 problem when file download dialog is closed > From: svetlana.roslyak...@bnymellon.com > Date: Wed, 11 Apr 2012 09:51:39 -0400 > > Venkata, > > I use Struts2 2.2.1.1 version. > I've changed th

Re: struts2 problem when file download dialog is closed

2012-04-11 Thread svetlana . roslyakova
call, it does not go to the server, but instead uses the cashed response. Thanks, Lana. From: vEnkaTa mohAna rAo SriperumbUdUru To: Struts Users Mailing List Date: 04/10/2012 09:19 PM Subject:Re: struts2 problem when file download dialog is closed You are using older

Re: struts2 problem when file download dialog is closed

2012-04-10 Thread vEnkaTa mohAna rAo SriperumbUdUru
You are using older version Struts2.x and change filter to StrutsPrepareAndExecute Filter. On Wed, Apr 11, 2012 at 1:59 AM, wrote: > Hi, > > I've created a struts2 application that creates text file and displays the > file download dialog for the user to open or save it. > It works fine if the

Re: struts2 problem when file download dialog is closed

2012-04-10 Thread Muneer Malik
when the dialog closes, are you still calling the action ? Best, Muneer Malik On Apr 10, 2012, at 3:29 PM, svetlana.roslyak...@bnymellon.com wrote: > Hi, > > I've created a struts2 application that creates text file and displays the > file download dialog for the user to open or save it. >

struts2 problem when file download dialog is closed

2012-04-10 Thread svetlana . roslyakova
Hi, I've created a struts2 application that creates text file and displays the file download dialog for the user to open or save it. It works fine if the user opens or saves it, but if the user closes the file download dialog the program logs the following error: Servlet failed with Exception j

Re: Url tag usage in struts2 problem and solution

2012-01-05 Thread Mahesh
Hi, I figured out what was going wrong. My "web.xml" looked like this: -- http://java.sun.com/dtd/web-app_2_3.dtd"; > -- I had to enable EL(Expression Language) by cha

Re: Url tag usage in struts2 problem and solution

2012-01-05 Thread Gabriel Belingueres
I would search for tags in your webapp's web.xml and tomcat's web.xml, and get rid of them. 2012/1/5 Łukasz Lenart : > 2012/1/5 Dave Newton : >> I might be wrong anyway, misread the post on my phone; not sure a var can >> be read through plain JSP EL like that-don't recall. > > As I remember it s

Re: Url tag usage in struts2 problem and solution

2012-01-05 Thread Łukasz Lenart
2012/1/5 Dave Newton : > I might be wrong anyway, misread the post on my phone; not sure a var can > be read through plain JSP EL like that-don't recall. As I remember it should work. Both notations should be supported ${} and %{} Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ War

Re: Url tag usage in struts2 problem and solution

2012-01-05 Thread Dave Newton
Not really related to what I said, but like I said, I misread anyway. Dave On Jan 5, 2012 9:10 AM, "Mahesh" wrote: > Hi, > > The version of software being used for running the tutorial is below. > > Tomcat 6.0.33 > Java "1.6.0_26" > Struts 2.3.1.1 > on Linux > > -- > Mahesh > > On 5 January 201

Re: Url tag usage in struts2 problem and solution

2012-01-05 Thread Mahesh
Hi, The version of software being used for running the tutorial is below. Tomcat 6.0.33 Java "1.6.0_26" Struts 2.3.1.1 on Linux -- Mahesh On 5 January 2012 16:33, Mahesh wrote: > Hi, > > This is about the topic URL tags in struts2 tutorial available in the > below link. > > http://struts.apach

Re: Url tag usage in struts2 problem and solution

2012-01-05 Thread Dave Newton
I might be wrong anyway, misread the post on my phone; not sure a var can be read through plain JSP EL like that-don't recall. Sorry for the confusion. Dave On Jan 5, 2012 8:28 AM, "Dave Newton" wrote: > Looks like your container isn't evaluating JSP EL. Make sure your web.xml > is your servle

Re: Url tag usage in struts2 problem and solution

2012-01-05 Thread Dave Newton
This issue is only because of JSP EL eval, so isn't really serious... If we don't actually require 2.5 in the code, raising the version seems a little arbitrary. On Jan 5, 2012 8:33 AM, "Łukasz Lenart" wrote: > 2012/1/5 Dave Newton : > > Looks like your container isn't evaluating JSP EL. Make su

Re: Url tag usage in struts2 problem and solution

2012-01-05 Thread Łukasz Lenart
2012/1/5 Dave Newton : > Looks like your container isn't evaluating JSP EL. Make sure your web.xml > is your servlet spec 2.5+. All the time we're specifying as a minimal requirement Servlet API 2.4, shouldn't we change that to 2.5 though ? Regards -- Łukasz + 48 606 323 122 http://www.lenart.o

Re: Url tag usage in struts2 problem and solution

2012-01-05 Thread Johannes Geppert
The Url is stored in the Struts2 ValueStack. To access this, you should use the Struts2 Property Tag. Johannes - web: http://www.jgeppert.com twitter: http://twitter.com/jogep -- View this message in context: http://struts.1045723.n5.nabble.com/Url-tag-usage-in-struts2-problem-and

Re: Url tag usage in struts2 problem and solution

2012-01-05 Thread Dave Newton
Looks like your container isn't evaluating JSP EL. Make sure your web.xml is your servlet spec 2.5+. Dave On Jan 5, 2012 6:04 AM, "Mahesh" wrote: > Hi, > > This is about the topic URL tags in struts2 tutorial available in the > below link. > > http://struts.apache.org/2.x/docs/using-struts-2-ta

Url tag usage in struts2 problem and solution

2012-01-05 Thread Mahesh
Hi, This is about the topic URL tags in struts2 tutorial available in the below link. http://struts.apache.org/2.x/docs/using-struts-2-tags.html Problem is this: Bruce Phillips Hello Bruce Phillips --

Struts2 problem

2011-03-03 Thread Kiwi209
Hello world, I'm working with Struts 2 using Tiles and FTL instead of JSP on the view side. When I try to put a tag on my page to see all the paramaters available on this FTL page I have an error : Java backtrace for programmers: -- freemarker.core.InvalidReferenceException: on line 45

struts2 problem

2010-09-14 Thread sepid rahimi
hi I created a struts2spring project(in maven structure) and i'm going to write a result type that use from it in my actions and deployed in tomcat but i have this problem: java.lang. IllegalStateException: Must have the StrutsPrepareFilter execute before this one org.apache.struts2.dispatc

RE: [Struts2] Problem using Struts2 with EJB3 over ServiceLocator (Jboss say Caller unauthorized)

2009-10-26 Thread Fernandes Celinio
Hi Michael, Did you fix your problem ? If yes, what was wrong ? -Message d'origine- De : Michael Obster [mailto:mich...@obster.org] Envoyé : vendredi 2 octobre 2009 17:42 À : Struts Users Mailing List Objet : Re: [Struts2] Problem using Struts2 with EJB3 over ServiceLocator (Jbos

Re: [Struts2] Problem using Struts2 with EJB3 over ServiceLocator (Jboss say Caller unauthorized)

2009-10-02 Thread Michael Obster
Hi Wes, I'm accessing the bean over a service locator. I have attached the class source at the end. Regards, Michael Wes Wannemacher schrieb: How are you getting a copy of your EJB in your action? vwg.yyy.cancard.ui.action.Usermanagement.Usermanagement.list(Userman agement.java:41) That li

Re: [Struts2] Problem using Struts2 with EJB3 over ServiceLocator (Jboss say Caller unauthorized)

2009-10-02 Thread Wes Wannemacher
How are you getting a copy of your EJB in your action? vwg.yyy.cancard.ui.action.Usermanagement.Usermanagement.list(Userman agement.java:41) That line in the stacktrace indicates that you are in the action when you get the error, but the stacktrace dives down into a proxied object after that. You

[Struts2] Problem using Struts2 with EJB3 over ServiceLocator (Jboss say Caller unauthorized)

2009-10-02 Thread Michael Obster
Hi everybody, After I have written some mails to JBoss security forum, I found out that the Servlet has a problem. As I can see that has to do with the usage of Struts 2 because another application with Struts 1 works. The problem I don't know where I can continue to resolve the problem an w

RE: [struts2] problem

2009-08-21 Thread Security Management
-Original Message- From: Tommy Pham [mailto:tommy...@yahoo.com] Sent: Tuesday, August 18, 2009 6:05 PM To: Struts Users Mailing List Subject: Re: [struts2] problem - Original Message > From: Paweł Wielgus > To: Struts Users Mailing List > Sent: Tuesday, August 18,

Re: [struts2] problem

2009-08-20 Thread Wes Wannemacher
On Thursday 20 August 2009 10:15:17 pm Tommy Pham wrote: > > THANK YOU Wes!!! :) Slightly off topic: if I have nested lists such as > > > > > How would I get list2value.name? would it be %{#list2value.name} ? Doing > all of this in scriptlets is easier for me but code looks messy :) > Yeah, %{#

Re: [struts2] problem

2009-08-20 Thread Tommy Pham
- Original Message > From: Wes Wannemacher > To: Struts Users Mailing List > Sent: Thursday, August 20, 2009 6:05:00 PM > Subject: Re: [struts2] problem > > I can never remember which things can be accessed through EL, but my > guess is that you can't get &qu

Re: [struts2] problem

2009-08-20 Thread Tommy Pham
- Original Message > From: Martin Gainty > To: Struts Users Mailing List > Sent: Thursday, August 20, 2009 5:45:48 PM > Subject: RE: [struts2] problem > > > > why not checkboxlist? > > > http://struts.apache.org/2.1.2/docs/

Re: [struts2] problem

2009-08-20 Thread Wes Wannemacher
I can never remember which things can be accessed through EL, but my guess is that you can't get "language" because the top of the struts value stack is not the same thing as a request scoped variable. Instead of the el notation try using the s:property tag like this - notice the hash mark in fron

RE: [struts2] problem

2009-08-20 Thread Martin Gainty
2009 16:58:52 -0700 > From: tommy...@yahoo.com > Subject: Re: [struts2] problem > To: user@struts.apache.org > > Hi, > > Looks like I'm still having problems with the . I have a > LinkedHashMap list which I want to iterate and show the contents. This i

Re: [struts2] problem

2009-08-20 Thread Tommy Pham
Hi, Looks like I'm still having problems with the . I have a LinkedHashMap list which I want to iterate and show the contents. This is the code for it: ID ISO Code 2 ISO Code 3 Name Native Nam

RE: [struts2] problem

2009-08-18 Thread Lee Clemens
It will be the default, but if a specific tag needs a different theme, you can set it as one of the tag's attributes. e.g. -Original Message- From: Tommy Pham [mailto:tommy...@yahoo.com] Sent: Tuesday, August 18, 2009 6:05 PM To: Struts Users Mailing List Subject: Re: [st

Re: [struts2] problem

2009-08-18 Thread Tommy Pham
- Original Message > From: Paweł Wielgus > To: Struts Users Mailing List > Sent: Tuesday, August 18, 2009 1:18:13 PM > Subject: Re: [struts2] problem > > Hi Tommy, > add theme="simple" inside checkbox to remove extra td and tr. > > > Best gre

Re: [struts2] problem

2009-08-18 Thread Paweł Wielgus
Hi Tommy, add theme="simple" inside checkbox to remove extra td and tr. Best greetings, Paweł Wielgus. 2009/8/18 Tommy Pham : > Hi, > > I'm new to struts 2 (2.1.6) and having some problems implementing the > .  After following the bootstrap tutorial, I decided to work on > my project. Based

[struts2] problem

2009-08-18 Thread Tommy Pham
Hi, I'm new to struts 2 (2.1.6) and having some problems implementing the . After following the bootstrap tutorial, I decided to work on my project. Based on the tags reference for checkbox http://struts.apache.org/2.1.6/docs/checkbox.html, or in the jsp page should yield the same html outp

STRUTS2: Problem package.properties and UTF-8

2009-05-14 Thread Marc Eckart
Hi, we are using UTF-8 in out jsp-sites. We have put our texts into the package.properties which is encoded in ISO-8859-1, because properties files should be encoded in the ISO charset as referred in the java api ("The load(InputStream) / store(OutputStream, String) methods work the same way as

Dojo, input=file and struts2 problem

2008-10-09 Thread Jeroen Simons
I have a very weird problem and I hope somebody can tell me where to look for a solution. Using the code below everything works as expected. On form submission an ajax call is made to the alert() method which simply forwards to alert.jsp which alerts the filled in text and a dom reference o

RE: [Struts2] problem with tag

2007-12-17 Thread Rajasekhar
: Raghuveer Rawat [mailto:[EMAIL PROTECTED] Sent: Saturday, December 15, 2007 4:01 AM To: Struts Users Mailing List Subject: [Struts2] problem with tag Hi, I have a getting problem in using s:select tag. Need some help if anyone used s:select before. This dropdown is populated dynamically. When form is

Re: [Struts2] problem with tag

2007-12-15 Thread Raghuveer Rawat
Thanks Dave, This issue has been resolved using Preparable/prepare() On Dec 15, 2007 8:18 PM, Dave Newton <[EMAIL PROTECTED]> wrote: > You don't say how you initially populate the select box. In any case, > unless > you're populating it via Preparable/prepare() or some other automatic way > or >

Re: [Struts2] problem with tag

2007-12-15 Thread Dave Newton
You don't say how you initially populate the select box. In any case, unless you're populating it via Preparable/prepare() or some other automatic way or if it's not in application or session scope it won't get automatically re-populated when you re-visit the page. d. --- Raghuveer Rawat <[EMAIL

[Struts2] problem with tag

2007-12-14 Thread Raghuveer Rawat
Hi, I have a getting problem in using s:select tag. Need some help if anyone used s:select before. This dropdown is populated dynamically. When form is loaded initially dropdown is getting populated perfectly. No issue here. But when we submit the form and some of the validations fail then page is

Re: Struts2: Problem result input

2007-12-13 Thread Laurie Harper
For what it's worth, overloaded setters are not supported by the JavaBeans specification, so if you do that you no longer have a valid JavaBean. The behaviour of code which depends on JavaBeans-style introspection (such as Struts) is JVM version dependent in such cases, which is a good reason t

Re: Struts2: Problem result input

2007-12-13 Thread Marc Eckart
Solved the problem: In my case the problem was a type conversion :-) I have a bean class, which is filled by hidden fields. I have some overloaded setters with a type and a string which converts into the type. So I assume struts doesn't look at the signature of the setter and just uses the first i

Re: Struts2: Problem result input

2007-12-12 Thread Dave Newton
There is *some* reason it's expecting an input result: it could be your configuration, a type conversion error, something... if nothing else I'd crank up logging full-blast and see what's there. HTHBIPD (Hope This Helps But It Probably Doesn't) d. --- Marc Eckart <[EMAIL PROTECTED]> wrote: > Hi,

Struts2: Problem result input

2007-12-12 Thread Marc Eckart
Hi, I have a problem when I call a action with dojo by publishing a topic. Struts wants a input result and I don't know why. I haven't changed anything in this region of the application and it worked for a long time. I don't have any validation methods neither have I added a validation intercepter

Re: Dojo-In-Struts2-Problem: IE works FF not...

2007-08-30 Thread Musachy Barroso
If you need to prevent the request you would need it. Topics have changed quite a bit between releases, if you are using 2.0.9, then the topic takes 3 parameters, and it is published before the request, after the request and when there is an error. http://struts.apache.org/2.x/docs/ajax-tags.html

Re: Dojo-In-Struts2-Problem: IE works FF not...

2007-08-30 Thread Marc Eckart
2007/8/30, Musachy Barroso <[EMAIL PROTECTED]>: > > Well, it is on search.js line 206 ;) > > musachy > Ah, sometimes I'm blind. Firebug hide this info and I didn't take a closer look at my pastet content :-) On line 206 is this: // prevent refreshSelectedCustomer AJAX requests, if IpNbr is e

Re: Dojo-In-Struts2-Problem: IE works FF not...

2007-08-30 Thread Musachy Barroso
Well, it is on search.js line 206 ;) musachy On 8/30/07, Marc Eckart <[EMAIL PROTECTED]> wrote: > 2007/8/30, Musachy Barroso <[EMAIL PROTECTED]>: > > > > Any idea what "event" is referring to? > > > > musachy > > > > > No not really. How can I find out, which event is used? The dojo.js is not > r

Re: Dojo-In-Struts2-Problem: IE works FF not...

2007-08-30 Thread Marc Eckart
2007/8/30, Musachy Barroso <[EMAIL PROTECTED]>: > > Any idea what "event" is referring to? > > musachy > > No not really. How can I find out, which event is used? The dojo.js is not really human readable...

Re: Dojo-In-Struts2-Problem: IE works FF not...

2007-08-30 Thread Musachy Barroso
Any idea what "event" is referring to? musachy On 8/30/07, Marc Eckart <[EMAIL PROTECTED]> wrote: > Hi, > > I have a struts div-Tag with: > > This refreshes a jsp when the refreshSelectedCustomer topic is published. If > this happens the sessionContext Action is called (As far as I understand it)

Dojo-In-Struts2-Problem: IE works FF not...

2007-08-30 Thread Marc Eckart
Hi, I have a struts div-Tag with: This refreshes a jsp when the refreshSelectedCustomer topic is published. If this happens the sessionContext Action is called (As far as I understand it) In the selectedCustomer.jsp I have a href where I call a javascript which publishes the topic as well as a c

Re: [Struts2] problem with links and Firefox

2006-12-01 Thread Sébastien LABEY
Sorry, I forgot to post that I found the mistake, a few days after my first post and my holidays... I made an error in the action, just one letter wrong ("accueil" and "acceuil") and this was redirected to the "default" action... whatever, thanks for your answer Sebastien On 12/1/06, Don Brown

Re: [Struts2] problem with links and Firefox

2006-12-01 Thread Don Brown
That is strange. Perhaps a Firefox thing? What happens when you try other browsers? Don On 9/28/06, Labey Sébastien <[EMAIL PROTECTED]> wrote: Hi, I have a strange problem : I have 2 links in my page to change the locale. The "english" and the "french" link are not build the same way (for t

[Struts2] problem with links and Firefox

2006-09-28 Thread Labey Sébastien
Hi, I have a strange problem : I have 2 links in my page to change the locale. The "english" and the "french" link are not build the same way (for tests...) but the 2 solutions give the url that I want in the end. <%/* anglais */%> en