You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Harish Krishnaswamy <hk...@comcast.net> on 2003/09/20 19:40:08 UTC
Re: [property-specification] what is the correct use?
I guess you need <property...> instead of the
<property-specification...> in this case.
-Harish
F. Da Costa Gomez wrote:
> 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
Re: [property-specification] what is the correct use?
Posted by Harish Krishnaswamy <hk...@comcast.net>.
You can get the value of the property by invoking
getProperty("propertyName") and you can get the property specification
value by invoking the accessor method of the property as mentioned in my
previous mail.
-Harish
F. Da Costa Gomez wrote:
> Fair enough, but I tried
> getComponents()
> getBindings()
> getBindingNames()
>
> to see whether treeDefinition is available through one of those but to
> no avail.
> Initial q still remains: how do I get my hands on the value of the
> property (/-specification).
>
> Cheers,
> Fermin DCG
>
> Harish Krishnaswamy wrote:
>
>> I guess you need <property...> instead of the
>> <property-specification...> in this case.
>>
>> -Harish
>>
>> F. Da Costa Gomez wrote:
>>
>>> 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
>>
>>
>>
>>
>> __________ NOD32 1.513 (20030919) Information __________
>>
>> This message was checked by NOD32 Antivirus System.
>> http://www.nod32.com
>>
>>
>>
>
>
>
> ---------------------------------------------------------------------
> 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
Re: [property-specification] what is the correct use?
Posted by "F. Da Costa Gomez" <dc...@fixed.com>.
Fair enough, but I tried
getComponents()
getBindings()
getBindingNames()
to see whether treeDefinition is available through one of those but to
no avail.
Initial q still remains: how do I get my hands on the value of the
property (/-specification).
Cheers,
Fermin DCG
Harish Krishnaswamy wrote:
> I guess you need <property...> instead of the
> <property-specification...> in this case.
>
> -Harish
>
> F. Da Costa Gomez wrote:
>
>> 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
>
>
>
>
> __________ NOD32 1.513 (20030919) Information __________
>
> This message was checked by NOD32 Antivirus System.
> http://www.nod32.com
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org