Yes you are right. Everything in between <script> and </script> is ignored. We do not interpret it at all.
Juergen On 6/8/06, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > i was referring to this: > > <script type="text/javascript"> > > alert( '<span wicket:id="value">value</span>' ); > </script> > > will that work? ive tried it before and it didnt parse that portion, maybe > because i had comments after script tag... > > -Igor > > > > On 6/8/06, Juergen Donnerstag <[EMAIL PROTECTED]> wrote: > > > Is that true? You can tell Wicket not to print the tag. Using a Label > to replace the tag body and disableing printing the tag itself should > do it. > > Juergen > > On 6/7/06, Igor Vaynberg < [EMAIL PROTECTED]> wrote: > > no, this is not possible because wicket components can only be xml/html > > tags. > > > > you have to write out the entire tag. > > > > maybe load the javascipt from a textfile, interpolate the variables, and > > dump that into a label if you dont want to have javascript/css in your > java > > code. > > > > see PackagedTextTemplate and friends. > > > > -Igor > > > > > > > > On 6/7/06, Aaron Hiniker < [EMAIL PROTECTED]> wrote: > > > Is it possible to do this? > > > > > > <script type="text/javascript"> > > > <span wicket:id="function">test</span> > > > </script> > > > > > > Wicket complains that it can't find "function" component in the markup. > > > > > > or: > > > > > > <script type="text/javascript"> > > > alert( '<span wicket:id="value">value</span>' ); > > > </script> > > > > > > same problem > > > > > > Aaron > > > > > > > > > _______________________________________________ > > > Wicket-user mailing list > > > [email protected] > > > > https://lists.sourceforge.net/lists/listinfo/wicket-user > > > > > > > > > > > > > _______________________________________________ > > Wicket-user mailing list > > [email protected] > > https://lists.sourceforge.net/lists/listinfo/wicket-user > > > > > > > > > _______________________________________________ > > Wicket-user mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/wicket-user > > > > > _______________________________________________ > Wicket-user mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/wicket-user > > > _______________________________________________ Wicket-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/wicket-user
