Here you go:
 <menu-item name="GenerateShortProfile" title="${uiLabelMap.GenerateSP}">
    <link target="javascript:return 
document.ExperiencesOverview.selectedExperiences.value;" target-window="_blank" 
url-mode="plain"/>
</menu-item>

Disclaimer: I'm just guessing on the javascript in the target attribute.

Regards
Scott

HotWax Media
http://www.hotwaxmedia.com

On 19/08/2010, at 11:55 PM, Pierre Smits wrote:

> Hi all,
> 
> In a menuappbar file I have following menu item:
> 
>        <menu-item name="GenerateShortProfile"
> title="${uiLabelMap.GenerateSP}">
>            <link
> target="javascript:window.open(document.ExperiencesOverview.selectedExperiences.value,
> 'newwindow');" url-mode="plain"/>
>        </menu-item>
> 
> When in the browser and I clik on the generated menu a new window is opened
> and the expected result is shown (based on the generated url in field
> selectedExperiences), but the originating window changes to a blank screen
> with only
> 
> *[object Window]*
> 
> in stead of displaying the original page.
> 
> Somewhere I am doing something wrong, but what? And how do I resolve this?
> 
> Any pointer would be appreciated.
> 
> Regards,
> 
> Pierre

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to