Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » JavaServer Faces » What is wrong on this EL expression ?
What is wrong on this EL expression ? [message #474187] Tue, 22 May 2007 05:50 Go to next message
Lumir Vanek is currently offline Lumir Vanek
Messages: 32
Registered: July 2009
Member
Hi,

I have done upgrade to WTP 2.0 RC0 and get many errors for my EL
expressions from validator:

<h:dataTable var="row" ...>
....
<hx:div styleClass="#{row.id == myBean.selectedRowId ? 'selected_row' :
''}">

....
</hx:div>


Expression "#{row.id == myBean.selectedRowId ? 'selected_row' : ''}"
have marked error: Could not make numeric conversion for equals operation


What is wrong on my EL expression ? Application works OK on server.
Lumir Vanek
Re: What is wrong on this EL expression ? [message #474188 is a reply to message #474187] Tue, 22 May 2007 22:13 Go to previous message
Cameron Bateman is currently offline Cameron Bateman
Messages: 480
Registered: July 2009
Senior Member
This is most likely due to a bug in the EL parser that causes it not to
parse ternary (x?y:z) choice expression properly. It can be ignored.

--Cam

Lumir Vanek wrote:

> Hi,

> I have done upgrade to WTP 2.0 RC0 and get many errors for my EL
> expressions from validator:

> <h:dataTable var="row" ...>
> ....
> <hx:div styleClass="#{row.id == myBean.selectedRowId ? 'selected_row' :
> ''}">

> ....
> </hx:div>


> Expression "#{row.id == myBean.selectedRowId ? 'selected_row' : ''}"
> have marked error: Could not make numeric conversion for equals operation


> What is wrong on my EL expression ? Application works OK on server.
> Lumir Vanek
Re: What is wrong on this EL expression ? [message #610963 is a reply to message #474187] Tue, 22 May 2007 22:13 Go to previous message
Cameron Bateman is currently offline Cameron Bateman
Messages: 480
Registered: July 2009
Senior Member
This is most likely due to a bug in the EL parser that causes it not to
parse ternary (x?y:z) choice expression properly. It can be ignored.

--Cam

Lumir Vanek wrote:

> Hi,

> I have done upgrade to WTP 2.0 RC0 and get many errors for my EL
> expressions from validator:

> <h:dataTable var="row" ...>
> ....
> <hx:div styleClass="#{row.id == myBean.selectedRowId ? 'selected_row' :
> ''}">

> ....
> </hx:div>


> Expression "#{row.id == myBean.selectedRowId ? 'selected_row' : ''}"
> have marked error: Could not make numeric conversion for equals operation


> What is wrong on my EL expression ? Application works OK on server.
> Lumir Vanek
Previous Topic:What is wrong on this EL expression ?
Next Topic:How to prevent some tags from showing in palette
Goto Forum:
  


Current Time: Sat Oct 25 16:46:56 GMT 2014

Powered by FUDForum. Page generated in 0.02265 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software