Re: Question

2018-11-14 Thread John Bush
I would think it pertains to Struts 1 applications since the finding is for any use of Apache Commons FileUpload before 1.3.3. The latest version of Struts 1 used commons-fileupload-1.0.jar. Not many applications use the library so you may be able to just remove the jar from your application. I

Re: Question

2018-11-14 Thread Lukasz Lenart
śr., 14 lis 2018 o 19:34 Deborah White napisał(a): > > Hello, we have some very old internal apps that are still using Struts 1. > Does this alert apply to Struts 1 or only Struts 2? It says 2.3.36 or prior > so I'm not sure. > > https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2016-131

RE: Question

2018-11-14 Thread Eric Reed
Struts 2. -Original Message- From: Deborah White Sent: Wednesday, November 14, 2018 1:34 PM To: user@struts.apache.org Subject: Question Hello, we have some very old internal apps that are still using Struts 1. Does this alert apply to Struts 1 or only Struts 2? It says 2.3.36 or pri

Re: [EXTERNAL] Re: Question Regarding Recent Security Announcement

2018-11-05 Thread Lukasz Lenart
pon., 5 lis 2018 o 13:33 David Dillard napisał(a): > > Ok, that addresses one question, but still leaves one: why is it being > recommended to update File Upload NOW due to a possible DoS, when Struts has > been using a version of File Upload with no documented DoS issue for the last > six rele

RE: [EXTERNAL] Re: Question Regarding Recent Security Announcement

2018-11-05 Thread David Dillard
1.3.2. File Upload 1.3.2 currently has no documented DoS issue. Now, you're saying to update to File Upload 1.3.3 to fix a DoS issue. Why? -Original Message- From: Lukasz Lenart Sent: Monday, November 5, 2018 2:16 AM To: Struts Users Mailing List Subject: [EXTERNAL] Re: Que

Re: Question Regarding Recent Security Announcement

2018-11-04 Thread Lukasz Lenart
niedz., 4 lis 2018 o 18:40 David Dillard napisał(a): > 1. Per the Maven repository, Struts 2.3.36 recommends Fileupload 1.3.2 be > used, > not 1.3.3, so I'm confused about what's stated in the email. What's > recommen

RE: Question Regarding Recent Security Announcement

2018-11-04 Thread Yasser Zamani
Hi David, That was a typo which already has fixed and re-announced. We meant 1.3.3. Thanks for your email. Regards. >-Original Message- >From: David Dillard >Sent: Sunday, November 4, 2018 9:10 PM >To: user@struts.apache.org >Subject: Question Regarding Recent Security Announcement > >

RE: Question

2017-12-13 Thread Deborah White
Never mind. I figured it out. -Original Message- From: Deborah White [mailto:deborah.wh...@doj.ca.gov] Sent: Wednesday, December 13, 2017 10:56 AM To: Struts Users Mailing List Subject: RE: Question This might seem like a dumb question to you, but the action I am using already extends

RE: Question

2017-12-13 Thread Deborah White
10:21 PM To: Struts Users Mailing List Subject: Re: Question 2017-12-11 20:56 GMT+01:00 Deborah White : > Hello, has anyone implemented the new reCaptcha v2 (I'm not a robot) with > Struts 2.3.34? I have followed examples and it just spins when clicked. Yesterday I have extende

Re: Question

2017-12-11 Thread Lukasz Lenart
2017-12-11 20:56 GMT+01:00 Deborah White : > Hello, has anyone implemented the new reCaptcha v2 (I'm not a robot) with > Struts 2.3.34? I have followed examples and it just spins when clicked. Yesterday I have extended my Google AppEngine plugin [1] with a support for reCAPTCHA. It targets Strut

Re: Question about upgrade to struts2 2.3.34 and session variables

2017-10-02 Thread Lukasz Lenart
2017-09-29 17:35 GMT+02:00 Roslyakova, Svetlana : > Below didn't work. We ended up creating new Map variable in Action, updating > that variable in jsp and setting session from that variable in Action. Thanks for posting back your solution, I think we should start collecting all these small advi

RE: Question about upgrade to struts2 2.3.34 and session variables

2017-09-29 Thread Roslyakova, Svetlana
AM To: Struts Users Mailing List Subject: Re: Question about upgrade to struts2 2.3.34 and session variables 2017-09-26 18:11 GMT+02:00 Roslyakova, Svetlana : > Here is the full example: > > > > > >"> type="text" id="userId" theme="simple&

Re: Question about upgrade to struts2 2.3.34 and session variables

2017-09-27 Thread Lukasz Lenart
2017-09-27 13:49 GMT+02:00 Roslyakova, Svetlana : > 250917 [http-nio-8080-exec-8] WARN > com.opensymphony.xwork2.interceptor.ParametersInterceptor - Parameter > [#session['userList'][0].UserId] matches excluded pattern > [(^|\%\{)((#?)(top(\.|\['|\[")|\[\d\]\.)?)(dojo|struts|session|request|resp

RE: Question about upgrade to struts2 2.3.34 and session variables

2017-09-27 Thread Roslyakova, Svetlana
ay, September 27, 2017 1:24 AM To: user@struts.apache.org Subject: Re: Question about upgrade to struts2 2.3.34 and session variables On 9/26/2017 10:47 PM, Roslyakova, Svetlana wrote: > Hi Yasser, > > Unfortunately it didn't work either. > > Thanks, > > Lana. >

Re: Question about upgrade to struts2 2.3.34 and session variables

2017-09-26 Thread Lukasz Lenart
2017-09-26 18:11 GMT+02:00 Roslyakova, Svetlana : > Here is the full example: > > > > > > >"> type="text" id="userId" theme="simple" name="session. userList > [%{#stat.index}].UserId" value="%{top.UserId}" /> > This should work and I would

Re: Question about upgrade to struts2 2.3.34 and session variables

2017-09-26 Thread Yasser Zamani
any related WARN. [1] https://struts.apache.org/docs/devmode.html > -Original Message- > From: Yasser Zamani [mailto:yasser.zam...@live.com] > Sent: Tuesday, September 26, 2017 1:49 PM > To: user@struts.apache.org > Subject: Re: Question about upgrade to struts2 2.3.34 and

RE: Question about upgrade to struts2 2.3.34 and session variables

2017-09-26 Thread Roslyakova, Svetlana
Hi Yasser, Unfortunately it didn't work either. Thanks, Lana. -Original Message- From: Yasser Zamani [mailto:yasser.zam...@live.com] Sent: Tuesday, September 26, 2017 1:49 PM To: user@struts.apache.org Subject: Re: Question about upgrade to struts2 2.3.34 and session variables

Re: Question about upgrade to struts2 2.3.34 and session variables

2017-09-26 Thread Yasser Zamani
m: Yasser Zamani [mailto:yasser.zam...@live.com] > Sent: Tuesday, September 26, 2017 1:12 PM > To: user@struts.apache.org > Subject: Re: Question about upgrade to struts2 2.3.34 and session variables > > > > On 9/26/2017 7:41 PM, Roslyakova, Svetlana wrote: >> Here is th

Re: Question about upgrade to struts2 2.3.34 and session variables

2017-09-26 Thread Yasser Zamani
; It all worked before the upgrade. > > Thanks, > > Lana. > > > > -Original Message- > From: Lukasz Lenart [mailto:lukaszlen...@apache.org] > Sent: Tuesday, September 26, 2017 11:39 AM > To: Struts Users Mailing List > Subject: Re: Question about

RE: Question about upgrade to struts2 2.3.34 and session variables

2017-09-26 Thread Roslyakova, Svetlana
= userId; } It all worked before the upgrade. Thanks, Lana. -Original Message- From: Lukasz Lenart [mailto:lukaszlen...@apache.org] Sent: Tuesday, September 26, 2017 11:39 AM To: Struts Users Mailing List Subject: Re: Question about upgrade to struts2 2.3.34 and session v

Re: Question about upgrade to struts2 2.3.34 and session variables

2017-09-26 Thread Lukasz Lenart
2017-09-26 17:27 GMT+02:00 Roslyakova, Svetlana : > Hi Lukasz, > > I have another issue with struts2 2.3.34 upgrade. > We are using session variables throughout the application: > > name="session.user.UserId" value="%{top.UserId}" /> What getters/setters do you have for UserId? And why do you use

RE: Question about upgrade to struts2 2.3.34 and session variables

2017-09-26 Thread Roslyakova, Svetlana
] Sent: Tuesday, September 26, 2017 1:21 AM To: Struts Users Mailing List Subject: Re: Question about upgrade to struts2 2.3.34 and s:hidden tag Hi I was just want to point to you to this [1] and especially to this issue [2] as now tag follows xhtml theme specification. [1] https

Re: Question about upgrade to struts2 2.3.34 and s:hidden tag

2017-09-25 Thread Lukasz Lenart
ova, Svetlana > *Sent:* Monday, September 25, 2017 5:39 PM > *To:* 'Struts Users Mailing List' > *Subject:* RE: Question about upgrade to struts2 2.3.34 and s:hidden tag > > > > A little more information. > > > > I have the following

RE: Question about upgrade to struts2 2.3.34 and s:hidden tag

2017-09-25 Thread Roslyakova, Svetlana
I was able to resolve the issue. We didn’t have ‘theme=”simple”’ on the tags. Once I’ve added it to the tags, the issue went away. From: Roslyakova, Svetlana Sent: Monday, September 25, 2017 5:39 PM To: 'Struts Users Mailing List' Subject: RE: Question about upgrade to struts2

RE: Question about upgrade to struts2 2.3.34 and s:hidden tag

2017-09-25 Thread Roslyakova, Svetlana
2:11 PM To: Struts Users Mailing List mailto:user@struts.apache.org>> Subject: Re: Question about com.opensymphony.xwork2.util.LocalizedTextUtil 2017-09-25 20:05 GMT+02:00 Roslyakova, Svetlana mailto:svetlana.roslyak...@bnymellon.com>>: > Hi, > > We have upgraded to s

Re: Question about com.opensymphony.xwork2.util.LocalizedTextUtil

2017-09-25 Thread Lukasz Lenart
2017-09-25 20:05 GMT+02:00 Roslyakova, Svetlana : > Hi, > > We have upgraded to struts2 version 2.3.34. > > After the upgrade s:hidden field stopped working. If I remove s:hidden tag > from the jsp page, the page is displayed correctly, with the the screen, css stop working. > > Any advice? Do

RE: Question about com.opensymphony.xwork2.util.LocalizedTextUtil

2017-09-25 Thread Roslyakova, Svetlana
Hi, We have upgraded to struts2 version 2.3.34. After the upgrade s:hidden field stopped working. If I remove s:hidden tag from the jsp page, the page is displayed correctly, with the mailto:kl...@tachtler.net] Sent: Friday, September 22, 2017 9:40 AM To: user@struts.apache.org Subject: Questi

Re: Question about com.opensymphony.xwork2.util.LocalizedTextUtil

2017-09-25 Thread Lukasz Lenart
2017-09-22 21:01 GMT+02:00 Klaus Tachtler : > Hi, > > thank you once again for your support, Łukasz and Adam! > > @Łukasz: you're absolutly right to say: > "I would rather pass a localised string to the bean (if possible), this > creates a dependency on Struts in non-Struts related bean" > > Depend

Re: Question about com.opensymphony.xwork2.util.LocalizedTextUtil

2017-09-22 Thread Klaus Tachtler
Hi, thank you once again for your support, Łukasz and Adam! @Łukasz: you're absolutly right to say: "I would rather pass a localised string to the bean (if possible), this creates a dependency on Struts in non-Struts related bean" Depending on that I ONLY want to use the same resource bundle as

Re: Question about com.opensymphony.xwork2.util.LocalizedTextUtil

2017-09-22 Thread Klaus Tachtler
Hi, thank you for the help! I will try the solution and implement it. Thank you! Klaus. Borrowing from Lukasz’s improvement. public class MyControlelr extends ActionSupport … @Override public String execute() { String msg = getText(‘myMessageKey”); FileReader.determineFileReader(msg,

Re: Question about com.opensymphony.xwork2.util.LocalizedTextUtil

2017-09-22 Thread Adam Brin
Borrowing from Lukasz’s improvement. public class MyControlelr extends ActionSupport … @Override public String execute() { String msg = getText(‘myMessageKey”); FileReader.determineFileReader(msg, userString); -- _ Adam Brin Director

Re: Question about com.opensymphony.xwork2.util.LocalizedTextUtil

2017-09-22 Thread Klaus Tachtler
Hi Adam, thank you so much for the example! BUT from where can I get the "TextProvider provider" (you said all ActionSupport classes implement this) Thank you! Klaus. import com.opensymphony.xwork2.TextProvider; public class FileReader { private static Locale locale = null;

Re: Question about com.opensymphony.xwork2.util.LocalizedTextUtil

2017-09-22 Thread Lukasz Lenart
2017-09-22 16:39 GMT+02:00 Adam Brin : > import com.opensymphony.xwork2.TextProvider; > > public class FileReader { > > private static Locale locale = null; > >// not sure if this needs to be static > public static Bean determineFileReader(String userString, > TextProvider

Re: Question about com.opensymphony.xwork2.util.LocalizedTextUtil

2017-09-22 Thread Adam Brin
import com.opensymphony.xwork2.TextProvider; public class FileReader { private static Locale locale = null; // not sure if this needs to be static public static Bean determineFileReader(String userString, TextProvider provider) { String i18nString = provi

Re: Question about com.opensymphony.xwork2.util.LocalizedTextUtil

2017-09-22 Thread Klaus Tachtler
Hi Adam, can you give me a small example, to understand what you mean? Sorry and thank you for your patience with me! Klaus. Ok, then from your Action/Controller pass in a TextProvider into the method which has the localization. All ActionSupport subclassess implement this, so you can pas

Re: Question about com.opensymphony.xwork2.util.LocalizedTextUtil

2017-09-22 Thread Adam Brin
Ok, then from your Action/Controller pass in a TextProvider into the method which has the localization. All ActionSupport subclassess implement this, so you can pass this in. -- _ Adam Brin Director of Technology, Digital Antiquity 480.965

Re: Question about com.opensymphony.xwork2.util.LocalizedTextUtil

2017-09-22 Thread Klaus Tachtler
Hi Adam, no it is no a subclass. package... import com.opensymphony.xwork2.ActionContext; import com.opensymphony.xwork2.util.LocalizedTextUtil; import net.tachtler.resources.Globals; public class FileReader { private static Locale locale = null; public static Bean determine

Re: Question about com.opensymphony.xwork2.util.LocalizedTextUtil

2017-09-22 Thread Adam Brin
what class are you doing this in? Are you subclassing off of ActionSupport? -- _ Adam Brin Director of Technology, Digital Antiquity 480.965.1278 > On Sep 22, 2017, at 7:20 AM, Klaus Tachtler wrote: > > Hi Łukasz, > > can you give me an

Re: Question about com.opensymphony.xwork2.util.LocalizedTextUtil

2017-09-22 Thread Klaus Tachtler
Hi Łukasz, can you give me an example, so that I can understand it right? I have ActionContext and ActionContext.getContext().getLocale() BUT how can I use getText(key) in my situation. Thank you patience with me! Klaus. 2017-09-22 16:12 GMT+02:00 Klaus Tachtler : is it possible to use g

Re: Question about com.opensymphony.xwork2.util.LocalizedTextUtil

2017-09-22 Thread Lukasz Lenart
2017-09-22 16:12 GMT+02:00 Klaus Tachtler : > is it possible to use getText("global.unkonwn") with the > ActionContext.getContext().getLocale() like > - getText("global.unknown", ActionContext.getContext().getLocale()); You don't have to, I mean "getText(key)" does it for you - it uses the current

Re: Question about com.opensymphony.xwork2.util.LocalizedTextUtil

2017-09-22 Thread Klaus Tachtler
Hi Łukasz, is it possible to use getText("global.unkonwn") with the ActionContext.getContext().getLocale() like - getText("global.unknown", ActionContext.getContext().getLocale()); Thank you! Klaus. 2017-09-22 15:57 GMT+02:00 Klaus Tachtler : I use it to fill up a bean with the string "un

Re: Question about com.opensymphony.xwork2.util.LocalizedTextUtil

2017-09-22 Thread Lukasz Lenart
2017-09-22 15:57 GMT+02:00 Klaus Tachtler : > I use it to fill up a bean with the string "unkonwn" or "unbekannt" to show > it later on the website. > > So, what I want to do is, get a string in different languages from the > Resource-Bundle from the ActionContext. Why don't you use "getText(key)"

Re: Question about com.opensymphony.xwork2.util.LocalizedTextUtil

2017-09-22 Thread Klaus Tachtler
Hi, thank you for your reply. I use it to fill up a bean with the string "unkonwn" or "unbekannt" to show it later on the website. So, what I want to do is, get a string in different languages from the Resource-Bundle from the ActionContext. Thank you! Klaus. 2017-09-22 15:40 GMT+02:0

Re: Question about com.opensymphony.xwork2.util.LocalizedTextUtil

2017-09-22 Thread Lukasz Lenart
2017-09-22 15:40 GMT+02:00 Klaus Tachtler : > String i18nString = LocalizedTextUtil.findDefaultText("global.unknown", > ActionContext.getContext().getLocale()); Where do you use "i18nString"? Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ -

Re: Question

2017-03-16 Thread Lukasz Lenart
2017-03-16 13:28 GMT+01:00 Roar Fløttum : > Does anyone know if Struts 1 is affected by this? > > https://cwiki.apache.org/confluence/display/WW/S2-045 > > Nope, it isn't. Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/

Re: Question

2017-03-15 Thread Lukasz Lenart
2017-03-15 18:08 GMT+01:00 Roar Fløttum : > Does anyone know if Struts 1 is affected by this? > > https://cwiki.apache.org/confluence/display/WW/S2-045 > No, it isn't. Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/

Re: [Question] [struts2-rest-plugin] How shall I handle GET request /orders/{id}/items?

2016-09-07 Thread Ken McWilliams
There isn't a recommended way to handle deeply set lists as per your example... Or I missed it. I'm not a fan of that plugin. It is really trivial to do this without any plugins: https://struts.apache.org/docs/wildcard-mappings.html Wildcards or using the named-pattern matcher (although in the lin

Re: Question of properties file

2014-07-14 Thread Lukasz Lenart
2014-07-15 3:57 GMT+02:00 木叶清风-谢 : > hi!I meet a problem about the properties files. > I discover that the properties won't be loaded automatically unless use > value="global,Register,Package"/> in struts.xml. > I want to know how to configure the struts2 to load Package.properties and > (activ

Antwort: Re: Re: question about ParameterNameAware

2014-01-09 Thread Christoph Nenning
> > There is && and () as well. > > > > In my case the results would look like this: > > > > false && (false || true) > > Ah... sorry :( That was in old version (prior to 2.3.16) > I guess it is quite confusing to have several versions to deal with :) > So set 'acceptParams' with patterns that

Re: Re: question about ParameterNameAware

2014-01-09 Thread Lukasz Lenart
2014/1/9 Christoph Nenning : > There is && and () as well. > > In my case the results would look like this: > > false && (false || true) Ah... sorry :( That was in old version (prior to 2.3.16) So set 'acceptParams' with patterns that will accept params in your case Regards -- Łukasz + 48 606

Re: Re: question about ParameterNameAware

2014-01-09 Thread Christoph Nenning
> > The problem is this line: > > > >> return acceptableName(name) && (parameterNameAware == null || > >> parameterNameAware.acceptableParameterName(name)); > > > > when acceptableName(name) returns false, > > parameterNameAware.acceptableParameterName(name) is not called. > > > > Or do get thi

Re: Re: question about ParameterNameAware

2014-01-09 Thread Lukasz Lenart
2014/1/9 Christoph Nenning : > The problem is this line: > >> return acceptableName(name) && (parameterNameAware == null || >> parameterNameAware.acceptableParameterName(name)); > > when acceptableName(name) returns false, > parameterNameAware.acceptableParameterName(name) is not called. > > Or

Re: Re: question about ParameterNameAware

2014-01-09 Thread Christoph Nenning
> 2014/1/9 Christoph Nenning : > >> Struts version? Because in 2.3.16 behaviour of that has changed. > >> > > > > It is 2.3.16. > > So that means javadoc is outdated? > > Nope > > > What options do I have? > > Override ParametersInterceptor? > > Nope, just implement ParameterNameAware in your ac

Re: Re: question about ParameterNameAware

2014-01-09 Thread Lukasz Lenart
2014/1/9 Christoph Nenning : >> Struts version? Because in 2.3.16 behaviour of that has changed. >> > > It is 2.3.16. > So that means javadoc is outdated? Nope > What options do I have? > Override ParametersInterceptor? Nope, just implement ParameterNameAware in your action and accept param name

Antwort: Re: question about ParameterNameAware

2014-01-09 Thread Christoph Nenning
> Struts version? Because in 2.3.16 behaviour of that has changed. > It is 2.3.16. So that means javadoc is outdated? What options do I have? Override ParametersInterceptor? regards, Christoph This Email was scanned by Sophos Anti Virus

Re: question about ParameterNameAware

2014-01-09 Thread Lukasz Lenart
Struts version? Because in 2.3.16 behaviour of that has changed. 2014/1/9 Christoph Nenning : > Dear List, > > > a few month ago I asked a question how to deal with HTTP parameter names > like this: > > map['key with spaces'] > > Back then I was told I could use ParameterNameAware. > > Now I had s

Re: Question about Model Driven Interface

2013-10-15 Thread Amol Ghotankar
Hi Umesh, Both you mentioned are same. ModelDriven is best used to create new object if they do not exist. So your getModel method must be ProfileDTOModel md; public ProfileDTOModel getModel() { if(md != null)// Or Some other condition as required by your model. Typically check for Id

Re: Question about "Form Validation Using XML" example

2013-10-04 Thread Antonio Sánchez
Same behavior in private mode. I believe it has to do with Prepare (preparable and exclude-paras use Preparable) and interceptors stack, but I'm not sure. Still a mystery for me, because the code is almost identical. El 02/10/2013 11:46 p.m., Lukasz Lenart escribió: Maybe your browser is fil

Re: Question about "Form Validation Using XML" example

2013-10-02 Thread Lukasz Lenart
Maybe your browser is filling the field and it has nothing to do with Struts validation? Check that in anonymous mode. Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ 2013/10/2 Antonio Sánchez : > I can't see what's going on behind the scenes in this example so I'm asking > for hel

Re: question regarding dynamic number of form fields

2013-09-12 Thread Lukasz Lenart
It's because of restrictions in ParametersInterceptor - it doesn't allow keys with spaces as this can be potential malicious code. Check docs [1] and source [2] [1] http://struts.apache.org/development/2.x/docs/parameters-interceptor.html [2] https://svn.apache.org/repos/asf/struts/struts2/trunk/

Re: question on results?

2013-03-24 Thread Lukasz Lenart
2013/3/24 Muralidhar Yaragalla : > Hi In my action class i need to get all the results mapped to that > particular action calss, how to do that? You can take a look on the Config Browser plugin https://svn.apache.org/repos/asf/struts/struts2/trunk/plugins/config-browser/ Regards -- Łukasz + 48

Re: question on results?

2013-03-23 Thread Dave Newton
Hmm, why? Unless you're writing a configuration plugin replacement I'm not sure what the use case for this would be. Dave (pardon brevity, typos, and top-quoting; on cell) On Mar 23, 2013 7:22 PM, "Muralidhar Yaragalla" wrote: > Hi In my action class i need to get all the results mapped to that

Re: Question about OGNL / EL

2010-12-06 Thread Greg Akins
Dave. The partnerId is being set, in the action class using session.put("partnerId", "11") On Mon, Dec 6, 2010 at 1:27 PM, Alfredo Manuel Osorio Martinez wrote: > Try replacing %{partnerId} with %{#session.partnerId} Thanks! That worked > > Alfredo Osorio > > -Mensaje original- > De:

RE: Question about OGNL / EL

2010-12-06 Thread Alfredo Manuel Osorio Martinez
Try replacing %{partnerId} with %{#session.partnerId} Alfredo Osorio -Mensaje original- De: Greg Akins [mailto:angryg...@gmail.com] Enviado el: Monday, December 06, 2010 11:16 AM Para: user@struts.apache.org Asunto: Question about OGNL / EL This might not be specifically a OGNL question

Re: Question about OGNL / EL

2010-12-06 Thread Dave Newton
How/where is partnerId defined? Dave On Mon, Dec 6, 2010 at 12:49 PM, Maurizio Cucchiara < maurizio.cucchi...@gmail.com> wrote: > The url value syntax should be fine. Did you try to test without sitemesh? > > 2010/12/6 Greg Akins : > > This might not be specifically a OGNL question. I've got so

Re: Question about OGNL / EL

2010-12-06 Thread Maurizio Cucchiara
The url value syntax should be fine. Did you try to test without sitemesh? 2010/12/6 Greg Akins : > This might not be specifically a OGNL question.  I've got some code > that doesn't appear to behave correctly. > > - > ${partnerId} > > > When I open this page the title includes the partnerId bu

Re: Question on WW-2272 fixed by musachy

2010-04-29 Thread Wes Wannemacher
This might be hard to nail down because, in looking at the resolution date, that looks like he fixed it back before xwork was brought over into the Apache source repository. You can start over here - http://www.opensymphony.com/xwork/cvs.action But, the fisheye instance over at opensymphony has be

Re: Question on WW-2272 fixed by musachy

2010-04-29 Thread Dale Newfield
On 4/29/10 12:08 PM, Bhaarat Sharma wrote: https://issues.apache.org/jira/browse/WW-2272 Fixed on xwork. rv1780 I am just trying to figure out what rv1780 means and how can I traslate that to which xwork jar would have this issue fixed? If you hit the "All" tab you'll see: Fix Version/s: 2

RE: Question about struts templates

2009-11-20 Thread Raghuveer.V
Alternatively if you want to do only in one page Regards, Raghuveer Vellanki -Original Message- From: Oscar [mailto:oscar.kalde...@gmail.com] Sent: Friday, November 20, 2009 5:06 AM To: Struts Users Mailing List Subject: Re: Question about struts templates Thanks for your answer

Re: Question about struts templates

2009-11-19 Thread Oscar
Thanks for your answer Burton. I didn't know how to do that but for others that could have that problem to the way to do this is the next: Declare a constant in struts.xml like this: Burton Rhodes escribió: Use the 'simple' theme. It just prints the HTML tag. On 11/19/09, Oscar wrote:

Re: Question about struts templates

2009-11-19 Thread Burton Rhodes
Use the 'simple' theme. It just prints the HTML tag. On 11/19/09, Oscar wrote: > Hi to all, i have a problem with struts 2 templates. The problem is that > when i put a s:submit in my jsp for example, it automatically creates a > div containing the submit and a new column in the table, and i don'

Re: Question about objects in a JSP

2009-11-18 Thread Jon Wynacht
Ahhh...that's cool. Thanks! On Nov 18, 2009, at 12:29 PM, ben_979 wrote: > > > By 'old struts', I'm assuming 1.x ... > > In our application, our application sets values into the request with > request.setAttribute("varName", var) and then references the variables in > the jsp with (for example

Re: Question about objects in a JSP

2009-11-18 Thread ben_979
By 'old struts', I'm assuming 1.x ... In our application, our application sets values into the request with request.setAttribute("varName", var) and then references the variables in the jsp with (for example) Then you can use the tags etc, Not sure if I answered your question... -- View th

Re: Question about PrepareInterceptor and Preparable

2009-11-16 Thread Oscar
Chris Pratt escribió: Did you either set your appInterceptors stack to be the default stack, or define the actions you're testing with to use the appInterceptors stack explicitly? Otherwise, you're actually just using the defaultStack. (*Chris*) On Mon, Nov 16, 2009 at 12:34 PM, Oscar wrote:

Re: Question about PrepareInterceptor and Preparable

2009-11-16 Thread Chris Pratt
Did you either set your appInterceptors stack to be the default stack, or define the actions you're testing with to use the appInterceptors stack explicitly? Otherwise, you're actually just using the defaultStack. (*Chris*) On Mon, Nov 16, 2009 at 12:34 PM, Oscar wrote: > Hi to all. I'm devel

Re: Question about OGNL in JSP

2009-11-09 Thread Oscar Calderón
Ohh ok, thanks. I googled about that and i found that i can add a variable or Object to page context with this: pageContext.setAttribute("obj", obj); Thanks. 2009/11/9 Musachy Barroso > That's because creating an object in a scriptlet doesn't mean it will > be in the page context, you need to

Re: Question about OGNL in JSP

2009-11-09 Thread Musachy Barroso
That's because creating an object in a scriptlet doesn't mean it will be in the page context, you need to actually add it to the context. musachy On Mon, Nov 9, 2009 at 1:47 PM, Oscar Calderón wrote: > Hi to all, this is my first question here. I have a doubt about the use of > OGNL expressions

Re: Question about 'if' tag

2009-09-24 Thread Dennis Atkinson
;(This never stops) > > > > So it seems like no parameters are being passed in; in fact when I use > the braces to indicate no parameter, that doesn't work either. > > > > > > > > > > > > > > > > &

Re: Question about 'if' tag

2009-09-23 Thread Thomas Sattler
> So it seems like no parameters are being passed in; in fact when I use > the braces to indicate no parameter, that doesn't work either. > > > > > > > > > > > > > > > > > > From: Wes Wannemacher &

Re: Question about 'if' tag

2009-09-23 Thread Paweł Wielgus
't work either. > > > > > > > > ________ > From: Wes Wannemacher > To: Struts Users Mailing List > Sent: Wednesday, September 23, 2009 4:20:33 PM > Subject: Re: Question about 'if' tag > > In addition to what Pawel is sayin

Re: Question about 'if' tag

2009-09-23 Thread Dennis Atkinson
ork either. From: Wes Wannemacher To: Struts Users Mailing List Sent: Wednesday, September 23, 2009 4:20:33 PM Subject: Re: Question about 'if' tag In addition to what Pawel is saying, be careful that you also check the 'canEditCustomer(target)' c

Re: Question about 'if' tag

2009-09-23 Thread Wes Wannemacher
In addition to what Pawel is saying, be careful that you also check the 'canEditCustomer(target)' call in the target action since there is nothing to stop someone from figuring out the URL pattern and editing people they weren't intended to edit. -Wes 2009/9/23 Paweł Wielgus : > Hi Dennis, > You

Re: Question about 'if' tag

2009-09-23 Thread Paweł Wielgus
Hi Dennis, You are nesting tags, it's not possible/permitted, what You should do is something like: or Which simply is naming your iterator variable to "iter" and use it in if tag, depending on struts2 version it will be id or var. Best greetings, Paweł Wielgus. 2009/9/23 Dennis Atkinso

Re: question

2009-06-18 Thread Girish Naik
To open it as a link the url should be appended by 'http://' before ur url. So check if ur url from db always returns after 'http://' so that you can append 'http://' string at the start. Regards, - Girish Naik Mobile:-+91-09740091638 girish.

Re: Question about dojo and tag

2008-12-12 Thread Danilo Barsotti
I'm using struts 2.0.14, struts-sitemesh-plugin 2.0.14 and freemarker 2.3.8 On Fri, Dec 12, 2008 at 10:33 PM, Danilo Barsotti wrote: > hi all!! > > why when I write the html generated have this: > > > > // Dojo configuration > djConfig = { > baseRelativePath: "/xxx/struts/do

RE: Re: Question regarding struts.multipart.maxSize

2008-10-01 Thread Siemback, Chris
news [mailto:[EMAIL PROTECTED] On Behalf Of Laurie Harper Sent: Tuesday, September 30, 2008 3:36 PM To: user@struts.apache.org Subject: Re: Question regarding struts.multipart.maxSize Siemback, Chris wrote: > Hello all - sorry if this is a newbie question, but I haven't seen > this

Re: Question regarding struts.multipart.maxSize

2008-09-30 Thread Laurie Harper
Siemback, Chris wrote: Hello all - sorry if this is a newbie question, but I haven't seen this addressed before. I'm currently using the fileupload interceptor in my application. I have 2 distinct portions of the web site where I'd like to have users upload files. The problem is the struts..mu

Re: Question abt jsp and struts 1.3

2008-09-25 Thread Laurie Harper
Pankaj Gupta wrote: Hi, I am using struts 1.3. I have kept jsp folder parallel to WEB-INF folder. Inside jsp pages I have images folder, where I am keeping the images referred by jsp. In jsp I giving src of images as as : "images/image-1". So when I access the jsp directly, then I can see th

Re: Question abt jsp and struts 1.3

2008-09-24 Thread Kavita Mehta
Hi Pankaj, If you open firefox and see the page info-->Media ,you can see the image path being picked up by the JSP . That might help . Regards, Kavita "Pankaj Gupta" <[EMAIL PROTECTED]> 09/25/2008 09:56 AM Please respond to "Struts Users Mailing List" To user@struts.apache.org cc S

Re: question: indexed textfields and maps

2008-09-17 Thread stanlick
Your get/set method signatures provide a *huge* hint to the conversion magic logic. If you are curious to see how this actually works, take a look at Ognl, OgnlUtil amd OgnlRuntime. If you can make it through the reflection code, it is quite amazing. Scott tREXX - wrote: > > Hi Dave, >

Re: question: indexed textfields and maps

2008-09-16 Thread tREXX -
Hi Dave, Ok, i've tried that one and it works like it should. So that getter method works as kind of a "type hint" to the framework so that struts knows it has to convert the parameter "amount" to the given Map - Is that correct? Up to now I've only added getter methods to struts-actions when i r

Re: question: indexed textfields and maps

2008-09-16 Thread Dave Newton
> Mhh... I guess the getter method doesn't help, since I > don't want to access the properties of the action from JSP. Too much cut, not enough paste. > Ok, i could add each Map to a collection and than loop > through the collection and each keySet later in the execute > method but that's plain u

Re: question: indexed textfields and maps

2008-09-16 Thread tREXX -
Mhh... I guess the getter method doesn't help, since I don't want to access the properties of the action from JSP. I just want to *receive* the submitted indexed parameters from the HTML-snippet, which means I need some sort of a setter method. I already tried public void setAmount(Map amount) {

Re: question: indexed textfields and maps

2008-09-16 Thread Dave Newton
--- On Tue, 9/16/08, tREXX - <[EMAIL PROTECTED]> wrote: > class VerySimpleAction extends ActionSupport { > private Map amount; > public String execute() throws Exception { > System.out.println(amount.get(10)); > System.out.println(amount.get(20)); > } > /* ??? */ > } > > What cod

RE: question about submitting checkboxes

2008-07-13 Thread Jishnu Viswanath
:: PASSION :: EXCELLENCE -Original Message- From: Jeromy Evans [mailto:[EMAIL PROTECTED] Sent: Sunday, July 13, 2008 1:38 PM To: Struts Users Mailing List Subject: Re: question about submitting checkboxes Eric Hamacher wrote: > Hello: > > > > I have a form on which there

Re: question about submitting checkboxes

2008-07-13 Thread Jeromy Evans
Eric Hamacher wrote: Hello: I have a form on which there can, in theory, be an infinite number of checkboxes (Users are selecting files from a tree and there is no telling how many will be selected). The name of each checkbox is determined at runtime (= to the path of the file). That being

Re: question about acton path

2008-07-08 Thread Lukasz Lenart
Maybe this will help, inside execute() request.getRequestURI() or request.getContextPath() + "/" + mapping.getModuleConfig().getPrefix() + "/" + mapping.getPath()); Regards -- Lukasz http://www.lenart.org.pl/ - To unsubscrib

Re: question about acton path

2008-07-08 Thread shrimpywu
and i forgot to say that i am useing struts 1 shrimpywu wrote: > > hi guys, > if i can get the actionform, > how can i get the action path > > u know, for the page, we have to specify a path for the page in the > struts-config > > so that we can use that path > /mywebsit/mymodule/myform.do >

Re: question on multipage form bean

2008-07-08 Thread Lukasz Lenart
Hi, I'm assuming that you're using Struts 1, if so ActionForms are stored in session by default [1], change scope of your action mapping to request [2] [1] http://struts.apache.org/1.3.8/userGuide/building_controller.html#action_form_classes [2] http://struts.apache.org/1.3.8/userGuide/buildin

Re: Question: Freemarker and Tiles?

2008-05-05 Thread Antonio Petrelli
2008/5/5 Marc Eckart <[EMAIL PROTECTED]>: > Hi, > > we try to use Freemarker with styles but we don't know how :-) > > I found the struts2 showcase > > http://www.planetstruts.org/struts2-showcase/tiles/freemarkerLayout.action > > But I don't know how the tiles.xml should look like for this. >

  1   2   3   4   5   >