TheCoder4eu / BootsFaces-OSP

BootsFaces - Open Source Project
Apache License 2.0
246 stars 102 forks source link

b:navLink #75

Closed cristian3 closed 9 years ago

cristian3 commented 9 years ago

navLink extends LInk and not CommandLink and you can´t call bean methods from navlink

stephanrauh commented 9 years ago

I suppose we don't want to break compatibility, but it sure would be nice do add actionListener and action as new options. How do you like the idea?

TheCoder4eu commented 9 years ago

+1 This is the JSF-ish way to go .

stephanrauh commented 9 years ago

I implemented a prototype of a new widget, <b:navCommandLink />, which can process actionListeners.

The original plan - adding action and actionListener to <b:navLink /> - would break compatibility because both attributes require an HTML form. However, <b:navCommandLink /> can be used in the same way as <b:navLink />, so this shouldn't be a problem.

stephanrauh commented 9 years ago

Done (already published with BootsFaces 0.7.0).