Re: xql, Javascript and XForms
2006-10-01 01:17:35 GMT
Hi,
My XForms and XQuery are in an xql page - would I just define the
JavaScript to be the return of another XQuery and then do something like:
<script type="text/javascript language="JavaScript" src="javascript.xql"/>
?
Cheers,
Matthew
Adam Retter wrote:
>
> Why not generate your JavaScript in a seperate XQuery and link them
> into the xhtml page? That way you can generate the appropraite
> media-type's for each. We do a similar thing for our application.
>
> BTW - this media-type=text/html method=xhtml is not the correct
> mimetype for JavaScript.
>
> -----Original Message-----
> From: exist-open-bounces <at> lists.sourceforge.net on behalf of Matthew Graham
> Sent: Sat 30/09/2006 07:25
> To: exist-open <at> lists.sourceforge.net
> Subject: [Exist-open] xql, Javascript and XForms
>
> Hi,
>
(Continue reading)
RSS Feed