You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Ken nashua <nh...@hotmail.com> on 2007/01/23 16:08:02 UTC

tapestry-4.0.2 @Parameter : 'fileName' is not bound and can not be updated.

Folks,

I created a component.

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

CLASS
public abstract class MyComponent extends BaseComponent {
	@Parameter(required = false, 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
Parameter 'fileName' is not bound and can not be updated.

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>

Is this stuff broken?

Best regards
Ken in nashua

_________________________________________________________________
Turn searches into helpful donations. Make your search count. 
http://click4thecause.live.com/search/charity/default.aspx?source=hmemtagline_donation&FORM=WLMTAG


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