open blank page (new page) on clicking calculated page url in a view

后端 未结 2 1116
醉话见心
醉话见心 2021-01-27 01:47

I\'ve got following viewPanel. I would like to open a new page when the users clicks on the calculated page url. I just don\'t seem to figure this out.



        
2条回答
  •  长情又很酷
    2021-01-27 02:48

    Some time back I was grappling with same issue. I created a workaround for it which works, but I don't know if it is the best way to go about it.

    First set the displayAs attribute of xp:viewColumn to hidden. So it looks something like this:

    
    

    Now put a Link control in the column, you would have to do this in Source tab. You can then set the target attribute to _blank for the Link control. So your code would look something like this:

    
        
            
            
        
    ...
    ...
    ...
    
    

提交回复
热议问题