[
https://issues.jboss.org/browse/RF-12621?page=com.atlassian.jira.plugin.s...
]
Jiří Štefek updated RF-12621:
-----------------------------
Steps to Reproduce:
# deploy Metamer and open
http://localhost:8080/metamer/faces/components/richPlaceholder/inputText....
# clean @selector
** expected: placeholder text is displayed in first input
** have: no placeholder text is displayed in first input
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