[JBoss JIRA] Created: (RF-2329) Components description improvement
by Svetlana mukhina (JIRA)
Components description improvement
----------------------------------
Key: RF-2329
URL: http://jira.jboss.com/jira/browse/RF-2329
Project: RichFaces
Issue Type: Task
Components: doc
Affects Versions: 3.1.4
Reporter: Svetlana mukhina
Assigned To: Michael Sorokin
Fix For: 3.1.5, 3.2.0
Look through description of the following components:
<rich:dragListener>, <rich:dropListener>, <rich:treeNode>, <rich:changeExpandListener>, <rich:nodeSelectListener>, <rich:recursiveTreeNodesAdaptor>, <rich:treeNodesAdaptor>, <a4j:portlet>.
Try to improve it and unify with other component descriptions (e.g. calendar, tree)
--
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
16 years, 8 months
[JBoss JIRA] Created: (RF-2735) Error to clear node content by innerHTML when re-rendering
by Nick Belaevski (JIRA)
Error to clear node content by innerHTML when re-rendering
-----------------------------------------------------------
Key: RF-2735
URL: http://jira.jboss.com/jira/browse/RF-2735
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.2.0
Reporter: Nick Belaevski
Assigned To: Nick Belaevski
Fix For: 3.2.0
debug[20:56:36,276]: Such element exist in document
debug[20:56:36,289]: Attempt to update part of page for Id: j_id213:output
debug[20:56:36,303]: call selectSingleNode for id= j_id213:output
debug[20:56:36,318]: Replace content of node by outerHTML()
error[20:56:36,333]: Error to clear node content by innerHTML Unknown runtime error
debug[20:56:36,350]: search for elements by name 'script' in element input
debug[20:56:36,364]: selectNodes found 0
debug[20:56:36,379]: Scripts in updated part count : 0
debug[20:56:36,395]: Update part of page for Id: j_id213:output successful
debug[20:56:36,410]: Attempt to update part of page for Id: j_id213:j_id214:29:j_id215
debug[20:56:36,427]: call selectSingleNode for id= j_id213:j_id214:29:j_id215
debug[20:56:36,446]: Replace content of node by outerHTML()
error[20:56:36,461]: Error to clear node content by innerHTML Unknown runtime error
For page:
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:a4j="http://richfaces.org/a4j"
xmlns:rich="http://richfaces.org/rich">
<p>This tree uses "ajax" switch type, note that for collapse/expand operations it will be Ajax request to the server. You may see short delay in this case.</p><br/>
<h:form>
<h:inputText id="output" />
<rich:tree style="width:300px" value="#{library.data}" var="item" nodeFace="#{item.type}">
<rich:treeNode type="artist" iconLeaf="/images/tree/singer.gif" icon="/images/tree/singer.gif" reRender="output">
<h:outputText value="1 #{item.name}" />
</rich:treeNode>
<rich:treeNode type="album" iconLeaf="/images/tree/disc.gif" icon="/images/tree/disc.gif">
<h:outputText value="#{item.title}" />
</rich:treeNode>
<rich:treeNode type="song" iconLeaf="/images/tree/song.gif" icon="/images/tree/song.gif">
<h:outputText value="#{item.title}" />
</rich:treeNode>
</rich:tree>
</h:form>
<a4j:log popup="false"></a4j:log>
</ui:composition>
--
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
16 years, 8 months
[JBoss JIRA] Created: (RF-3427) component control not working on oncomplete event
by Ilya Shaikovsky (JIRA)
component control not working on oncomplete event
-------------------------------------------------
Key: RF-3427
URL: http://jira.jboss.com/jira/browse/RF-3427
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.2.1
Reporter: Ilya Shaikovsky
Assigned To: Nick Belaevski
<a4j:commandButton value="Show Current Selection" reRender="table"
action="#{dataTableScrollerBean.takeSelection}" id="button">
<rich:componentControl attachTo="button" for="panel" event="oncomplete" operation="show" />
</a4j:commandButton>
doesn't works but
<a4j:commandButton value="Show Current Selection" reRender="table"
action="#{dataTableScrollerBean.takeSelection}"
oncomplete="javascript:Richfaces.showModalPanel('panel');"/>
works fine.
--
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
16 years, 8 months
[JBoss JIRA] Created: (RF-996) aj4:support cannot be used to validate rich:calander.
by Chris Rudd (JIRA)
aj4:support cannot be used to validate rich:calander.
-----------------------------------------------------
Key: RF-996
URL: http://jira.jboss.com/jira/browse/RF-996
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.1.0
Reporter: Chris Rudd
The following can be used to valdiate the date entered manually, but there is not a way to validate when the date is "picked"
<rich:calendar value="#{bean.date}" enableManualInput="true">
<a4j:support event="oninputchange" reRender="..."/>
</rich:calendar>
There should be an event that is fired any time the date is changed, reguarless of the input method.
NOTE : ondateselect is not applicable as its not notification that the date was changed, it is allowing a hook to see if the date selection should occur.
--
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
16 years, 8 months
[JBoss JIRA] Created: (RF-4020) a4j:support doesn't work inside tomahawk dataTable
by tbech (JIRA)
a4j:support doesn't work inside tomahawk dataTable
--------------------------------------------------
Key: RF-4020
URL: https://jira.jboss.org/jira/browse/RF-4020
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.1.6
Environment: tomahawk, myfaces 1.1.5
Reporter: tbech
The a4j:support for the component (selectOneMenu or inputText, etc) in tomahawk dataTable doesn't work. The request to the server is done, but:
- component has binding, however the 'binding' doesn't have submitted value set (so no way to get the value);
- the component in 'rerender' attribute is not rerendered.
Log:
debug[13:33:03,009]: Full response content: <?xml version="1.0"?>
...
<body><select id="content:searchForm:data:myField" name="content:searchForm:data:myField" size="1" class="" onchange="A4J.AJAX.Submit('_viewRoot','content:searchForm',event,{
...
debug[13:33:03,056]: Attempt to update part of page for Id: content:searchForm:data:myField
debug[13:33:03,056]: call getElementById for id= content:searchForm:data:myField
warn[13:33:03,056]: Node for replace by response with id content:searchForm:data:myField not found in document
The problem is, that the name of the component is not well resolved - the missing part is the index. It should be
<body><select id="content:searchForm:data:0:myField" name="content:searchForm:data:0:myField" size="1" class="" onchange="A4J.AJAX.Submit('_viewRoot','content:searchForm',event,{
We have plenty of pages with tomahawk:dataTable, and migration to any other component (for example rich:dataTable) is not possible, however the a4j:support is needed now. I suspect that the same problem is with standard myfaces:dataTable.
--
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
16 years, 9 months
[JBoss JIRA] Created: (RF-3824) Ajax reRender break Tomahawk commandButton
by Marine Wacheux (JIRA)
Ajax reRender break Tomahawk commandButton
------------------------------------------
Key: RF-3824
URL: http://jira.jboss.com/jira/browse/RF-3824
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.1.6
Environment: Windows XP + Firefox 2.0.0.14
Reporter: Marine Wacheux
Fix For: 3.1.x
After reRendering a richPanel that own a tomahawk commandButton, this button dosn't work anymore.
JavaScript error :
f has no properties
a4j_3_1_6.GAorg.ajax4jsf.javascript.AjaxScript - Line 986
Form HTML owning tomahawk button before reRender :
<form enctype="application/x-www-form-urlencoded" action="/gcm-web-patients/faces/jsp/rdv/DevisActeOperatoireSansNav.jsp" method="post" name="body:formActionsGlobales" id="body:formActionsGlobales" target=""><div class="DIV_BOUTONS_CENTRES"><input type="submit" class="BTN_FERMER" title="Fermer" onclick="if(typeof window.clearFormHiddenParams_body_formActionsGlobales!='undefined'){clearFormHiddenParams_body_formActionsGlobales('body:formActionsGlobales');}if(typeof window.getScrolling!='undefined'){oamSetHiddenInput('body:formActionsGlobales','autoScroll',getScrolling());}" value=" " name="body:formActionsGlobales:btnFermer" id="body:formActionsGlobales:btnFermer"/>
<input type="hidden" name="autoScroll"/>
</div><input type="hidden" value="1" name="body:formActionsGlobales_SUBMIT"/><input type="hidden" name="body:formActionsGlobales:_link_hidden_" value=""/><input type="hidden" name="body:formActionsGlobales:_idcl" value=""/><script type="text/javascript"><!--
function clear_body_3AformActionsGlobales()
{
clearFormHiddenParams_body_formActionsGlobales('body:formActionsGlobales');
}
function clearFormHiddenParams_body_formActionsGlobales(currFormName)
{
var f = document.forms['body:formActionsGlobales'];
f.elements['body:formActionsGlobales:_link_hidden_'].value='';
f.elements['body:formActionsGlobales:_idcl'].value='';
f.target='';
}
clearFormHiddenParams_body_formActionsGlobales();
//--></script><input type="hidden" value="8EgC7hvJoXWgMHaUZxk5rx66APlnNueyP32ajDxbvc/i5akMf2jX5WWSSrgXZJhYKzcAAFHyrv86yIYKdwr0uOheIjdsKfp03QYDic7/mAIYaFPjvIjow2OLV06wFNI0" id="javax.faces.ViewState" name="javax.faces.ViewState"/></form>
Form HTML owning tomahawk button after reRender :
<form id="body:formActionsGlobales" name="body:formActionsGlobales" method="post" action="/gcm-web-patients/faces/jsp/rdv/DevisActeOperatoireSansNav.jsp" enctype="application/x-www-form-urlencoded"><div class="DIV_BOUTONS_CENTRES"><input type="submit" id="body:formActionsGlobales:btnFermer" name="body:formActionsGlobales:btnFermer" value=" " onclick="if(typeof window.clearFormHiddenParams_body_formActionsGlobales!='undefined'){clearFormHiddenParams_body_formActionsGlobales('body:formActionsGlobales');}if(typeof window.getScrolling!='undefined'){oamSetHiddenInput('body:formActionsGlobales','autoScroll',getScrolling());}" title="Fermer" class="BTN_FERMER"/> <input type="hidden" name="autoScroll"/></div><input type="hidden" name="body:formActionsGlobales_SUBMIT" value="1"/><input type="hidden" name="body:formActionsGlobales:_link_hidden_"/><input type="hidden" name="body:formActionsGlobales:_idcl"/><script type="text/javascript">//<![CDATA[
function clear_body_3AformActionsGlobales()
{
clearFormHiddenParams_body_formActionsGlobales('body:formActionsGlobales');
}
function clearFormHiddenParams_body_formActionsGlobales(currFormName)
{
var f = document.forms['body:formActionsGlobales'];
f.elements['body:formActionsGlobales:_link_hidden_'].value='';
f.elements['body:formActionsGlobales:_idcl'].value='';
f.target='';
}
clearFormHiddenParams_body_formActionsGlobales();
//
//]]>
</script><span id="org.ajax4jsf.view.state" name="org.ajax4jsf.view.state"/></form>
--
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
16 years, 9 months
[JBoss JIRA] Created: (RF-3651) modalPanel: keepVisualState="false" doesn't work for rich component.
by Mikhail Vitenkov (JIRA)
modalPanel: keepVisualState="false" doesn't work for rich component.
--------------------------------------------------------------------
Key: RF-3651
URL: http://jira.jboss.com/jira/browse/RF-3651
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.1.6
Environment: IE6, IE7, FF, Safari, Opera(3.1.6.CR1)
Reporter: Mikhail Vitenkov
Assigned To: Nick Belaevski
Step 1. Set moveable="true" for rich:modalPanel;keepVisualState="false"
Step 2. Navigate to page, contained MP & call it, by clicking on link:
<a onclick="Richfaces.showModalPanel('modalPanelID');" href="#">Show MP</a>
Step 3. Move MP in right lower corner of the browser window.
Step 4. Close MP.
Step 5. Click on link "Show MP" again.
Step 6. Verify position of MP appearence.
Actual behavior:
MP appears in position, which it have before closing(Step 4), but if keepVisualState="false" I expect to see MP in position, defined in left & top attributes.
--
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
16 years, 9 months
[JBoss JIRA] Created: (RF-3652) simpleTooglePanel: component's content isn't fit to boarders in case size changing(height & width)
by Mikhail Vitenkov (JIRA)
simpleTooglePanel: component's content isn't fit to boarders in case size changing(height & width)
--------------------------------------------------------------------------------------------------
Key: RF-3652
URL: http://jira.jboss.com/jira/browse/RF-3652
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.1.6
Environment: IE6(special case), IE7, FF, Opera, Safari(3.1.6.CR1)
Reporter: Mikhail Vitenkov
Assigned To: Nick Belaevski
Step 1. Navigate to test application page for rich:simpleTooglePanel. - several panel inside each other should appear.
Step 2. Open all simpleTooglePanels by click on it's header.
Step 3. Run beta test 1: height: 80px; width: 300px.
Step 4. Verify style of simpleTooglePanel component's content displaying.
Actual behavior:
For all browsers except IE6 content isn't fit to panel.
For IE6 component's header don't take whole width of simpleTooglePanel.
For more info see attached screenshots.
--
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
16 years, 9 months