• Post Reply Bookmark Topic Watch Topic
  • New Topic

command link

 
Karthic Prabhu Java
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi.. i need to do two action on a command link.. ie., i have to display two different modal pane for one command link.

<a4j:commandLink action="#{contentmanager.initEdit}" ajaxSingle="true" reRender="deleteform" rendered="#{viewContent.type =='TEMPLATE' || viewContent.status == 'DRAFT'}" oncomplete="#{rich:component('delete')}.show()" >
<hutputText value="Delete" />
</a4j:commandLink>

<f:verbatim rendered="#{viewContent.type == 'TEMPLATE' || viewContent.status == 'DRAFT'}">&nbsp;|&nbsp;</f:verbatim>

this is the code to display same modal pane... but here i have to check a condition and display two diff modal pane for same cmdlink
 
Brunda Gundamaraj
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
<f:verbatim> tag has no rendered attribute.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!