Hello,
I wan't to let appear a s:link to the forgotten password page if the email adress of the new user is already used.
For that reason I've implemented the following function in my custom email validator:
private void setLink(FacesContext context) { UIComponent comp = context.getViewRoot().findComponent("company:forgottenLink"); if (comp != null) { System.out.println("found"); try { if (comp instanceof HtmlLink) { System.out.println("is link"); HtmlLink text = (HtmlLink) comp; text.setRendered(true); } } catch (Exception ex) { System.out.println(ex.getMessage()); } } else { System.out.println("notfound"); } }
But when the codeline 'if (comp instanceof HtmlLink)' is reached the execution of the code aborts and the following message can be read infinitely in the eclipse console window:
SEVERE [compiler] Missing Built-in Tag Libraries! Make sure they are included within the META-INF directory of Facelets' Jar
I don't know what to do. The jboss-seam-ui.jar (which contains HtmlLink.class) is in the classpath.
I'm using Seam 2.2.0.GA.
Thx for any help
Ben
Facelets version issue, maybe?
http://blog.temposwc.com/2009/05/tip-use-facelets-1115-in-jboss-5x.html