Hi,
You need to disable the button with JavaScript just before its Ajax call is
made and re-enable it in the success/failure JS callbacks.
I don't remember how to do the first... For the latter you have to override
some extra methods. Check the API.
On Dec 5, 2015 1:54 AM, "sorinev" wrote:
> I g
I gave that a shot but it didn't seem to work. It still did the disabling
after onSubmit() returned. I'm not going to worry about it at this point, I
just thought it'd be better to do it.
Thanks for your assistance mihir.
mihir wrote
> You could something like below:
>
>final AjaxButt
You could something like below:
final AjaxButton testButton1 = new AjaxButton("test1"){
/**
*
*/
private static final long serialVersionUID = 1L;
@Override
protected void onSubmit(AjaxRequestTarget target, Form form)
{
target.appendJavascript("docum
Yes, it's Wicket 1.4.17. I've thought about migrating it to one of the more
recent versions. But with 41k lines of java across 225 files just in the
Wicket portion of our enterprise application, it'll be a major pain to
migrate considering there were several enormous changes to certain
components/f
Hi,
As you have mentioned target.addComponent(comp), it seems you are using
Wicket 1.4. Just so that it might be helpful to you; Wicket 1.4 is no
longer supported - does not mean that you won't get answers from forum but
there won't be any release for 1.4 version (I am writing this based upon
onli
Hi, see #bind()
I have a dialog with 3 AjaxIndicatingButtons on it. When I override
onSubmit(), I can disable the 'this' component in real time
(this.setEnabled(false)), but traditionally, any other component that gets
modified has to do target.addComponent(comp) and then wait for the
onSubmit() to return in order
web.xml
On Dec 4, 2015 8:20 PM, "Lois GreeneHernandez"
wrote:
> Thanks Martin for your response,
>
> I have a question, does this code go into web.xml or sun-web.xml or is
> there another xml that I need to create. I know that one can have a
> glassfish.*.xml but we don't have that in our set up
hello,
i want to write an collapsebehavior based on bootstrap collapse (
http://getbootstrap.com/javascript/#collapse). so you have an icon or
button or waht else which will toggle a container. both components are
independent added to the page or panel.
example:
public class CollapseBehavior exte
Thanks Martin for your response,
I have a question, does this code go into web.xml or sun-web.xml or is there
another xml that I need to create. I know that one can have a glassfish.*.xml
but we don't have that in our set up.
Please advise.
Thanks in advance for all of your help.
Lois
Hi Maxim,
it should be available within the next SNAPSHOT. I pushed the
corresponding commits to master and to wicket-7.x, now.
ExternalImage and ExternalSource.
Here are some examples:
https://github.com/apache/wicket/blob/master/wicket-core/src/test/java/org/apache/wicket/markup/html/image
Hi,
See the Tomcat 7/8 hint at the bottom. GF4 should support that already.
Martin Grigorov
Wicket Training and Consulting
https://twitter.com/mtgrigorov
On Fri, Dec 4, 2015 at 8:02 PM, Lois GreeneHernandez <
lgreenehernan...@knoa.com> wrote:
> Actually we're using glassfish 4 and it's a good q
Actually we're using glassfish 4 and it's a good question, but I don't know if
we configured it to not use jsessionid? I'll research that.
Thanks for your input.
Lois
-Original Message-
From: Sven Meier [mailto:s...@meiers.net]
Sent: Friday, December 04, 2015 12:43 PM
To: users@wick
Hi,
did you configure Tomcat to not use jsessionid?
http://stackoverflow.com/questions/962729/is-it-possible-to-disable-jsessionid-in-tomcat-servlet
Regards
Sven
On 04.12.2015 17:03, Lois GreeneHernandez wrote:
Hi All,
I was tasked with modifying a wicket6/glassfish4 application so that the
Hi All,
I was tasked with modifying a wicket6/glassfish4 application so that the
session id changes as soon as a user logs in. This is to avoid the problem of
Session Fixation. I used the replaceSession() method (from the wicket Session
class), which does a destroy(); and a bind();. replaceS
unfortunately I was unable to test it or participate in discussion :(
will try it in next available snapshot :)
On Tue, Dec 1, 2015 at 2:17 AM, Tobias Soloschenko <
tobiassolosche...@googlemail.com> wrote:
> Hi Martin :-D,
>
> and here it is:
>
> https://github.com/apache/wicket/pull/143
>
> kind
16 matches
Mail list logo