Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (WTP) » Eclipse Pages Validation Question
Eclipse Pages Validation Question [message #229259] Thu, 19 March 2009 10:59 Go to next message
Ken Toney is currently offline Ken Toney
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 15:39 Go to previous messageGo to next message
Nitin Dahyabhai is currently offline Nitin Dahyabhai
Messages: 2234
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 WTP, IBM
Re: Eclipse Pages Validation Question [message #230283 is a reply to message #229864] Mon, 13 April 2009 11:43 Go to previous message
Ken Toney is currently offline Ken Toney
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: Thu Jul 24 19:09:52 EDT 2014

Powered by FUDForum. Page generated in 0.01992 seconds