Working with Tables

Hi

I am new to creator and working with (Build 016115).

Say for Example when I add a Table to my design view and also a objectlistProvider -> Basically to fetch the details from an array list

and populate the table I am facing this limitation.

a) The default list provider is listing the arraylists DECLARED ONLY in the page1 .java part of the .jsf file.

The other arraylists that are available in the SessionBean1 component with getter methods cannot be viewed in the designer(objectlistProvider --> List

albeit the arraylist declared in the SessionBean1.java are refractored there.

<The DataTable of the standard section the Palete does not have this limitation as we can bind the Object array anywhere in the project as long as proper

getter methods are defined in the subsequent classes>.

2) Secondly even if I map the <sourceData> value of the TableRowGroup with the objectlistProvider(#{page1.objectListProvider1}) and define a row Instance (dummyRow) in the sourceVar field

and try to fetch the objects and from the ArrayList declared in the Page1.java by binding (dummyRow.abc.val) in the static Text field of the respective columns its not fetching.

Is there any other thing that I need to do I've missed out?

Is there a comprehensive tutorial available to work with Table component available on the Basic section of the Palette?

Thanks

[1451 byte] By [TheCarribeanKida] at [2007-11-27 7:51:35]
# 1
Does this help? http://blogs.sun.com/divas/entry/using_the_object_array_data
jetsonsa at 2007-7-12 19:32:43 > top of Java-index,Development Tools,Java Tools...
# 2

Thnaks jetsons. That article was highly informative and also the hibernate piece written there about List

was also useful - as I am using List objects. I reckon I need to change the pattern of my classes a bit if I plan to use to the Table component instead of Data Table(which was pretty clear-cut).

Message was edited by:

TheCarribeanKid

TheCarribeanKida at 2007-7-12 19:32:43 > top of Java-index,Development Tools,Java Tools...