[JBoss JIRA] (RF-12574) rich:accordion height of first element is wrongly computed
by Juraj Húska (JIRA)
[ https://issues.jboss.org/browse/RF-12574?page=com.atlassian.jira.plugin.s... ]
Juraj Húska closed RF-12574.
----------------------------
Verified on metamer.
> rich:accordion height of first element is wrongly computed
> ----------------------------------------------------------
>
> Key: RF-12574
> URL: https://issues.jboss.org/browse/RF-12574
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: component-output
> Affects Versions: 4.3.0.M2
> Environment: RichFaces 4.3.0.20121024-M2
> Metamer 4.3.0.20121024-M2
> JBoss AS 7.1.1.Final
> OpenJDK Runtime Environment 1.6.0_24-b24 @ Linux
> Firefox 16.0 @ Linux x86_64 / Chrome 21.0.1180.89 @ Linux x86_64 / IE9
> Reporter: Jiří Štefek
> Assignee: Lukáš Fryč
> Priority: Critical
> Labels: regression
> Fix For: 4.3.0.M3
>
>
> When some other item than first of the rich:accordion is selected and then the first item is selected, the height of the content of the first item is wrongly computed and its height is as big as whole accordion height.
> In 4.2.3 CR1 it works correctly.
> Problem only occurs when @switchType is ajax.
--
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
13 years, 4 months
[JBoss JIRA] (RF-12583) Typo in the makePatternAMatch CSV javascript function
by Juraj Húska (JIRA)
[ https://issues.jboss.org/browse/RF-12583?page=com.atlassian.jira.plugin.s... ]
Juraj Húska closed RF-12583.
----------------------------
Verified by Jan P.
> Typo in the makePatternAMatch CSV javascript function
> -----------------------------------------------------
>
> Key: RF-12583
> URL: https://issues.jboss.org/browse/RF-12583
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Affects Versions: 4.1.0.Milestone4
> Reporter: Brian Leathem
> Assignee: Brian Leathem
> Fix For: 4.2.4, 4.3.0.M3
>
>
> The _makePatternAMatch_ function was introduced in resolution to RF-11531. however that method has a typo in it. See the extra ";" in the second _pattern_ assignment.
> {code}
> var makePatternAMatch = function(pattern) {
> if (! (pattern.slice(0, 1) === '^') ) {
> pattern = '^' + pattern;
> }
> if (! (pattern.slice(-1) === '$') ) {
> pattern = pattern; + '$';
> }
> return pattern;
> }
> {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
13 years, 4 months
[JBoss JIRA] (RF-12332) rich:contextMenu clipped by parent tich:tree node
by Martin Maier (JIRA)
[ https://issues.jboss.org/browse/RF-12332?page=com.atlassian.jira.plugin.s... ]
Martin Maier commented on RF-12332:
-----------------------------------
You can use
{code}
div.rf-trn {
overflow: visible;
}
{code}
as a workaround. This will display the popup correctly.
However, you might run into problems when you use long names for your tree items, which will not be clipped.
> rich:contextMenu clipped by parent tich:tree node
> -------------------------------------------------
>
> Key: RF-12332
> URL: https://issues.jboss.org/browse/RF-12332
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: component-menu, component-tree
> Affects Versions: 4.2.2.Final
> Environment: RichFaces 4.2.2.Final
> Unknown version of JSF
> JBoss Web 7.0.13.Final
> Java(TM) SE Runtime Environment 1.6.0_31-b04 @ Linux
> Mozilla/5.0 (X11; Linux x86_64; rv:12.0) Gecko/20100101 Firefox/12.0
> Reporter: Pawel Zmarlicki
> Assignee: Brian Leathem
> Fix For: 5-Tracking
>
> Attachments: richfaces-sandbox.zip, rich_tree-rich_contextMenu.png
>
>
> A rich:contextMenu is not working correctly when used with rich:tree. For example, consider the following:
> {code}
> <rich:tree id="tree" var="node"
> toggleType="ajax" toggleListener="#{node.onNodeToggle}"
> selectionType="ajax" selectionChangeListener="#{myBean.onNodeSelection}">
> <rich:treeModelRecursiveAdaptor roots="#{myBean.treeRoots}" nodes="#{node.childNodes}">
> <rich:treeNode id="treeNode">
> <h:panelGrid columns="2" border="0" cellpadding="0px" cellspacing="0px">
> <h:graphicImage value="/images/data_icon.gif" />
> <h:outputText value="#{node.data.id}" />
> </h:panelGrid>
> <rich:contextMenu attached="true" target="treeNode" mode="ajax">
> <rich:menuItem label="#{node.data.id}" disabled="true"/>
> <rich:menuItem label="Show" mode="server" action="#{myBean.show}"/>
> </rich:contextMenu>
> </rich:treeNode>
> </rich:treeModelRecursiveAdaptor>
> </rich:tree>
> {code}
> When the context menu coded as above is rendered, it is clipped by the borders of its parent tree node, so I can only see a narrow band corresponding to the topmost portion of the menu. I see enough to verify that the label of the first menu item has correct value
> If I move rich:contextMenu to outside of rich:tree, the menu is rendered only at the initial right-click. After that, I see only the browser's context menu. After some experimentation, I've added render="@form" to rich:treeNode.
> Either way, I still get an occasional script error 'this.popup' is null or not an object, after expanding a tree node.
--
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
13 years, 4 months
[JBoss JIRA] (RF-12616) Event re-targetting for correct javax.faces.source support in case where event doesn't originate on component's DOM root
by Juraj Húska (JIRA)
[ https://issues.jboss.org/browse/RF-12616?page=com.atlassian.jira.plugin.s... ]
Juraj Húska closed RF-12616.
----------------------------
> Event re-targetting for correct javax.faces.source support in case where event doesn't originate on component's DOM root
> ------------------------------------------------------------------------------------------------------------------------
>
> Key: RF-12616
> URL: https://issues.jboss.org/browse/RF-12616
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: core
> Reporter: Lukáš Fryč
> Assignee: Lukáš Fryč
> Fix For: 4.3.0.M3
>
> Attachments: autocomplete-event-retargeting.png
>
>
> When processing events from components, attached AJAX behaviors propagates calls to:
> {code}
> jsf.ajax.request(source, event, options);
> {code}
> The ID of source element is then propagated to {{javax.faces.source}} as behavior event source.
> However when a source of a event wasn't root of the component's DOM, then {{javax.faces.source}} isn't equal to {{clientId}} of component and thus behavior decoding fails.
> ----
> This issue can be fixed by incorporating interceptor for {{jsf.ajax.request}}, which will re-target source to the root of the component's DOM (which has attribute{{id}} equal to {{clientId}} of component).
--
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
13 years, 4 months