displayng a news

View: New views
1 Messages — Rating Filter:   Alert me  

displayng a news

by Antonin Karasek-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,
I'm building my first Visual JSF project. Now, I need to display news.
Seems like a simple task ;-) But I haven been able to find a JSF tag,
which does a cycle. I think, I need something like this:

<webuijsf:usefulTag sourceData="#{SessionBean1.news}" sourceVar="news">
<h2><webuijsf:staticText  text="#{news.value['title']}"/></h2>
<p><webuijsf:staticText  text="#{news.value['text']}"/></p>
</webuijsf:usefulTag>

Of course - I can generate the content in backing bean - but I think,
that it's not a nice solution.

And - of course - I should use <webuijsf:markup > instead of <h2> or <p> :o)

Is there any such tag?

Is there any other "nice" solution?

Many thanks

Regards
        Tony

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...