Re: [s2] OGNL expression for referring to one key-value Map pair

2008-11-14 Thread stanlick
s:form theme=simple s:submit action=employeeAction_saveAndRedisplay / s:iterator value=employees tr td !-- key was 7932F and leaving the single ticks off

Re: [s2] OGNL expression for referring to one key-value Map pair

2008-11-14 Thread Dave Newton
--- On Fri, 11/14/08, Pierre Thibaudeau wrote: The following doesn't seem to be understood by OGNL: s:form Enter the type of pet: s:textfield name=pet['en'] / /s:form This implies you've internationalized the names of the variables in your action class. While I'm not saying you didn't, I

[s2] OGNL expression for referring to one key-value Map pair

2008-11-13 Thread Pierre Thibaudeau
Say, I have a MapString,String of the kind: MapString, String pet = new HashMapString, String(); public MapString, String getPet() { return pet; } public void setPet(MapString,String pet) { this.pet = pet; } Typically, pet might contain something like: pet.put(fr, chat); pet.put(en, cat); How