Folks,

I created a component.

TEMPLATE
<span jwcid="$content$">
   <input jwcid="@Upload" file="ognl:file" type="file" displayName="File"
                           fileName="ognl:fileName" />
</span>

CLASS
public abstract class MyComponent extends BaseComponent {
        @Parameter(required = true, cache = true)
        public abstract String getFileName();
        public abstract void setFileName(String fileName);
}

SPEC
<component-specification class="org.MyComponent"
   allow-body="yes"
   allow-informal-parameters="yes"/>

But I continue to receive this...

org.apache.hivemind.ApplicationRuntimeException
Required parameter fileName of component trails:Editors/blobFields.$TrailsUpload is not bound.

My pom.xml uses
       <dependency>
           <groupId>tapestry</groupId>
           <artifactId>tapestry</artifactId>
           <version>4.0.2</version>
       </dependency>
       <dependency>
           <groupId>tapestry</groupId>
           <artifactId>tapestry-annotations</artifactId>
           <version>4.0.2</version>
       </dependency>

I defined fileName as ognl binding in the template...

Can someone explain this?

Best regards
Ken in nashua

_________________________________________________________________
The MSN Entertainment Guide to Golden Globes is here. Get all the scoop. http://tv.msn.com/tv/globes2007/?icid=nctagline2

_________________________________________________________________
Valentine’s Day -- Shop for gifts that spell L-O-V-E at MSN Shopping http://shopping.msn.com/content/shp/?ctId=8323,ptnrid=37,ptnrdata=24095&tcode=wlmtagline


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to