What version of Tapestry are you using?
On Tue, 08 Sep 2015 04:23:51 -0300, Poggenpohl, Daniel
<daniel.poggenp...@isst.fraunhofer.de> wrote:
Hi,
Template:
<t:Form t:id="newCommentForm" id="prop:newCommentFormId"
t:context="someId" t:zone="^">
Java:
public String getNewCommentFormId() {
return "newCommentForm_" + entity.getId();
}
Resulting HTML:
<Form id="newCommentForm" ....>
Regards,
Daniel P.
-----Ursprüngliche Nachricht-----
Von: Thiago H de Paula Figueiredo [mailto:thiag...@gmail.com]
Gesendet: Montag, 7. September 2015 22:47
An: Tapestry users
Betreff: Re: Tapestry Forms - Client side ids
On Mon, 07 Sep 2015 05:44:00 -0300, Poggenpohl, Daniel
<daniel.poggenp...@isst.fraunhofer.de> wrote:
Hi,
Hi!
it seems that the Tapestry Form component is one of the few components
that doesn't let me manually set the client side id. Is this correct
and why was this done?
Not exactly. Some ids aren't allowed unchanged because they break
JavaScript code.
Can I do something to set the id?
How are you trying to set it (i.e. template snippet) and what's the
resulting generated HTML?
--
Thiago H. de Paula Figueiredo
Tapestry, Java and Hibernate consultant and developer
http://machina.com.br
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org
--
Thiago H. de Paula Figueiredo
Tapestry, Java and Hibernate consultant and developer
http://machina.com.br
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org