OnChangeAjaxBehavior

2009-04-01 Thread Vitek Tajzich
Hi, I have RadioChoice component and CompoundPropertyModel. I've added OnChangeAjaxBehavior but when I change value and go to method "onUpdate" then the model object is not updated yet. am I using wrong behaviour or what is it wrong? thx, Vitek

page parameters for home page

2009-03-29 Thread Vitek Tajzich
Hi, I want to get page parameters for home page. When I have page mounted to url etc: "page1" and I enter url "/page1/key/value" then I get this parameter via special constructor. How can I do same thing for Home page? I mean that I want to enter only "/key/value" .is it possible? thx, Vit

load html according to page parameters

2009-03-22 Thread Vitek Tajzich
Hi, I would like to load HTML according to page parameters. So If I get as page parameter "page1" a need to get page1.html or page1_en.html and so on... Any guess? thank you, Vitek

Re: form - ajax submit and validation

2009-02-20 Thread Vitek Tajzich
licks submitButton, the form is validated, if she > clicks cancelButton, it is not. > > Martin > > > > 2009/2/20 Vitek Tajzich : > > Wellsometimes is a good idea to read a documentation :-) > > > > I found on wicket's wiki that I have to update feedback

Re: form - ajax submit and validation

2009-02-20 Thread Vitek Tajzich
than one submit buttons and I have to set defaultFormProcessing = false. How can I call validation? thx, V. 2009/2/20 Vitek Tajzich > well it happend inside of FormI cannot do anything > > 2009/2/20 Martijn Dashorst > > perhaps add the feedback panel to the ajax request

Re: form - ajax submit and validation

2009-02-20 Thread Vitek Tajzich
well it happend inside of FormI cannot do anything 2009/2/20 Martijn Dashorst > perhaps add the feedback panel to the ajax request target? > > Martijn > > On Fri, Feb 20, 2009 at 10:55 AM, Vitek Tajzich > wrote: > > Hi, > > > > that wa

Re: form - ajax submit and validation

2009-02-20 Thread Vitek Tajzich
Hi, that was my mistake. I set to submit button defaultFormProcessing = false and that is why validation haven't been processed. Now validations are processed but I'm getting this warning: Component-targetted feedback message was left unrendered. This could be because you are missing a FeedbackPa

form - ajax submit and validation

2009-02-19 Thread Vitek Tajzich
Hi guys, I have form and AjaxButton as submit button for the form. If I use non ajax button validation is called and input fields are validated. But If I use AjaxButton then validation are passedWhat should I do to get form validated even If I use ajax button? thank you, Vitek

wicketstuff-how to contribute

2009-01-17 Thread Vitek Tajzich
Hi, I know that this question is not directly related to wicket itself but I hope that somebody knows answer J I have updated wicketstuff-lightbox project to be compliant with wicket 1.4-rc1 and I would send my changes back but I cannot find some contact, mail or something about wicketstuff

Re: Problem with dynamic insertion to Tree

2009-01-15 Thread Vitek Tajzich
what about call target.addComponent(this); ? you have updated tree but you didn't tell wicket to update this component visually... V. 2009/1/15 PSkarthic > > I have a problem in inserting/adding nodes dynamically to tree. > > When i inserted/added a node on click, the plus icon appears but it

Re: Modal window - chagne width and height

2009-01-06 Thread Vitek Tajzich
i, would you be kind to post also the server-side java code here? > Otherwise, I have to go guessing ... > > ** > Martin > > 2009/1/6 Vitek Tajzich : > > Hi, > > > > I've found a solution to this problem. It is straight forward but I did > one

RE: Modal window - chagne width and height

2009-01-05 Thread Vitek Tajzich
com/internet/webcontent/styles.html 2009/1/5 Vitek Tajzich : > Yes, that right but these properties are read only at construction time so > I'm not able to change size of already shown window by ajax > > If you have a solution I will be happy :-) > > V. > > 2009/1/5 Pil

AjaxRequestTarget.appendJavascript

2009-01-05 Thread Vitek Tajzich
Hi, I have really newbe question. I did in my code (just for test): target.appendJavascript("alert("message");"); And I found in debug window: So I gues that alert Windows with my message should be displayed but it is not. How does the "appendJavascript" work? Coul

Re: Modal window - chagne width and height

2009-01-05 Thread Vitek Tajzich
t; So there is some method setInitialWidth/setInitialHeight in ModalWindow > that should work :) > > > Vitek Tajzich a écrit : > > As far as I know that is not a window but only div actually, >> >> so I can't user resizeTo, can I? >> >&g

Re: Modal window - chagne width and height

2009-01-05 Thread Vitek Tajzich
As far as I know that is not a window but only div actually, so I can't user resizeTo, can I? 2009/1/5 Piller Sébastien > Even here? > > http://www.javascripter.net/faq/resizing.htm > > > Vitek Tajzich a écrit : > > Hi, >> >> actually there is now JS

Re: Modal window - chagne width and height

2009-01-04 Thread Vitek Tajzich
lf, with an AjaxBehavior (ie > AjaxAbstractDefaultBehavior#respond and AjaxRequestTarget#appendJavascript) > > > > Vitek Tajzich wrote: > >> Hi, >> >> >> Is it possible to resize Modal Window by ajax? >> >> >> I need for some reason to resize currently opened window.

Modal window - chagne width and height

2009-01-04 Thread Vitek Tajzich
Hi, Is it possible to resize Modal Window by ajax? I need for some reason to resize currently opened window. I've been looking on google and mailing list and I didn't found anything usable. I also looked into javascript for modal window and I think It should be possible.. Thanks.. V