This content has been marked as final.
Show 5 replies
-
1. Re: Render "a" without href using JSF
mgrouch Aug 20, 2007 11:20 AM (in response to mgrouch)How can I render HTML 'a' element without "href" attribute using JSF tags?
h:outputLink seems always render "href"...
Thanks, -
2. Re: Render <a> without href using JSF
rlhr Aug 20, 2007 11:38 AM (in response to mgrouch)I think the "proper" way of using and anchor tag with no source is to set the href to #
<h:outputLink value="#"> <h:outputText value="Click on this link" /> </h:outputLink>
-
3. Re: Render <a> without href using JSF
mgrouch Aug 21, 2007 6:22 PM (in response to mgrouch)href="#" causes submission and blinking in my IE.
I really need to render HTML a element with no "href".
When I try to do it by inserting regular HTML markup into my
facelets source tag, all regular html markup disappears on AJAX submissions. -
4. Re: Render <a> without href using JSF
pmuir Aug 21, 2007 6:24 PM (in response to mgrouch)"mgrouch" wrote:
When I try to do it by inserting regular HTML markup into my
facelets source tag,
This is what you should do.all regular html markup disappears on AJAX submissions.
This sounds like a bug, if you are using ajax4jsf, ask them as they might be able to help.
Alternatively create a JSF component that writes out what you want. -
5. Re: Render <a> without href using JSF
mgrouch Aug 21, 2007 6:46 PM (in response to mgrouch)Can you improve Seam's s:link so that it could be used to render
HTML A with no HREF?