• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Tim Cooke
  • Paul Clapham
  • Jeanne Boyarsky
Sheriffs:
  • Ron McLeod
  • Frank Carver
  • Junilu Lacar
Saloon Keepers:
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Al Hobbs
  • Carey Brown
Bartenders:
  • Piet Souris
  • Frits Walraven
  • fred rosenberger

tr:commandLink oncomplete event?

 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
today's feeble attempt to support the empire
the value of filler advertising in 2021
https://coderanch.com/t/730886/filler-advertising
reply
    Bookmark Topic Watch Topic
  • New Topic