|
View:
New views
3 Messages
—
Rating Filter:
Alert me
|
|
|
displaying newsPeople help! ;-)
I'm developing a JSF application and I need to do a really stupid thing. I need to display an array of values. In PHP it would look like this: <? foreach($newsList as $news) { ?> <h3><?=$news["title"]?></h3> <p><?=$news["text"]?></p> <? } ?> I'm not able to find a way, how to do this in JSF. The only element, I know to be able to display a list is <webuijsf:table /> Any suggestions? Many thanks. Regards Tony --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@... For additional commands, e-mail: users-help@... |
|
|
|
|
|
Re: displaying newsI'm probably be missing something - but both listbox and comboBox
displays something like this: <select ...> <option>..</option> .... </select> but I need: <h3>header</h3> <p>text</p> <h3>header 2</h3> <p>text 2</p> .... <h3>header n</h3> <p>text n</p> Is it possible to configure listbox to display what I need? Many thanks Tony thompsonwd40@... wrote: > Have you looked at Woodstock's listbox, and/or comboBox controls? > > -------------- Original message ---------------------- > From: Antonin Karasek <tonda@...> >> People help! ;-) >> >> I'm developing a JSF application and I need to do a really stupid thing. >> I need to display an array of values. In PHP it would look like this: >> >> <? foreach($newsList as $news) { ?> >> <h3><?=$news["title"]?></h3> >> <p><?=$news["text"]?></p> >> <? } ?> >> >> I'm not able to find a way, how to do this in JSF. The only element, I >> know to be able to display a list is <webuijsf:table /> >> >> Any suggestions? >> >> Many thanks. >> >> Regards >> Tony >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: users-unsubscribe@... >> For additional commands, e-mail: users-help@... >> > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@... > For additional commands, e-mail: users-help@... > > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@... For additional commands, e-mail: users-help@... |
| Free embeddable forum powered by Nabble | Forum Help |