Reputation: 7955
I have a simple rich:panel
. I would like it to behave like one big link to some page. Is that even possible? How?
For example: the section about rich:dataGrid
in the RichFaces manual show a grid of car descriptions. Suppose I wanted to make each panel link to a detailed page for that car, how would I do that?
Upvotes: 0
Views: 785
Reputation: 1582
The example is based on RichFaces 3:
<rich:panel>
<a4j:support event="onclick".../>
</rich:panel>
or this:
<a4j:outputPanel>
<a4j:support event="onclick".../>
<rich:panel></rich:panel>
</h:outputPanel>
Upvotes: 1
Reputation: 1582
It should have an onclick event, you can attach Ajax support to the panel via that event.
Upvotes: 1