Disabling/enabling commandlink
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Peter_Rost
Posted On:   Friday, October 16, 2009 11:23 AM

I have a page with a list of seven commandlinks. The business requirement is to disable the links conditionally (and individually). I tried hiding them conditionally using the rendered attribute, but that does not meet the business requirement according to the business analyst on the project.

I am using jsf 1.1, and do not have the option of upgrading to 1.2. I understand that the h:commandlink tag in 1.1 does not support the disabled attribute. So I need an alternative way of defining the links so that I can enable/disable based on a value like:

"#[accountBean.disableEmail}"

Any ideas?

About | Sitemap | Contact