Ok, I think I've got the syntax correct but I'm still not getting the desired reults.

The syntax I'm generating is:

<a href="<jetspeed:portletlink name="DocSwitchAuditLogDetails" action="controls.Maximize"/>&docid=RTCTH2SOLCUSRES20030327001111345">View Log Details</a>

but instead of getting a hyperlink with just "View Log Details" I get the following for my hyperlink:

&docid=RTCTH2SOLCUSRES20030327001111345">View Log Details <http://localhost:8888/dsportal/%3Cjetspeed:portletlink%20name=>

Now I'm guessing that there's something I need to do to get the taglib to process the jetspeed:portletlink tag as the above syntax is set into a string variable and displayed in the orginial portlet with

<%= stringResult %>

as in:

String stringResult = "<a href=\"<jetspeed:portletlink name=\"DocSwitchAuditLogDetails\" action=\"controls.Maximize\"/>&docid=RTCTH2SOLCUSRES20030327001111345\">View Log Details</a>"

Is there anything I can do to get the directive processed correctly?

Thanks in advance,
Chuck


Mark Orciuch wrote:


How does one use the jetspeed:portletlink tag?




Please see JSP1_1andJetspeedTagLib demo portlets for some examples.




I'm trying to build the content for the tag dynamically as I have a
table that I display in the original portlet and the first column of the
table contains the link to the detailed view. The link needs a parameter
that changes for each row, so the jetspeed:portletlink tag needs to look
something like:

<a href="<jetspeed:portletlink name="MyDetailedPortlet"/>&id=<%=
dynamicId %> >Click Here for Details</a>

First question is, is the above correct syntax?




<a href="<jetspeed:portletlink name="MyDetailedPortlet"/>&id=<%=dynamicId%>">Click Here for Details</a>

Assuming that MyDetailedPortlet is in your current psml, then the above
should work (I think that you were missing a closing double quote for href
attribute).

Best regards,

Mark Orciuch - [EMAIL PROTECTED]
Jakarta Jetspeed - Enterprise Portal in Java
http://jakarta.apache.org/jetspeed/


--------------------------------------------------------------------- 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