| Author |
tr:commandLink oncomplete event?
|
San Chi
Greenhorn
Joined: May 06, 2011
Posts: 4
|
|
Hi,
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"
actionListener="#{completionAction.populateHistory(completionInfoItem.id)}"
partialSubmit="true" immediate="true"
onclick="Richfaces.showModalPanel('historyModalPanel');">
<f:setPropertyActionListener value="#{completionInfoItem.id}" target="#{completionAction.completionId}"/>
</tr:commandLink>
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.
|
 |
 |
|
|
subject: tr:commandLink oncomplete event?
|
|
|