[JBoss JIRA] Created: (RF-2560) It's not possible to create menu items with the help of <a4j:repeat />
by Bj?rn Weinbrenner (JIRA)
It's not possible to create menu items with the help of <a4j:repeat />
----------------------------------------------------------------------
Key: RF-2560
URL: http://jira.jboss.com/jira/browse/RF-2560
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.1.4
Environment: windows, jboss, ff/ie, jsf ri
Reporter: Bj?rn Weinbrenner
It seems that its not possible to use <ui:repeat /> or <a4j:repeat /> to create menus. if you iterate to add menuItems to a a menu e.g. contextmenu they won't appear.
That seems to depend on the implementation of org.richfaces.renderkit.html.AbstractMenuRenderer
Only direct children are search for items. Repeat-Components are ignored and their childs aren't found.
public void encodeItems(FacesContext context, UIComponent component) throws IOException {
List kids = component.getChildren();
Iterator it = kids.iterator();
while (it.hasNext()) {
UIComponent kid = (UIComponent)it.next();
if (kid instanceof UIMenuGroup || kid instanceof UIMenuItem || kid instanceof UIMenuSeparator) {
renderChild(context, kid);
}
}
}
--
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
13 years, 10 months
[JBoss JIRA] Created: (RF-4464) inputNumberSlider: component incorrect behavior inside rich:tabPanel during swith between tabs.
by Mikhail Vitenkov (JIRA)
inputNumberSlider: component incorrect behavior inside rich:tabPanel during swith between tabs.
-----------------------------------------------------------------------------------------------
Key: RF-4464
URL: https://jira.jboss.org/jira/browse/RF-4464
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.3.0
Environment: IE6, IE7, FF 3.1, Safari 3.1, Opera 9.52(3.3.0)
Reporter: Mikhail Vitenkov
Assignee: Nick Belaevski
#1. Add following code on the page(rich:tabPanel with two tabs, which contained inputNumberSlider component):
<h:form>
<rich:tabPanel switchType="client">
<rich:tab label="First">
Here is tab #1
<rich:inputNumberSlider value="10" />
</rich:tab>
<rich:tab label="Second">
Here is tab #2
<rich:inputNumberSlider value="20" />
</rich:tab>
</rich:tabPanel>
<h:commandButton action="submit" value="Submit" />
</h:form>
#2. Navigate to the page.
#3. Go to "Second" tab.
#4. Set pointer to max(100) value.
#5. Return to the "First" tab & click "Submit" button(see #1)
#6. Navigate to "Second" tab again & verify position of slider's pointer.
#8. Enter '80' in component's input & press 'Enter'.
#9. Turn back to "First" tab & press "Submit".
Actual behavior:
#6: Pointer is at the right border of component's input. See attachment.
#9: Pointer moves to left.
Screenshot described #6 issue is attached.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 11 months