You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Mindbridge <mi...@yahoo.com> on 2003/03/16 20:05:39 UTC

Re: [property-specification] what is the correct use?

Hi,

>     <property-specification name="treeDefinition"
> type="java.lang.String"
initial-value='"CatDef1"'></property-specification>
>
> :-[    How do I actually get to the CatDef1 value. Can't use the
> getBinding() because it isn't .

initial-value contains an OGNL expression. CatDef1 will thus be obtained by
calling the getCatDef1() method in the page class. Does this help?

----- Original Message ----- 
From: "F. Da Costa Gomez" <dc...@fixed.com>
To: "Tapestry users" <ta...@jakarta.apache.org>
Sent: Saturday, September 20, 2003 7:46 PM
Subject: [property-specification] what is the correct use?


> Hi,
>
> This is probably too simple but I seem to missing the catch.
>
> I'm trying to set a simple value in a pqge spec to be used in the
> supporting class.
> Going through the docs I concluded that I had to use the
> property-specification.
>
> <page-specification class="org.dcg.tests.tree2.DCGTreeTest">
>     <property-specification name="treeDefinition"
> type="java.lang.String"
initial-value='"CatDef1"'></property-specification>
>
> :-[    How do I actually get to the CatDef1 value. Can't use the
> getBinding() because it isn't .
>
> TIA,
> Fermin DCG
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tapestry-user-help@jakarta.apache.org


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