Right.  You have to use jwcid otherwise it's not a tapestry component.
Keep using jwcid, but also use plain old id.  For an implicit
component, it would look something like this:

<span jwcid="@Any" id="ognl:componentId" element="span" />

-Mike

On 5/30/06, Andreas Bulling <[EMAIL PROTECTED]> wrote:
On 30. Mai 2006 - 16:19:37, Pratibha Gopalam wrote:
| Thanks for the reply.
|
| In the template (.html) we normally use the jwcid to give a id and tell
| tapestry what type of component to instantiate. How do I do the same
| thing with id?
|
| <span [EMAIL PROTECTED] > -- </span> -- this works, but the id
| 'someid' is static. Now I want to make that dynamic.
|
| <span id ="ognl:myId" type="Block" > -- <span> : This doesn't work
| because tapestry looks for jwcid to create the components. If I move the
| component declaration to the page file, the id is again static there.

From my understanding of his mail I'd use _both_ jwcid and the id
attribute - perhaps that works?

Cheers,
  Andreas

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to