I agree with that, but that's exactly why I'm asking.
I belive that there are a certain lack of documentation on how to use the
displaytag portlet support to generate URLs in exactly this situation. So
the issue here is not a bug or flaw, but how to use the support classes. In
real life.

Eric Dalquist-2 wrote:
> 
> That issue doesn't have to do with display tag it has to do with WS 
> Portal not supporting JSP 2.0 for portlets. You can probably do some JSP 
> magic using the JSP 1.0 useBean tag and some scriptlets to  get the 
> value of that object into the portlet parameter.
> 
> The PortletHref just provides a way for display tag generated URLs to be 
> portlet URLs versus standard URL (since portlets must use an API for URL 
> generation). 
> 
> -Eric
> 
> Bengt-erik wrote:
>> 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
>>>
>>>
>>>     
>>
>>   
> 
>  
> -------------------------------------------------------------------------
> 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#a9647593
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