Java Mailing List Archive

http://www.junlu.com/

Google
Google
Mailing List
Home
Forum Home
JBoss - Java Application Server
Tomcat - JSP/Servlet container
Struts - A MVC web framework
iText - An open source PDF Java Library
JDOM - JDOM XML Parser
J2EE - A mailing list for Java(tm) 2 Platform, Enterprise Edition
JSP - A mailing list about Java Server Pages specification and reference
J2EE Pattern - An interest list for Sun Java Center J2EE Pattern Catalog
Servlet - A mailing list for discussion about Sun Microsystem's Java Servlet API Technology
Struts & Hibernate
Subjects
JSP editor plugin for eclipse ?
org apache jasper JasperException: Unable to compile class for JSP
Tomcat: Connection reset by peer: socket write error
Cannot retrieve definition for form bean null
Struts Tiles Tutorial (free Struts training)
Where do I download Tomcat 4 0 6?
Data Access Object (DAO) pattern, example DAO 's
Where to download Tomcat v 4 1 24 from?
Tomcat 5 0 16 Requested resource not available
Oracle Connection Pooling in 3 2 2
Servlet : Session invalidate
Servlet action is currently unavailable
Tomcat/Struts Unicode Encoding/Decoding problems
Tomcat and webapplication specific java library path
Running a Simple JMS Example
Mapping in workers2 properties
org apache jasper JasperException
Cannot find message resources under key org apache struts action
   MESSAGE
problem with html:text bean throwing exception
Cannot find message resources under key org apache struts action MESSAGE
invalid direct reference problem with solution
Tool for jsp debug Try Sysdeo Eclipse Plugin
Tomcat 5 Cannot load JDBC driver class 'null ' SQL state: null
weblogic ejbc
java properties file
Jboss 3 2 3 Coyote Can 't re
Tomcat 5, Apache2 and mod jk2 integration problem
JBoss example problem new to J2EE
url string for connecting jboss to oracle
Value attribute of <html:checkbox
javax servlet ServletException: BeanUtils populate
HTTP Status 404 The requested resource is not available
5 0 18: Windows XP Pro vs Windows 2000
 
- Curious Bug in 2.6 GA - Adding window properties

- Curious Bug in 2.6 GA - Adding window properties

2007-07-11       - By nystaa

 Back
Using 2.6 GA bundled.


When trying to add a window property of some window some where with the key
name starting with letters a-s (upper or lower) you get an exception:
Cause: javax.portlet.PortletException: Expected submitted value of type
Boolean for Component : {Component-Path : [Class: javax.faces.component
.UIViewRoot,ViewId: /WEB-INF/jsf/editProperties.xhtml][Class: javax.faces
.component.html.HtmlForm,Id: _id55jbpns_2fadmin_2fdefault
_2fAdminPortletWindowsnpbj][Class: javax.faces.component.html
.HtmlSelectBooleanCheckbox,Id: _id111jbpns_2fadmin_2fdefault
_2fAdminPortletWindowsnpbj]}
 | Message: Expected submitted value of type Boolean for Component :
{Component-Path : [Class: javax.faces.component.UIViewRoot Source code of javax.faces.component.UIViewRoot,ViewId: /WEB-INF/jsf
/editProperties.xhtml][Class: javax.faces.component.html.HtmlForm Source code of javax.faces.component.html.HtmlForm,Id: _id55jbpns
_2fadmin_2fdefault_2fAdminPortletWindowsnpbj][Class: javax.faces.component.html
.HtmlSelectBooleanCheckbox,Id: _id111jbpns_2fadmin_2fdefault
_2fAdminPortletWindowsnpbj]}
 | StackTrace:
 |
 | javax.portlet.PortletException: Expected submitted value of type Boolean
for Component : {Component-Path : [Class: javax.faces.component.UIViewRoot Source code of javax.faces.component.UIViewRoot
,ViewId: /WEB-INF/jsf/editProperties.xhtml][Class: javax.faces.component.html
.HtmlForm,Id: _id55jbpns_2fadmin_2fdefault_2fAdminPortletWindowsnpbj][Class:
javax.faces.component.html.HtmlSelectBooleanCheckbox Source code of javax.faces.component.html.HtmlSelectBooleanCheckbox,Id: _id111jbpns_2fadmin
_2fdefault_2fAdminPortletWindowsnpbj]}
 |   at org.apache.myfaces.portlet.MyFacesGenericPortlet Source code of org.apache.myfaces.portlet.MyFacesGenericPortlet
.handleExceptionFromLifecycle(MyFacesGenericPortlet.java:253)
 |   at org.apache.myfaces.portlet.MyFacesGenericPortlet Source code of org.apache.myfaces.portlet.MyFacesGenericPortlet
(MyFacesGenericPortlet.java:399)
 |   at org.apache.myfaces.portlet.MyFacesGenericPortlet Source code of org.apache.myfaces.portlet.MyFacesGenericPortlet
(MyFacesGenericPortlet.java:265)
 |   at javax.portlet.GenericPortlet.doDispatch(GenericPortlet.java:133)
 |   at javax.portlet.GenericPortlet.render(GenericPortlet.java:306)
 |   at org.jboss.portal.faces.portlet.JSFMetaBridgePortlet.render
(JSFMetaBridgePortlet.java:125)
 | ......

This does not happen with properties that the key starts with letters t-z.

looks like it is somehow linked to the alphabetical position of the added key
in relation to already existing window properties "Partial refresh" and "Region
order". The key names that produced the exception are located before these
properties in the list and the ones that did not generate the exception are
located after these native properties.

Can someone confirm this?
Maybe I`m hallucinating...

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic
&p=4062833#4062833

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode
=reply&p=4062833
__ ____ ____ ____ ____ ____ ____ ____ ____ ____
jboss-user mailing list
jboss-user@(protected)
https://lists.jboss.org/mailman/listinfo/jboss-user

©2008 junlu.com - Jax Systems, LLC, U.S.A.