Hi,

> you are working with html. seems like a resonable approach from our end of 
> things.

I agree.

Well, I've postprocessed the output through a couple of regexps
because the task was too simple to be done by xslt or dom machinery.
But now I've hit another problem: links are generated relative to
current page, which is not desired when finally embedding the gadget
in its host. Is there a way to force wicket to generate absolute urls
for the page being rendered? I mean for ajax events, js and css
references, image srcs... everywhere.

Thanks again.
Best regards
-Carlos

>
> i would say just run it through xslt to transform it to whatever you need.
>
> -igor
>
> On Tue, Jul 8, 2008 at 8:53 AM, Carlos Pita <[EMAIL PROTECTED]> wrote:
>> Hi all,
>>
>> I'm looking for a fine and dandy (or just fine) way to create widgets
>> for igoogle, facebook and others. I would like to reuse our wicket
>> components and pages because the widgets are not that different from
>> our site but a shrunk version of it. The main problem I'm facing is
>> that wicket output seems to unavoidably consist of html (with
>> corresponding head and body tags) while widgets are required to
>> conform to different syntaxes by their respective hosts in order to be
>> embedded. Is there a way to generate xml so that stylesheets and
>> javascript appear inside the main tag, this being an arbitrarily
>> chosen one, other than postprocessing the html output? Another more
>> general way to put the question is if there is a way to produce a more
>> or less arbitrary xml from the markup templates. But I guess the
>> answer is no because of how wicket components handle header tags (js,
>> css contributions). In that case, what would you recommend? A
>> postprocessing behavior?
>>
>> Thank you in advance
>> Best regards
>> -Carlos
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to