[JBoss JIRA] Created: (RF-5609) Tree: selection and expanding impossible if ajaxSingle=true and some input validation failed.
by Alexander Dubovsky (JIRA)
Tree: selection and expanding impossible if ajaxSingle=true and some input validation failed.
---------------------------------------------------------------------------------------------
Key: RF-5609
URL: https://jira.jboss.org/jira/browse/RF-5609
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.3.0
Environment: 3.2.2.GA, 3.3.0.CR2
Reporter: Alexander Dubovsky
Assignee: Nick Belaevski
Fix For: Future
Code:
<rich:messages ajaxRendered="true" />
<rich:tree value="#{custom.data}" var="item">
<rich:treeNode ajaxSubmitSelection="true"
ajaxSingle="true"
nodeSelectListener="#{item.processSelection}">
<h:outputText value="#{item.value}" />
</rich:treeNode>
</rich:tree>
<h:inputText value="" required="true" />
# Open page and try to expand or select some node
Result: expanding only root nodes is possible. Selection impossible at all. Above-named actions cause validation message.
--
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
15 years, 2 months
[JBoss JIRA] Created: (RF-7771) jQuery.hotkeys is undefined
by Andreas Höhmann (JIRA)
jQuery.hotkeys is undefined
---------------------------
Key: RF-7771
URL: https://jira.jboss.org/jira/browse/RF-7771
Project: RichFaces
Issue Type: Bug
Environment: 3.3.2-SNAPSHOT
Reporter: Andreas Höhmann
Fix For: 3.3.2.GA
i must load jquery with
<a4j:loadScript src="resource://jquery.js"/>
to register a resize-handler:
<script type="text/javascript">
var resizing = false;
jQuery(document).ready(function(){
autoLayout();
});
jQuery(window).resize(function(){
if (resizing) {
return;
}
resizing = true;
autoLayout();
resizing = false;
});
</script>
the later i use rich:hotKey to avoid "form submit with enter":
<a4j:form>
<!-- this form does not support submit via 'enter' -->
<rich:hotKey key="return" handler="return false;" />
<h:inputText id="name" value="#{bean.name}"/>
</a4j:form>
if i load jQuery by hand then i got the js-error:
jQuery.hotkeys is undefined in hotKey.js.jsf (line 97)
96 for (var i = 0; i < options.length; i++) {
97 jQuery.hotkeys.add(key, options[i], _handler);
98 }
if i look into my firebug i see that the "hotKey.js.jsf" was loaded *before* "jQuery.js.jsf"
what can i do?
--
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
15 years, 2 months
[JBoss JIRA] Created: (RF-7476) a4j commandLink doesnt work properly when using f:params and disabled condition, The link doesnt reRenders the value the first time the condition its not fullfilled
by Javier Quirante (JIRA)
a4j commandLink doesnt work properly when using f:params and disabled condition, The link doesnt reRenders the value the first time the condition its not fullfilled
--------------------------------------------------------------------------------------------------------------------------------------------------------------------
Key: RF-7476
URL: https://jira.jboss.org/jira/browse/RF-7476
Project: RichFaces
Issue Type: Bug
Components: component-a4j-core
Affects Versions: 3.3.1
Environment: JBoss Seam 2.1.1 GA, OC4j Server
Reporter: Javier Quirante
When we have an a4j commandLink that pass parameter via f:parameter, if the parameter passed , is on the disabled condition of the a4j commandLink, the button doesnt reRender the first time its fullfill the disable condition
For instance if we have the button
------------------
<a4j:commandLink value="Hello J" reRender="block" bypassUpdates="false" disabled="#{jiraHome.disabled}">
<f:param name="firstName" value="Javier"/>
</a4j:commandLink>
--------------
with pages.xml
-------------
<param name="firstName" value="#{jiraHome.firstName}"/>
-------------
that reRenders the panelGrid "block" whith an h:inputText
--------------
<h:panelGrid columns="1" id="block">
<h:inputText id="value"
value="#{jiraHome.firstName}"/>
</h:panelGrid>
----------------
And in the backup bean the condition is
-----------
public boolean getDisabled(){
return firstName!=null && "Javier".equals(firstName);
}
-----------------
(if the parameter passed is "Javier" --> disable the commandLink)
If you click the button its never write "Javier" in the input Text. But the first time you click, when the commandLink is enabled, it shouds
reRender the inputText with the text "Javier" becuase its not still disabled.
Next times is would be ok the commandLink doesnt work because is disabled because of the condition.
If you try with h:commandLink its works like that.
I try with scopes REQUEST and CONVERSATION on the Bean and doesnt work neither
Thanks in advance
--
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
15 years, 2 months