You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by "Hensley, Richard" <Ri...@McKesson.com> on 2005/01/06 00:41:16 UTC

RE: Difference between getForm().getElementId(this) and getName ()

Have you tried figuring out the differences when the component is in a loop,
such as a ListEdit or Foreach? 

-----Original Message-----
From: kranga [mailto:kranga@k2d2.org] 
Sent: Wednesday, January 05, 2005 3:25 PM
To: Tapestry users
Subject: Difference between getForm().getElementId(this) and getName()

When subclassing AbstractFormComponent,

    what is the difference between the name extracted using the following
two methods:

    (a) getForm(cycle).getElementId(this);
    (b) getName();

given that name is a property of Abstract component ...

My test returns the same value for both ...


---------------------------------------------------------------------
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