thanks for this hint, didn't know about that... So the script is executed every 
time the
component is updated in an ajax call, correct? If so, it would surely solve 
some of my
issues. For longer scripts, I would still prefer to have them in the markup 
file (might be
different if we had multiline strings in Java, btw)


On 04.06.2012 20:32, Thomas Götz wrote:
What about this?

public class MyComponent extends Panel {

     public MyComponent(String id) {

     public void renderHead(IHeaderResponse response) {
                 "$('#" + getMarkupId() + " .ttr').tipTip({defaultPosition: 



On 04.06.2012, 19:21 Jürgen Lind wrote:

         $(document).ready(function() {
           $("#markupId .ttr").tipTip({defaultPosition: "right"});

To unsubscribe, e-mail:
For additional commands, e-mail:

Mit freundlichen Grüßen,

Jürgen Lind

Dr. Jürgen Lind
iteratec GmbH                Fon: +49 (0)89 614551-44
Inselkammerstrasse 4         Fax: +49 (0)89 614551-10
82008 Unterhaching           Web:

Sitz und Registergericht der iteratec GmbH: München HRB 113 519
Geschäftsführer: Klaus Eberhardt, Mark Goerke, Inge Hanschke, Ralf Menzel

To unsubscribe, e-mail:
For additional commands, e-mail:

Reply via email to