struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bhaarat Sharma <bhaara...@gmail.com>
Subject Re: javax.el.ELException Select Tag
Date Thu, 29 Oct 2009 16:10:47 GMT
:(

still it gives this error:

javax.el.ELException: Error Parsing: %{#{'ALL':'All  Programs', 'BU':'all BU
programs'}}

On Thu, Oct 29, 2009 at 12:02 PM, James Cook <James.Cook@wecomm.com> wrote:

> Hi,
>
> I checked the javadoc for select and this is what is listed.
>
> <s:select label="Months"
>        name="months"
>        headerKey="-1" headerValue="Select Month"
>        list="#{'01':'Jan', '02':'Feb', [...]}"
>        value="selectedMonth"
>        required="true"
>  />
>
> This is what I used last night. So #{} worked for me.
>
> -----Original Message-----
> From: Dale Newfield [mailto:dale@newfield.org]
> Sent: 29 October 2009 15:54
> To: Struts Users Mailing List
> Subject: Re: javax.el.ELException Select Tag
>
> Bhaarat Sharma wrote:
> > so it should be:
> >
> >     <s:select label="programType" id="programType" name="programType"
> >              list="%{'ALL':'All Programs', 'BU':'BY Problems',
> 'TS':'TS
> > Programs'}"
> >              value="selectedProgram" required="true"/>
>
> No: list='%{#{"All":"All Programs", "BU":"BY Problems"...}}'
>
> -Dale
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message