s:if comparing a string

2008-08-22 Thread piltrafeta
Hello, in m'y jsp i'm trying to compare a String link this s:if test=#session.request._status != 'T' but is not working, does anybody knows the sintaxis? Thanks -- View this message in context: http://www.nabble.com/s%3Aif-comparing-a-string-tp19106286p19106286.html Sent from the Struts -

Re: s:if comparing a string

2008-08-22 Thread piltrafeta
Thanks you all guys ! I was trying to compare a String so using single cuotes solved my problem. s:if test='#session.request._status != T ' Thanks again!!! piltrafeta wrote: Hello, in m'y jsp i'm trying to compare a String link this s:if test=#session.request._status != 'T

parameters from url

2008-07-16 Thread piltrafeta
hello, i have a jsp code like this: s:textfield name=myName key=myKey maxlength=12 s:param name=value value=%{#parameters.myParameter}/ s:param name=labelcolspan value=%{1} / s:param name=inputcolspan value=%{1} / /s:textfield myParameter is passed by url. If i execute this in tomcat(i've

Re: [OT] Re: Action mapping not found - eclipse configuration problem???

2008-06-10 Thread piltrafeta
Hello ! I'm having a similar problem... I had a eclipse project with struts2 and hibernate. It was working fine but one day stop parsing the struts.xml file, and when i execute it says tha my actions are not mapped, even if I modify something in struts.xml file eclipse is not compiling it... So

Re: [OT] Re: Action mapping not found - eclipse configuration problem???

2008-06-10 Thread piltrafeta
deployment (like a classpath error) musachy On Tue, Jun 10, 2008 at 9:13 AM, piltrafeta [EMAIL PROTECTED] wrote: Hello ! I'm having a similar problem... I had a eclipse project with struts2 and hibernate. It was working fine but one day stop parsing the struts.xml file, and when i

Re: [OT] Re: Action mapping not found - eclipse configuration problem???

2008-06-10 Thread piltrafeta
I've chequed the problems view and i have nothing referring to the classpath... It's quite strange all of this, now the only way to make it work i've found i to create a new project and copy everything from the old one. piltrafeta wrote: It must be something like this.. but i've tried

Re: [OT] Re: Action mapping not found - eclipse configuration problem???

2008-06-10 Thread piltrafeta
I've found it ! In myproject / .settings / org.eclipse.wst.common.component file i had two different paths for the source code directory, I've deleted the one which was wrong and now it works ! so happy :) thank you very much ! piltrafeta wrote: I've chequed the problems view and i have

passing parameters by url

2008-06-05 Thread piltrafeta
hi! i'm having a strange problem... while i'm exeuting my applications(using struts2) in local (tomcat) with this http://localhost:8080/myapplication/sho ... dUser= the application works fine. But when i deploy it in an oracle application server it's not working, and if i print the debug

Re: Getting a s:select selected value

2008-06-04 Thread piltrafeta
If i put key=maxCoord it continues taking the value from the listbox of the first record... styl9090 wrote: Try changing this line, s:select name=maxCoord .../ to s:select key=maxCoord .../ then, your variable(maxCoord) will hold the selected value from the list box. piltrafeta

Re: Getting a s:select selected value

2008-06-04 Thread piltrafeta
what do you mean ? felipe.lorenz wrote: use javascript for this problem... On Wed, Jun 4, 2008 at 4:35 PM, piltrafeta [EMAIL PROTECTED] wrote: If i put key=maxCoord it continues taking the value from the listbox of the first record... styl9090 wrote: Try changing this line