Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

tr:commandLink oncomplete event?  RSS feed

 
San Chi
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!