voyent
Disabled ace:pushbutton in Icefaces 4.1.1  XML
Forum Index -> Components
Author Message
kvindum

Joined: 08/Dec/2016 01:05:58
Messages: 5
Offline


I'm trying to use the disabled property of the ace:pushbutton, but it only seems to cause the graphical part of the button to become disabled. The button can still be clicked, and still carries out events.
This is the same for ace:linkButton. I've tested in Icefaces 4.1.1 and 4.2.0.BETA

Code:
 <ace:pushButton value="Show Alert" disabled="true" >
     <f:passThroughAttribute name="onclick" value="alert('test')"/>
 </ace:pushButton>
 


I've also tried to use <ace:ajax> using onStart, but this also doesn't disable the functionality.
A workaround is to use the disabled property of both the ace:pushButton and the ace:ajax tags. This does however seem rather redundant to me... Changing the implementation to h:commandButton will also make the error go away, but isn't quite the the Icefaces way.

Is the described behavior an error, or am I using the library in a wrong way?
Kind regards
Kenneth Vindum
ken.fyten

Joined: 26/Oct/2004 00:00:00
Messages: 1332
Offline


Hi,

This is an unfortunate bug that somehow made it past our QA regression test suite. A little embarrassing, actually.

The JIRA for this is http://jira.icesoft.org/browse/ICE-11262

It will be fixed for the 4.2 release, which will go out later this week.

Thanks for reporting this.

Regards,
Ken

Ken Fyten
VP Product Development
ICEsoft Technologies, Inc.
kvindum

Joined: 08/Dec/2016 01:05:58
Messages: 5
Offline


Hi Ken

I've just updated to 4.2.0, and the components now work like a charm.

Thank you for the quick solution to this problem.

Kind regards
Kenneth Vindum
 
Forum Index -> Components
Go to:   
Powered by JForum 2.1.7ice © JForum Team