[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
15 years, 6 months
[JBoss JIRA] Created: (RF-3644) suggestionBox: incorrect view & functionality of component under Opera 9.27
by Mikhail Vitenkov (JIRA)
suggestionBox: incorrect view & functionality of component under Opera 9.27
---------------------------------------------------------------------------
Key: RF-3644
URL: http://jira.jboss.com/jira/browse/RF-3644
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.1.6
Environment: Opera(3.1.6.CR1)
Reporter: Mikhail Vitenkov
Assigned To: Nick Belaevski
Priority: Critical
Step 1. Navigate to page, contained suggestionBox rich component.
Step 2. Enter 'a' character into the component's input box.
Step 3. Verify style displaying of selected item.
Step 4. Verify style displaying of items with long name(name > component's width).
Step 5. Verify verticall & horizontall scroll presence.
Actual behavior:
Selected item area is more than suggestion boxe's pop up list width.
Item with long name is out of the boarders.
Selection of the last items in list is impossible, because of scrolls absent.
For more information see attached screenshot.
--
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
15 years, 6 months
[JBoss JIRA] Created: (RF-3091) TogglePanel
by Aleksej Yanul (JIRA)
TogglePanel
-----------
Key: RF-3091
URL: http://jira.jboss.com/jira/browse/RF-3091
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.1.5
Reporter: Aleksej Yanul
Assigned To: Nick Belaevski
1. Open togglepanel
2. Press in heading Next, Next
3. Select ajax
4. Press in heading Next, Next
//
java.lang.NullPointerException
org.richfaces.component.UISwitchablePanel.broadcast(UISwitchablePanel.java:123)
org.ajax4jsf.component.AjaxViewRoot.processEvents(AjaxViewRoot.java:184)
org.ajax4jsf.component.AjaxViewRoot.broadcastEvents(AjaxViewRoot.java:162)
org.ajax4jsf.component.AjaxViewRoot.processUpdates(AjaxViewRoot.java:309)
com.sun.faces.lifecycle.UpdateModelValuesPhase.execute(UpdateModelValuesPhase.java:101)
com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:245)
com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:110)
javax.faces.webapp.FacesServlet.service(FacesServlet.java:213)
org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:141)
org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:281)
--
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
15 years, 6 months
[JBoss JIRA] Created: (RF-3016) dataTable: rich:dataTable display wrong under IE, Safari & Opera in case some columns are not rendered inside dataTable.
by Mikhail Vitenkov (JIRA)
dataTable: rich:dataTable display wrong under IE, Safari & Opera in case some columns are not rendered inside dataTable.
------------------------------------------------------------------------------------------------------------------------
Key: RF-3016
URL: http://jira.jboss.com/jira/browse/RF-3016
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.1.5
Environment: IE6, IE7, Safari, Opera
Reporter: Mikhail Vitenkov
Assigned To: Nick Belaevski
Step 1. Create rich:column inside rich:dataTable with rendered="false".
Use following code:
<rich:dataTable id="dataTableID" var="dataTableID" value="#{dataTable.mounths}" rowKeyVar="key"...
...<rich:column id="qty" rendered="true">
<h:outputText value="#{detail.qty}" />
</rich:column>...
</rich:dataTable>
Step 2. Navigate to page contained tested rich:dataTable component.
Step 3. Verify dataTable common view.
Actual behavior:
dataTable component have quite different view under different browsers. For more information see attached dataTable3_1_5.png
--
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
15 years, 6 months
[JBoss JIRA] Created: (RF-1609) a4j:commandLink and h:commandButton doesn't work in data iteration components (rich:dataTable, rich:scrollableDataTable)
by Ivelin Velkov (JIRA)
a4j:commandLink and h:commandButton doesn't work in data iteration components (rich:dataTable, rich:scrollableDataTable)
------------------------------------------------------------------------------------------------------------------------
Key: RF-1609
URL: http://jira.jboss.com/jira/browse/RF-1609
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.1.2
Environment: richfaces-3.1.2.SP1, apache-tomcat 6.0.14, mozilla-firefox-2.0.0.8-1mdv2008.0
Reporter: Ivelin Velkov
Priority: Critical
There is a bug in the data iteration components, the bug can be reproduced by following these steps:
1. open a page in your browser with an empty datatable in it.
I use the following datatable definition in the page:
(the currencyRatesBean#getRates method returns an empty list at this step)
<rich:dataTable id="rateTable" value="#{currencyRatesBean.rates}"
var="rate" rows="50" style="align:center; text-align:center"
rowClasses="align:center; text-align:center">
<f:facet name="header">
<h:outputFormat value="Currency rates" />
</f:facet>
<rich:column id="actionColumn">
<f:facet name="header">
<h:outputText value="Action" />
</f:facet>
<a4j:commandLink id="remove" action="#{currencyRatesBean.remove}"
value="delete" reRender="rateTable" />
</rich:column>
</rich:dataTable>
2. Rerender the datatable component and populate it.
I do it this way:
<a4j:commandButton styleClass="button"
value="Fetch" reRender="rateTable"/>
(the currencyRatesBean#getRates does not return an empty list at this step)
Clicking on the commandLinks in the populated datatable doesn't invoke their action methods.
--
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
15 years, 6 months