[JBoss JIRA] Created: (RF-3653) <rich:tree> onexpand and oncollapse script not executed
by Alex Peelman (JIRA)
<rich:tree> onexpand and oncollapse script not executed
-------------------------------------------------------
Key: RF-3653
URL: http://jira.jboss.com/jira/browse/RF-3653
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.2.1
Environment: JBoss 4.2.2.GA Ubuntu 8.04 JBoss Seam 2.0.1.GA
Reporter: Alex Peelman
When I click on a node to expand or collapse the script defined in the oncollapse and onexpand attributes is not executed.
<rich:tree switchType="ajax"
id="navigator"
value="#{treeNode}"
var="navigationNode"
changeExpandListener="#{treeNavigator.changeExpandListener}"
componentState="#{dataComponentState}"
ajaxSubmitSelection="true"
ajaxSingle="true"
oncollapse="loading('sidebar','sidebarStatus')"
onexpand="loading('sidebar','sidebarStatus')"
oncomplete="doneLoading('sidebar','sidebarStatus')"
preserveModel="state"
nodeFace="#{navigationNode.type}"
selectedClass="selectedNode">
I replaced the loading('sidebar','sidebarStatus') part with alert('hello world'); to be sure it wasn't the script that failed.
--
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
17 years, 7 months
[JBoss JIRA] Created: (RF-2578) RichFaces Calendar looses state
by Viorel Andronic (JIRA)
RichFaces Calendar looses state
-------------------------------
Key: RF-2578
URL: http://jira.jboss.com/jira/browse/RF-2578
Project: RichFaces
Issue Type: Bug
Environment: JBoss AS 4.2, Seam 2.0.1.GA, RichFaces bundled in Seam 2.0.1.GA
Reporter: Viorel Andronic
The Seam component:
import java.util.Date;
import org.jboss.seam.annotations.Logger;
import org.jboss.seam.annotations.Name;
import org.jboss.seam.log.Log;
@Name("calendarTest")
public class CalendarTest {
@Logger Log log;
private Date date;
public Date getDate() {
log.info("calendarTest.getDate()="
+ (date != null ? date.toString() : date));
return date;
}
public void setDate(Date date) {
log.info("calendarTest.setDate()="
+ (date != null ? date.toString() : date));
log.info("calendarTest.date.declaringClass="
+ date.getClass().getDeclaringClass());
this.date = date;
}
}
CalendarTest.xhtml:
<h:form>
<rich:panel>
<f:facet name="header">Calendar Test</f:facet>
<s:decorate id="content" template="layout/display.xhtml">
<ui:define name="label">Register Date</ui:define>
<rich:calendar id="date" value="#{calendarTest.date}" datePattern="MM/dd/yyyy"/>
</s:decorate>
<div style="clear:both"/>
</rich:panel>
<div class="actionButtons">
<h:commandButton view="/CalendarTest.xhtml" value="Submit"/>
</div>
</h:form>
CalendarTest.page.xml
<begin-conversation join="true" />
<param name="date" value="#{calendarTest.date}" />
Issue:
1. I open the page, everything OK
2. I change the date using calendar
3. Submit
4. The page re-renders OK
5. (optionally change the date) Submit
6. Buuuuuuuum:
16:10:28,625 ERROR [SeamPhaseListener] uncaught exception
javax.el.ELException: java.lang.IllegalArgumentException: argument type mismatch
at javax.el.BeanELResolver.setValue(BeanELResolver.java:116)
at javax.el.CompositeELResolver.setValue(CompositeELResolver.java:68)
at com.sun.faces.el.FacesCompositeELResolver.setValue(FacesCompositeELResolver.java:93)
at org.jboss.el.parser.AstPropertySuffix.setValue(AstPropertySuffix.java:73)
at org.jboss.el.parser.AstValue.setValue(AstValue.java:84)
at org.jboss.el.ValueExpressionImpl.setValue(ValueExpressionImpl.java:249)
at org.jboss.seam.core.Expressions$1.setValue(Expressions.java:116)
at org.jboss.seam.navigation.Pages.applyConvertedValidatedValuesToModel(Pages.java:781)
at org.jboss.seam.navigation.Pages.postRestore(Pages.java:402)
at org.jboss.seam.jsf.SeamPhaseListener.postRestorePage(SeamPhaseListener.java:533)
at org.jboss.seam.jsf.SeamPhaseListener.afterRestoreView(SeamPhaseListener.java:379)
at org.jboss.seam.jsf.SeamPhaseListener.afterServletPhase(SeamPhaseListener.java:216)
at org.jboss.seam.jsf.SeamPhaseListener.afterPhase(SeamPhaseListener.java:182)
at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:280)
at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:117)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:244)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83)
at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:85)
at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64)
at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45)
at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:141)
at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:281)
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.debug.hot.HotDeployFilter.doFilter(HotDeployFilter.java:68)
at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
at org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:158)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:433)
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:241)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:580)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Thread.java:619)
Caused by: java.lang.IllegalArgumentException: argument type mismatch
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at javax.el.BeanELResolver.setValue(BeanELResolver.java:108)
... 52 more
This is the GOOD case when I can submit the date once, but there are cases when it crashes at the first submit like I posted here http://www.seamframework.org/Community/DatesAndSeam201GAProblem
--
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
17 years, 7 months
[JBoss JIRA] Created: (RF-2991) No alt atribute for rich:calendar button image
by Peter Haldbæk (JIRA)
No alt atribute for rich:calendar button image
----------------------------------------------
Key: RF-2991
URL: http://jira.jboss.com/jira/browse/RF-2991
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.2.0
Environment: OS: Windows XP
Platform: JBoss AS 4.2.1.GA, Sun JDK 1.6.0_02, JBoss Seam 2.0.1.GA
Reporter: Peter Haldbæk
The alt attribute is required for the img tag according to the HTML 4.01 specification. It is missing for the button image when using the rich:calendar component.
Adding a <rich:calendar /> element to a page will result in HTML for the calendar button like this:
<img class="rich-calendar-button " id="j_id93:fromDecoration:fromPopupButton" style="vertical-align: middle" src="some CalendarIcon" />
The alt attribute is missing. I have seen this in older versions (pre 3.2.0) as well.
--
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
17 years, 7 months
[JBoss JIRA] Created: (RF-3684) NPE: ProgressBarAnimatedBg
by Nick Belaevski (JIRA)
NPE: ProgressBarAnimatedBg
--------------------------
Key: RF-3684
URL: http://jira.jboss.com/jira/browse/RF-3684
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.2.0.SR1
Environment: blueSky skin
Reporter: Nick Belaevski
Assigned To: Dmitry Svyatobatsko
Fix For: 3.2.2
java.lang.NullPointerException: Colors cannot be null
at java.awt.GradientPaint.<init>(Unknown Source)
at org.richfaces.renderkit.html.images.ProgressBarAnimatedBg.paint(ProgressBarAnimatedBg.java:92)
at org.ajax4jsf.resource.AnimationResource.send(AnimationResource.java:80)
at org.ajax4jsf.resource.ResourceLifecycle.sendResource(ResourceLifecycle.java:221)
at org.ajax4jsf.resource.ResourceLifecycle.send(ResourceLifecycle.java:157)
at org.ajax4jsf.resource.InternetResourceService.load(InternetResourceService.java:333)
at org.ajax4jsf.cache.LRUMapCache.load(LRUMapCache.java:116)
at org.ajax4jsf.cache.LRUMapCache.get(LRUMapCache.java:87)
--
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
17 years, 7 months