You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Leonardo Uribe (JIRA)" <de...@myfaces.apache.org> on 2008/10/01 01:03:44 UTC
[jira] Resolved: (TOMAHAWK-1342) passwordStrength does not render
passthrough attributes
[ https://issues.apache.org/jira/browse/TOMAHAWK-1342?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Leonardo Uribe resolved TOMAHAWK-1342.
--------------------------------------
Resolution: Fixed
Fix Version/s: 1.1.8-SNAPSHOT
Assignee: Leonardo Uribe
thanks to Paul Rivera for provide this patch
> passwordStrength does not render passthrough attributes
> -------------------------------------------------------
>
> Key: TOMAHAWK-1342
> URL: https://issues.apache.org/jira/browse/TOMAHAWK-1342
> Project: MyFaces Tomahawk
> Issue Type: Bug
> Affects Versions: 1.1.8-SNAPSHOT
> Environment: tomcat 6.0.16
> java 1.6.0
> tomahawk 1.1.8-snapshot
> tomahawk sandbox 1.1.8-snapshot
> myfaces 1.1.7-snapshot
> Reporter: Paul Rivera
> Assignee: Leonardo Uribe
> Fix For: 1.1.8-SNAPSHOT
>
> Attachments: PasswordStrengthRenderer.patch
>
>
> passwordStrength doesn't seem to be rendering pass through attributes declared in myfaces_sandbox.tld like:
> Accesskey, dir, lang, title, onfocus, onblur, ondblclick, onkeydown, onkeypress, onkeyup, onmousedown, onmousemove, onmouseout, onmouseover, onmouseup, style, styleClass, and tabindex.
> given a jsf page:
> <h:outputText value="Password:"/>
> <s:passwordStrength preferredPasswordLength="10" prefixText="Strength : "
> textStrengthDescriptions="Very Poor;Weak;Average;Strong;Excellent" strengthIndicatorType="text"
> style="color: orange;" onfocus="myfocusFunc();" onkeyup="mykeyupfunc();"
> onblur="myOnblurFunc();"/>
> this is what gets rendered:
> Password:
> <script type="text/javascript">var myfaces__idJsp1 = new org.apache.myfaces.passwordStrength();window.addEventListener('load',function() {myfaces__idJsp1.startUpPasswordStrength('_idJsp1indicatorMessage'); }, false);</script><div><table><tr><td><span><input type="password" id="_idJsp1" name="_idJsp1" value="" onkeyup="myfaces__idJsp1.updateStatusValue('_idJsp1',10, 'Strength : ', 'Very Poor;Weak;Average;Strong;Excellent', '_idJsp1indicatorMessage', '_idJsp1leftCharsMessage', 'text', '_idJsp1_PROGRESSBAR', 'true', 'characters are left', 'false', 'A1', '50');myfaces__idJsp1.show('_idJsp1indicatorMessage');" onblur="myfaces__idJsp1.hide('_idJsp1indicatorMessage');myfaces__idJsp1.hide('_idJsp1leftCharsMessage');" /></span></td><td><span id="_idJsp1indicatorMessage" class="org_apache_myfaces_passwordStrength_progress_indicatorMessage"></span></td></tr><tr><td><div id="_idJsp1leftCharsMessage"></div></td></tr></table></div>
> not all of the attributes I pass in s:passwordStrength gets rendered.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.