Re: s:if and locale

2013-09-10 Thread Hernán
I know this works correctly: On Tue, Sep 10, 2013 at 3:08 PM, Chris Pratt wrote: > locale.language is just the language, so it will never match the Language > plus the Country. If you need to

Re: Using themes with s: select

2013-09-10 Thread Chris Pratt
Attachments don't appear to work through the mailing list. (*Chris*) On Tue, Sep 10, 2013 at 11:35 AM, Srineel Mazumdar wrote: > Hi Chris, > > Attached the images. > > Thanks, > Srineel > > > On Tue, Sep 10, 2013 at 1:17 PM, Chris Pratt wrote: > >> Srineel, your images didn't come through the

Re: Using themes with s: select

2013-09-10 Thread Srineel Mazumdar
Hi Chris, Attached the images. Thanks, Srineel On Tue, Sep 10, 2013 at 1:17 PM, Chris Pratt wrote: > Srineel, your images didn't come through the mail list, any chance you > could PasteBin them or put them somewhere else accessible? > (*Chris*) > > > On Tue, Sep 10, 2013 at 7:50 AM, Srineel

Re: s:if and locale

2013-09-10 Thread Chris Pratt
locale.language is just the language, so it will never match the Language plus the Country. If you need to test both you could do: You might even be able to get away with: But I haven't tested it to be sure. (*Chris*) On Tue, Sep 10, 2013 at 12:39 AM, Alireza Fattahi wrote: > Thanks for

Re: Using themes with s: select

2013-09-10 Thread Chris Pratt
Srineel, your images didn't come through the mail list, any chance you could PasteBin them or put them somewhere else accessible? (*Chris*) On Tue, Sep 10, 2013 at 7:50 AM, Srineel Mazumdar wrote: > Hi Chris, > > Thanks for the help. But the change I need is bit different . > > What I need : >

Re: Using themes with s: select

2013-09-10 Thread Srineel Mazumdar
Hi Chris, Thanks for the help. But the change I need is bit different . What I need : [image: Inline image 1] What I am getting : [image: Inline image 2] Code for image 1 : <%@ include file="IncludeTop.jsp" %> <%@ taglib prefix="html" uri="http://jakarta.apache.org/struts/tags-html"; %>

RE: Websphere specific config

2013-09-10 Thread Martin Gainty
while we are on that subject i took a weekend to locate a workable copy of wsadmin.sh the contents of which are illustrated below MG> start wsadmin.sh script #!/usr/bin/bash --debug # example wsadmin launcher # WAS_HOME should point to the directory for the thin client JAVA_HIGH_ZIPFDS="0

Re: Re: Websphere specific config

2013-09-10 Thread Lukasz Lenart
Done! https://cwiki.apache.org/confluence/display/WW/WebSphere Thanks! 2013/9/10 Lukasz Lenart : > I'm going update it but I wanted to know the version - as you see it matters > ;-) > > 2013/9/10 Christoph Nenning : >>> Can you post more details about Websphere version? >>> >>> >> >> Well, I'm

Re: Re: Websphere specific config

2013-09-10 Thread Lukasz Lenart
I'm going update it but I wanted to know the version - as you see it matters ;-) 2013/9/10 Christoph Nenning : >> Can you post more details about Websphere version? >> >> > > Well, I'm a little embarrassed to say this. > > We still use the old WebSphere 6.5 in production. For this one it is > requ

Antwort: Re: Websphere specific config

2013-09-10 Thread Christoph Nenning
> Can you post more details about Websphere version? > > Well, I'm a little embarrassed to say this. We still use the old WebSphere 6.5 in production. For this one it is required. Your question made me test it in current WebSphere 8.5, and suprise: it is not required anymore. So, that mean

Re: Websphere specific config

2013-09-10 Thread Lukasz Lenart
Can you post more details about Websphere version? Thanks in advance -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ 2013/9/10 Christoph Nenning : > Dear List, > > > to make struts2 work in Websphere, one has to set Websphere specific > properties, you may want to add that to the wiki: > >

Websphere specific config

2013-09-10 Thread Christoph Nenning
Dear List, to make struts2 work in Websphere, one has to set Websphere specific properties, you may want to add that to the wiki: https://struts.apache.org/release/2.3.x/docs/websphere.html The properties are: com.ibm.ws.webcontainer.assumefiltersuccessonsecurityerror = true com.ibm.ws.webco

Re: s:if and locale

2013-09-10 Thread Chris
Hello, When you said : "But I used your solution" Did you mean with parameters in the links like the sample ?  http://struts.apache.org/development/2.x/docs/message-resource-files.html This sample works with the second jsp, called register.jsp , with links and parameter given in the first jsp

Re: Possible bug in URL validator

2013-09-10 Thread Lukasz Lenart
2013/9/5 Bruno Klava : > Hi folks, > > in Struts 2.3.15 the form-close-validate.ftl template was updated to use > the regex field, but there is no such field in > com.opensymphony.xwork2.validator.annotations.UrlValidator neither a > default value for it > in com.opensymphony.xwork2.validator.valid

Re: s:if and locale

2013-09-10 Thread Alireza Fattahi
Thanks for your solution . The did not work! I don't know why ! But I used your solution which seems much better tahn mine ! ~Regards, ~~Alireza Fattahi From: Chris To: Struts Users Mailing List ; Alireza Fattahi ; Chris Sent: Monday, 9 September 2013,

Antwort: Re: Re: Framework provided text key resolving issue

2013-09-10 Thread Christoph Nenning
> > Done, resolved! > Awesome, thanks :) > 2013/9/10 Christoph Nenning : > >> 2013/9/9 Christoph Nenning : > >> > In this case the following happens: > >> > - struts2's algorithm is performed (search packages hierarchically) > >> > - for global resources the JVM tries the file > >> > "strut

Re: Re: Framework provided text key resolving issue

2013-09-10 Thread Lukasz Lenart
Done, resolved! 2013/9/10 Christoph Nenning : >> 2013/9/9 Christoph Nenning : >> > In this case the following happens: >> > - struts2's algorithm is performed (search packages hierarchically) >> > - for global resources the JVM tries the file >> > "struts-messages_en.properties" which is not prese

Antwort: Re: Framework provided text key resolving issue

2013-09-10 Thread Christoph Nenning
> 2013/9/9 Christoph Nenning : > > In this case the following happens: > > - struts2's algorithm is performed (search packages hierarchically) > > - for global resources the JVM tries the file > > "struts-messages_en.properties" which is not present > > - then the JVM tries the language from system