Satish Sekharan wrote:
Inside header.jsp >>
Ok. You didn't attach that one :-)


<eventView><html:rewrite action="eventView.do"/></eventView>
I'm puzzled how this could result in an 
/http://bluefin.cc.mun.ca:8080/cal/eventView url.
The Struts Bridge rewrite tag first lets the Struts tag itself transform the 
tag to an url.
That should lead to something like "/eventView".
Then, the Struts Bridge will create an portlet url with a parameter 
_spage=/eventView.

So, where this is transformed to 
_spage=/http://bluefin.cc.mun.ca.8080/cal/eventView I don't know for sure
but I do suspect the xslt template.

I noted that cal.xml contains
      <urlprefix>
        http://bluefin.cc.mun.ca:8080/cal
      </urlprefix>
Maybe that is injected somewhere by the template?

If you can't find out quickly, I suggest debugging the Struts Bridge rewrite 
tag. Put a break at line 114
and you will be able to monitor the incoming url, the result from Struts itself 
and the final result
produced by the bridge.


It is using the struts tags to create the links. This link is then included in the xml data and then it is used in the xslt tranformation.

This is an example of a link that is created in the portlet using the struts bridge >>

http://bluefin.cc.mun.ca:8080/uPortal/[EMAIL PROTECTED]@portlet-params.tag.d8f4b0a73dcc9f58.render.userLayoutRootNode.target.86.uP#8038586D11EC4AF81E0B20CE84F08347/86?eventId=1

Ate Douma wrote:

Satish Sekharan wrote:

I just sent a email with some attachements. It just disappeared. I will send it again.


Well, I've seen them already :-)
As far as I can tell from this, you aren't using the Struts tags to render
the links are you?

I guess the xslt template is doing that.
In that case, you don't have a Struts Bridge problem but a general JSR-168 one.

You *must* use RenderResponse.createRenderURL() or RenderResponse.createActionURL()
to be able to communicate back to the portlet...
The Struts Bridge tags does that under the covers (using StrutsPortletURL).

If you are *not* using the Struts Bridge tags, you need to use the porlet api
(or the porlet tags) yourself.

Good luck,

Ate


Ate Douma wrote:

Satish,

You don't give me much to go by for your problem.
But the logged path "/http://bluefin.cc.mun.ca:8080/cal/eventView"; certainly
doesn't look valid (note the '/' in front of the http:// part).
Most likely you are not using the struts-bridge link (or resource) tag correctly. Please provide a snippet from the jsp code and the related struts mapping.
Maybe then I'll be able to help you more.







---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]








---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to