[JBoss JIRA] Created: (RF-2374) Draggable components and OS objects
by Nick Belaevski (JIRA)
Draggable components and OS objects
-----------------------------------
Key: RF-2374
URL: http://jira.jboss.com/jira/browse/RF-2374
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.2.0
Reporter: Nick Belaevski
Assigned To: Nick Belaevski
Fix For: 3.2.0
OS-drawn objects (APPLET, OBJECT, etc.) have multiple issues with draggable components. The issue can be fixed by supplying IFRAME under component's node. As for now, IFRAME is supplied for IE6 only. Fix the issue for another browsers:
- Check whether APPLET & "native" OBJECT elements (e.g. http://jira.jboss.com/jira/browse/RF-100 ) are presented on the page
- Create shimming IFRAME if some mentioned objects detected
- As detection of such objects can be done after full document load only, than we should provide special switch attribute to components that can be shown opened on page load (modalPanel with showWhenRendered="true")
--
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
13 years, 10 months
[JBoss JIRA] Created: (RF-6450) DataTable: add ajax sort event/request customization
by Gerrit Brehmer (JIRA)
DataTable: add ajax sort event/request customization
----------------------------------------------------
Key: RF-6450
URL: https://jira.jboss.org/jira/browse/RF-6450
Project: RichFaces
Issue Type: Feature Request
Affects Versions: 3.2.2
Environment: JSF Sun RI 1.2_12, RichFaces 3.2.2
Reporter: Gerrit Brehmer
We need the common RichFaces ajax-request parameters like ajaxSingle or onSubmit for column sorting feature. Otherwise we get thread-safety problems, because if i click sort icon on one column and right after that (before response from first click arrived) click on another column-sort-icon. Because we have input fields in some columns, the values will be set to the wrong entries, because generated client-ids which will be sent by the second request are generated before response and new ids of the first request are applied to the table on client side. But during the second request, the table is already sorted (first column) in the backend. If we can drop applying table values or show a modalPanel on submit, we could avoid this thread/concurrent request related problems.
--
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
13 years, 10 months
[JBoss JIRA] Created: (RF-4524) Rich data table commits entire form when sorting is used.
by Sergey Halipov (JIRA)
Rich data table commits entire form when sorting is used.
---------------------------------------------------------
Key: RF-4524
URL: https://jira.jboss.org/jira/browse/RF-4524
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.2.1
Reporter: Sergey Halipov
<h:form>
<h:inputText required="true" id="test" value="#{bean.test}" />
<rich:message for="test" />
<rich:dataTable value="#{product.vehicleInfos}" var="vehicle" styleClass="width100proc"
style="text-align: center;" id="vehicleList"
reRender="vehicleList" ajaxSingle="true" >
<rich:column style="width: 40%;" sortBy="#{vehicle.model}" >
<f:facet name="header" >
<h:outputText value="${msg['transferBestOffer.result.vehicleModel']}" />
</f:facet>
#{vehicle.model}
</rich:column>
.................
</rich:dataTable>
</h:form>
When I click column header table is resorted as expected but entire form is submitted so there are unneeded validation messages for required inputs outside 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
13 years, 10 months
[JBoss JIRA] Created: (RF-2560) It's not possible to create menu items with the help of <a4j:repeat />
by Bj?rn Weinbrenner (JIRA)
It's not possible to create menu items with the help of <a4j:repeat />
----------------------------------------------------------------------
Key: RF-2560
URL: http://jira.jboss.com/jira/browse/RF-2560
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.1.4
Environment: windows, jboss, ff/ie, jsf ri
Reporter: Bj?rn Weinbrenner
It seems that its not possible to use <ui:repeat /> or <a4j:repeat /> to create menus. if you iterate to add menuItems to a a menu e.g. contextmenu they won't appear.
That seems to depend on the implementation of org.richfaces.renderkit.html.AbstractMenuRenderer
Only direct children are search for items. Repeat-Components are ignored and their childs aren't found.
public void encodeItems(FacesContext context, UIComponent component) throws IOException {
List kids = component.getChildren();
Iterator it = kids.iterator();
while (it.hasNext()) {
UIComponent kid = (UIComponent)it.next();
if (kid instanceof UIMenuGroup || kid instanceof UIMenuItem || kid instanceof UIMenuSeparator) {
renderChild(context, kid);
}
}
}
--
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
13 years, 10 months
[JBoss JIRA] Created: (RF-6456) SuggestionAction called twice during request if usingSuggestObjects = true
by Gerrit Brehmer (JIRA)
SuggestionAction called twice during request if usingSuggestObjects = true
--------------------------------------------------------------------------
Key: RF-6456
URL: https://jira.jboss.org/jira/browse/RF-6456
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.3.0
Reporter: Gerrit Brehmer
SuggestionAction is called twice, if usingSuggestObjects is activated. I looked into the sourcecode and found the two calls:
# Action with value from request/input field (method setupValue - setValue(suggestingAction.invoke(context.getELContext(), new Object[]{submittedValue}));)
# Action with "null" as string (method getRequestValuesData - setValue(suggestingAction.invoke(context.getELContext(), new Object[]{requestedValue}));)
(SourceCode from UiSuggestionAction.java Tag 3.3.0)
Is the second call really necessary? Because we call an expensive backend method (200ms - 7000ms for address suggest) this makes a noticable delay for the user
Our workaround is to return an empty list for the second call, which doesn't change the behaviour
--
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
13 years, 10 months