[richfaces-issues] [JBoss JIRA] (RF-12621) rich:placeholder : empty attribute @selector

Jiří Štefek (JIRA) jira-events at lists.jboss.org
Wed Nov 28 06:28:21 EST 2012


Jiří Štefek created RF-12621:
--------------------------------

             Summary: rich:placeholder : empty attribute @selector
                 Key: RF-12621
                 URL: https://issues.jboss.org/browse/RF-12621
             Project: RichFaces
          Issue Type: Bug
      Security Level: Public (Everyone can see)
          Components: component-misc
            Reporter: Jiří Štefek


When a placeholder is present in some component (example below) and placeholder's attribute @selector is present and empty, shouldn't it work as if it was without @selector? (Placeholder will work with input) 

{code}
<h:inputText id="input">
  <rich:placeholder selector=""/>
</h:inputText>
{code}

Can be easily fixed in placeholder.template.xml
{code}
...
<cdk:scriptOption name="targetId" value="#{empty component.selector ? component.parent.clientId : null}" />
...
{code}


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the richfaces-issues mailing list