You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by stanlick <st...@gmail.com> on 2008/03/24 21:53:19 UTC

Is this form of map creation no longer supported?

http://struts.apache.org/2.x/docs/select.html

I'm getting the dreaded "Syntax error in EL" on the list attribute using
2.0.11


-- 
View this message in context: http://www.nabble.com/%3Cs%3Aselect-list%3D%22-%7B%2701%27%3A%27Jan%27%2C-%2702%27%3A%27Feb%27%2C--...-%7D%22-tp16260809p16260809.html
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Re: Posted by st...@gmail.com.
Thanks brother --

Will 2.1 offer a pluggable EL?  This should help to ease many of the UI
struggles.

Scott

On Mon, Mar 24, 2008 at 4:11 PM, Musachy Barroso <mu...@gmail.com> wrote:

> #{} is reserved by JUEL. use the alternative map building notation.
>
> musachy
>
> On Mon, Mar 24, 2008 at 4:53 PM, stanlick <st...@gmail.com> wrote:
> >
> >  Is this form of map creation no longer supported?
> >
> >  http://struts.apache.org/2.x/docs/select.html
> >
> >  I'm getting the dreaded "Syntax error in EL" on the list attribute
> using
> >  2.0.11
> >
> >
> >  --
> >  View this message in context:
> http://www.nabble.com/%3Cs%3Aselect-list%3D%22-%7B%2701%27%3A%27Jan%27%2C-%2702%27%3A%27Feb%27%2C--...-%7D%22-tp16260809p16260809.html
> >  Sent from the Struts - User mailing list archive at Nabble.com.
> >
> >
> >  ---------------------------------------------------------------------
> >  To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> >  For additional commands, e-mail: user-help@struts.apache.org
> >
> >
>
>
>
> --
> "Hey you! Would you help me to carry the stone?" Pink Floyd
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>


-- 
Scott
stanlick@gmail.com

Re: Posted by Musachy Barroso <mu...@gmail.com>.
#{} is reserved by JUEL. use the alternative map building notation.

musachy

On Mon, Mar 24, 2008 at 4:53 PM, stanlick <st...@gmail.com> wrote:
>
>  Is this form of map creation no longer supported?
>
>  http://struts.apache.org/2.x/docs/select.html
>
>  I'm getting the dreaded "Syntax error in EL" on the list attribute using
>  2.0.11
>
>
>  --
>  View this message in context: http://www.nabble.com/%3Cs%3Aselect-list%3D%22-%7B%2701%27%3A%27Jan%27%2C-%2702%27%3A%27Feb%27%2C--...-%7D%22-tp16260809p16260809.html
>  Sent from the Struts - User mailing list archive at Nabble.com.
>
>
>  ---------------------------------------------------------------------
>  To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
>  For additional commands, e-mail: user-help@struts.apache.org
>
>



-- 
"Hey you! Would you help me to carry the stone?" Pink Floyd

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Re: Posted by Chris Pratt <th...@gmail.com>.
I thought I had read that <s:select
list="\#{'01':'Jan','02':'Feb',[...]}: worked around the problem.
  (*Chris*)

On Mon, Mar 24, 2008 at 2:14 PM, Musachy Barroso <mu...@gmail.com> wrote:
> #@java.util.LinkedHashMap@{ "foo" : "foo value", "bar" : "bar value" }
>
>  http://www.ognl.org/2.6.9/Documentation/html/LanguageGuide/collectionConstruction.html#mapConstruction
>
>  musachy
>
>
>
>  On Mon, Mar 24, 2008 at 5:11 PM, stanlick <st...@gmail.com> wrote:
>  >
>  >  Arrrrrrrrrgggggggggggghhhhhhhhhhhhh!!!!!!!!!!!!!!!!
>  >
>  >  Now i's ignoring my valid ${foo.bar.baz} JSTL expressions too!
>  >
>  >
>  >
>  >
>  >  stanlick wrote:
>  >  >
>  >  > Exceptions kill!  I added the following and it works now.  However, I'm
>  >  > still getting the warning in the MyEclipse Enterprise Workbench 6.0 JSP
>  >  > editor when it encounters the # character.
>  >  >
>  >  > <jsp-config>
>  >  >     <jsp-property-group>
>  >  >       <url-pattern>*.jsp</url-pattern>
>  >  >       <el-ignored>true</el-ignored>
>  >  >     </jsp-property-group>
>  >  >   </jsp-config>
>  >  >
>  >  >
>  >  >
>  >  > newton.dave wrote:
>  >  >>
>  >  >> --- stanlick <st...@gmail.com> wrote:
>  >  >>> Is this form of map creation no longer supported?
>  >  >>>
>  >  >>> http://struts.apache.org/2.x/docs/select.html
>  >  >>>
>  >  >>> I'm getting the dreaded "Syntax error in EL" on the list attribute using
>  >  >>> 2.0.11
>  >  >>
>  >  >> From where are you getting that error? If it's from the container then
>  >  >> you're
>  >  >> seeing the JSP 2.1 (?) issue, not an OGNL issue. AFAIK I've had no
>  >  >> problems
>  >  >> in containers that don't attempt to handle the # character.
>  >  >>
>  >  >> Dave
>  >  >>
>  >  >>
>  >  >> ---------------------------------------------------------------------
>  >  >> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
>  >  >> For additional commands, e-mail: user-help@struts.apache.org
>  >  >>
>  >  >>
>  >  >>
>  >  >
>  >  >
>  >
>  >  --
>  >  View this message in context: http://www.nabble.com/%3Cs%3Aselect-list%3D%22-%7B%2701%27%3A%27Jan%27%2C-%2702%27%3A%27Feb%27%2C--...-%7D%22-tp16260809p16261335.html
>  >
>  >
>  > Sent from the Struts - User mailing list archive at Nabble.com.
>  >
>  >
>  >  ---------------------------------------------------------------------
>  >  To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
>  >  For additional commands, e-mail: user-help@struts.apache.org
>  >
>  >
>
>
>
>
> --
>  "Hey you! Would you help me to carry the stone?" Pink Floyd
>
>  ---------------------------------------------------------------------
>
>
> 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


Re: Posted by Musachy Barroso <mu...@gmail.com>.
#@java.util.LinkedHashMap@{ "foo" : "foo value", "bar" : "bar value" }

http://www.ognl.org/2.6.9/Documentation/html/LanguageGuide/collectionConstruction.html#mapConstruction

musachy

On Mon, Mar 24, 2008 at 5:11 PM, stanlick <st...@gmail.com> wrote:
>
>  Arrrrrrrrrgggggggggggghhhhhhhhhhhhh!!!!!!!!!!!!!!!!
>
>  Now i's ignoring my valid ${foo.bar.baz} JSTL expressions too!
>
>
>
>
>  stanlick wrote:
>  >
>  > Exceptions kill!  I added the following and it works now.  However, I'm
>  > still getting the warning in the MyEclipse Enterprise Workbench 6.0 JSP
>  > editor when it encounters the # character.
>  >
>  > <jsp-config>
>  >     <jsp-property-group>
>  >       <url-pattern>*.jsp</url-pattern>
>  >       <el-ignored>true</el-ignored>
>  >     </jsp-property-group>
>  >   </jsp-config>
>  >
>  >
>  >
>  > newton.dave wrote:
>  >>
>  >> --- stanlick <st...@gmail.com> wrote:
>  >>> Is this form of map creation no longer supported?
>  >>>
>  >>> http://struts.apache.org/2.x/docs/select.html
>  >>>
>  >>> I'm getting the dreaded "Syntax error in EL" on the list attribute using
>  >>> 2.0.11
>  >>
>  >> From where are you getting that error? If it's from the container then
>  >> you're
>  >> seeing the JSP 2.1 (?) issue, not an OGNL issue. AFAIK I've had no
>  >> problems
>  >> in containers that don't attempt to handle the # character.
>  >>
>  >> Dave
>  >>
>  >>
>  >> ---------------------------------------------------------------------
>  >> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
>  >> For additional commands, e-mail: user-help@struts.apache.org
>  >>
>  >>
>  >>
>  >
>  >
>
>  --
>  View this message in context: http://www.nabble.com/%3Cs%3Aselect-list%3D%22-%7B%2701%27%3A%27Jan%27%2C-%2702%27%3A%27Feb%27%2C--...-%7D%22-tp16260809p16261335.html
>
>
> Sent from the Struts - User mailing list archive at Nabble.com.
>
>
>  ---------------------------------------------------------------------
>  To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
>  For additional commands, e-mail: user-help@struts.apache.org
>
>



-- 
"Hey you! Would you help me to carry the stone?" Pink Floyd

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Re: Posted by stanlick <st...@gmail.com>.
Arrrrrrrrrgggggggggggghhhhhhhhhhhhh!!!!!!!!!!!!!!!!

Now i's ignoring my valid ${foo.bar.baz} JSTL expressions too!



stanlick wrote:
> 
> Exceptions kill!  I added the following and it works now.  However, I'm
> still getting the warning in the MyEclipse Enterprise Workbench 6.0 JSP
> editor when it encounters the # character.  
> 
> <jsp-config>
>     <jsp-property-group>
>       <url-pattern>*.jsp</url-pattern>
>       <el-ignored>true</el-ignored>
>     </jsp-property-group>
>   </jsp-config>
> 
> 
> 
> newton.dave wrote:
>> 
>> --- stanlick <st...@gmail.com> wrote:
>>> Is this form of map creation no longer supported?
>>> 
>>> http://struts.apache.org/2.x/docs/select.html
>>> 
>>> I'm getting the dreaded "Syntax error in EL" on the list attribute using
>>> 2.0.11
>> 
>> From where are you getting that error? If it's from the container then
>> you're
>> seeing the JSP 2.1 (?) issue, not an OGNL issue. AFAIK I've had no
>> problems
>> in containers that don't attempt to handle the # character.
>> 
>> Dave
>> 
>> 
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
>> For additional commands, e-mail: user-help@struts.apache.org
>> 
>> 
>> 
> 
> 

-- 
View this message in context: http://www.nabble.com/%3Cs%3Aselect-list%3D%22-%7B%2701%27%3A%27Jan%27%2C-%2702%27%3A%27Feb%27%2C--...-%7D%22-tp16260809p16261335.html
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Re: Posted by stanlick <st...@gmail.com>.
I personally introduced my MyEclipse to OGNL:-p





newton.dave wrote:
> 
> --- stanlick <st...@gmail.com> wrote:
>> Exceptions kill!  I added the following and it works now.  However, I'm
>> still getting the warning in the MyEclipse Enterprise Workbench 6.0 JSP
> editor
>> when it encounters the # character.  
> 
> MyEclipse doesn't know OGNL.
> 
> Dave
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/%3Cs%3Aselect-list%3D%22-%7B%2701%27%3A%27Jan%27%2C-%2702%27%3A%27Feb%27%2C--...-%7D%22-tp16260809p16261337.html
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Re: Posted by Dave Newton <ne...@yahoo.com>.
--- stanlick <st...@gmail.com> wrote:
> Exceptions kill!  I added the following and it works now.  However, I'm
> still getting the warning in the MyEclipse Enterprise Workbench 6.0 JSP
editor
> when it encounters the # character.  

MyEclipse doesn't know OGNL.

Dave


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Re: Posted by stanlick <st...@gmail.com>.
Exceptions kill!  I added the following and it works now.  However, I'm still
getting the warning in the MyEclipse Enterprise Workbench 6.0 JSP editor
when it encounters the # character.  

<jsp-config>
    <jsp-property-group>
      <url-pattern>*.jsp</url-pattern>
      <el-ignored>true</el-ignored>
    </jsp-property-group>
  </jsp-config>



newton.dave wrote:
> 
> --- stanlick <st...@gmail.com> wrote:
>> Is this form of map creation no longer supported?
>> 
>> http://struts.apache.org/2.x/docs/select.html
>> 
>> I'm getting the dreaded "Syntax error in EL" on the list attribute using
>> 2.0.11
> 
> From where are you getting that error? If it's from the container then
> you're
> seeing the JSP 2.1 (?) issue, not an OGNL issue. AFAIK I've had no
> problems
> in containers that don't attempt to handle the # character.
> 
> Dave
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/%3Cs%3Aselect-list%3D%22-%7B%2701%27%3A%27Jan%27%2C-%2702%27%3A%27Feb%27%2C--...-%7D%22-tp16260809p16261242.html
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Re: Posted by Dave Newton <ne...@yahoo.com>.
--- stanlick <st...@gmail.com> wrote:
> Is this form of map creation no longer supported?
> 
> http://struts.apache.org/2.x/docs/select.html
> 
> I'm getting the dreaded "Syntax error in EL" on the list attribute using
> 2.0.11

>From where are you getting that error? If it's from the container then you're
seeing the JSP 2.1 (?) issue, not an OGNL issue. AFAIK I've had no problems
in containers that don't attempt to handle the # character.

Dave


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org