This week's giveaway is in the Spring forum.
We're giving away four copies of REST with Spring (video course) and have Eugen Paraschiv on-line!
See this thread for details.
The moose likes JSF and the fly likes tr:commandLink oncomplete event? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "tr:commandLink oncomplete event?" Watch "tr:commandLink oncomplete event?" New topic

tr:commandLink oncomplete event?

San Chi

Joined: May 06, 2011
Posts: 4

I just started using the trinidad tags in my project.
I have a tr:commandLink where I am populating a table using the action in a rich modal panel.
I want the modal panel to be displayed once all the action method is over. I have done the below logic.
<tr:commandLink id="fullHistoryLink"
text="View Full History"
partialSubmit="true" immediate="true"
<f:setPropertyActionListener value="#{}" target="#{completionAction.completionId}"/>

But, it is showing empty table for the first time for a couple of seconds then it is showing the table results.
Is there any event like oncomplete in tr:commandLink since I can all my show richModal Panel in that function.
But I didn't find anything such that for commandLink component and is quite surprising.
Please reply me if you have any work around or better solution.

Thanks in advance.
I agree. Here's the link:
subject: tr:commandLink oncomplete event?
It's not a secret anymore!