Table bound to DataProvider in Creator 2 Update 1 Portlet

Hi,

I have bound table components to dataproviders in my creator portlet which works fine under pluto portal.

Also, when I hot deploy my portlet under liferay: dataproviders are also filled correctly

and the data is displayed also correctly in the table component. Everything is fine.

BUT following problem occures under liferay: When I add, change or delete entries from the dataprovider the changes are

not visible in the table after page refresh. Not until I refresh the page a second time.

I have read somewhere that one shouldn't use the basic components, only the standard

components in creator if developing for liferay. This is however not satisfying.

o Has someone already deployed portlets from creator, with tables bound to dataproviders to liferay?

o Do the problems come from differences between the lifecycle of pluto and liferay?

o How can I fix this problem?

o Is there a example portlet for liferay available which was written in creator and uses table components bound to dataproviders?

Thanx in advance!

By the way, my configuration:

Sun Java Studio Creator 2 Update 1

Liferay 4.0.0

Mysql 4.1

Tomcat 5.5

[1234 byte] By [DonAdriano] at [2007-11-26 10:16:31]
# 1

Hi,

I have a similar problem with tables in Liferay. In my portlet I only display db results in a table depending on a drop-down selection. Unfortunately the pagination and the table layout ( pagination buttons visible ) is not working correctly.

Example:

1.: I choose an item in the drop-down-list where the query has many results -> table is shown with pagination controls

2.: I chose an item which has only one result -> one result is shown in the table but with pagination controls like in 1.

3.: I choose again the item like in 1. -> first of the many results is shown without pagination controls

Is there something wrong with the simplified JSF lifecycle in SC2? Seems somehow to be a refreshing problem.

I fully agree to DonAdriano, the advice to use only some standard components in the development of portlets for Liferay is very unsatisfying!

My System:

SC2 Update 1 with current updates

Liferay 4.1.2 in Tomcat 5.5.17 and Java 1.5

Any help is welcome!

Regards,

Christoph

Christoph_Guse at 2007-7-7 2:10:04 > top of Java-index,Development Tools,Java Tools...
# 2
Pls!Is there no one out there who has ever bound a basic table to a data provider and deployed as portlet under liferay ?Thank you in advance!
DonAdriano at 2007-7-7 2:10:04 > top of Java-index,Development Tools,Java Tools...