Re: Remove ListView item in ModalWindow

2010-10-19 Thread armandoxxx
Hey mate .. sorry for late reply ... I decided to make a ModalWindow and use a page instead of a setContent() ... I think that might help .. I read on some forum that setContent() on modal window caused people some problems and they advised to use page instead .. so, i'll just create a page

AW: Treat Label and InputFields as one unit

2010-10-19 Thread Markus Bohl
Hi Martijn, I did't know about this tag. Thank you. Markus -Ursprüngliche Nachricht- Von: Martijn Dashorst [mailto:martijn.dasho...@gmail.com] Gesendet: Montag, 18. Oktober 2010 13:45 An: users@wicket.apache.org Betreff: Re: Treat Label and InputFields as one unit See the

SSL Links and buttons

2010-10-19 Thread sonxurxo
Hi all, This question applies to Wicket 1.4.9. I have an app where I have a Sign-in component (Panel) that is shown in (almost) every page of the site. I'd like all the app to work over http, and that form to work over https. Since the @RequireHttps annotation only works on pages and not

Re: Remove ListView item in ModalWindow

2010-10-19 Thread armandoxxx
Well that did it .. I made a separate page and added that page into a ModalWindow. I also removed item from a list not from ListView Component .. and now it's working properly ! Regards Armando -- View this message in context:

WiQuery and AjaxFallbackLink

2010-10-19 Thread drf
When adding javascript to an AjaxFallbackLink, it is not possible to simply do: link.add(new SimpleAttributeModifier(...)), rather one has to use IAjaxCallDecorator http://apache-wicket.1842946.n4.nabble.com/Confirmation-dialog-td1844404.html Does anyone know if there is a similar issue when

TextField submit via Ajax

2010-10-19 Thread Altuğ Bilgin Altıntaş
Hi; How can i submit a form via Ajax when user hit the enter key on a TextField ? I did below but it doesn't work. myTextField.add(new AjaxFormComponentUpdatingBehavior(onsubmit) { @Override protected void onUpdate(AjaxRequestTarget target) { //...

Re: WiQuery and AjaxFallbackLink

2010-10-19 Thread Ernesto Reinaldo Barreiro
Not quite following you... but why don't you: 1-create an AJAX link that opens a WiQuery dialog. 2-on dialog ok button do whatever you need to do 3-on cancel do nothing. Ernesto On Tue, Oct 19, 2010 at 3:03 PM, drf davidrfi...@gmail.com wrote: When adding javascript to an AjaxFallbackLink, it

Re: WiQuery and AjaxFallbackLink

2010-10-19 Thread drf
Ernesto Thanks - but that is really my question - is it actually possible to add a WiQuery dialog to an AjaxFallbackLink? I ask as it is not possible to add JavaScript to an AjaxLink (at least not simply using SimpleAttributeModifier) , and as jQuery is built upon JavaScript, am asking if that

Re: TextField submit via Ajax

2010-10-19 Thread Martin Grigorov
1. you need AjaxFormSubmitBehavior(onkeyup) 2. you'll have to add AjaxCallDecorator to it do fire only when the key is ENTER, i.e. event.keyCode === 13 2010/10/19 Altuğ Bilgin Altıntaş alt...@gmail.com Hi; How can i submit a form via Ajax when user hit the enter key on a TextField ? I did

Re: WiQuery and AjaxFallbackLink

2010-10-19 Thread Ernesto Reinaldo Barreiro
As said... I would do this as follows -Create a wiQuery dialog on your page. Set it to initially hidden. -Create an ordinary AJAX link. On link on click use dialog open(AjaxRequestTarget) to show it. -Add dialog buttons Ok and Cancel and add your logic to them. Not sure you can do what you

RE: code review: org.apache.wicket.pageStore.AsynchronousDataStore.removeData

2010-10-19 Thread John Owen
Shouldn't this be on the dev mailing list instead? -Original Message- From: richard emberson [mailto:richard.ember...@gmail.com] Sent: Monday, October 18, 2010 8:50 PM To: users@wicket.apache.org Subject: code review: org.apache.wicket.pageStore.AsynchronousDataStore.removeData

Re: code review: org.apache.wicket.pageStore.AsynchronousDataStore.removeData

2010-10-19 Thread richard emberson
I've submitted such items to the dev list and got no reply. At least here some knowledgeable user may look at the code and provide feedback. On 10/19/2010 07:30 AM, John Owen wrote: Shouldn't this be on the dev mailing list instead? -Original Message- From: richard emberson

Re: code review: org.apache.wicket.pageStore.AsynchronousDataStore.removeData

2010-10-19 Thread Martin Grigorov
On Tue, Oct 19, 2010 at 4:40 PM, richard emberson richard.ember...@gmail.com wrote: I've submitted such items to the dev list and got no reply. Hm, I don't remember seeing this in d...@. But I don't remember many other things too :-) At least here some knowledgeable user may look at the code

Re: Sending data to a wicket form through a POST from an external site

2010-10-19 Thread ali
Hi, I am a new user of Wicket. Is it possible that wicket Form (that intends to receive the data posted from an external link) use the Model object(POJO) that matches the expecting data fields/parameters? Actually I am thinking to avoid PageParameters to fetch each parameter. Quick response

Re: Sending data to a wicket form through a POST from an external site

2010-10-19 Thread Martin Makundi
Why not? ** Martin 2010/10/19 ali sajjad_program...@hotmail.com: Hi, I am a new user of Wicket. Is it possible that wicket Form (that intends to receive the data posted from an external link) use the Model object(POJO) that matches the expecting data fields/parameters? Actually I am

Re: code review: org.apache.wicket.pageStore.AsynchronousDataStore.removeData

2010-10-19 Thread richard emberson
I am simply in the process of looking into Wicket; reading one of the Wicket books, lurking on the mailing list and reviewing the code and comments. I have not yet determined at what level I might become involved with Java Wicket. The code in this particular message thread I did not grok, so I

Re: code review: org.apache.wicket.pageStore.AsynchronousDataStore.removeData

2010-10-19 Thread Martin Grigorov
Indeed the code looks strange. I'll improve it now. On Tue, Oct 19, 2010 at 5:46 PM, richard emberson richard.ember...@gmail.com wrote: I am simply in the process of looking into Wicket; reading one of the Wicket books, lurking on the mailing list and reviewing the code and comments. I

_extend48 - ring any bells?

2010-10-19 Thread Wayne W
Hi, I've got a problem in production whereby our application home page throws a :Unable to find component with id 'mainPanel' in [MarkupContainer [Component id = _extend48]] This only happens once or twice a week. We don't have any components named '_extend48' or similar anywhere in the code.

Re: _extend48 - ring any bells?

2010-10-19 Thread Jeremy Thomerson
That is the id for the wicket extend tag in your markup Jeremy Thomerson http://wickettraining.com -- sent from my smart phone, so please excuse spelling, formatting, or compiler errors On Oct 19, 2010 12:46 PM, Wayne W waynemailingli...@gmail.com wrote: Hi, I've got a problem in production

Re: _extend48 - ring any bells?

2010-10-19 Thread Martin Makundi
Would you show the html of this mainpanel and also its super panel? ** Martin 2010/10/19 Wayne W waynemailingli...@gmail.com: Hi, I've got a problem in production whereby our application home page throws a :Unable to find component with id 'mainPanel' in [MarkupContainer [Component id =

Re: Populating a model with form data from external site

2010-10-19 Thread ali
Does this work? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Populating-a-model-with-form-data-from-external-site-tp122p3002211.html Sent from the Users forum mailing list archive at Nabble.com.

Re: _extend48 - ring any bells?

2010-10-19 Thread Wayne W
super panel: 1 html 2 body 3 wicket:extend 4 div wicket:id=mainPanel/ 5 /wicket:extend 6 /body 7 /html mainpanel: the main panel can be one of 3 different panels depending on the context of the

wicket push (comentd) and ajaxlazyloadingpanel

2010-10-19 Thread fachhoch
I update a label using cometd. It was working fine. this label was inside a panel . Now I changed the panel to AjaxLazyloadingPanel , the cometd listener is no more responding to comentd message , if I change it back to Panel it works , please tell me cometd has any problems with

Re: SSL Links and buttons

2010-10-19 Thread Igor Vaynberg
so far i dont think there are any plans to support ssl forms outside of @RequireHttps here is something that might work for you though: class secureform extends form { oncomponenttag(tag) { super.oncomponenttag(tag); string act=tag.get('action); act=rqeuestutils.toabsoluteurl(act);

Stuck: Can't get Checkboxes in DataTable to update model

2010-10-19 Thread leech
Summary: I have a DefaultDataTable that is embedded in a form. In the table is a checkbox column that I setup using a panel inside the cell. That works. When run, the table displays fine. The model get method is accessed. When I click on some of the checkboxes and click the submit button, The

Re: Stuck: Can't get Checkboxes in DataTable to update model

2010-10-19 Thread James Carman
Does PanelCfg implement equals/hashCode properly? On Tue, Oct 19, 2010 at 4:35 PM, leech lee.chal...@gmail.com wrote: Summary: I have a DefaultDataTable that is embedded in a form.  In the table is a checkbox column that I setup using a panel inside the cell.  That works. When run, the

Re: Stuck: Can't get Checkboxes in DataTable to update model

2010-10-19 Thread leech
You Be The Man James! Thankyou. That did it. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Stuck-Can-t-get-Checkboxes-in-DataTable-to-update-model-tp3002773p3002826.html Sent from the Users forum mailing list archive at Nabble.com.

Re: wicket push (comentd) and ajaxlazyloadingpanel

2010-10-19 Thread Rodolfo Hansen
maybe some header javascript is not being rendered now... I will try to check later on. On Tue, 2010-10-19 at 13:03 -0700, fachhoch wrote: I update a label using cometd. It was working fine. this label was inside a panel . Now I changed the panel to AjaxLazyloadingPanel , the cometd

Re: Stuck: Can't get Checkboxes in DataTable to update model

2010-10-19 Thread James Carman
I'm just paying it forward. I most certainly get more help here than I give! :) Glad to help. Happy Wicketeering! On Tue, Oct 19, 2010 at 5:08 PM, leech lee.chal...@gmail.com wrote: You Be The Man James! Thankyou. That did it. -- View this message in context:

Re: Stuck: Can't get Checkboxes in DataTable to update model

2010-10-19 Thread Igor Vaynberg
so you are paying it backward :) -igor On Tue, Oct 19, 2010 at 3:00 PM, James Carman ja...@carmanconsulting.com wrote: I'm just paying it forward.  I most certainly get more help here than I give! :)  Glad to help.  Happy Wicketeering! On Tue, Oct 19, 2010 at 5:08 PM, leech

Re: Stuck: Can't get Checkboxes in DataTable to update model

2010-10-19 Thread James Carman
That may be true. :) There's always one in every crowd. On Tue, Oct 19, 2010 at 6:05 PM, Igor Vaynberg igor.vaynb...@gmail.com wrote: so you are paying it backward :) -igor On Tue, Oct 19, 2010 at 3:00 PM, James Carman ja...@carmanconsulting.com wrote: I'm just paying it forward.  I most

Re: Stuck: Can't get Checkboxes in DataTable to update model

2010-10-19 Thread Igor Vaynberg
i resemble that remark -igor On Tue, Oct 19, 2010 at 3:07 PM, James Carman ja...@carmanconsulting.com wrote: That may be true. :)  There's always one in every crowd. On Tue, Oct 19, 2010 at 6:05 PM, Igor Vaynberg igor.vaynb...@gmail.com wrote: so you are paying it backward :) -igor On

Re: wicket push (comentd) and ajaxlazyloadingpanel

2010-10-19 Thread fachhoch
Thank you for your reply, Is there any quick fix I can do in my code ? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/wicket-push-comentd-and-ajaxlazyloadingpanel-tp3002727p3002944.html Sent from the Users forum mailing list archive at Nabble.com.

Re: wicket push (comentd) and ajaxlazyloadingpanel

2010-10-19 Thread Rodolfo Hansen
Adding a cometd behavior on some other component else (that isn't lazily loaded and isn't hidden) should work. On Tue, 2010-10-19 at 15:29 -0700, fachhoch wrote: Thank you for your reply, Is there any quick fix I can do in my code ?

Long running task with download

2010-10-19 Thread Martin Zardecki
Hi List, I have an interesting problem, I have a long running task where I build a zip file out of data which I then want to download to the user. I have a dialog on my main windows which builds the zip file fine while providing feedback (using a ModalWindow and Wicket AJAX) but I'm then

Mount a page to root path in wicket 1.5

2010-10-19 Thread Alex Objelean
Hi! Is it possible to mount a page to root path (/) in latest wicket 1.5 branch? Thanks! Alex -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Mount-a-page-to-root-path-in-wicket-1-5-tp3003270p3003270.html Sent from the Users forum mailing list archive at

Re: Long running task with download

2010-10-19 Thread Jeremy Thomerson
On Tue, Oct 19, 2010 at 11:22 PM, Martin Zardecki mpza...@truecool.comwrote: Hi List, I have an interesting problem, I have a long running task where I build a zip file out of data which I then want to download to the user. I have a dialog on my main windows which builds the zip file fine

Re: Mount a page to root path in wicket 1.5

2010-10-19 Thread James Carman
Isn't that the home page? On Wed, Oct 20, 2010 at 1:28 AM, Alex Objelean alex.objel...@gmail.com wrote: Hi! Is it possible to mount a page to root path (/) in latest wicket 1.5 branch? Thanks! Alex -- View this message in context:

Re: Mount a page to root path in wicket 1.5

2010-10-19 Thread Jeremy Thomerson
On Wed, Oct 20, 2010 at 12:28 AM, Alex Objelean alex.objel...@gmail.comwrote: Hi! Is it possible to mount a page to root path (/) in latest wicket 1.5 branch? Thanks! Alex -- View this message in context:

Re: Long running task with download

2010-10-19 Thread Ernesto Reinaldo Barreiro
Maybe [1] will be useful for the final step. Or maybe just replace your progress reporting panel with a panel containing a download link. Ernesto 1-https://cwiki.apache.org/confluence/display/WICKET/AJAX+update+and+file+download+in+one+blow On Wed, Oct 20, 2010 at 6:22 AM, Martin Zardecki