what solution to include a repititive fragmet into a creator jsf page?

Hi

Thank you for reading my post

what is the solution to include a repeatitive fragment into a jsf file?

for example i should show company information for X number of companies,

i think the most good way is to create some kind of page fragment, include it into the main page and pass each company parameters to it in a loop,

is there such facilities in creator visual pages?

it is available in Jdeveloper and ADF Faces, but i do not know how i can have this facility in Creator.

Thanks

[536 byte] By [Legolas.wa] at [2007-11-26 14:18:01]
# 1
You probably want to use a page fragment component. It's on the layout section of the palette. Here's a good place to start: http://forum.java.sun.com/thread.jspa?forumID=881&threadID=5106333In that thread is a ref to the Sun tutorial
yossariana at 2007-7-8 2:08:40 > top of Java-index,Development Tools,Java Tools...
# 2

Hi

Thank you for reply.

but i think page fragments are for static imports, for example to layout the entire pages ( menu fragment, news fragment,...)

what i need is something like include tag in jsp with ability to pass a map of parameter to it.

imagine that you have to show some number of records from a database but not in tabular format.

what will you do when total number of records is not known in design time?

you need to create a template to show records in that template, then you include that template as many times as it is required and you pass parameters to it in each iteration of loop that you used.

thanks

Legolas.wa at 2007-7-8 2:08:40 > top of Java-index,Development Tools,Java Tools...
# 3
Sorry, I didn't understand your question properly.
yossariana at 2007-7-8 2:08:40 > top of Java-index,Development Tools,Java Tools...