[JBoss JIRA] Created: (RF-3674) Cannot prevent node selection in rich:tree via onselected
by Bjoern Eickvonder (JIRA)
Cannot prevent node selection in rich:tree via onselected
---------------------------------------------------------
Key: RF-3674
URL: http://jira.jboss.com/jira/browse/RF-3674
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.2.1
Reporter: Bjoern Eickvonder
Since RF 3.2.1 it is longer possible to prevent node selection by setting "onselected='return false;'".
To be more precise if a node A is selected and the user tries to select a node B whose onselected method returns false, node A is toggled, then node B and again node A (see tree.js and tree-item.js). So far it works, the problem is that the selectedTextClassNames of B are not reset, such that visually A and B seem to be selected afterwards.
Reason for this is that selectedTextClassNames are added to previousTextClassNames on selection but not removed from this string on deselect, such that if the user moves out from the node B appears to be selected as well.
This could be fixed quite simple by adjusting the deselect method in tree-item.js as follows:
deselect: function() {
var eText = this.elements.textElement;
if (this.selectedTextClassNames) {
var classNames = this.selectedTextClassNames.split(' ')
for (var i = 0; i < classNames.length; i++) {
Element.removeClassName(eText, classNames[i]);
}
if (this.previousTextClassNames && this.previousTextClassNames.indexOf(this.selectedTextClassNames)!=-1) {
this.previousTextClassNames = this.previousTextClassNames.substring(0,this.previousTextClassNames.indexOf(this.selectedTextClassNames));
}
}
},
--
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-3340) tree: javax.faces.FacesException: Exception while validating component
by Aleksej Yanul (JIRA)
tree: javax.faces.FacesException: Exception while validating component
----------------------------------------------------------------------
Key: RF-3340
URL: http://jira.jboss.com/jira/browse/RF-3340
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.2.1
Environment: myfaces 1.2.2
Reporter: Aleksej Yanul
Assigned To: Nick Belaevski
Priority: Critical
Is reproduced when in treeNode to add ajaxSingle = "true"
1. open tree
2. expand node
3. to move node
<rich:tree id="tree" switchType="#{bean.switchType}" value="#{bean.data}" var="data" selectedClass="#{style.selectedClass}" styleClass="#{style.styleClass}" style="#{style.style}" highlightedClass="#{style.highlightedClass}"
nodeFace="#{data.name != 'param-value' ? 'input' : 'text'}" changeExpandListener="#{bean.onExpand}"
nodeSelectListener="#{bean.onSelect}" binding="#{bean.tree}" onselected="window.status='selectedNode: '+event.selectedNode;"
onexpand="window.status='expandedNode: '+event.expandedNode" oncollapse="window.status='collapsedNode: '+ event.collapsedNode"
ajaxSubmitSelection="true" reRender="outputText, selectOneListbox" preserveModel="none" dragIndicator="treeIndicator"
immediate="false" acceptedTypes="file1" dragType="#{bean.dragOn ? 'file1' : ''}" icon="#{bean.icon}" dropListener="#{bean.processDrop}">
<rich:dndParam name="treeParam" value="Tree Parameter" />
<rich:dndParam name="accept" value="accept" />
<rich:treeNode type="input" dropListener="#{bean.processDrop}" ajaxSingle="true"
oncollapse="Element.removeClassName(event['treeItem'].getElement(), 'colored')"
onexpand="Element.addClassName(event['treeItem'].getElement(), 'colored')" >
<h:outputText value="#{data} : " />
<h:inputText value="#{data.name}" required="true" styleClass="inputs">
</h:inputText>
<rich:dndParam name="nodeParam" value="Node Parameter" />
</rich:treeNode>
<rich:treeNode type="text" nodeClass="customNode" acceptedTypes="file2" onselected="return false;">
<h:outputText value="#{data}" />
</rich:treeNode>
</rich:tree>
////////////////////////////////////////////////////////
javax.faces.FacesException: javax.faces.FacesException: Exception while validating component with path : {Component-Path : [Class: org.ajax4jsf.component.AjaxViewRoot,ViewId: /Tree/Tree.jsp][Class: javax.faces.component.html.HtmlForm,Id: j_id_jsp_1410692482_1][Class: org.richfaces.component.html.HtmlTree,Id: tree][Class: org.richfaces.component.html.HtmlTreeNode,Id: j_id_jsp_1410692482_7][Class: javax.faces.component.html.HtmlInputText,Id: j_id_jsp_1410692482_9]}
at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:155)
at javax.faces.component.UIComponentBase.invokeOnComponent(UIComponentBase.java:260)
at org.richfaces.component.UITree.invokeOnComponent(UITree.java:971)
at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:161)
at javax.faces.component.UIComponentBase.invokeOnComponent(UIComponentBase.java:260)
at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:161)
at javax.faces.component.UIComponentBase.invokeOnComponent(UIComponentBase.java:260)
at org.ajax4jsf.component.AjaxViewRoot.processPhase(AjaxViewRoot.java:238)
at org.ajax4jsf.component.AjaxViewRoot.processValidators(AjaxViewRoot.java:451)
at org.apache.myfaces.lifecycle.ProcessValidationsExecutor.execute(ProcessValidationsExecutor.java:32)
at org.apache.myfaces.lifecycle.LifecycleImpl.executePhase(LifecycleImpl.java:103)
at org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:76)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:148)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:154)
at org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java:260)
at org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(BaseFilter.java:366)
at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:493)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:147)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:261)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:581)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Thread.java:595)
Caused by: javax.faces.FacesException: Exception while validating component with path : {Component-Path : [Class: org.ajax4jsf.component.AjaxViewRoot,ViewId: /Tree/Tree.jsp][Class: javax.faces.component.html.HtmlForm,Id: j_id_jsp_1410692482_1][Class: org.richfaces.component.html.HtmlTree,Id: tree][Class: org.richfaces.component.html.HtmlTreeNode,Id: j_id_jsp_1410692482_7][Class: javax.faces.component.html.HtmlInputText,Id: j_id_jsp_1410692482_9]}
at javax.faces.component.UIInput.validate(UIInput.java:346)
at javax.faces.component.UIInput.processValidators(UIInput.java:144)
at javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:658)
at org.ajax4jsf.component.AjaxViewRoot$3.invokeContextCallback(AjaxViewRoot.java:435)
at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:152)
... 33 more
Caused by: org.apache.jasper.el.JspPropertyNotFoundException: /Tree/Tree.jsp(31,4) '#{data.name}' Target Unreachable, identifier 'data' resolved to null
at org.apache.jasper.el.JspValueExpression.getType(JspValueExpression.java:61)
at org.apache.myfaces.shared_impl.renderkit._SharedRendererUtils.findUIOutputConverter(_SharedRendererUtils.java:58)
at org.apache.myfaces.shared_impl.renderkit.RendererUtils.findUIOutputConverter(RendererUtils.java:391)
at org.apache.myfaces.shared_impl.renderkit.RendererUtils.getConvertedUIOutputValue(RendererUtils.java:743)
at org.apache.myfaces.shared_impl.renderkit.html.HtmlTextRendererBase.getConvertedValue(HtmlTextRendererBase.java:219)
at javax.faces.component.UIInput.getConvertedValue(UIInput.java:380)
at javax.faces.component.UIInput.validate(UIInput.java:328)
... 37 more
--
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-4430) Content of dataTable cells disapears after reRendering rich:column
by Jonas Buechel (JIRA)
Content of dataTable cells disapears after reRendering rich:column
------------------------------------------------------------------
Key: RF-4430
URL: https://jira.jboss.org/jira/browse/RF-4430
Project: RichFaces
Issue Type: Feature Request
Affects Versions: 3.2.1
Environment: IE7
Reporter: Jonas Buechel
The following code works correctly in FF3 and chrome but not in IE7. A javascript error occurs on row click.
In order to fix this in my opinion it would make sense to implement the possibility to reRender rich:columnGroup as well (not only rich:column).
(another forum discussion: http://www.jboss.com/index.html?module=bb&op=viewtopic&t=141675)
<pre>
<a4j:form>
<rich:dataTable id="tableId" value="#{dataModel}" var="rowObject"
ajaxKeys="#{dataModelManager.ajaxKeys}" rows="#{rowsDisplayed}" width="100%" cellpadding="0"
cellspacing="0">
<!-- Only columns with the given ids are beeing rerendered. -->
<a4j:support event="onRowClick" action="#{dataModelManager.select}"
reRender="nameId" />
<f:facet name="header">
<rich:columnGroup>
<rich:column>
<h:outputText value="#{messages.militaryRole_label_name}" />
</rich:column>
</rich:columnGroup>
</f:facet>
<rich:columnGroup>
<rich:column id="nameId" styleClass="fwc-selectedrow-#{rowObject eq dataModelSelection}">
<h:outputText value="#{rowObject.name}" />
</rich:column>
</rich:columnGroup>
</rich:dataTable>
</a4j:form>
</pre>
--
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, 8 months
[JBoss JIRA] Created: (RF-4187) rich:fileUpload to support portal environment
by egor kolesnikov (JIRA)
rich:fileUpload to support portal environment
---------------------------------------------
Key: RF-4187
URL: https://jira.jboss.org/jira/browse/RF-4187
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.2.1
Environment: JBoss Portal 2.6.5, JBoss AS 4.2.2, PortletBridge 1.0.0.B3, Seam 2.0.2.SP1, JSF RI 1.2, Facelets 1.1.14
Reporter: egor kolesnikov
FileUpload.js' submitForm() method rewrites form action url, violating the JSR-168 specification.
parentForm.action = this.actionUrl + (/\?/.test(this.actionUrl) ? '&_richfaces_upload_uid' : '?_richfaces_upload_uid') + '=' + encodeURI(entry.uid) + "&id=" + this.id + "&_richfaces_upload_file_indicator=true";
Evaluation of this expression leads to Servlet URL, not Portlet Action URL which expected.
Possible solution would be initializing "this.actionUrl" to "parentForm.action" value.
--
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, 8 months
[JBoss JIRA] Created: (RF-3745) Problems with a4j:commandLink, page forwarding and IE7
by Gustavo Ehrhardt (JIRA)
Problems with a4j:commandLink, page forwarding and IE7
------------------------------------------------------
Key: RF-3745
URL: http://jira.jboss.com/jira/browse/RF-3745
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.2.1, 3.1.6
Environment: Mojarra 1.2_07 (RI) or MyFaces 1.1.6
RichFaces 3.2.1 GA or 3.1.6 GA
Tomcat 6.0.14 or 5.5.26
Reporter: Gustavo Ehrhardt
Priority: Minor
I'm experiencing some problems when I use ajax forms on IE7.
My page basically use an a4j:commandLink with some action attribute. This action is described on my faces-config.xml to FORWARD to another page.
It works normally on Firefox and IE6, but doesn't works just on IE7.
The problem don't occurs when changing my navigation rule to REDIRECT to another page. But I couldn't use request scope to my beans (I'm using a4j:KeepAlive).
===============================================
Just a tip:
Use a4j:htmlCommandLink to make page FORWARDS.
That worked to me on IE6, IE7 and FF, but there's no Ajax request. So Ajax stuff doesn't work (e.g. a4j:actionParam and a4j:status).
--
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-3237) When using SuggestionBoxes into a DataTable it only works in the first row
by Oscar De Moya (JIRA)
When using SuggestionBoxes into a DataTable it only works in the first row
--------------------------------------------------------------------------
Key: RF-3237
URL: http://jira.jboss.com/jira/browse/RF-3237
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.2.0.SR1
Environment: Operative System: Windows Vista SP1
Java Version: 1.6.0
Reporter: Oscar De Moya
I'm doing a table with a column of InputTexts and SuggestionBoxes, but the suggestion only appears for the first input and for the others it gives me an "Unspected Error" in IE7 (it doesn't works on firefox neither). There's a portion of the code:
<rich:tab label="Replies">
<rich:dataTable id="replyList" value="#{mbUser.userReplyList}" var="userReply" rowClasses="cursor_hand"
rowKeyVar="rowIndex"
onRowMouseOver="this.style.backgroundColor='#F1F1F1'"
onRowMouseOut="this.style.backgroundColor='#{a4jSkin.tableBackgroundColor}'">
<h:column>
<h:panelGroup>
<h:inputText id="attribute" value="#{userReply.attribute}" />
<rich:suggestionbox id="replySuggestions" for="attribute" width="100" height="100"
suggestionAction="#{mbUser.autocompleteUsers}" var="user"
selfRendered="false">
<h:column>
<h:outputText id="out" value="#{user.userName}" />
</h:column>
</rich:suggestionbox>
</h:panelGroup>
</h:column>
<h:column>
<rich:inplaceSelect defaultLabel="#{userReply.operator}"
viewClass="inplace" changedClass="inplace" layout="block"
changedHoverClass="inplace_hover" viewHoverClass="inplace_hover">
<f:selectItem itemValue="0" itemLabel="==" />
<f:selectItem itemValue="1" itemLabel="!=" />
<f:selectItem itemValue="2" itemLabel=">" />
</rich:inplaceSelect>
<f:facet name="footer">
<h:panelGroup>
<rich:inplaceSelect
viewClass="inplace" changedClass="inplace" layout="block"
changedHoverClass="inplace_hover" viewHoverClass="inplace_hover">
<f:selectItem itemValue="0" itemLabel="==" />
<f:selectItem itemValue="1" itemLabel="!=" />
<f:selectItem itemValue="2" itemLabel=">" />
</rich:inplaceSelect>
</h:panelGroup>
</f:facet>
</h:column>
<h:column>
<rich:inplaceInput value="#{userReply.value}" layout="block"
viewClass="inplace" changedClass="inplace"
changedHoverClass="inplace_hover" viewHoverClass="inplace_hover" />
<f:facet name="footer">
<rich:inplaceInput layout="block"
viewClass="inplace" changedClass="inplace"
changedHoverClass="inplace_hover" viewHoverClass="inplace_hover" />
</f:facet>
</h:column>
<rich:componentControl event="onRowClick">
<f:param value="#{userReply.id}" name="userReplyId" />
</rich:componentControl>
</rich:dataTable>
</rich:tab>
--
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-3380) Tag a4j:support +rich:datatable in IE7
by Ananda Debnath (JIRA)
Tag a4j:support +rich:datatable in IE7
--------------------------------------
Key: RF-3380
URL: http://jira.jboss.com/jira/browse/RF-3380
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.1.4
Environment: Windows XP, JBoss 4.2.0 GA, FireFox 2.0.0.14, Internet Explorer 7.0.5730.13CO, Safari 3.1.1 (on Mac OS X 10.5.2)
Reporter: Ananda Debnath
I'm trying to implement a UI that uses a rich:datatable object. When the user clicks a row in the datatable, the details of the clicked item has to be displayed in a different part of the page. Searching through the JIRA pages has yielded some clues on how to make this happen... except that the approach that seems to work for FF and Safari, doesn't seem to work with IE 7.0.
Here's my code:
The JSF page:
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:a4j="http://richfaces.org/a4j"
xmlns:rich="http://richfaces.org/rich"
xmlns:f="http://java.sun.com/jsf/core">
<f:view>
<h:form id="scratchListForm">
<rich:panel header="List" id="list">
<rich:dataTable value="#{RichDataTableRowClickBean.rows}"
var="row" id="listTable"
onRowMouseOver="this.style.backgroundColor='#FFFFAA'"
onRowMouseOut="this.style.backgroundColor='#{a4jSkin.tableBackgroundColor}'">
<a4j:support event="onRowClick"
actionListener="#{RichDataTableRowClickBean.rowSelected}"
action="#{RichDataTableRowClickBean.selectRow}">
<f:param value="#{row.id}" name="current" />
</a4j:support>
<rich:column id="id">#{row.id}</rich:column>
<rich:column id="name">#{row.name}</rich:column>
</rich:dataTable>
</rich:panel>
</h:form>
</f:view>
</html>
The bean:
package scratch;
import javax.faces.event.ActionEvent;
public class RichDataTableRowClickBean {
private final Row[] rows = { new Row("0", "Zero"), new Row("1", "One"), new Row("2", "Two") };
public Row[] getRows() {
return this.rows;
}
public void rowSelected(ActionEvent event) {
System.out.println(event.getComponent().getId());
System.out.println(event.getComponent().getAttributes());
System.out.println(event.getSource());
System.out.println(event.getPhaseId());
}
public String selectRow() {
System.out.println("row selected");
return null;
}
public static class Row {
String id;
String name;
Row(String id, String name) {
this.id = id;
this.name = name;
}
public String getId() {
return id;
}
public void setId(String id) {
this.id = id;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
}
}
When I click the row in FF/Safari, I get these server side events triggered by means of my System.out's:
12:33:33,707 INFO [STDOUT] j_id1
12:33:33,707 INFO [STDOUT] javax.faces.component.UIComponentBase$AttributesMap@80c55637
12:33:33,707 INFO [STDOUT] org.ajax4jsf.component.html.HtmlAjaxSupport@140d57b
12:33:33,707 INFO [STDOUT] INVOKE_APPLICATION 5
12:33:33,707 INFO [STDOUT] row selected
With IE 7, I see a Javascript error: 'Type mismatch' in a popup box (Line 85, character 452) - I can't find the actual line/char where the error occurs.
Am I missing something obvious? Is there a workaround for IE7?
--
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-4113) IE 7 type mismatch when get 302 redirection
by Tomas Hampl (JIRA)
IE 7 type mismatch when get 302 redirection
-------------------------------------------
Key: RF-4113
URL: https://jira.jboss.org/jira/browse/RF-4113
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.2.2
Environment: windows XP servicepack 3 -> internet explorer 7 browser
Reporter: Tomas Hampl
When session is invalided with spring security . Spring security sends status 302 and redirect to custom page. When I click to open a modal panel and ajax get back 302 redirection there is type mismatch javascript error in Internet explorer, but in firefox works well.
is there any workaround or something ?
Problem is on this line "window.document.open(req.getContentType(),true);" . ("req.getContentType()" is ok)
here is debug output:
debug[15:06:22,252]: Have Event [object Object] with properties: target: [object], srcElement: [object], type: click
debug[15:06:22,252]: NEW AJAX REQUEST !!! with form :j_id16
debug[15:06:22,268]: Append hidden control j_id16:folderTree:j__id50:0::_defaultNodeFaceNodeExpanded with value [false] and value attribute [false]
debug[15:06:22,268]: Append hidden control j_id16:folderTree:j__id50:1::_defaultNodeFaceNodeExpanded with value [false] and value attribute [false]
debug[15:06:22,284]: Append hidden control j_id16:folderTree:j__id50:1:j__id50:0::_defaultNodeFaceNodeExpanded with value [false] and value attribute [false]
debug[15:06:22,284]: Append hidden control j_id16:folderTree:input with value [j_id16:folderTree:j__id50:1::_defaultNodeFace] and value attribute [j_id16:folderTree:j__id50:1::_defaultNodeFace]
debug[15:06:22,299]: Append hidden control j_id16_SUBMIT with value [1] and value attribute [1]
debug[15:06:22,299]: Append hidden control javax.faces.ViewState with value [VWVnSkh++7wEiAwpAMM+MtuU9eaGfD3Q60e5hNQHw/niFHXZVXk/FGv4cR4XOgWPAYrhd8JH48HNyraATgehx1EqghLjL+nUGGwwHsa6hNLtJsA1TnvwGJeUZ1bKSqKi] and value attribute [VWVnSkh++7wEiAwpAMM+MtuU9eaGfD3Q60e5hNQHw/niFHXZVXk/FGv4cR4XOgWPAYrhd8JH48HNyraATgehx1EqghLjL+nUGGwwHsa6hNLtJsA1TnvwGJeUZ1bKSqKi]
debug[15:06:22,315]: parameter ajaxSingle with value j_id16:folderTree
debug[15:06:22,315]: parameter j_id16:folderTree:selectedNode with value j_id16:folderTree:j__id50:1::_defaultNodeFace
debug[15:06:22,330]: Start XmlHttpRequest
debug[15:06:22,346]: Reqest state : 1
debug[15:06:22,346]: QueryString: AJAXREQUEST=_viewRoot&j_id16%3AfolderTree%3Aj__id50%3A0%3A%3A_defaultNodeFaceNodeExpanded=false&j_id16%3AfolderTree%3Aj__id50%3A1%3A%3A_defaultNodeFaceNodeExpanded=false&j_id16%3AfolderTree%3Aj__id50%3A1%3Aj__id50%3A0%3A%3A_defaultNodeFaceNodeExpanded=false&j_id16%3AfolderTree%3Ainput=j_id16%3AfolderTree%3Aj__id50%3A1%3A%3A_defaultNodeFace&j_id16_SUBMIT=1&javax.faces.ViewState=VWVnSkh%2B%2B7wEiAwpAMM%2BMtuU9eaGfD3Q60e5hNQHw%2FniFHXZVXk%2FFGv4cR4XOgWPAYrhd8JH48HNyraATgehx1EqghLjL%2BnUGGwwHsa6hNLtJsA1TnvwGJeUZ1bKSqKi&ajaxSingle=j_id16%3AfolderTree&j_id16%3AfolderTree%3AselectedNode=j_id16%3AfolderTree%3Aj__id50%3A1%3A%3A_defaultNodeFace&
debug[15:06:22,487]: Reqest state : 2
debug[15:06:22,487]: Reqest state : 3
debug[15:06:22,502]: Reqest state : 4
debug[15:06:22,502]: Reqest end with state 4
debug[15:06:22,518]: Response with content-type: text/html;charset=UTF-8
debug[15:06:22,518]: Full response content:
<html xmlns="http://www.w3.org/1999/xhtml"><head> <title></title> </head>
<body> text </body></html>
warn[15:06:22,534]: No ajax response header
debug[15:06:22,534]: Header Location not found, search in <meta>
debug[15:06:22,549]: replace all page content with response
debug[15:06:22,549]: setup custom document.open method
debug[15:06:22,627]: exception during write page content undefined
debug[15:06:22,643]: response has parsed as DOM documnet.
debug[15:06:22,721]: append new node in documen
--
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-3458) Placing dragSupport inside simpleTogglePanel creates problems on firefox
by Hajo Krabbenhöft (JIRA)
Placing dragSupport inside simpleTogglePanel creates problems on firefox
------------------------------------------------------------------------
Key: RF-3458
URL: http://jira.jboss.com/jira/browse/RF-3458
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.2.0
Environment: JBoss AS 4.2.2.GA
RichFaces 3.2.0 SR1
WinXP Pro SP2
Reporter: Hajo Krabbenhöft
When i place an dragSupport inside a simpleTogglePanel with opened="false" set, on firefox, it will only work when i start dragging from text.
when i start dragging from besides the text, i will see the black dotted box drag indicator and it will not turn green when i hover over the drop zone.
it works fine in both cases on internet explorer.
when i convert the rich:simpleTogglePanel to a rich:panel, it works fine on both browsers.
problem:
<rich:simpleTogglePanel label="#{curTagGroup.name}"
switchType="client" style="width: 274px;" opened="false">
<ui:repeat value="#{curTagGroup.tags}" var="curTag">
<a4j:outputPanel styleClass="draggable-tag" onmouseover="#{mouseover}" onmouseout="#{mouseout}" layout="block">
<h:outputText value="#{curTag.name}"/>
<rich:dragSupport dragType="tag" dragValue="#{curTag}" />
</a4j:outputPanel>
</ui:repeat>
</rich:simpleTogglePanel>
works fine:
<rich:panel header="#{curTagGroup.name}"
switchType="client" style="width: 274px;">
<ui:repeat value="#{curTagGroup.tags}" var="curTag">
<a4j:outputPanel styleClass="draggable-tag" onmouseover="#{mouseover}" onmouseout="#{mouseout}" layout="block">
<h:outputText value="#{curTag.name}"/>
<rich:dragSupport dragType="tag" dragValue="#{curTag}" />
</a4j:outputPanel>
</ui:repeat>
</rich:panel>
as i said before, on ie it works on both cases as well as on firefox when you drag the div somwhere where its being overlayed by text.
--
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