Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > a4j question

Thread Tools

a4j question

Posts: n/a
hello all,

in my commandbutton below, if i use directly "true" for "rendered"
attribute, it works and calls task.changeDescription method.

however, if i render this command button according to a condition, the
button appears if task.editable is true but the button does not work, i
mean it does not call action method when i press.
<a4j:commandButton id="cb" value="save"
rendered="#{task.editable}" action="#{task.changeDescription}"

do you have any idea what is wrong?

thanks and regards...
Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
JSF, A4J (Richfaces) and setting array property in backbean Coutemeier Java 0 05-26-2008 09:02 AM
Quick Question - Newby Question =?Utf-8?B?UnlhbiBTbWl0aA==?= ASP .Net 4 02-16-2005 11:59 AM
Question on Transcender Question :-) eddiec MCSE 6 05-20-2004 06:59 AM
Question re: features of the 831 router (also a 924 question) Wayne Cisco 0 03-02-2004 07:57 PM
Syntax Question - Novice Question sean ASP .Net 1 10-20-2003 12:18 PM