[JBoss JIRA] Created: (RF-2302) Component control generates unnecessary JavaScript on page when attachTo attribute is not defined
by Michael Case (JIRA)
Component control generates unnecessary JavaScript on page when attachTo attribute is not defined
-------------------------------------------------------------------------------------------------
Key: RF-2302
URL: http://jira.jboss.com/jira/browse/RF-2302
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.1.4
Environment: jboss-4.2.2.GA
Reporter: Michael Case
Priority: Minor
Per the Component Control docs (http://livedemo.exadel.com/richfaces-demo/richfaces/componentControl.jsf?...) when the attachTo attribute is not defined the event is attached to the parent component. While this behavior does work correctly it still appends the "Richfaces.componentControl.attachEvent........." JavaScript code which is completely unnecessary.
Example Source:
<h:outputLink value="#">
My Link
<rich:componentControl for="myModalPanel" operation="show" event="onclick" disableDefault="true"/>
</h:outputLink>
Example Expected Result:
<a href="#" onclick="Richfaces.componentControl.performOperation(event,'#myModalPanel','show',{},true)">My Link</a>
Example Actual Result:
<a href="#" onclick="Richfaces.componentControl.performOperation(event,'#myModalPanel','show',{},true)">My Link<script type="text/javascript">//<![CDATA[
{
Richfaces.componentControl.attachEvent(
'#', 'onclick', '#myModalPanel', 'show', {}, true );
}
//]]></script></a>
--
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, 11 months
[JBoss JIRA] Created: (RF-3686) listShuttle and s:entityConverter
by Marcell Barbacena (JIRA)
listShuttle and s:entityConverter
----------------------------------
Key: RF-3686
URL: http://jira.jboss.com/jira/browse/RF-3686
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.2.1
Environment: JBoss 4.2 GA, Seam 2.0.2.SP1
Reporter: Marcell Barbacena
Using s:entityConverter with listShuttle is losing managed entity having to do lots of queries after ajax event. Code:
<rich:listShuttle id="selectionId" sourceValue="#{someAction.objectAvaliable}"
targetValue="#{bean.selected}" var="obj"
copyControlLabel="Copy" removeControlLabel="Remove"
copyAllControlLabel="Copy All" removeAllControlLabel="Remove All"
orderControlsVisible="false" fastOrderControlsVisible="false"
sourceCaptionLabel="Avaliable" targetCaptionLabel="Selected" >
<s:convertEntity />
<rich:column>
<f:facet name="header">
Number
</f:facet>
<h:outputText value="#{obj.numero}" />
</rich:column>
<a4j:support event="onlistchanged" reRender="counter" action="#{someAction.touch}" />
</rich:listShuttle>
--
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, 11 months
[JBoss JIRA] Created: (RF-2517) Drag-n-Drop between Tree and a Panel with drag/dropSupport
by Ralf Loechte (JIRA)
Drag-n-Drop between Tree and a Panel with drag/dropSupport
----------------------------------------------------------
Key: RF-2517
URL: http://jira.jboss.com/jira/browse/RF-2517
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.1.4
Reporter: Ralf Loechte
Fix For: 3.2.0
I have a rich:tree with drag-n-drop and a panel with dropSupport plus a dataTable which columns have a dragSupport. The tree lies in a t:div with style overflow=auto to be srollable in case that the tree becomes very big. Dragging elements between the tree and the panel works fine but once you drag/drop an element within the tree you cannot drag/drop elements between the tree and the panel. It seems to be that the drag-elements will be droped on the tree even the mouse is over the drop-panel. Astonishingly It works if you remove overflow=auto in the div.
<t:div style="overflow=auto;">
<rich:tree>
...
</t:div>
<t:div>
<rich:panel>
<rich:dropSupport>
...
</rich:dropSupport>
<h:dataTable ...>
<h:column ...>
<a4j:outputPanel>
<rich:dragSupport ...>
</rich:dragSupport>
<h:outputText ...>
</a4j:outputPanel>
</h:column>
</h:dataTable>
</rich:panel>
</t:div>
--
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, 11 months