Re: Populate s:select with a Map

2010-04-12 Thread Stephane Cosmeur
I tried this as well : Regards, On Tue, Apr 13, 2010 at 12:51 PM, Stephane Cosmeur wrote: > Hello > > I know my problem is quite common but i can't figure out by google and > myself, although many people had the same problem. > > I try to populate a s:select with a map (Map, but i got > the (w

Populate s:select with a Map

2010-04-12 Thread Stephane Cosmeur
Hello I know my problem is quite common but i can't figure out by google and myself, although many people had the same problem. I try to populate a s:select with a map (Map, but i got the (well known) following error : tag 'select', field 'list', id 'typeCompanyENUM', name 'typeCompanyENUM': The

Re: Webapp runs under Windows, throws OGNL error under Linux

2010-04-12 Thread satyanarayana katta
Issue with logger. Suppress the messages at the logger level will resolve the issue. Sent from my iPhone On Apr 12, 2010, at 7:46 AM, RogerV wrote: Just to prove to myself that I'm not going mad, I've added a System.out.println message to the method that Ognl is complaining about and a

Intermittent XML error reading definitions

2010-04-12 Thread Boxiong Ding
Hi, I am using Struts 2.0.6, Tiles 2.0 and Tomcat 5.5.27. The application runs fine in the past, but recently we did some load testing and get the following exception intermittently during load test: 2010-04-08 05:51:09,970 ERROR [http-443-Processor22] ? - End event threw exception java.lang.

S2 validation without API ties

2010-04-12 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 All, It's been a long time since I've posted, and I've got my eye on S2 for some upcoming work that will share code with a non-web-based interface so I'd like to re-use as much code as possible without tying myself to the S2 API. The issue is with fi

Re: Webapp runs under Windows, throws OGNL error under Linux

2010-04-12 Thread RogerV
Just to prove to myself that I'm not going mad, I've added a System.out.println message to the method that Ognl is complaining about and a second System.out.println message at the start of the application to prove that I am running the same version. I see both messages running under Windows and on

Re: s:iterator status doubt

2010-04-12 Thread Dale Newfield
Burton Rhodes wrote: fieldValue="%{notificationID}" onclick="%{'javascript:markNotification('+#stat.index+');'}"/> -Dale - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h.

Webapp runs under Windows, throws OGNL error under Linux

2010-04-12 Thread RogerV
Hi I've a webapp that was developed on a windows XP box and runs fine, both within my Eclipse IDE and as a standalone. After creating a .war file and deploying to a Debian "Lenny" box, everything works except one action which throws a NoSuchMethodException in ognl.OgnlRuntime. The same action wor

Re: s:iterator status doubt

2010-04-12 Thread Burton Rhodes
Does %{#stat.index} not work? On 4/12/10, lucas owen wrote: > Hi Struts users: > > I'm wondering if it would be possible to pass status.index attribute of > s:iterator to a javascript function. > Something like this: > > > > > > > > > "%{notificationID}"* onclick=*"javascript:markNotification

problem struts 2 calling spring dao classes from struts tags

2010-04-12 Thread Supratim Bandyopadhyaya
Greetings to all, I have a spring dao class like this public class RoleDaoImpl extends SimpleJdbcDaoSupport implements RoleDao { public Role findRoleById(Long id) { . and I have added it to spring as when I am calling a method in this dao

s:iterator status doubt

2010-04-12 Thread lucas owen
Hi Struts users: I'm wondering if it would be possible to pass status.index attribute of s:iterator to a javascript function. Something like this: Thanks in advance!