• Post Reply Bookmark Topic Watch Topic
  • New Topic

Disable a commanlink  RSS feed

 
Cesar Tg.
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi!

I'd like to know how can i disable a link(commandlink) with code...

h:commandLink action="datgendeclarante" id="datgendeclarante"
h utputText value="#{msg.rubros_dat_generales}"
h:commandLink

i got checkbox like this ...

h:selectBooleanCheckbox id="nin_datconyuge" value="#{RubrosDeclaracionBean.nin_datconyuge}" immediate="true" onclic="this.form.submit();" valueChangeListener="#{RubrosDeclaracionBean.SalvaChecks}"


and in SalvaChecks method ...

public void SalvaChecks(ValueChangeEvent event){ ...


i want to disable the link , how can i do that?



Thanks, Cesar.
 
Abiodun Adisa
Ranch Hand
Posts: 495
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can use the rendered="false" attribute so that the command link would not show up
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!