mklprasad wrote:
>
> HI,
> try using the normal javascript like
> <display-column title="POPUP">
> <a
> href="Javascript:Winopen(url,width,height);">${YourValue}</a>
> </display-column>
>
> <script>
> function Winopen(url,w,h)
> {
> window.open(url,'','width='+w+',height='+h+'...............');
> }
> </script>
>
>
>
> Loupita wrote:
>>
>> Hello!
>>
>> I have a display table which displays several users, I want one of the
>> columns to contain a link which when clicked will open a popup-window
>> (and call an action ).
>> I've tried using a code snipped that worked successfully in an tag, but
>> it doesn't work here.
>> "updateReservation(...)" is a simple javascript function which opens the
>> popup, and takes an URL as argument.
>> It looks like this:
>> javascript:updateReservation('<s:url
>> value="UpdateReservationAction.action"><s:param name="id" value="id"
>> />></s:url>')
>>
>> Could you perhaps help me with changing this code so it will work with
>> the href in the <display:column> tag, or tell me if it is even possible
>> to do it?
>>
>> Thanks alot!
>> Regards,
>> Alia
>>
>
>
--
View this message in context:
http://www.nabble.com/Using-the-href-of-the-%3Cdisplay%3Acolumn%3E-tag-to-open-a-popup-tp22499726p22558250.html
Sent from the DisplayTag - General mailing list archive at Nabble.com.
------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
displaytag-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/displaytag-user