well, its a decorator so that is the script you are going to be decorating :)if this is the first decorator in chain then it is the original script that wouldve been used.-Igor
On 9/18/06, Ayodeji Aladejebi <[EMAIL PROTECTED]> wrote:
See igor,in the decorateScript method of the AjaxCallDecoratordec
See igor,in the decorateScript method of the AjaxCallDecoratordecorateScript(java.lang.CharSequence script)what is the script parameter forOn 9/18/06,
Igor Vaynberg <[EMAIL PROTECTED]> wrote:
hide the button via _javascript_ and show an indicator instead. when the request completes show the button
hide the button via _javascript_ and show an indicator instead. when the request completes show the button again and hide the indicator.you can use an ajaxcalldecorator to accomplish all this, see indicatingajaxlink for some hints.
-IgorOn 9/18/06, Ayodeji Aladejebi <[EMAIL PROTECTED]> wrote:
if i
if i want an AjaxLink to be disabled the instant a user
clicks it so as to prevent multiple clicks by users, what will be the
cleanest way to implement this On 9/13/06, Eelco Hillenius <[EMAIL PROTECTED]> wrote:
If you attach Links to other elements, like span, an onclick handleris generated. If yo
If you attach Links to other elements, like span, an onclick handler
is generated. If you want to do the same, you should make a custom
component that implements ILinkListener and override onComponentTag
like this (simplified):
protected final void onComponentTag(final ComponentTag tag) {
Do you mean how to disable the link so it's not a link anymore?Link.setEnabled(false).The something is not valid html as far as I remember.Frank
On 9/13/06, Ayodeji Aladejebi <[EMAIL PROTECTED]> wrote:
How du I make a Link Component (an hyperlink) render as Link Name without the href att
-
How du I make a Link Component (an hyperlink) render as Link Name without the href att
-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make yo
> projects.
> >
> > So, I'm -1.
> >
> > Eelco
> >
> >
> > -----Oorspronkelijk bericht-
> > Van: Johan Compagner
> > Verzonden: vr 19-8-2005 15:27
> > Aan: wicket-user@lists.sourceforge.net
> >
---
Van: Johan Compagner
Verzonden: vr 19-8-2005 15:27
Aan: wicket-user@lists.sourceforge.net
CC:
Onderwerp: Re: [Wicket-user] HyperLink Text
that label should work (like others are pointing out.
But we should simplify this.
G
I think ... is better than just ... sice it
is clearer to (at least to me) to have a link which contains a label
than a link which is also a label.
So i think the way it's now is pretty nice and clear.
Cu,
Dave
Johan Compagner wrote:
that label should work (like others are pointing out.
But
Van: Johan Compagner
Verzonden: vr 19-8-2005 15:27
Aan: wicket-user@lists.sourceforge.net
CC:
Onderwerp: Re: [Wicket-user] HyperLink Text
that label should work (like others are pointing out.
But we should simplify this.
Thanks for the quick reply, my mistake, i was adding the label to the panel
instead of adding to the Link.
Thanks
Dipu
- Original Message -
From: "Eelco Hillenius" <[EMAIL PROTECTED]>
To:
Sent: Friday, August 19, 2005 2:14 PM
Subject: RE: [Wicket-user] HyperLink Tex
that label should work (like others are pointing out.
But we should simplify this.
Go to my Page
Link link = new Link('hlink',new Model("this is my text"));
why the extra span between them, mostly the model of the link isn't even
used.
An extra link class that extends link?
(the problem is
The corresponding Java code would be:
Link link = new Link("hlink") {protected void onClick() {} };
link.add(new Label("linkLabel", "Hello World!"));
add(link);
Or to be specific: you should add the label to the link, and the link to
the page (or parent component).
Martijn
Dipu wrote:
Hi,
Link link = new Link("hlink") {
public void onClick() {
...
}
};
link.add(new Label("linkLabel", "your text"));
add(link)
should work.
I guess you simply forget that the linkLabel is inside the hlink...
Cu,
Dave
Dipu wrote:
Hi,
Is there any way i can dynamically specfy the HyperLink t
-user] HyperLink Text
Hi,
Is there any way i can dynamically specfy the HyperLink text ?
Right now if i have a link the markup look like
Go to my Page
I would like to replace the "Go to my Page&
Hi,
Is there any way i can dynamically specfy the
HyperLink text ?
Right now if i have a link the markup look like
Go to my Pagea>
I would like to
replace the "Go to my Page" link text with some dynamic
content.
I tried adding a label like
this
17 matches
Mail list logo