You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Tore Halset <ha...@pvv.ntnu.no> on 2003/10/24 13:50:46 UTC
trying to use NumericField from contrib
Hello.
I am using tapestry 3.0 b3 and want to use NumericField. I got en
exception and read on this list that I should take a look at the fix in
cvs. I have copied NumericField.jwc from cvs into my project and added it
to my application-specification. I named my local version
NumericFieldHack.
Here is the code that I am trying to get to work.
<span jwcid="@NumericFieldHack"
minimum="ognl:0"
maximum="ognl:100"
required="ognl:true"
displayName="Distributor discount"
value="ognl:visit.currentDistributor.discount"/>
The problem is that I get a message about "Required parameter type of
component EditDistributor/$NumericFieldHack is not bound.".
Am I missing a parameter called "type"? What should the value of that
parameter be?
Regards,
- Tore.
---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
Re: trying to use NumericField from contrib
Posted by Harish Krishnaswamy <hk...@comcast.net>.
There is a ShowError in vlib, I guess its the same.
-Harish
Tore Halset wrote:
>On Fri, 24 Oct 2003, Tore Halset wrote:
>
>
>
>>I am using tapestry 3.0 b3 and want to use NumericField. I got en
>>exception and read on this list that I should take a look at the fix in
>>cvs. I have copied NumericField.jwc from cvs into my project and added it
>>to my application-specification. I named my local version
>>NumericFieldHack.
>>
>>
>
>I solved the problem by reading
>http://jakarta.apache.org/tapestry/doc/ComponentReference/ValidField.html
>
>One more thing..: The example uses a component named "ShowError". Where is
>that component defined?
>
> - Tore.
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
>
>
>
>
Re: trying to use NumericField from contrib
Posted by Tore Halset <ha...@pvv.ntnu.no>.
On Fri, 24 Oct 2003, Tore Halset wrote:
> I am using tapestry 3.0 b3 and want to use NumericField. I got en
> exception and read on this list that I should take a look at the fix in
> cvs. I have copied NumericField.jwc from cvs into my project and added it
> to my application-specification. I named my local version
> NumericFieldHack.
I solved the problem by reading
http://jakarta.apache.org/tapestry/doc/ComponentReference/ValidField.html
One more thing..: The example uses a component named "ShowError". Where is
that component defined?
- Tore.
---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org