tapestry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Harish Krishnaswamy <hkrishnasw...@comcast.net>
Subject Re: Component properties
Date Sun, 11 Jan 2004 14:47:17 GMT
:) been there several times!

Geoff Longman wrote:

> Ignore my last. I'm still not awake. When I do wake up I'll bend a few brain
> cells your way.
> 
> Geoff
> ----- Original Message -----
> From: "Geoff Longman" <glongman@intelligentworks.com>
> To: "Tapestry development" <tapestry-dev@jakarta.apache.org>
> Sent: Sunday, January 11, 2004 6:59 AM
> Subject: Re: Component properties
> 
> 
> 
>>maybe
>>
>>"components.TheComponent.properties.MyProperty"
>>
>>?
>>
>>Geoff
>>----- Original Message -----
>>From: "Harish Krishnaswamy" <hkrishnaswamy@comcast.net>
>>To: "Tapestry development" <tapestry-dev@jakarta.apache.org>
>>Sent: Sunday, January 11, 2004 2:59 AM
>>Subject: Component properties
>>
>>
>>
>>>Hi,
>>>
>>>I was trying to associate some values with the components I declare in
> 
> the
> 
>>page to be used later
>>
>>>during validation. I saw that *property* can be specified even during
> 
> the
> 
>>component declaration and
>>
>>>tried to use it, but to no avail.
>>>
>>><!ELEMENT component (_property_*, (...)*)>
>>>
>>>1. How would I retrieve the property specified in the declaration?
>>><component...>
>>>...
>>><property name="xyz" value="xyzVal" />
>>>...
>>></component>
>>>
>>>2. Wouldn't it be nice to set some arbitrary properties in the component
>>
>>that can be retrieved and
>>
>>>used by an external entity? For example, I can set the entity property
>>
>>name in the TextField
>>
>>>component and such that I have a mapping of the component with the
> 
> actual
> 
>>entity property. Something
>>
>>>like...
>>><component...>
>>>...
>>><set-property name="..." expression="..." />
>>>...
>>></component>
>>>
>>>Like what we now have for beans. This can be worked around when informal
>>
>>parameters are allowed but
>>
>>>wouldn't be elegant IMO.
>>>
>>>Thanks,
>>>Harish
>>>
>>>
>>>---------------------------------------------------------------------
>>>To unsubscribe, e-mail: tapestry-dev-unsubscribe@jakarta.apache.org
>>>For additional commands, e-mail: tapestry-dev-help@jakarta.apache.org
>>>
>>
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: tapestry-dev-unsubscribe@jakarta.apache.org
>>For additional commands, e-mail: tapestry-dev-help@jakarta.apache.org
>>
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tapestry-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tapestry-dev-help@jakarta.apache.org
> 
> 


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


Mime
View raw message