[JBoss JIRA] Created: (RF-9009) switchablePanel's: improve cycled switching
by Ilya Shaikovsky (JIRA)
switchablePanel's: improve cycled switching
-------------------------------------------
Key: RF-9009
URL: https://jira.jboss.org/browse/RF-9009
Project: RichFaces
Issue Type: Task
Security Level: Public (Everyone can see)
Affects Versions: 4.0.0.Milestone1
Reporter: Ilya Shaikovsky
Assignee: Alex Kolonitsky
Fix For: 4.0.0.Milestone2
TOGGLE PANEL
1)
<rich:togglePanel id="panel1">
...
<rich:toggleControl forPanel="panel1"/>
show works. (successfull switching to the first state from empty one)
2)
<h:form>
<rich:togglePanel id="panel1" activeItem="item1">
<rich:togglePanelItem name="item1">
<h:outputText value="Item1"/>
</rich:togglePanelItem>
<rich:togglePanelItem name="item2">
<h:outputText value="Item2"/>
</rich:togglePanelItem>
</rich:togglePanel>
</h:form>
<h:commandButton>
<rich:toggleControl forPanel="panel1"/>
</h:commandButton>
also should works.
GENERAL NOTES:
switching without next state definition should be performed only till the last item.
probably we need to add cycledSwitching boolean attribute. if true - switching from the last one should be performed to first if no next item defined at activated control. If need to discuss or postpone - let's create separate task for that.
TAB AND PANEL BAR
switching from JS api without the next state definition should worrks in the same way as for TP from controls without state defined.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years, 4 months
[JBoss JIRA] Created: (RF-8909) CDK: renderer-type is not written into .taglib.xml
by Nick Belaevski (JIRA)
CDK: renderer-type is not written into .taglib.xml
--------------------------------------------------
Key: RF-8909
URL: https://jira.jboss.org/browse/RF-8909
Project: RichFaces
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: CDK
Affects Versions: 4.0.0.Milestone1
Reporter: Nick Belaevski
Assignee: Alexander Smirnov
Priority: Critical
Fix For: 4.0.0.Milestone1
CDK doesn't write renderer-type tag into .taglib.xml files. Here is the result of CDK execution:
<component>
<component-type>org.richfaces.JQuery</component-type>
</component>
but should be:
<component>
<component-type>org.richfaces.JQuery</component-type>
<renderer-type>org.richfaces.JQueryRenderer</renderer-type>
</component>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years, 4 months
[JBoss JIRA] Created: (RF-9014) Toggle panel: active item cannot be an expression
by Pavol Pitonak (JIRA)
Toggle panel: active item cannot be an expression
-------------------------------------------------
Key: RF-9014
URL: https://jira.jboss.org/browse/RF-9014
Project: RichFaces
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: component-output
Affects Versions: 4.0.0.Milestone1
Environment: v.4.0.0-SNAPSHOT SVN r.18474
Reporter: Pavol Pitonak
The following code doesn't work even though richTogglePanelBean.item is set to "item1". When I set activeItem="item1", toggle panel works as expected.
<rich:togglePanel id="richTogglePanel" activeItem="#{richTogglePanelBean.item}" >
<rich:togglePanelItem id="item1" name="item1">
<p>content of panel 1</p>
</rich:togglePanelItem>
<rich:togglePanelItem id="item2" name="item2">
<p>content of panel 2</p>
</rich:togglePanelItem>
<rich:togglePanelItem id="item3" name="item3">
<p>content of panel 3</p>
</rich:togglePanelItem>
</rich:togglePanel>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years, 4 months
[JBoss JIRA] Created: (RF-9094) bad diagnostic messages
by Ilya Shaikovsky (JIRA)
bad diagnostic messages
-----------------------
Key: RF-9094
URL: https://jira.jboss.org/browse/RF-9094
Project: RichFaces
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: component
Affects Versions: 4.0.0.Milestone1
Reporter: Ilya Shaikovsky
Assignee: Nick Belaevski
1)
<a4j:ajax execute="@form"
event="selectionchange"
listener="#{extTableSelectionBean.selectionListener}" render=":res" />
public void selectionListener(BehaviorEvent event){
That's wrong as listener should use AjaxBehaviorEvent. But the log message gaves no idea about that:
Caused by: javax.el.MethodNotFoundException: Method not found: org.richfaces.demo.tables.ExtTableSelectionBean(a)13f99af.selectionListener()
Note: if you will change the a4j:ajax to f:ajax - exception will contain method signature with AjaxBehaviorEvent.
2) just real minor :) if I will use event="selectionchanged" (there is no such event) exception will be
/richfaces/extendedDataTable/samples/exTableSelection-sample.xhtml @16,75 <a4j:ajax> selectionchangedevent is not supported for the UIExtendedDataTable
check that there is space missed in "selectionchangedevent"
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years, 4 months