[JBoss JIRA] Created: (RF-2198) Toggle control for attribute doesn't work with a list of ids
by Metin OSMAN (JIRA)
Toggle control for attribute doesn't work with a list of ids
------------------------------------------------------------
Key: RF-2198
URL: http://jira.jboss.com/jira/browse/RF-2198
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.1.4
Reporter: Metin OSMAN
In the documentation of this component, it is said that a comma separated list of ids can be specified but, when specifying a list in the for attribute of a toggleControl component, i get this error :
javax.faces.FacesException: Parent panel for control (id=mainForm:client_0:_id328) has not been found.
org.richfaces.component.UIToggleControl.getPanel(UIToggleControl.java:88)
looking to the source of org.richfaces.component.UIToggleControl, this method can't work with a list :
public UITogglePanel getPanel()
throws FacesException {
UIComponent control=this;
String target = ((UIToggleControl) control).getFor();
if (null != target) {
UIComponent targetComponent = RendererUtils.getInstance().findComponentFor(control, target);
if (null != targetComponent) {
return (UITogglePanel)targetComponent;
} else {
throw new FacesException( "Parent panel for control (id="
+ getClientId(getFacesContext()) + ") has not been found."); }
} ...
the "target" variable contains the comma separated list.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
17 years, 9 months
[JBoss JIRA] Closed: (RF-151) Hide unnecessary attributes for some components.
by Svetlana mukhina (JIRA)
[ http://jira.jboss.com/jira/browse/RF-151?page=all ]
Svetlana mukhina closed RF-151.
-------------------------------
Resolution: Done
> Hide unnecessary attributes for some components.
> ------------------------------------------------
>
> Key: RF-151
> URL: http://jira.jboss.com/jira/browse/RF-151
> Project: RichFaces
> Issue Type: Bug
> Components: docs updated
> Affects Versions: 3.0.1
> Reporter: Victor Kukharchuk
> Assigned To: Alexander Francuzov
> Fix For: 3.0.1
>
>
> Please, hide these attributes:
> rich : datascroller
> firstRow
> rich:dragSupport
> parentProperties
> rich : dataFilterSlider
> active
> rich : datascroller
> page
> renderCurrentAsText
> rich : dragSupport
> rich : dropSupport
> event
> rich : inputNumberSlider
> rich : togglePanel
> valid
> rich : tree
> rich : treeNode
> treeDataLocator
> rich : panelBar
> switchType
> rich:togglePanel
> localValueSet
> rich:dataDefinitionList
> rich:dataGrid
> rich:dataList
> rich:dataOrderedList
> rich:dataTable
> rich:subTable
> varState
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
17 years, 9 months