aspose file tools*
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
JavaRanch » Java Forums » Java » JSF
Bookmark "tr:commandLink oncomplete event?" Watch "tr:commandLink oncomplete event?" New topic
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: tr:commandLink oncomplete event?
 
Similar Threads
rich:modalPanel display problem
H:commandButton onClick issue
Control the execution order in jsf
Problem inside a richModalPanel
rich:dataTable and rich:listshuttle rerendering issue