[JBoss JIRA] (RF-12828) rich:placeholder not shown inside rich:togglePanel
by Fernando Arbeiza (JIRA)
[ 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
11 years, 11 months
[JBoss JIRA] (RF-12828) rich:placeholder not shown inside rich:togglePanel
by Fernando Arbeiza (JIRA)
Fernando Arbeiza created RF-12828:
-------------------------------------
Summary: 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
11 years, 11 months
[JBoss JIRA] (RF-12825) rich:column does not create unique IDs when included in rich:pickList
by Manuel Fehlhammer (JIRA)
Manuel Fehlhammer created RF-12825:
--------------------------------------
Summary: rich:column does not create unique IDs when included in rich:pickList
Key: RF-12825
URL: https://issues.jboss.org/browse/RF-12825
Project: RichFaces
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: component-tables
Affects Versions: 4.3.0.Final
Reporter: Manuel Fehlhammer
The following artefact, where I use rich:tooltip inside rich:column of a rich:pickList shows the bug.
Only for the first entry of the source picklist a tooltip is displayed on mouse over.
Reason (see linked forum thread) is, that the rich:column does not correctly generate the ID of the included h:output when iterating over the select items.
Since this works ok, when rich:column is inside a rich:table it is obviously a problem, when rich:column is included in rich:pickList.
{code:xml}
<h:body>
<f:view>
<h:form>
<rich:pickList value="#{backBean.pickListTargetCol}"
var="item"
listsHeight="100"
listWidth="100"
sourceCaption="SourceItems"
targetCaption="PickedItems">
<f:selectItems value="#{backBean.pickListSourceCol}"/>
<rich:column id="myCol">
<h:outputText id="item" value="Item_#{item}"/>
<rich:tooltip target="item" value="Tooltip_#{item}"/>
</rich:column>
</rich:pickList>
</h:form>
</f:view>
</h:body>
{code}
managed bean for this example:
{code}
@ManagedBean(name = "backBean")
@SessionScoped
public class TestBean {
private Collection<Integer> pickListTargetCol;
private Collection<Integer> pickListSourceCol;
public Collection<Integer> getPickListTargetCol()
{
return pickListTargetCol;
}
public void setPickListTargetCol(Collection<Integer> pickListTargetCol)
{
this.pickListTargetCol = pickListTargetCol;
}
public Collection<Integer> getPickListSourceCol()
{
Collection<Integer> result = new ArrayList();
for(int i = 1; i<=10; i++)
{
result.add(i);
}
return result;
}
public void setPickListSourceCol(Collection<Integer> pickListSourceCol)
{
this.pickListSourceCol = pickListSourceCol;
}
}
{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
11 years, 11 months