Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » Eclipse Pages Validation Question
Eclipse Pages Validation Question [message #229259] Thu, 19 March 2009 14:59 Go to next message
Ken Toney is currently offline Ken ToneyFriend
Messages: 2
Registered: July 2009
Junior Member
Version: 3.4.2
Build id: M20090211-1700

The following fails validation for "row.save" but works fine.

If I change this to a h:dataTable the validation error does not occur but
this type does not provide all the functionality I need.

What am I doing wrong?

--ken

Example....

<tr:table var="row" binding="#{foo.table}"
value="#{foo.tableData}" rows="1" >
<tr:column>
<tr:commandButton text="save" action={row.save}" />
</tr:column>
</tr:table>
Re: Eclipse Pages Validation Question [message #229864 is a reply to message #229259] Mon, 30 March 2009 19:39 Go to previous messageGo to next message
Nitin Dahyabhai is currently offline Nitin DahyabhaiFriend
Messages: 4435
Registered: July 2009
Senior Member

Ken Toney wrote:
> Version: 3.4.2
> Build id: M20090211-1700
>
> The following fails validation for "row.save" but works fine.
>
> If I change this to a h:dataTable the validation error does not occur
> but this type does not provide all the functionality I need.
>
> What am I doing wrong?
>
> --ken
>
> Example....
>
> <tr:table var="row" binding="#{foo.table}"
> value="#{foo.tableData}" rows="1" >
> <tr:column>
> <tr:commandButton text="save" action={row.save}" />
> </tr:column>
> </tr:table>
>

What validation message are you getting?

--
---
Nitin Dahyabhai
Eclipse WTP Source Editing
IBM Rational


_
Nitin Dahyabhai
Eclipse Web Tools Platform
Re: Eclipse Pages Validation Question [message #230283 is a reply to message #229864] Mon, 13 April 2009 15:43 Go to previous message
Ken Toney is currently offline Ken ToneyFriend
Messages: 2
Registered: July 2009
Junior Member
The message was that row.save is a "expression must a method expression
but is a value expression".

As stated before this action calls save and executes the method with no
errors.

--ken
Previous Topic:WTP project configuration is failing
Next Topic:WST project creation question
Goto Forum:
  


Current Time: Wed Apr 24 14:13:52 GMT 2024

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

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

Back to the top