[jboss-user] [J2EE Design Patterns] - <s:selectDate> in Portlet for="startDate" object is not an i

Isabelle.Mathieu do-not-reply at jboss.com
Thu Mar 8 05:59:32 EST 2007


Trying to use modify the registery portle example by adding 
<h:inputText id="startDate"
					value="{insurabilityRequest.startDate}" style="width:100">
					<s:convertDateTime pattern="MM/dd/yyyy"/>
				</h:inputText>
                    <s:selectDate for="startDate">
                                    <h:graphicImage url="./img/dtpick.gif" />
                    </s:selectDate>

                     <h:message for="startDate" />
in a xhtml.
I got :

2007-03-08 11:13:08,898 ERROR [org.jboss.portal.portlet.container.be_cin_mycarenet_portlet_FixedMyFacesGenericPortlet] The portlet threw an exception
com.sun.facelets.tag.TagAttributeException: /insurability.xhtml @36,51 for="startDate" object is not an instance of declaring class
	at com.sun.facelets.tag.BeanPropertyTagRule$LiteralPropertyMetadata.applyMetadata(BeanPropertyTagRule.java:53)
	
	2007-03-08 11:13:09,740 ERROR [org.jboss.portal.core.command.ControllerCommand] Rendering portlet window default.default.Assurabilité triggered the following error :
com.sun.facelets.tag.TagAttributeException: /insurability.xhtml @36,51 for="startDate" object is not an instance of declaring class
	at com.sun.facelets.tag.BeanPropertyTagRule$LiteralPropertyMetadata.applyMetadata(BeanPropertyTagRule.java:53)
================================================
Could somebody help me! Thanks a lot isabelle 

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

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4026200




More information about the jboss-user mailing list