I was trying to create a component but everytime i try to use it i get this parse error which doesn't make sense because its asking me to specify the java-type where i've clearly done so.
Any thoughts? Here's the actual error message followed by the .jwc file ----------------------------------------------------- ---------------------------------------------------------------------------------------------------------- org.apache.tapestry.ApplicationRuntimeException Could not parse specification context:/WEB-INF/NameSet.jwc. org.apache.tapestry.util.xml.DocumentParseException Attribute "java-type" must be declared for element type "parameter". org.xml.sax.SAXParseException Attribute "java-type" must be declared for element type "parameter". systemId: jndi:/localhost/std-pam/WEB-INF/NameSet.jwc columnNumber: 24 lineNumber: 13 --------------------------------------------------------------------------------------------------------------------------------------------------------- NameSet.jwc file --> <component-specification class="com.stchome.pam.tapestry.components.NameSet" allow-body="no" allow-informal-parameters="yes"> <parameter name="source" java-type="java.lang.Object" direction="in" required="yes"> <<----- Line 13 </parameter> <component id="elements" type="Foreach"> <inherited-binding name="source" parameter-name="source"/> </component> <component id="fName" type="TextField"> <binding name='value' expression="components.elements.fName"></binding> </component> <component id="lName" type="TextField"> <binding name='value' expression="components.elements.lName"></binding> </component> <component id="iNetHandle" type="TextField"> <binding name='value' expression="components.elements.iNetHandle"></binding> </component> </component-specification> ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
