Re: Applying jQuery Effects (fadeIn, fadeOut) to Wicket 6 components issue.

2013-01-08 Thread Carlson Weber
Hans, like Martin said, this doesn't work, and I already tried it. When you use those options, it just renders the element tag with no contents. Martin, your solution is amazing. Simple and it just works. Thank you very much. The solution was to and an AttributeModifier to the component and then I

Problem with IHeaderResponse.renderOnEventJavascript

2010-10-13 Thread Carlson Weber
I searched all over the internet and it seems that no one uses this method. The thing is that I am almost thinking that this is a bug, because it's really not logic to me. What I am trying to do: I am creating a panel that I will use in a lot of forms, and I want to attach some javascript code to

Re: Problem with IHeaderResponse.renderOnEventJavascript

2010-10-13 Thread Carlson Weber
Ok guys, it worked , I used the AttributeModifier. The thing is, why there's is that renderOnEventJavascript? This should be a method attached maybe to the domready event... Do you think that is worth submiting a patch? Or this is the correct behavior? (IMHO this isn't all right). Anyway, problem

DropDownChoice with ID and Value

2009-07-27 Thread carlson weber filho - Master CIM Informá tica
Newbie question: I have a list of 3 options, let's supose it's 1=abc, 2=def, 3=ghi I will present to my user the select field with the choices abc, def and ghi. I want that my model updates with 1, 2 and 3. I did not find a way to achieve this (must me a simple thing). best regards,

Re: DropDownChoice with ID and Value

2009-07-27 Thread carlson weber filho - Master CIM Informá tica
Will try it, thanks a lot Scott Swank escreveu: Look at ChoiceRenderer. It's pretty easy to write one that takes a map in it's constructor if your needs are that simple. Scott 2009/7/27 carlson weber filho - Master CIM Informática cwe...@mastercim.com.br: Newbie question: I have a list

Bypassing form validation

2009-07-23 Thread carlson weber filho - Master CIM Informá tica
I have a form with two submit buttons. Is there any way to selectivelly bypass some validation on one of these buttons? I want to validate just two fields if I click on the button1 and I want to validate all fields when I click on button2 tx, carlson

Re: Bypassing form validation

2009-07-23 Thread carlson weber filho - Master CIM Informá tica
#setDefaultFormProcessing(boolean) -Original Message- From: carlson weber filho - Master CIM Informática [mailto:cwe...@mastercim.com.br] Sent: Thursday, July 23, 2009 3:31 PM To: users@wicket.apache.org Subject: Bypassing form validation I have a form with two submit buttons. Is there any way

Re: Bypassing form validation

2009-07-23 Thread carlson weber filho - Master CIM Informá tica
Isn't invalid to nest forms inside forms? Igor Vaynberg escreveu: you should use embedded forms. make a form for M1 inside it add another form D1 a button in D1 form will only process D1 form, a button in M1 form will process both. -igor 2009/7/23 carlson weber filho - Master CIM

Re: Bypassing form validation

2009-07-23 Thread carlson weber filho - Master CIM Informá tica
will process both. -igor 2009/7/23 carlson weber filho - Master CIM Informática cwe...@mastercim.com.br: I already tried using setDefaultFormProcessing, but I want to actually process the form without validating it, on one of these buttons but using this method, I can't

Re: Bypassing form validation

2009-07-23 Thread carlson weber filho - Master CIM Informá tica
not want to process the outer form. without validation you cannot update the model. eg if you put aa into an integer field how do we push that into an integer model? what you can do is call formcomponent.getinput() to get at the raw values of those components. -igor 2009/7/23 carlson weber

Re: Bypassing form validation

2009-07-23 Thread carlson weber filho - Master CIM Informá tica
you're the man! tx a lot carlson Igor Vaynberg escreveu: M1.processInput(); if (M1.isValid()) { value=M1.getModelObject(); } else { handleerrror } -igor 2009/7/23 carlson weber filho - Master CIM Informática cwe...@mastercim.com.br: Yes, I don't want to process it, but I want to do some