[JBoss JIRA] Created: (RF-3427) component control not working on oncomplete event
by Ilya Shaikovsky (JIRA)
component control not working on oncomplete event
-------------------------------------------------
Key: RF-3427
URL: http://jira.jboss.com/jira/browse/RF-3427
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.2.1
Reporter: Ilya Shaikovsky
Assigned To: Nick Belaevski
<a4j:commandButton value="Show Current Selection" reRender="table"
action="#{dataTableScrollerBean.takeSelection}" id="button">
<rich:componentControl attachTo="button" for="panel" event="oncomplete" operation="show" />
</a4j:commandButton>
doesn't works but
<a4j:commandButton value="Show Current Selection" reRender="table"
action="#{dataTableScrollerBean.takeSelection}"
oncomplete="javascript:Richfaces.showModalPanel('panel');"/>
works fine.
--
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, 5 months
[JBoss JIRA] Created: (RF-7526) Two use cases when rich:suggestion is displayed at the same time when the "for" field is re-rendered and a lot of related problems
by Konstantin Spirov (JIRA)
Two use cases when rich:suggestion is displayed at the same time when the "for" field is re-rendered and a lot of related problems
-------------------------------------------------------------------------------------------------------------------------------------
Key: RF-7526
URL: https://jira.jboss.org/jira/browse/RF-7526
Project: RichFaces
Issue Type: Bug
Components: component-input
Affects Versions: 3.3.1
Reporter: Konstantin Spirov
Wrong position of the suggestion box, that happens always in Mozilla & Opera - see the screenshots (in MSIE 8 you get JavaScript error in framework.pack.js instead).
I am sending you as attachment a simple example (based on RichInput:SuggestionBox:ObjectsUsageExample). If you prefer to reconstruct it from your local copy of RichInput:SuggestionBox:ObjectsUsageExample, it is very easy. Just in rich:suggestion near for="statesinput" add reRender="statesinput" and the problem will appear.
This bug is more deep then the concrete problem. Let me describe one meaningful and very important from business point of view scenario:
Think we have not reRender="xxx" atribute in <rich:suggestionbox >, instead of this we combine the <h:inputText id="xxx"...> with
<a4j:support reRender="xxx" event="onblur"...>
In such scenario the same problem happens, but not always (from time to time - about 5% in my production when the "button" is pressed which is very nasty for the users). Surround everything
in a4j:queue doesn't help, the problem happens in both modes.
I hope you will agree that we often need reRender the field from <a4j:support...> (for example when the business logic on the server corrects the data automatically after the user input).
This is the the exact problem (very major for us), but I am reporting it in a bit different form, because it gives you easier and always repeatable scenario.
--
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
15 years, 5 months
[JBoss JIRA] Created: (RF-7456) rich:pickList crashing when associated with a variable for selected items
by Ruben Jorge (JIRA)
rich:pickList crashing when associated with a variable for selected items
-------------------------------------------------------------------------
Key: RF-7456
URL: https://jira.jboss.org/jira/browse/RF-7456
Project: RichFaces
Issue Type: Bug
Components: component
Affects Versions: 3.3.1
Environment: Windows Vista x64, WebLogic application server
Reporter: Ruben Jorge
rich:pickList works fine getting the option values from a variable, but if I associate it with a value (so that I can access the selected values), it crashes.
The XML code I've tried is the following:
[code]
<rich:pickList value="#{SessionBean.tempSelectedValues}" copyAllControlLabel="Add all" copyControlLabel="Add">
<f:selectItems value="#{SessionBean.tempDistincts}"/>
</rich:pickList>
[/code]
tempDistincts and tempSelectedValues are defined as:
[code]
private List<SelectItem> tempDistincts = new ArrayList<SelectItem>();
private List<String> tempSelectedValues = new ArrayList<String>();
[/code]
If I remove the "value" attribute from the pickList, the option values are presented correctly, otherwise, the following error is generated:
[code]
java.lang.NullPointerException
at org.ajax4jsf.util.ELUtils.getGenericCollectionType(ELUtils.java:144)
at org.ajax4jsf.util.ELUtils.getContainerClass(ELUtils.java:174)
at org.richfaces.component.UIPickList.getConverterForValue(UIPickList.java:93)
at org.richfaces.component.UIPickList.getConverter(UIPickList.java:72)
at org.richfaces.renderkit.PickListRenderer.encodeRows(PickListRenderer.java:245)
at org.richfaces.renderkit.PickListRenderer.encodeSourceRows(PickListRenderer.java:359)
at org.richfaces.renderkit.html.PickListRendererGen.doEncodeChildren(PickListRendererGen.java:371)
at org.richfaces.renderkit.html.PickListRendererGen.doEncodeChildren(PickListRendererGen.java:279)
at org.ajax4jsf.renderkit.RendererBase.encodeChildren(RendererBase.java:120)
at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:826)
at org.ajax4jsf.renderkit.RendererBase.renderChild(RendererBase.java:277)
at org.ajax4jsf.renderkit.RendererBase.renderChildren(RendererBase.java:258)
at org.richfaces.renderkit.html.ModalPanelRenderer.doEncodeChildren(ModalPanelRenderer.java:387)
at org.richfaces.renderkit.html.ModalPanelRenderer.doEncodeChildren(ModalPanelRenderer.java:382)
at org.ajax4jsf.renderkit.RendererBase.encodeChildren(RendererBase.java:120)
at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:826)
at javax.faces.component.UIComponent.encodeAll(UIComponent.java:936)
at javax.faces.render.Renderer.encodeChildren(Renderer.java:148)
at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:826)
at org.ajax4jsf.renderkit.RendererBase.renderChild(RendererBase.java:277)
at org.ajax4jsf.renderkit.RendererBase.renderChildren(RendererBase.java:258)
at org.richfaces.renderkit.html.PanelRenderer.doEncodeChildren(PanelRenderer.java:220)
at org.richfaces.renderkit.html.PanelRenderer.doEncodeChildren(PanelRenderer.java:215)
at org.ajax4jsf.renderkit.RendererBase.encodeChildren(RendererBase.java:120)
at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:826)
at javax.faces.component.UIComponent.encodeAll(UIComponent.java:936)
at javax.faces.component.UIComponent.encodeAll(UIComponent.java:942)
at javax.faces.component.UIComponent.encodeAll(UIComponent.java:942)
at com.sun.faces.application.ViewHandlerImpl.doRenderView(ViewHandlerImpl.java:273)
at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:204)
at org.ajax4jsf.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:100)
at org.ajax4jsf.application.AjaxViewHandler.renderView(AjaxViewHandler.java:176)
at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:110)
at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100)
at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:266)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:22
7)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:178)
at org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java:290)
at org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(BaseFilter.java:368)
at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:495)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.
java:3496)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(Unknown Source)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2180)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2086)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1406)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
[/code]
Also tried using 3.3.2-snapshot.
--
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
15 years, 5 months
[JBoss JIRA] Created: (RF-7383) dropDownMenu: menuGroupItem is displayed incorrectly with attribute disabled="true"
by Vadim Mikovoz (JIRA)
dropDownMenu: menuGroupItem is displayed incorrectly with attribute disabled="true"
-----------------------------------------------------------------------------------
Key: RF-7383
URL: https://jira.jboss.org/jira/browse/RF-7383
Project: RichFaces
Issue Type: Bug
Components: component-menu
Affects Versions: 3.3.2.CR1
Environment: all provided browsers
v.3.3.2-SNAPSHOT
Reporter: Vadim Mikovoz
Assignee: Nick Belaevski
Priority: Minor
add code:
<rich:dropDownMenu value="my Menu">
<rich:menuItem value="1"></rich:menuItem>
<rich:menuItem value="2"></rich:menuItem>
<rich:menuGroup disabled="true" value="3">
<rich:menuItem value="3.1"></rich:menuItem>
<rich:menuItem value="3.2"></rich:menuItem>
<rich:menuItem value="3.3"></rich:menuItem>
</rich:menuGroup>
<rich:menuItem value="4"></rich:menuItem>
</rich:dropDownMenu>
1. Open test page
2. Call dropDownMenu
--------------------------------
disabled menuGroup item is displayed in wrong place
3. Move mouse over menuGroup item
----------------------------------------------------
item became enable
--
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
15 years, 5 months
[JBoss JIRA] Created: (RF-7286) comboBox: onchange event isn't triggered first time and if you type smth and lose focus
by Vadim Mikovoz (JIRA)
comboBox: onchange event isn't triggered first time and if you type smth and lose focus
---------------------------------------------------------------------------------------
Key: RF-7286
URL: https://jira.jboss.org/jira/browse/RF-7286
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.3.2.CR1
Environment: all provided browsers
v.3.3.2-SNAPSHOT
Reporter: Vadim Mikovoz
Assignee: Nick Belaevski
Source:
<rich:comboBox value="#{custom.guestId}" defaultLabel="hello" onchange="console.log('onchange work! ')">
<f:selectItem itemValue="val 1"/>
<f:selectItem itemValue="val 2"/>
<f:selectItem itemValue="val 3"/>
<f:selectItem itemValue="val 4"/>
<f:selectItem itemValue="val 5"/>
</rich:comboBox>
You open comboBox first time:
1. Select item from pop-up (using mouse or keyboard)
2. Move focus from comboBox
-----------------------------------------
Onchange event isn't triggered
1. Type smth in input
2. Move focus from comboBox
------------------------------------------
Onchange event isn't triggered (it was OK in 3.3.0.GA)
--
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
15 years, 5 months
[JBoss JIRA] Created: (RF-7185) Insert: errorContent attribute doesn't work
by Vadim Mikovoz (JIRA)
Insert: errorContent attribute doesn't work
-------------------------------------------
Key: RF-7185
URL: https://jira.jboss.org/jira/browse/RF-7185
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.3.2.CR1
Environment: all browsers
v.3.3.2-SNAPSHOT
Reporter: Vadim Mikovoz
Assignee: Nick Belaevski
Precondition for Insert component:
errorContent="alternative content" and src="non-existent file"
---------------------------------------------------------------------------------
1. Open Insert test page
2. Select 'non-existent src'
------------------------------------
Actual result: Default error message is appeared
Expected result: Content defined in errorContent attribute should be displayed
--
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
15 years, 5 months