my dog learned polymorphism*
The moose likes JSF and the fly likes Datatable and table using in JSF but order of result is reverse ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "Datatable and table using in JSF but order of result is reverse ?" Watch "Datatable and table using in JSF but order of result is reverse ?" New topic
Author

Datatable and table using in JSF but order of result is reverse ?

Prabhat Ranjan
Ranch Hand

Joined: Oct 04, 2006
Posts: 391
First i am using table in JSF
Then 2 datatable ..

The output should come like vale of table thne 2 datatable vales.

But i am getting output in reverse order
like first both datatable then the table.. why so ?

How to fix this issue ?

<table border = "0">
</table <br /> <br /> ><h:dataTable>
</h:dataTable>

<h:dataTable>
</h:dataTable>
Bauke Scholtz
Ranch Hand

Joined: Oct 08, 2006
Posts: 2458
So you are using the legacy JSF 1.1 or older? If so, either upgrade to at least JSF 1.2 or wrap plain vanilla HTML elements in f:verbatim.
Prabhat Ranjan
Ranch Hand

Joined: Oct 04, 2006
Posts: 391
thanks for your help.

regards,
prabhat
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Datatable and table using in JSF but order of result is reverse ?
 
Similar Threads
Problem in creating a search result page
nested h:datatable question
Javascript in JSF
jsf Data Table
Datatable trying to access non-existent field from Bean