myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From phelix01 <>
Subject HTML inside commandLink or -button
Date Tue, 24 Jul 2007 20:52:35 GMT

is it possible to have markup between the opening and closing tag of a
commandLink or -button? I tried:

	<h:commandButton action="#{Bean.Action}" value="#{bundle.action}">
			<h:outputText value="#{Bean.Message}" />
                        <!-- verbatim doesn't work either -->

But the markup is rendered outside of the link/button.... i know it's hard
to think of something that this is useful for. I also know that this kind of
markup is semantically incorrect. 

But maybe you know a trick how to get this done.

View this message in context:
Sent from the MyFaces - Users mailing list archive at

View raw message