Re: How to dynamically create wicket label and TextField Component?

2010-03-09 Thread Ernesto Reinaldo Barreiro
Sorry can you describe a bit more what you want to achieve? Ernesto On Tue, Mar 9, 2010 at 4:53 AM, sravan g sravangs...@gmail.com wrote: Hi all, Any one have idea about How to dynamically create wicket label and TextField Component based on other TextField value from Database? Thanks,

Re: Create a label in onUpdate method using ajax (AjaxFormComponentUpdatingBehavior)

2010-03-09 Thread Ernesto Reinaldo Barreiro
AjaxFormComponentUpdatingBehavior.onError? Ernesto On Mon, Mar 8, 2010 at 10:41 PM, Gustavo Henrique gustavo...@gmail.comwrote: Hi guys! I'm trying create a label contain an error message after ajax request, but no success. I can't use FeedbackPanel because it changes the design. So I did:

Re: jWicket release 0.5.0

2010-03-09 Thread Ernesto Reinaldo Barreiro
Hi Bernard, Thanks for your comments. I'm not 100% sure this is the same as 4996 but one thing is clear: after an AJAX update of the page Droppables stop to work. On the other hand it seems Stefan was able to fix this patching jquery for issue 4996 so it must be the same issue. Somehow it is

Re: Wicketstuff-Push without Dojo?

2010-03-09 Thread Richard Wilkinson
From what I have read, the cometd implementation used by wicketstuff-push should work with any servlet 3 spec container (for example the in development tomcat 7) as well as jetty 6+, however I have only tried with jetty 6. Using atmosphere allows it to work on any container (even tomcat 4)

jquery and wicket

2010-03-09 Thread Thorsten
Hi, I'd like to use jquery in my wicket application. So far, I need tooltips. I think, I could use wiquery for that, right? On the wiquery homepage the latest build is Revision 44 from 04/07/2009. Is that the most recent one? Can I use jquery plugins in combination with wiquery, e.g. qtip

Re: jquery and wicket

2010-03-09 Thread bht
I can't tell you all the rules for compatibility and interoperability with Wicket's own js library. I think you will find answers on that with web searches. But I can tell you that I use jQuery without problems. I use jsTree, jqModal and other components. I exchange data via Wicket HiddenField.

Re: jquery and wicket

2010-03-09 Thread Richard Wilkinson
Hi Thorsten, The latest version of wiQuery is 1.0, which you can download the jar from the wiQuery site [1] or use maven. See the wiQuery LegUp maven archetype [2] for initial help setting it all up. As for working with plugins, yes it can be done quite easily by implementing the IWiQueryPlugin

Re: Form.setMultiPart(true) and setResponsePage(...) in Wicket 1.4.7

2010-03-09 Thread t3_chris
Additonal Information: setRepsonsePage(...) in the above described scenario works perfectly fine in wicket-1.4.6 It seems to be broken again in 1.4.7 Best Regards, chris -- View this message in context:

Re: Label state after submit

2010-03-09 Thread Ernesto Reinaldo Barreiro
Is this the same problem as on your previous post? Or is it something different? Ernesto On Tue, Mar 9, 2010 at 3:19 PM, Gustavo Henrique gustavo...@gmail.comwrote: Hi! How I can keep the label's states values after form submit? My app update the values of 3 labels using ajax, but when the

Label state after submit

2010-03-09 Thread Gustavo Henrique
Hi! How I can keep the label's states values after form submit? My app update the values of 3 labels using ajax, but when the form is submited and not pass in validation, the label's value are missing. Thanks!

Re: Label state after submit

2010-03-09 Thread Gustavo Henrique
In a rgister form, I find the address by postal code (ajax) and show in the page using labels. The user can submit the form (not ajax). if invalid form, the same page is showed. all the textfields values self keep but the labels values are missing.

Re: Label state after submit

2010-03-09 Thread Gustavo Henrique
The problem is diferent but is related with the previous post.

Re: Label state after submit

2010-03-09 Thread James Carman
Perhaps you need to update your form via ajax so that the submit button is pointing to the correct version of the page? On Tue, Mar 9, 2010 at 9:19 AM, Gustavo Henrique gustavo...@gmail.com wrote: Hi! How I can keep the label's states values after form submit? My app update the values of 3

Re: jquery/qtip integration troubles - ajax post stopped

2010-03-09 Thread Richard Wilkinson
Hi, 'Ajax POST stopped because of precondition check' is probably your problem. all wicket ajax can have a precondition, which is basically a function that returns true or false, and will only execute the ajax if it returns true. I expect that for some reason in your case this function is

Avoiding wickety URLs in login form

2010-03-09 Thread Neil Curzon
Hi, users, We're trying to avoid wicket specific stuff showing up in our URL bar. The client thinks that when the URL looks something like this: login/wicket:interface/:2:componentId:loginForm::IFormSubmitListener:: , it kinda sucks and looks unprofessional. I find it hard to disagree.. I'd

mountBookmarkablePage issue with panels

2010-03-09 Thread Tony Wu
I have a Signup page that's mounted using mountBookmarkablePage(/section/signup, Signup.class). On that page I have a panel which has a button that onclick, will basically redirect to itself - it does setResponsePage(panel.getPage().getClass()). When the button is clicked it redirects me to

Re: Avoiding wickety URLs in login form

2010-03-09 Thread vineet semwal
please try hybridurlcodingstrategy or mixedparamshybridurlcodingstrategy and see if it fits your need, On Tue, Mar 9, 2010 at 9:07 PM, Neil Curzon neil.cur...@gmail.com wrote: Hi, users, We're trying to avoid wicket specific stuff showing up in our URL bar. The client thinks that when the

jquery/qtip integration troubles - ajax post stopped

2010-03-09 Thread Antoine van Wel
Hi everybody, Integrating a Jquery tooltip (qtip) went smoothly until I tried to do an Ajax form submit. The Wicket Ajax Debug panel shows an Ajax POST stopped because of precondition check, so an Ajax response is never sent. What I'm doing is simply render the text for the tooltip on the same

Re: mountBookmarkablePage issue with panels

2010-03-09 Thread vineet semwal
are you on 1.4.6, if yes please upgrade to 1.4.7 and see if the problem disappears. On Tue, Mar 9, 2010 at 9:16 PM, Tony Wu e90t...@gmail.com wrote: I have a Signup page that's mounted using mountBookmarkablePage(/section/signup, Signup.class). On that page I have a panel which has a button

Where to use MarkupStream

2010-03-09 Thread sravan g
Hi All, How to use Markupstream? where to use ? Thanks, Sravan

Re: Announcing: visural-wicket 0.5 released - open source wicket components

2010-03-09 Thread danisevsky
hello, I have another problem, with DropDown this time. If I have only one DropDown on my page, everything works great. But when I add another DropDown to the page, with diferent datasource, the first DropDown shows data from the second datasource. All DropDowns share the same datasource.

Re: jquery and wicket

2010-03-09 Thread Eyal Golan
thanks for the LegUp link :) Eyal Golan egola...@gmail.com Visit: http://jvdrums.sourceforge.net/ LinkedIn: http://www.linkedin.com/in/egolan74 P Save a tree. Please don't print this e-mail unless it's really necessary On Tue, Mar 9, 2010 at 12:11 PM, Richard Wilkinson

SV: Where to use MarkupStream

2010-03-09 Thread Wilhelmsen Tor Iver
How to use Markupstream? where to use ? You use that normally only when you need to make very custom code, e.g. your own tags. For most other situations, adding Behaviors is the preferred way of altering components. - Tor Iver

Re: How to dynamically create wicket label and TextField Component?

2010-03-09 Thread Josh Kamau
You can create a custom component that is a combination of a label and a textfield. They use it as if it were one component. regards. On Tue, Mar 9, 2010 at 11:52 AM, Ernesto Reinaldo Barreiro reier...@gmail.com wrote: Sorry can you describe a bit more what you want to achieve? Ernesto On

Re: Avoiding wickety URLs in login form

2010-03-09 Thread Neil Curzon
Hi Vineet, Thanks for your reply. I tried changing our mount for our login page from: mountBookmarkablePage(/login, Login.class); to mount(new HybridUrlCodingStrategy(/login, Login.class)); but this had no effect on the URL generated for the action of the login form (which is on the Login.class

Re: How to dynamically create wicket label and TextField Component?

2010-03-09 Thread Marty Phee
Check out the velocity sample. On Mar 8, 2010, at 9:53 PM, sravan g sravangs...@gmail.com wrote: Hi all, Any one have idea about How to dynamically create wicket label and TextField Component based on other TextField value from Database? Thanks, Sravan.

Re: Form.setMultiPart(true) and setResponsePage(...) in Wicket 1.4.7

2010-03-09 Thread Igor Vaynberg
open a bug, attach a quickstart -igor On Tue, Mar 9, 2010 at 2:53 AM, t3_chris c.rei...@gmx.net wrote: Additonal Information: setRepsonsePage(...) in the above described scenario works perfectly fine in wicket-1.4.6 It seems to be broken again in 1.4.7 Best Regards,  chris -- View this

Re: jquery/qtip integration troubles - ajax post stopped

2010-03-09 Thread Antoine van Wel
Hi Richard, Thanks for the reply. It didn't bring me further though. When debugging, Wicket.$$(this) and the other one both return true, so that doesn't seem to be the problem. When tracking the evaluation of the precondition, I end up in wicket-event.js 25 if (Function.prototype.bind == null)

Re: disable a DropdownChoice item

2010-03-09 Thread ritu2p
Thank you ... it worked perfectly!! Newgro wrote: There is some code in the AbstractChoice class from which DDC is inheriting. /** * Gets whether the given value is disabled. This default implementation always returns false. * * @param object *

Wicket Session Management

2010-03-09 Thread Nishant Neeraj
Hi, I have a registration system where, when you request for registration, you are mailed a URL with unique-key as parameter. When user clicks the link, he lands on a page where I am setting his UserVO object in session. This page has another BookmarkablePageLink that points to the user's profile

Re: mountBookmarkablePage issue with panels

2010-03-09 Thread Tony Wu
Thanks, the new version does fix this issue. On Tue, Mar 9, 2010 at 8:50 AM, vineet semwal vineetsemwal1...@gmail.comwrote: are you on 1.4.6, if yes please upgrade to 1.4.7 and see if the problem disappears. On Tue, Mar 9, 2010 at 9:16 PM, Tony Wu e90t...@gmail.com wrote: I have a Signup

Re: Wicket Session Management

2010-03-09 Thread Nishant Neeraj
Ok, I got the answer. Wicket tries to be as stateless as long as possible, I believe it takes some hints from how your pages are built to know if it needs to keep a Session around for longer than a Request. [1] [1] http://basementcoders.com/?p=65cpage=1 Thanks Nishant On Tue, Mar 9, 2010 at

Palette filtering available list

2010-03-09 Thread Jeffrey Schneller
How can I filter the available list in a palette? I have a dropdown to specify the filter and I can retrieve the filtered list from my data access. How do I set the available list in the palette to be my new filtered list? Here is my code for creating the palette and also the filter button

Nested Forms and Multipart Fileupload Issue

2010-03-09 Thread Corbin, James
This issue seems to pop up in our environment from time to time and trying to figure out how to fix it once and for all. We have a page with a form that pops up modal window with a form specified as well. When we try to submit, we get the following exception: java.lang.IllegalStateException:

Re: Nested Forms and Multipart Fileupload Issue

2010-03-09 Thread James Carman
You're trying to submit a form via ajax to upload a file? On Tue, Mar 9, 2010 at 4:26 PM, Corbin, James jcor...@iqnavigator.com wrote: This issue seems to pop up in our environment from time to time and trying to figure out how to fix it once and for all. We have a page with a form that pops

RE: Nested Forms and Multipart Fileupload Issue

2010-03-09 Thread Corbin, James
My submit action is on the modal popup which does NOT contain a FileUpload Field, but the form the modal is launched from does have a FileUpload field. So, we have a page with a button added to a form that pops up a modal dialog that also defines a form. This modal popup has a Submit button

London Wicket - short notice?

2010-03-09 Thread Cemal Bayramoglu
A couple of friends, who coincidently tend to say nice, sensible stuff about Wicket, will be here for QConn, for a few days this week. If you happen to be close to central London tomorrow evening (Wednesday, GMT), join us for a little London Wicket Drink [1], and we can also discuss our next

Re: wiQuery components with server side state - live demo

2010-03-09 Thread Cemal Bayramoglu
http://labs.jweekend.com/public/grid/GridRowExpanderPage On 3 March 2010 18:20, John Armstrong siber...@siberian.org wrote: Hi Richard,  See here: http://www.extjs.com/examples/explorer.html#gridplugins http://www.extjs.com/examples/explorer.html#gridpluginsIn this case its a grid rather

FormComponentPanel's components onblur can't call validate?

2010-03-09 Thread Tony Wu
I have a FormComponentPanel which holds 3 dropdowns for month-day-year (it's a birthday FormComponentPanel). I override convertInput on the FormComponentPanel to return the age based on the 3 drop downs. I have an age validator which makes sure they're over 18. Now, this all works fine on form

Wicket allow multiple Spring context files?

2010-03-09 Thread David Chang
When I did my Spring web applications, I split Spring context files into a few smaller ones (example: one for web beans, one for DAO beans, one for Service beans, etc). I would like to follow the same approach in my Wicket application, but I notice a few odd things: 1. The order of these

Re: Wicket allow multiple Spring context files?

2010-03-09 Thread Anantha Kumaran
i am also splitting the config files into many files and i have no problems yet. beans default-lazy-init=true import resource=classpath:common.xml / import resource=classpath:persistence.hibernate.xml / !-- import the wicket application specific settiongs -- import

Re: Form validation without a form component

2010-03-09 Thread scotthendo
Hi Antoine, I am doing something similar and was wondering if you could help. I am trying to validate a large form by overriding the onValidate method but when I do, all the form values are null. Some code snippets: public final class DatasetForm extends Form { private final

Re: Palette filtering available list

2010-03-09 Thread Igor Vaynberg
use a detachable model for the options collection -igor On Tue, Mar 9, 2010 at 12:21 PM, Jeffrey Schneller jeffrey.schnel...@envisa.com wrote: How can I filter the available list in a palette?  I have a dropdown to specify the filter and I can retrieve the filtered list from my data access.  

Re: FormComponentPanel's components onblur can't call validate?

2010-03-09 Thread Igor Vaynberg
the behavior is attached to the child form component, why would it call validate on the parent? you will have to do that yourself. -igor On Tue, Mar 9, 2010 at 3:52 PM, Tony Wu e90t...@gmail.com wrote: I have a FormComponentPanel which holds 3 dropdowns for month-day-year (it's a birthday