[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
[JBoss JIRA] Created: (RF-5290) FileUpload component with flash turned fails to upload in SSL mode with self signed certificate
by Brian Couchman (JIRA)
FileUpload component with flash turned fails to upload in SSL mode with self signed certificate
-----------------------------------------------------------------------------------------------
Key: RF-5290
URL: https://jira.jboss.org/jira/browse/RF-5290
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.2.2
Environment: Richfaces 3.2.2SR1
MyFaces 1.2.5
Tomahawk 1.1.8
Tomcat 6 on windows
HTTPS with a self signed certificate, on Firefox
Reporter: Brian Couchman
When usign the file upload component with flash turned on, I have an issue with Firefox 3 (I don't know for sure with IE but it's probably the same).
My server has a self signed certificate valid for localhost and I'm accessing my page using a local IP (10.160.x.x). Firefox complains about a non valid SSL certificate and offers me to get the certificate add an exception. The page loads fine.
But on uploading, the upload fails with the message "Transfer error occured" (see screenshot)
If I access the page with HTTP (no SSL), it works fine.
See enclosed the screenshots from Charles (web proxy) that shows that the request initiated by the flash object failed the SSL handshake (CONNECT).
Not sure if it is a flash / firefox issue (see http://www.kahunaburger.com/2007/10/31/flex-uploads-via-httphttps/) or if there is a possible workaround on the Richfaces side.
--
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, 11 months
[JBoss JIRA] Created: (RF-3722) rich:tree inside modalPanel produces Javascript error
by Juergen Zimmermann (JIRA)
rich:tree inside modalPanel produces Javascript error
-----------------------------------------------------
Key: RF-3722
URL: http://jira.jboss.com/jira/browse/RF-3722
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.2.1
Environment: JSF 1.2_09-BETA1, IE 7
Reporter: Juergen Zimmermann
Using rich:tree inside rich:modalPanel yields a Javascript error with IE 7. Using FF 3.0RC3 it works fine.
I'll attach the generated html code.
The tag hierarchy is as follows:
...
<h:column>
<rich:modalPanel id="detailModalPanel" width="400" height="300">
<f:facet name="header">
<h:outputFormat id="detailModalTitle" value="#{i18n['modalPanel.details.title']}">
<f:param id="detailModalTitleId" value="#{kunde.id}"/>
</h:outputFormat>
</f:facet>
<f:facet name="controls">
<h:panelGroup>
<h:graphicImage id="closeDetailModalPanel" value="/images/close.png" style="cursor:pointer" alt="#{i18n['modalPanel.button.close']}"/>
<rich:componentControl for="detailModalPanel" attachTo="closeDetailModalPanel" operation="hide" event="onclick"/>
</h:panelGroup>
</f:facet>
<a4j:include viewId="/kundenverwaltung/modalPanel.details.xhtml" />
</rich:modalPanel>
<h:outputLink id="openDetailModalPanel" value="#">
<h:graphicImage id="detailModalIcon" url="/images/details.gif" alt="#{i18n['modalPanel.button.details']}"/>
<rich:componentControl for="detailModalPanel" attachTo="openDetailModalPanel" operation="show" event="onclick"/>
</h:outputLink>
</h:column>
The included modalPanel.details.xhtml looks as follows:
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:rich="http://richfaces.org/rich">
<rich:panelBar>
<rich:panelBarItem>
<f:facet name="label">
<h:panelGroup>
<h:graphicImage value="/images/stammdaten.gif"/>
 
<h:outputText value="#{i18n['panelGridDetails.kunde.stammdaten']}" />
</h:panelGroup>
</f:facet>
<h:panelGrid id="ausgewaehlterKunde"
columns="2"
columnClasses="kundendetailsBezeichner, kundendetailsDaten">
<h:outputText value="#{i18n['panelGridDetails.kunde.id']}"/>
<h:outputText value="#{kunde.id}"/>
<h:outputText value="#{i18n['panelGridDetails.kunde.nachname']}"/>
<h:outputText value="#{kunde.nachname}"/>
<h:outputText value="#{i18n['panelGridDetails.kunde.vorname']}"/>
<h:outputText value="#{kunde.vorname}"/>
<h:outputText value="#{i18n['panelGridDetails.kunde.kategorie']}"/>
<h:outputText value="#{kunde.kategorie}"/>
<h:outputText value="#{i18n['panelGridDetails.kunde.umsatz']}"/>
<h:outputText value="#{kunde.umsatz}">
<f:convertNumber type="currency" currencyCode="EUR"/>
</h:outputText>
<h:outputText value="#{i18n['panelGridDetails.kunde.seit']}"/>
<h:outputText value="#{kunde.seit}"/>
<h:outputText value="#{i18n['panelGridDetails.kunde.email']}"/>
<h:outputText value="#{kunde.email}"/>
<h:outputText value="#{i18n['panelGridDetails.kunde.creditCard']}"
rendered="#{kunde.creditCard ne 'NONE'}"/>
<h:outputText value="#{kunde.creditCard}"
rendered="#{kunde.creditCard ne 'NONE'}"/>
<h:outputText value="#{i18n['panelGridDetails.kunde.creditCardId']}"
rendered="#{kunde.creditCard ne 'NONE'}"/>
<h:outputText value="#{kunde.creditCardId}"
rendered="#{kunde.creditCard ne 'NONE'}"/>
<h:outputText value="#{i18n['panelGridDetails.kunde.art']}"/>
<h:outputText value="#{kunde.art}"/>
<h:outputText value="#{i18n['panelGridDetails.kunde.rabatt']}"
rendered="#{kunde.art eq 'F'}"/>
<h:outputText value="#{kunde.rabatt}"
rendered="#{kunde.art eq 'F'}">
<f:convertNumber type="percent" minFractionDigits="1" maxFractionDigits="2"/>
</h:outputText>
</h:panelGrid>
</rich:panelBarItem>
<rich:panelBarItem rendered="#{not empty kunde.dateiname}">
<f:facet name="label">
<h:panelGroup>
<h:graphicImage value="/images/bild.gif"/>
 
<h:outputText value="#{i18n['panelGridDetails.kunde.bild']}" />
</h:panelGroup>
</f:facet>
<h:graphicImage id="bild"
url="#{initParam.hskaUploadDir}/#{kunde.dateiname}"
alt="#{i18n['panelGridDetails.kunde.bild.alt']}"/>
</rich:panelBarItem>
<rich:panelBarItem rendered="#{not empty kunde.bestellungen}">
<f:facet name="label">
<h:panelGroup>
<h:graphicImage value="/images/bestellungen.gif"/>
 
<h:outputText value="#{i18n['tabelle.kunde.bestellungen']}" />
</h:panelGroup>
</f:facet>
<h:form id="bestellungenForm">
<rich:tree id="bestellungenTree">
<f:facet name="icon">
 
</f:facet>
<f:facet name="iconLeaf">
 
</f:facet>
<rich:treeNodesAdaptor id="bestellungenAdapter"
nodes="#{kunde.bestellungen}"
var="best">
<rich:treeNode id="bestellungKnoten">
<h:outputText value="#{i18n['bestellung']} #{i18n['nr']} #{best.id}"/>
</rich:treeNode>
<rich:treeNodesAdaptor id="bestposAdapter"
nodes="#{best.bestellpositionen}"
var="bp">
<rich:treeNode id="bestposKnoten">
<h:outputText value="#{bp.anzahl} #{bp.artikel.bezeichnung}"/>
</rich:treeNode>
</rich:treeNodesAdaptor>
</rich:treeNodesAdaptor>
</rich:tree>
</h:form>
</rich:panelBarItem>
</rich:panelBar>
</html>
--
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