Re: [Wicket-user] window name is not taken from PopopSetting's pagemap

2006-11-12 Thread Erik van Oosten
Should this not also include a target attribute, e.g. target="myReport"?

  Erik.

Nili Adoram write:
> Yes, the generated link is:
>
>  wicket:id="reportLink" onclick="window.open(getReportUrl(), 'myReport', 
> 'scrollbars=yes,location=no,menuBar=no,resizable=no,status=no,toolbar=no');  
> return false;" id="reportLink">Report
>
>
> Johan Compagner wrote:
>   
>> what does the link where you click on look like?
>>
>> Does it include the pagemap?
>>
>> johan
>> 
-- 
Erik van Oosten
http://www.day-to-day-stuff.blogspot.com/


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] window name is not taken from PopopSetting's pagemap

2006-11-12 Thread Nili Adoram
Yes, the generated link is:

Report


Johan Compagner wrote:
> what does the link where you click on look like?
>
> Does it include the pagemap?
>
> johan
>
>
> On 11/12/06, *Nili Adoram* < [EMAIL PROTECTED] 
> > wrote:
>
> Hi all,
> I've created a BookmarkableLink with PopupSettings:
> BookmarkablePageLink reportButton = new
> BookmarkablePageLink("reportLink", MyReport.class);
> PopupSettings popup = new PopupSettings(PageMap.forName("myReport"),
> PopupSettings.SCROLLBARS);
> popup.setTarget("getReportUrl()");   //a javascript function that
> determines the URL
> reportButton.setPopupSettings(popup);
> add(reportButton);
>
> However, when the popup is opened and I call window.name
>  I get
> "wicket:default".
> Consequently, whenever  I click this link a new popup is opened
> instead
> of reusing the same window.
>
> It seems that when the bookmarkable page is created it does not
> get the
> popup page map.
>
> I tried with ExternalLink and Link but nothing helped.
>
> How can I guarantee that the popup is opened with the name I set in
> PopupSettings.
>
> Thanks,
> Nili
>
>
>
> -
>
> Using Tomcat but need to do more? Need to support web services,
> security?
> Get stuff done quickly with pre-integrated technology to make your
> job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache
> Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> 
> ___
> Wicket-user mailing list
> Wicket-user@lists.sourceforge.net
> 
> https://lists.sourceforge.net/lists/listinfo/wicket-user
> 
>
>
> 
>
> -
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> 
>
> ___
> Wicket-user mailing list
> Wicket-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>   

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user