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

Reply via email to