Re: Framework provided text key resolving issue

2013-09-10 Thread Łukasz Lenart
2013/9/9 Christoph Nenning christoph.nenn...@lex-com.net: 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

Re: Draft docs, Debugging Struts some Screen shot are missing

2013-09-10 Thread Lukasz Lenart
2013/9/7 Chris christal...@yahoo.fr: Thank you. I'm affraid the first one is still missing , after this phrase : Clicking on the link for the configuration browser will cause the Struts 2 framework to return this page to your browser. Screen shot Actions in namespace Yes, I know - trying

Antwort: Re: Framework provided text key resolving issue

2013-09-10 Thread Christoph Nenning
2013/9/9 Christoph Nenning christoph.nenn...@lex-com.net: 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

Re: Re: Framework provided text key resolving issue

2013-09-10 Thread Lukasz Lenart
Done, resolved! 2013/9/10 Christoph Nenning christoph.nenn...@lex-com.net: 2013/9/9 Christoph Nenning christoph.nenn...@lex-com.net: In this case the following happens: - struts2's algorithm is performed (search packages hierarchically) - for global resources the JVM tries the file

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

2013-09-10 Thread Christoph Nenning
Done, resolved! Awesome, thanks :) 2013/9/10 Christoph Nenning christoph.nenn...@lex-com.net: 2013/9/9 Christoph Nenning christoph.nenn...@lex-com.net: In this case the following happens: - struts2's algorithm is performed (search packages hierarchically) - for global

Re: s:if and locale

2013-09-10 Thread Alireza Fattahi
Thanks for your solution . The s:if test=%{locale.language == 'en_US'} did not work! I don't know why ! But I used your solution which seems much better tahn mine ! ~Regards, ~~Alireza Fattahi From: Chris christal...@yahoo.fr To: Struts Users Mailing List

Re: Possible bug in URL validator

2013-09-10 Thread Lukasz Lenart
2013/9/5 Bruno Klava bkl...@gmail.com: 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

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 ,

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

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 christoph.nenn...@lex-com.net: Dear List, to make struts2 work in Websphere, one has to set Websphere specific properties, you may want to

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 means

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 christoph.nenn...@lex-com.net: 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

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 lukaszlen...@apache.org: I'm going update it but I wanted to know the version - as you see it matters ;-) 2013/9/10 Christoph Nenning christoph.nenn...@lex-com.net: Can you post more details

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: 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; % html:form

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 smaz19...@gmail.comwrote: Hi Chris, Thanks for the help. But the change I need is bit different .

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: s:if test=%{(locale.language == 'en') (locale.country == 'US')} You might even be able to get away with: s:if test = %{(locale.language + '_' + locale.country) ==

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 thechrispr...@gmail.comwrote: 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

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 smaz19...@gmail.comwrote: Hi Chris, Attached the images. Thanks, Srineel On Tue, Sep 10, 2013 at 1:17 PM, Chris Pratt thechrispr...@gmail.comwrote: Srineel, your

Re: s:if and locale

2013-09-10 Thread Hernán
I know this works correctly: s:div cssClass=title s:if test=#session.request_locale == 'es' s:property value=#request.genericPresentation.titleEs escapeHtml=/ /s:if s:elseif test=#session.request_locale == 'en' s:property