[
https://issues.jboss.org/browse/RF-12828?page=com.atlassian.jira.plugin.s...
]
Fernando Arbeiza updated RF-12828:
----------------------------------
Steps to Reproduce:
The next code should reproduce it. The rich:plaholder text is shown in panel item 1, but
not in panel item 2 after clicking on Switch.
{code:xml}
<!DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd>
<html
xmlns="http://www.w3.org/1999/xhtml"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:rich="http://richfaces.org/rich">
<h:head>
<title></title>
</h:head>
<h:body>
<rich:togglePanel id="layout" switchType="client"
cycledSwitching="true">
<rich:togglePanelItem>
Panel item 1
<h:inputText id="input1">
<rich:placeholder value="Text..." />
</h:inputText>
</rich:togglePanelItem>
<rich:togglePanelItem>
Panel item 2
<h:inputText id="input2">
<rich:placeholder value="Text..." />
</h:inputText>
</rich:togglePanelItem>
</rich:togglePanel>
<h:commandButton value="Switch">
<rich:toggleControl targetPanel="layout" />
</h:commandButton>
</h:body>
</html>
{code}
was:
The next code should reproduce it. The rich:plaholder text is shown in panel item 1, but
not in panel item 2 after clicking on Switch.
{{{
<!DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd>
<html
xmlns="http://www.w3.org/1999/xhtml"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:rich="http://richfaces.org/rich">
<h:head>
<title></title>
</h:head>
<h:body>
<rich:togglePanel id="layout" switchType="client"
cycledSwitching="true">
<rich:togglePanelItem>
Panel item 1
<h:inputText id="input1">
<rich:placeholder value="Text..." />
</h:inputText>
</rich:togglePanelItem>
<rich:togglePanelItem>
Panel item 2
<h:inputText id="input2">
<rich:placeholder value="Text..." />
</h:inputText>
</rich:togglePanelItem>
</rich:togglePanel>
<h:commandButton value="Switch">
<rich:toggleControl targetPanel="layout" />
</h:commandButton>
</h:body>
</html>
}}}
rich:placeholder not shown inside rich:togglePanel
--------------------------------------------------
Key: RF-12828
URL:
https://issues.jboss.org/browse/RF-12828
Project: RichFaces
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: component-misc, component-output
Affects Versions: 4.3.0.Final
Environment: Jboss AS 7.1.1
Reporter: Fernando Arbeiza
When a rich:placeholder is inside a hidden rich:togglePanelItem, the placeholder text
does not show up when that togglePanelItem is shown
--
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