You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Jim <ja...@irs.gov> on 2008/03/10 16:04:24 UTC

FormTable.jwc

I have to use Tapestry 3 at work, otherwise I'd upgrade and be done with this
problem, however, here it is:

The following code works fine with tapestry-contrib-3.0.1.jar:


	<table class="tapestry-700" cellspacing="1" jwcid="order@contrib:FormTable"
		source="ognl:visit.currentOrderDisplay.items"
		convertor="ognl:dataItemConvertor"
		columns="!del:Rem:selected,
					cat:Catalog:catalogNumberString,
					rev:Revision:revisionString,
					qty:Qty:quantity,
					uoi:UOI:unitOfIssue,
					upc:U/C:unitsPerConstruct,
					short:Short Title:shortTitle,
					splatLeft:Long Title:longTitleNoRemDisplay"
		columnsClass="colClass"
		rowsClass="ognl:beans.evenOdd.next"
		pageSize="25"
		align="center"
		initialSortColumn="cat">


But when we upgraded to tapestry-contrib-3.0.4.jar the following error is 
thrown:

Attribute "parameter-name" is required and must be specified for element type
"inherited-binding".


The only difference I find between FormTable.jwc 3.0.1 and 
FormTable.jwc 3.0.4 is:

	<component id="tableRows" type="TableFormRows">
		<inherited-binding name="row" parameter-name="row"/>
		<inherited-binding name="class" parameter-name="rowsClass"/>
        <binding name="convertor" expression="convertor"/>
	</component>


and

	<component id="tableRows" type="TableFormRows">
		<inherited-binding name="row" parameter-name="row"/>
		<inherited-binding name="class" parameter-name="rowsClass"/>
    <inherited-binding name="convertor" expression="convertor"/>
	</component>


respectively. What do I have to do to get this to work?

Thanks.



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org