So I will never use PortletHref directly?

Then I don't understand...

This is not possible using WS Portal 5.1 as it requires JSP 2.0

        <portlet:actionURL var="classDetailsUrl">
        <portlet:param name="action" value="viewSnpClassDetails"/>
        <portlet:param name="id">
                <jsp:attribute name="value">
                                <c:out value="${row.id}"/>                      
        
                        </jsp:attribute>
                </portlet:param>
        </portlet:actionURL>

What I need to do is generate the above url in another way through replacing 
<portlet:param name="id">
                <jsp:attribute name="value">
                                <c:out value="${row.id}"/>                      
        
                        </jsp:attribute>
                </portlet:param>
with some other code. I thought that PortletHref could be of help.
Could it be useful?





Eric Dalquist-2 wrote:
> 
> You would do something like:
> 
> request.setAttribute("attributeName", objectValue);
> 
> The DisplayTag library generates the URLs internally, if you need to 
> generate URLs you should use the portlet tag library the JSR-168 
> specification provides.
> 
> -Eric
> 
> Bengt-erik wrote:
>> Thanks.
>> I've read this page over and over.
>> Let me be very concrete:
>>
>> I have a displaytag.properties file in classpath with the prescribed text
>> entry.
>>
>> Quote from page: "To provide these objects it is recommended they be
>> bound
>> as request attributes using these names."
>> How do I do this, say from a Spring controller?
>>
>> And how does the fact that these objects are bound to the page context
>> under
>> prescribed names help me to generate a usable portlet url?
>>   
> 
>  
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share
> your
> opinions on IT & business topics through brief surveys-and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> displaytag-user mailing list
> displaytag-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/displaytag-user
> 
> 

-- 
View this message in context: 
http://www.nabble.com/How-do-you-use-displaytag-portlet-support--tf3453635.html#a9638005
Sent from the DisplayTag - General mailing list archive at Nabble.com.


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
displaytag-user mailing list
displaytag-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/displaytag-user

Reply via email to