Re: [s2] Would like to do

2009-03-05 Thread jeto
Ok, it was my fault the foo object was not a String it was an enum type. But still is it possible to do something like contains? -- View this message in context: http://www.nabble.com/-s2--Would-like-to-do-%3Cs%3Aif-test%3D%22foo.contains%28%27N%27%29%22%3E-tp22328913p22348897.html Sent from th

[s2] Would like to do

2009-03-04 Thread jeto
Hi, I would like to do the following Is it possible do to that or not. Everything I tried yet gives me a false in the test statement. Any ideas? Bye Hagen -- View this message in context: http://www.nabble.com/-s2--Would-like-to-do-%3Cs%3Aif-test%3D%22foo.contains%28%27N%27%29%22%3E-tp2

RE: [Struts 2] Switching Color in every row

2008-05-16 Thread jeto
Volker Karlmeier wrote: > > Hi, > > then you could have this managed by your action class creating > a getter method for your counter. > > Maybe something like that: > > Action.class: > > public void initCounter() { > this.counter=0; > } > > public int getCounter() { >return counter+

RE: [Struts 2] Switching Color in every row

2008-05-16 Thread jeto
Volker Karlmeier wrote: > > Hi, > > if you are using an s:iterator, you can do that like this: > > > > > > > > > > > > ... > > > > Hope that helps > > Volker > > Thanks for your help but I m not using an iterator in this table. -- View this message in context: htt

[Struts 2] Switching Color in every row

2008-05-16 Thread jeto
Hi, Im looking for a nice and easy way to alter the color of every second textfield. We are yousing a custom theme to render the textfields including a tablerow. Is something like this possible? http://www.nabble.com/-Struts-2--Switching-Color-in-every-row-tp17268950p17268950.html Sent from th