I am working on a project to integrate GWT based UI components in a
Federated portal environment ( using WSRP protocol).
In WSRP the URLs to the application are different.
For example, in a standard web application an Ajax link would be
something like:
http://web_app_hostname:port/contextroot/ABC.ajax

The same URL in WSRP mode has to be rewritten as:

http://portalserver_hostname:port/resource?_portletId=xxy&wsrp-urlType=resource&wsrp-url=http://web_app_localhost:port/contextroot/ABC.ajax


As you can see, the WSRP URLs are different from the standard URLs.

In case of a web application developed based on Struts / JSF, we can
easily change the generated links by providing our Custom "link" tags.

However in case of GWT, the URLs are created at Client side by the
generated javascripts.

My Question:
How can I extend GWT so that the generated javascripts form URLs /
links as per my WSRP requirement?

Note: For testing purposes, I modified the generated javascripts and
hardcoded the URLs which I wanted and it works. However it is not
practical to modify every time the generated javascript code as
applications will have hunderd's of such URLs.
So, I am looking for a solution, where the URLs are properly rendered
by the GWT javascripts. It would be possible  if the javascripts read
URL formats from a configuration or template file.

Thanks in advance for the help.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to