Hi Horacio,

Nice to hear it helps. Also, thanks for the link. :)
By the way, if your portlet extends javax.portlet.GenericPortlet and your 
portlet just needs to dispatch the request to the target servlet path without 
doing any extras, it will be good enough just to configure the resource ID in 
portlet:resourceURL tag without implementing #serveResource() method in your 
portlet.
javax.portlet.GenericPortlet already implements the method to use the resource 
ID as dispatching servlet path by default:

public void serveResource(ResourceRequest request, ResourceResponse response) 
throws PortletException, IOException {
if (request.getResourceID() != null) {
PortletRequestDispatcher rd = 
getPortletConfig().getPortletContext().getRequestDispatcher(
request.getResourceID());
if (rd != null)
rd.forward(request, response);
}
}


Regards,

Woonsan


----- Original Message ----
> From: hantone <[email protected]>
> To: [email protected]
> Sent: Wed, June 16, 2010 8:05:35 PM
> Subject: Re: Ajax WS call to update a widget value
> 
> 
Hi Woonsan,

YOU ROCK!

Thank you very much for you 
> reply!!!!

That was exactly what I needed to know!

I found these 
> sun pages that gave me some examples on how it works 
> :D
http://java.sun.com/developer/technicalArticles/J2EE/sdk_portletcontaineru5/#Sample_Application:Resource_Serving
http://developers.sun.com/portalserver/reference/techart/jsr286/jsr286_2.html

Thanks 
> again for taking the time to respond!

Horacio A Antonelli
-- 
View 
> this message in context: 
> http://old.nabble.com/Ajax-WS-call-to-update-a-widget-value-tp28868727p28905791.html
Sent 
> from the Jetspeed - User mailing list archive at 
> href="http://Nabble.com";>Nabble.com.


---------------------------------------------------------------------
To 
> unsubscribe, e-mail: 
> ymailto="mailto:[email protected]"; 
> href="mailto:[email protected]";>[email protected]
For 
> additional commands, e-mail: 
> ymailto="mailto:[email protected]"; 
> href="mailto:[email protected]";>[email protected]


      

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to