First, sorry my bad english, but I'm brazilian... I hope you understand...
I'm using the Release Candidate 2 of Primefaces, with JSF 2... until here ...ok...
But when I test my aplication at Chrome Browser, the things don't go fine....
See my source code...
Code: Select all
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:p="http://primefaces.prime.com.tr/ui">
<h:head>
<title> Titulo </title>
</h:head>
<h:body>
<f:view contentType="text/html">
<p:menubar>
<p:submenu label="Menu 1" >
<p:menuitem value="Name so Bigeeeeeeer" url="#" />
</p:submenu>
<p:submenu label="Menu 2" >
<p:menuitem value="Name so Bigeeeeeeer" url="#" />
</p:submenu>
</p:menubar>
<br/>
<p:password minLength="6" goodLabel="good" weakLabel="weak" promptLabel="label default" strongLabel="strong" />
</f:view>
</h:body>
</html>
If I use the f:view tag, the code is OK, but my menu sometimes can't render fine... how it have's a sun with a most big name, the browser show me all unalined...
below, there are two codes... both from source code ... the first from Google Chrome... the second from Firefox.... see in the first the javascript was been comented but at firefox is ok... PS.: At Internet Explorer it's all right too....
Chrome
Code: Select all
<input id="j_idt11" name="j_idt11" type="password" value="" /><script type="text/javascript">
//<![CDATA[
jQuery(function(){widget_j_idt11 = new PrimeFaces.widget.Password('j_idt11', {length:6,promptLabel:'label default',weakLabel:'weak',goodLabel:'good',strongLabel:'strong'});});
//]]>
</script>
Code: Select all
<input id="j_idt11" name="j_idt11" type="password" value="" /><script type="text/javascript">
jQuery(function(){widget_j_idt11 = new PrimeFaces.widget.Password('j_idt11', {length:6,promptLabel:'label default',weakLabel:'weak',goodLabel:'good',strongLabel:'strong'});});
</script>
Thank you very mutch.... I hope for your help...
Bye