Remote is a class exported by DWR and method is a function provided by that class.
This is really material for the users mailing list.
Thanks.
Joe.
On Jan 8, 2008 11:26 AM, lvcster <
lvcster@...> wrote:
hi,
I tried to interprete your response,
Remote.method(function(goto) {
document.location = goto;
});
What exactly is the Remote.method(function(goto)? is it the Java class
method? is the goto the page i want to dispatch to?
could you please gimme a simple eg?
Joe Walker-3 wrote:
>
> I'm not sure what you need.
>
> If you want to include one page in another, you might mean something like
> this:
http://getahead.org/dwr/server/generic>
> Or if you need to visit another page, something like this?
>
> Remote.method
(function(goto) {
> document.location = goto;
> });
>
> Joe.
>
> On Jan 3, 2008 2:05 PM, lvcster <
lvcster@...> wrote:
>
>>
>> hi ya'll.
>>
>> Could someone please tell me how do we dispatch to the different jsp
>> using
>> DWR
>>
>> in plain servlets
>> RequestDispatcher dispatcher =
>> getServletContext().getRequestDispatche("myjsp.jsp");
>> dispatcher.forward(request, response);
>> now how do we do this in DWR, or does it works the same way?
>>
>> Thanks in advance.
>> lvcster.
>> --
>> View this message in context:
>>
http://www.nabble.com/dispatching-to-a-different-jsp-using-DWR---is-it-posible--tp14597366p14597366.html>> Sent from the DWR - Dev mailing list archive at
Nabble.com
.
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail:
dev-unsubscribe@...
>> For additional commands, e-mail:
dev-help@...>>
>>
>
>
--
View this message in context:
http://www.nabble.com/dispatching-to-a-different-jsp-using-DWR---is-it-posible--tp14597366p14687679.html
Sent from the DWR - Dev mailing list archive at
Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail:
dev-unsubscribe@...For additional commands, e-mail:
dev-help@...