JSF: Is there a way to bind method to h:outputLink? -


i working on this:

a jsf template has side-navigation bar contains links(either anchor or h:outputlink), , there cases 2 options lead same link(page), different value in view parameter, , rendering different data being displayed on page.

is there way this? using commandlink or commandbutton not seem option me since mess styling.

thanks in advance.

an output link normal html link, conventional way query parameter, e.g. /contentarea.xhtml?myparam=value.

i don't think should bind method output link. involve javascript onclick handler (commandlink), , don't think that's necessary here. said, i'm surprised commandlink messes styling, renders normal html link.

see also


Comments

Popular posts from this blog

python - TypeError: start must be a integer -

c# - DevExpress RepositoryItemComboBox BackColor property ignored -

django - Creating multiple model instances in DRF3 -