[JBoss JIRA] Created: (RF-4064) Problem with a4j:commandLink
by Bob Corcoran (JIRA)
Problem with a4j:commandLink
-----------------------------
Key: RF-4064
URL: https://jira.jboss.org/jira/browse/RF-4064
Project: RichFaces
Issue Type: Bug
Environment: Windows
Reporter: Bob Corcoran
Priority: Minor
We have a page with a few a4j:commandLinks as well as an h:inputText and h:inputTextarea, among other markup. It works fine until we add the attribute required="true" to either the inputText or InputTextarea. When we add the required="true" to either the inputText or InputTextarea, one of the a4j:commandLinks's (further up on the page) breaks. It still renders fine, but the method on the backing bean (in this case a SEAM stateful bean) is not called, because the link does not fire. What's even more odd is that the remaining a4j:commandLinks on the page continue to work according to specs. These links are contained in separate rich:column tags.
--
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, 11 months
[JBoss JIRA] Created: (RF-4160) Opening Treenode causes java.lang.NoClassDefFoundError
by Charles Crouch (JIRA)
Opening Treenode causes java.lang.NoClassDefFoundError
------------------------------------------------------
Key: RF-4160
URL: https://jira.jboss.org/jira/browse/RF-4160
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.1.3
Reporter: Charles Crouch
One of our users is hitting a NoClassDefFoundError when opening a Treenode :
10:53:45,561 ERROR [[default]] Servlet.service() for servlet default threw exception
java.lang.NoClassDefFoundError
at sun.java2d.SunGraphicsEnvironment.createGraphics(SunGraphicsEnvironment.java:337)
at java.awt.image.BufferedImage.createGraphics(BufferedImage.java:1143)
at org.ajax4jsf.resource.Java2Dresource.getImage(Java2Dresource.java:115)
at org.ajax4jsf.resource.Java2Dresource.send(Java2Dresource.java:89)
at org.ajax4jsf.resource.ResourceLifecycle.sendResource(ResourceLifecycle.java:223)
at org.ajax4jsf.resource.ResourceLifecycle.send(ResourceLifecycle.java:159)
at org.ajax4jsf.resource.InternetResourceService.load(InternetResourceService.java:336)
at org.ajax4jsf.cache.LRUMapCache.load(LRUMapCache.java:116)
at org.ajax4jsf.cache.LRUMapCache.get(LRUMapCache.java:87)
at org.ajax4jsf.resource.InternetResourceService.serviceResource(InternetResourceService.java:198)
at org.ajax4jsf.resource.InternetResourceService.serviceResource(InternetResourceService.java:144)
at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:265)
at org.jboss.seam.web.Ajax4jsfFilter.doFilter(Ajax4jsfFilter.java:60)
at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
at org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:58)
at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
at org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:158)
We don't want to have everyone set java.awt.headless=true in order to run our app, which does appear to fix this problem.
Are there any other options?
--
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, 11 months
[JBoss JIRA] Created: (RF-4110) rich:inputNumberSpinner is accepting decimal.
by Ranveer Singh (JIRA)
rich:inputNumberSpinner is accepting decimal.
---------------------------------------------
Key: RF-4110
URL: https://jira.jboss.org/jira/browse/RF-4110
Project: RichFaces
Issue Type: Feature Request
Affects Versions: 3.2.0
Environment: Microsoft XP.
Reporter: Ranveer Singh
Priority: Minor
rich:inputNumberSpinner accepts decimal value on tab out. It displays error on console
"[severity=(ERROR 2), summary=(cmdbStatus:cmdbStatusTable:0:j_id63: '0.1' must be a number consisting of one or more digits.), detail=(cmdbStatus:cmdbStatusTable:0:j_id63: '0.1' must be a number between -9223372036854775808 to 9223372036854775807 Example: 98765432)]"
There should be provision in which this should not accept decimal values.
--
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, 11 months
[JBoss JIRA] Created: (RF-4011) rich:modalPanel "width" parameter does NOT work
by Yurii Kartsev (JIRA)
rich:modalPanel "width" parameter does NOT work
-----------------------------------------------
Key: RF-4011
URL: https://jira.jboss.org/jira/browse/RF-4011
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.2.2
Environment: JSF 1.2_07
Facelets 1.1.14
RF: v.3.2.2-SNAPSHOT SVN $Revision: 8947 $ $Date: 2008-06-07 08:39:49 -0400 (Sat, 07 Jun 2008) $
Browser: Mozilla Firefox 2.0.0.16
System: Windows XP SP2
App Server: JBoss 4.2.2 GA
Reporter: Yurii Kartsev
Priority: Critical
The parameter "width" in rich:modalPanel doesn't work. Only "minWidth" works.
Having this example, panel width is 550px:
<rich:modalPanel id="aboutModalBox" minHeight="100" minWidth="550" height="125" width="650" zindex="2000"/>
And having this one, it's 350px:
<rich:modalPanel id="aboutModalBox" minHeight="100" height="125" width="650" zindex="2000">
What's the point?
--
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, 11 months
[JBoss JIRA] Created: (RF-4024) rich:tooltip missing ajaxchild encode code.
by Victor (JIRA)
rich:tooltip missing ajaxchild encode code.
-------------------------------------------
Key: RF-4024
URL: https://jira.jboss.org/jira/browse/RF-4024
Project: RichFaces
Issue Type: Bug
Reporter: Victor
Priority: Critical
on the page:
<rich:tooltip>
<h:panelGroup id="tooltipGroup">
some value outputs
</h:panelGroup>
<rich:tooltip>
<a4j:commandButton reRender="tooltipGroup" ..../>
as result tooltipGroup will not rerender and tooltipGroup missed in the Ajax-Update-Ids
Cause of this issue is following method in the UIToolTip class (notice else clause)
public void encodeAjaxChild(FacesContext context, String path, Set ids,
Set renderedAreas) throws IOException {
if(ids.contains(this.getClientId(context) + "content")){
AjaxContext ajaxContext = AjaxContext.getCurrentInstance(context);
ToolTipRenderer r = (ToolTipRenderer)getRenderer(context);
r.encodeTooltipText(context, this);
ajaxContext.getAjaxRenderedAreas().add(this.getClientId(context) + "content");
} else {
// todo
// AjaxContext ajaxContext = AjaxContext.getCurrentInstance(context);
// ajaxContext.e
}
}
--
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, 11 months
[JBoss JIRA] Created: (RF-3861) toolBarGroup: events do not work for component.
by Alexander Dubovsky (JIRA)
toolBarGroup: events do not work for component.
-----------------------------------------------
Key: RF-3861
URL: http://jira.jboss.com/jira/browse/RF-3861
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.2.2
Reporter: Alexander Dubovsky
Assigned To: Nick Belaevski
Priority: Critical
Events do not work for toolBarGroup component.
Source:
<rich:toolBar>
<rich:toolBarGroup onclick="alert('!!!')"
ondblclick="alert('!!!')"
onkeydown="alert('!!!')"
onkeypress="alert('!!!')"
onkeyup="alert('!!!')"
onmousedown="alert('!!!')"
onmousemove="alert('!!!')"
onmouseout="alert('!!!')"
onmouseover="alert('!!!')"
onmouseup="alert('!!!')">
<h:outputText value="test" />
<h:inputText value="test" />
</rich:toolBarGroup>
</rich:toolBar>
--
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, 11 months
[JBoss JIRA] Created: (RF-3877) Calendar: up and down buttons are displayed incorrectly on the time edit popup
by Tatyana Romanovich (JIRA)
Calendar: up and down buttons are displayed incorrectly on the time edit popup
------------------------------------------------------------------------------
Key: RF-3877
URL: http://jira.jboss.com/jira/browse/RF-3877
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.2.2
Environment: jsp
myfaces
browser: only IE 6
Reporter: Tatyana Romanovich
Assigned To: Anton Belevich
Priority: Minor
Attachments: CalendarCompButtonsOnTheTimeSelect.png
1.Open (create) any JSF Project and add calendar component to the jsf page:
<h:panelGrid id="panel" columns="2">
<a4j:outputPanel id="calendar" layout="block">
<rich:calendar value="#{calendarBean.selectedDate}"
locale="#{calendarBean.locale}"
popup="#{calendarBean.popup}"
datePattern="#{calendarBean.pattern}"
showApplyButton="#{calendarBean.showApply}"
cellWidth="12px" cellHeight="5px"
style="width:400px"/>
</a4j:outputPanel>
</h:panelGrid>
2. Run application on the Tomcat (6.0) or JBoss 4.2 Server
3. Open started application in the IE 6
4. Expand calendar control
5. Select any date
6. Click on the appeared time cell
7. Verify up and down buttons in the spinners on the time edit popup
Result: see attached screen shot
--
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, 11 months
[JBoss JIRA] Created: (RF-3900) <h:inputTextarea> does not work under myfaces.
by Alexander Dubovsky (JIRA)
<h:inputTextarea> does not work under myfaces.
----------------------------------------------
Key: RF-3900
URL: http://jira.jboss.com/jira/browse/RF-3900
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.2.2
Reporter: Alexander Dubovsky
Assigned To: Nick Belaevski
Priority: Critical
#Try to use <h:inputTextarea> component in application built under myfaces.
#Navigate to page with <h:inputTextarea>
Result: exception:
Caused by: java.lang.IllegalArgumentException: Component org.richfaces.component.html.HtmlInputTextarea is no HtmlInputTextarea
at org.apache.myfaces.taglib.html.HtmlInputTextareaTag.setProperties(HtmlInputTextareaTag.java:274)
at javax.faces.webapp.UIComponentELTag.createComponent(UIComponentELTag.java:100)
at javax.faces.webapp.UIComponentClassicTagBase.findComponent(UIComponentClassicTagBase.java:1101)
at javax.faces.webapp.UIComponentClassicTagBase.doStartTag(UIComponentClassicTagBase.java:431)
at org.apache.jsp.Skinning.Skinning_jsp._jspx_meth_h_005finputTextarea_005f0(Skinning_jsp.java:7312)
at org.apache.jsp.Skinning.Skinning_jsp._jspx_meth_f_005fsubview_005f0(Skinning_jsp.java:200)
at org.apache.jsp.Skinning.Skinning_jsp._jspService(Skinning_jsp.java:158)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:393)
... 51 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
15 years, 11 months
[JBoss JIRA] Created: (RF-3577) simpleTogglePanel ajax broken if filter is NONE
by Mike Hanafey (JIRA)
simpleTogglePanel ajax broken if filter is NONE
-----------------------------------------------
Key: RF-3577
URL: http://jira.jboss.com/jira/browse/RF-3577
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.2.1
Reporter: Mike Hanafey
Simple toggle panel is broken in 3.2.1CR8 for switch mode AJAX if the filter is set to none. Nothing happens on a click. If the content is examined it can be seen that with the filter set to NONE the server only transmits a part of the content.
Here is the content when filter is NONE ====================================================================================
<div class="dr-stglpnl rich-stglpanel " id="j_id3:j_id7" style="width: ; ;">
<script type="text/javascript"> //<![CDATA[ SimpleTogglePanelManager.add(new SimpleTogglePanel("j_id3:j_id7", "false",{onexpand: '',oncollapse: ''} )); //]]> </script>
<div class="dr-stglpnl-h rich-stglpanel-header " id="j_id3:j_id7_header" onclick="SimpleTogglePanelManager.toggleOnAjax(event,'j_id3:j_id7');A4J.AJAX.Submit('_viewRoot','j_id3',event,{'parameters':{'j_id3:j_id7':'j_id3:j_id7'} ,'actionUrl':'/Tractor/play/stp.jsf'} )">
<div class="dr-stglpanel-marker rich-stglpanel-marker"><div class="dr-stglpnl-m rich-stglpnl-marker" id="j_id3:j_id7_switch_on" style="display: none;">«</div>
<div class="dr-stglpnl-m rich-stglpnl-marker" id="j_id3:j_id7_switch_off" style="display: ;">»</div></div>Ajax Switch Type </div>
<div class="dr-stglpnl-b rich-stglpanel-body " id="j_id3:j_id7_body" style="display : none; height: ;"></div></div>
<meta name="Ajax-Update-Ids" content="j_id3:j_id7" /><span id="ajax-view-state">
<input type="hidden" name="javax.faces.ViewState" id="javax.faces.ViewState" value="j_id3" /></span>
<meta id="Ajax-Response" name="Ajax-Response" content="true" />
With filter TIDY, the content is ===========================================================================================
<?xml version="1.0"?>
<html xmlns="http://www.w3.org/1999/xhtml">
<head><title></title></head>
<body>
<div class="dr-stglpnl rich-stglpanel" id="j_id3:j_id7" style="width: ; ;">
<script type="text/javascript">//<![CDATA[ SimpleTogglePanelManager.add(new SimpleTogglePanel("j_id3:j_id7", "false",{onexpand: '',oncollapse: ''} )); //]]> </script>
<div class="dr-stglpnl-h rich-stglpanel-header" id="j_id3:j_id7_header" onclick="SimpleTogglePanelManager.toggleOnAjax(event,'j_id3:j_id7');A4J.AJAX.Submit('_viewRoot','j_id3',event,{'parameters':{'j_id3:j_id7':'j_id3:j_id7'} ,'actionUrl':'/Tractor/play/stp.jsf'} )">
<div class="dr-stglpanel-marker rich-stglpanel-marker"><div class="dr-stglpnl-m rich-stglpnl-marker" id="j_id3:j_id7_switch_on" style="display: none;">«</div>
<div class="dr-stglpnl-m rich-stglpnl-marker" id="j_id3:j_id7_switch_off" style="display: ;">»</div></div>Ajax Switch Type </div>
<div class="dr-stglpnl-b rich-stglpanel-body" id="j_id3:j_id7_body" style="display : none; height: ;"></div></div>
<meta name="Ajax-Update-Ids" content="j_id3:j_id7" /><span id="ajax-view-state">
<input type="hidden" name="javax.faces.ViewState" id="javax.faces.ViewState" value="j_id10" /></span>
<meta id="Ajax-Response" name="Ajax-Response" content="true" />
</body></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
15 years, 11 months
[JBoss JIRA] Created: (RF-3540) New node for ID j_id_jsp_1897617803_67:filterListMenu_menu_script is not present in response
by Ivan Cherkasov (JIRA)
New node for ID j_id_jsp_1897617803_67:filterListMenu_menu_script is not present in response
--------------------------------------------------------------------------------------------
Key: RF-3540
URL: http://jira.jboss.com/jira/browse/RF-3540
Project: RichFaces
Issue Type: Bug
Environment: richfaces-ui-3.2.0.SR1 , IE 7.0
Reporter: Ivan Cherkasov
I've got such errors in a4j:log
error[14:22:42,375]: Error to clear node content by innerHTML Unknown runtime error
error[14:22:42,390]: New node for ID j_id_jsp_1897617803_67:filterListMenu_menu_script is not present in response
when pressing buttons / context menu items on a such form:
-------------------------------------------
<a4j:form reRender="filtersListPanel">
<rich:panel id="filtersListPanel">
<f:facet name="header">
<h:outputText value="List of filters"/>
</f:facet>
<h:panelGroup id="filterListStuff">
<rich:scrollableDataTable id="filterList"
sortMode="single" width="350px" height="150px">
<rich:column id="filterName" width="200px">
<f:facet name="header"><h:outputText value="Filter name"/></f:facet>
</rich:column>
<rich:column id="filterSelect" width="100px">
<f:facet name="header"><h:outputText value="All"/></f:facet>
</rich:column>
</rich:scrollableDataTable>
<rich:contextMenu id="filterListMenu"
attached="true" submitMode="ajax" event="oncontextmenu">
<rich:menuItem value="new filter" reRender="filtersListPanel"/>
<rich:menuItem value="edit filter" reRender="filtersListPanel"/>
<rich:menuItem value="delete filter" reRender="filtersListPanel"/>
</rich:contextMenu>
</h:panelGroup>
<br>
<a4j:commandButton id="saveButton" value="save"
reRender="filtersListPanel">
</a4j:commandButton>
<a4j:commandButton id="cancelButton" value="cancel"
reRender="filtersListPanel" type="reset"/>
</rich:panel>
</a4j:form>
--
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, 11 months
[JBoss JIRA] Created: (RF-3357) h:commandLink does not work at first click in simpleTogglePanel
by Alex Peelman (JIRA)
h:commandLink does not work at first click in simpleTogglePanel
---------------------------------------------------------------
Key: RF-3357
URL: http://jira.jboss.com/jira/browse/RF-3357
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.2.1
Environment: Jboss 4.2.2.GA, Seam 2.0.1.GA, Ubuntu Linux 8.04
Reporter: Alex Peelman
Priority: Minor
When I open a simpleTogglePanel that is initially closed and click a h:commandButton inside this panel nothing happens the first time. When I press the same h:commandButton a second time the action is triggered.
<h:form styleClass="form">
<rich:simpleTogglePanel label="#{messages['search']}" switchType="client" opened="false">
...
<div class="buttons">
<h:commandButton action="#{artifactCrud.search}" value="Search" /> </div>
</rich:simpleTogglePanel>
</h:form>
remark : the switchType is set to "client" if it is changed to "ajax" the button works after the first click
Gr. Alex
--
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, 11 months