You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cactus-user@jakarta.apache.org by Vikas Malla <ma...@yahoo.co.in> on 2002/10/09 21:53:59 UTC

javascript

This question is about javascript support. How well does cactus support javascript? i know httpunit support is increasing for Javascript 1.1, how does cactus fare in terms of javascript support?

thanks.

 

 Yahoo! Properties Special  Buy, sell, rent...your flat, or even post an ad

RE: javascript

Posted by Vincent Massol <vm...@octo.com>.
Vikas,

How does it work in HttpUnit? As Nick said, what Cactus will give to
your test case is a HttpUnit WebResponse object. Then you are of course
free to call any HttpUnit method on it. Is there a method to execute
javascript from the returned response? In which case you can call it
from Cactus endXXX(WebResponse) method.

Cheer,
-Vincent

> -----Original Message-----
> From: Vikas Malla [mailto:malla6um@yahoo.co.in]
> Sent: 09 October 2002 21:34
> To: Cactus Users List
> Subject: RE: javascript
> 
> 
> i have this body tag in my test.jsp :
> <body onload="parent.ReloadHomeWithNode('<%=node%>');"
> bgcolor="<%=ub.getBGColor()%>">
> will this be executed when I retrieve test.jsp from cactus/httpunit
> WebResponse object?
> thanks.
> 
>   Nicholas Lesiecki <ni...@eblox.com> wrote: I think that Cactus will
> support any Java-script related assertions
> accessible from HttpUnit's WebResponse class (accessible in the endXXX
> method for a given request-response cycle). Cactus itself does not
provide
> any support. What are you looking to do?
> 
> Cheers,
> Nick
> 
> > -----Original Message-----
> > From: Vikas Malla [mailto:malla6um@yahoo.co.in]
> > Sent: Wednesday, October 09, 2002 12:54 PM
> > To: cactus-user@jakarta.apache.org
> > Subject: javascript
> >
> >
> >
> > This question is about javascript support. How well does cactus
> > support javascript? i know httpunit support is increasing for
> > Javascript 1.1, how does cactus fare in terms of javascript support?
> >
> > thanks.
> >
> >
> >
> > Yahoo! Properties Special Buy, sell, rent...your flat, or even
> > post an ad
> 
> 
> 
> --
> To unsubscribe, e-mail:
> For additional commands, e-mail:
> 
>  Yahoo! Properties Special  Buy, sell, rent...your flat, or even post
an
> ad


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


RE: javascript

Posted by Nicholas Lesiecki <ni...@eblox.com>.
As I said, I think this depends on HttpUnit--Cactus simply delegates to the
request object that HttpUnit provides.

Cheers,

nick


> -----Original Message-----
> From: Vikas Malla [mailto:malla6um@yahoo.co.in]
> Sent: Wednesday, October 09, 2002 1:34 PM
> To: Cactus Users List
> Subject: RE: javascript
>
>
>
> i have this body tag in my test.jsp :
> <body onload="parent.ReloadHomeWithNode('<%=node%>');"
> bgcolor="<%=ub.getBGColor()%>">
> will this be executed when I retrieve test.jsp from
> cactus/httpunit WebResponse object?
> thanks.
>
>   Nicholas Lesiecki <ni...@eblox.com> wrote: I think that Cactus
> will support any Java-script related assertions
> accessible from HttpUnit's WebResponse class (accessible in the endXXX
> method for a given request-response cycle). Cactus itself does not provide
> any support. What are you looking to do?
>
> Cheers,
> Nick
>
> > -----Original Message-----
> > From: Vikas Malla [mailto:malla6um@yahoo.co.in]
> > Sent: Wednesday, October 09, 2002 12:54 PM
> > To: cactus-user@jakarta.apache.org
> > Subject: javascript
> >
> >
> >
> > This question is about javascript support. How well does cactus
> > support javascript? i know httpunit support is increasing for
> > Javascript 1.1, how does cactus fare in terms of javascript support?
> >
> > thanks.
> >
> >
> >
> > Yahoo! Properties Special Buy, sell, rent...your flat, or even
> > post an ad
>
>
>
> --
> To unsubscribe, e-mail:
> For additional commands, e-mail:
>
>  Yahoo! Properties Special  Buy, sell, rent...your flat, or even
> post an ad



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


RE: javascript

Posted by Vikas Malla <ma...@yahoo.co.in>.
i have this body tag in my test.jsp :  
<body onload="parent.ReloadHomeWithNode('<%=node%>');" bgcolor="<%=ub.getBGColor()%>">
will this be executed when I retrieve test.jsp from cactus/httpunit WebResponse object?
thanks.
 
  Nicholas Lesiecki <ni...@eblox.com> wrote: I think that Cactus will support any Java-script related assertions
accessible from HttpUnit's WebResponse class (accessible in the endXXX
method for a given request-response cycle). Cactus itself does not provide
any support. What are you looking to do?

Cheers,
Nick

> -----Original Message-----
> From: Vikas Malla [mailto:malla6um@yahoo.co.in]
> Sent: Wednesday, October 09, 2002 12:54 PM
> To: cactus-user@jakarta.apache.org
> Subject: javascript
>
>
>
> This question is about javascript support. How well does cactus
> support javascript? i know httpunit support is increasing for
> Javascript 1.1, how does cactus fare in terms of javascript support?
>
> thanks.
>
>
>
> Yahoo! Properties Special Buy, sell, rent...your flat, or even
> post an ad



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

 Yahoo! Properties Special  Buy, sell, rent...your flat, or even post an ad

RE: javascript

Posted by Nicholas Lesiecki <ni...@eblox.com>.
I think that Cactus will support any Java-script related assertions
accessible from HttpUnit's WebResponse class (accessible in the endXXX
method for a given request-response cycle). Cactus itself does not provide
any support. What are you looking to do?

Cheers,
Nick

> -----Original Message-----
> From: Vikas Malla [mailto:malla6um@yahoo.co.in]
> Sent: Wednesday, October 09, 2002 12:54 PM
> To: cactus-user@jakarta.apache.org
> Subject: javascript
>
>
>
> This question is about javascript support. How well does cactus
> support javascript? i know httpunit support is increasing for
> Javascript 1.1, how does cactus fare in terms of javascript support?
>
> thanks.
>
>
>
>  Yahoo! Properties Special  Buy, sell, rent...your flat, or even
> post an ad



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>