Ok, cool. Thanks.
On Thu, Sep 25, 2008 at 11:30 AM, Martijn Dashorst
<[EMAIL PROTECTED]> wrote:
> when you want to control the size and such of the popup window.
>
> Martijn
>
> On Thu, Sep 25, 2008 at 5:07 PM, James Carman
> <[EMAIL PROTECTED]> wrote:
>> Yes, you are correct (not about being inc
when you want to control the size and such of the popup window.
Martijn
On Thu, Sep 25, 2008 at 5:07 PM, James Carman
<[EMAIL PROTECTED]> wrote:
> Yes, you are correct (not about being incorrect, but about it being
> simpler to do it in the markup). That begs the question, when are
> PopupSettin
i would say its the other way around. adding an attribute modifier is
overkill for something like this.
-igor
On Thu, Sep 25, 2008 at 7:26 AM, Wilhelmsen Tor Iver <[EMAIL PROTECTED]> wrote:
>> Try:
>> Link lk = new ExternalLink("lk", "http://...";) {
>> @Override
>> protec
Yes, you are correct (not about being incorrect, but about it being
simpler to do it in the markup). That begs the question, when are
PopupSettings appropriate as opposed to just adding the popup crap to
the markup file?
On Thu, Sep 25, 2008 at 11:04 AM, Martijn Dashorst
<[EMAIL PROTECTED]> wrote
weird, in my memory the popupsettings were only available on Link. My
mistake. Nevertheless: I stand by my statement that target="foo" in
markup is the most simple solution.
Martijn
On Thu, Sep 25, 2008 at 4:46 PM, James Carman
<[EMAIL PROTECTED]> wrote:
> So, why is the method on ExternalLink?
>
So, why is the method on ExternalLink?
On Thu, Sep 25, 2008 at 10:41 AM, Martijn Dashorst
<[EMAIL PROTECTED]> wrote:
> On Thu, Sep 25, 2008 at 4:31 PM, James Carman
> <[EMAIL PROTECTED]> wrote:
>> Have you tried calling setPopupSettings()?
>
> DOesn't work on external link
>
> Just add the target
On Thu, Sep 25, 2008 at 4:31 PM, James Carman
<[EMAIL PROTECTED]> wrote:
> Have you tried calling setPopupSettings()?
DOesn't work on external link
Just add the target to the markup—one of the things Wicket goes out to
do is to not touch attributes when not asked to. Adding the target to
the mark
Have you tried calling setPopupSettings()?
On Thu, Sep 25, 2008 at 10:26 AM, Wilhelmsen Tor Iver
<[EMAIL PROTECTED]> wrote:
>> Try:
>> Link lk = new ExternalLink("lk", "http://...";) {
>> @Override
>> protected void onComponentTag(ComponentTag tag) {
>> supe
> Try:
> Link lk = new ExternalLink("lk", "http://...";) {
> @Override
> protected void onComponentTag(ComponentTag tag) {
> super.onComponentTag(tag);
> tag.put("target", "_blank");
> }
> };
A bit overkill: You might inst
Michael Sparer a écrit :
or simply add it to the markup ;-)
Sure! much better ;)
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
another window, but it is
>> opening in the same window.
>>
>> have you any idea.
>> thanks
>> J
>>
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
-
Michael Sparer
http://talk-
Try:
Link lk = new ExternalLink("lk", "http://...";) {
@Override
protected void onComponentTag(ComponentTag tag) {
super.onComponentTag(tag);
tag.put("target", "_blank");
}
};
;)
newbie_to_wicket a écrit :
hi,
I am using Exte
hi,
I am using ExternalLink , I'd like to open in another window, but it is
opening in the same window.
have you any idea.
thanks
J
--
View this message in context:
http://www.nabble.com/Need-to-open-the-Link-in-another-window-tp19666989p19666989.html
Sent from the Wicket - User mailing
13 matches
Mail list logo