Fórumok
unable to use hyperlink in jsf
Dhruv Pal, módosítva 11 év-val korábban
unable to use hyperlink in jsf
Junior Member Bejegyzések: 82 Csatlakozás dátuma: 2013.01.24. Legújabb bejegyzések
Hi all
I am new to jsf and liferay.Please help me as I am not able to use hyperlink in jsf portlet ?
I am new to jsf and liferay.Please help me as I am not able to use hyperlink in jsf portlet ?
Neil Griffin, módosítva 11 év-val korábban
RE: unable to use hyperlink in jsf
Liferay Legend Bejegyzések: 2655 Csatlakozás dátuma: 2005.07.27. Legújabb bejegyzések
In order to make a hyperlink in a JSF portlet, can use the <h:outputLink .. /> JSF component, or you can simply use the <a href="..." /> element directly in your Facelet view.
Dhruv Pal, módosítva 11 év-val korábban
RE: unable to use hyperlink in jsf
Junior Member Bejegyzések: 82 Csatlakozás dátuma: 2013.01.24. Legújabb bejegyzések
thanks
Dhruv Pal, módosítva 11 év-val korábban
RE: unable to use hyperlink in jsf
Junior Member Bejegyzések: 82 Csatlakozás dátuma: 2013.01.24. Legújabb bejegyzések
But i want to create hyperlink in portlet so that i can open page in same portlet.Please guide me on this as i have wasted quite a time on this.
Neil Griffin, módosítva 11 év-val korábban
RE: unable to use hyperlink in jsf
Liferay Legend Bejegyzések: 2655 Csatlakozás dátuma: 2005.07.27. Legújabb bejegyzések
When you wrote:
Do you mean that you want to navigate to a different JSF view within the same portlet? If so, you can use something like this:
Or you can make the navigation dynamic by adding a navigation-rule to the WEB-INF/faces-config.xml descriptor and have the h:commandButton's action attribute bind to a backing bean that returns a String outcome.
open page in same portlet
Do you mean that you want to navigate to a different JSF view within the same portlet? If so, you can use something like this:
<h:commandbutton value="click me to navigate" action="/nextView.xhtml" />
Or you can make the navigation dynamic by adding a navigation-rule to the WEB-INF/faces-config.xml descriptor and have the h:commandButton's action attribute bind to a backing bean that returns a String outcome.
Dhruv Pal, módosítva 11 év-val korábban
RE: unable to use hyperlink in jsf
Junior Member Bejegyzések: 82 Csatlakozás dátuma: 2013.01.24. Legújabb bejegyzések
Thanks for help