Re: how to avoid value set to null if value of textfield gets deleted

2009-02-25 Thread SantiagoA
A null value won´t work for me, because I have to Map these values via Castor to XML and as result null values were deleted in Castor. At this point I need an empty String to make sure the value is mapped in Castor. Thanks for the proposal anyway, the solution above (Ernestos proposal) works fin

Re: how to avoid value set to null if value of textfield gets deleted

2009-02-25 Thread SantiagoA
quot;"); > } > } > } > > and use EmptyStringModel instead of the one you are using now? > > Best > > Ernesto > > On Wed, Feb 25, 2009 at 9:21 AM, SantiagoA wrote: > >> >> I have a TextField with some input. >> If a user deletes the in

how to avoid value set to null if value of textfield gets deleted

2009-02-25 Thread SantiagoA
I have a TextField with some input. If a user deletes the input and submit the setter sets the value to "NULL". How can i avoid this behavior and force an empty String "" to bet set? Thanks for any help! Santiago -- View this message in context: http://www.nabble.com/how-to-avoid-value-set-to-n

AjaxUpdate broken after showing feedback in ModalWindow

2008-11-19 Thread SantiagoA
Hi all, I have a ModalWindow with some radios in it. Everytime a Radio is selected, an AjaxEventBehavior("onclick") is called which updates a special RadioGroup in that page. Everything works fine, as long as there are no errors and no feedback is shown. If I produce an Error, in that case it´s a

How to change the representation of a Date in a DateField

2008-09-24 Thread SantiagoA
I have a Problem with the representation of a Date in a DateField. the years is shown as YY, how can i change this to ? Problem is, if the year of the Date is 1941 it is represented as 41. if a user puts in a date like 1.1.41 (means 1941) it would be computed as 2041. To avoid that i want the

Re: ModalWindow (component based) + form submit = can't close

2008-03-18 Thread SantiagoA
On the site that holds the ModalWindow I have something like that: modalWindow.setContent(new modalWindowPanel(modalWindow.getContentId(), new ModalWindow.CloseButtonCallback(){ private static final long serialVersionUID = 4622180781771170962L; public boolean onCloseButtonClicked

Re: Ajax Feedback Problem in 1.3

2008-02-07 Thread SantiagoA
Done. https://issues.apache.org/jira/browse/WICKET-1325 -- View this message in context: http://www.nabble.com/Ajax-Feedback-Problem-in-1.3-tp14191234p15331770.html Sent from the Wicket - User mailing list archive at Nabble.com.

Re: Ajax Feedback Problem in 1.3

2008-02-06 Thread SantiagoA
Okay. I made a jira issue and attach one zipfile with both examples. JIRA-Issue WICKET-1325 Hope that works. Never worked with jira before. - rename your foo.zip to foo.iamzip and attach it to the email. -igor -- View this message in context: http://www.nabble.com/Ajax-Feedback-Problem-in-1

Re: Ajax Feedback Problem in 1.3

2008-02-05 Thread SantiagoA
http://www.nabble.com/file/p15306186/ValidationTest1.iamzip ValidationTest1.iamzip http://www.nabble.com/file/p15306186/ValidationTest2.iamzip ValidationTest2.iamzip Sorry, have to make two zips, ´cause packed to one file was too big to upload. Ok. ValidationTest1 runs with wicket 1.3.0 final

Re: Ajax Feedback Problem in 1.3

2008-02-04 Thread SantiagoA
Hi again, I made a little example project with eclipse where you could take a look at the problem, because maybe my english is not good enough to explain right. Is there a possibility that I can send you the example as a zip-file? I made to little examples, one running with the 1.3.0 final versio

Re: Ajax enabled radiogroup

2008-01-14 Thread SantiagoA
Hi, what javascript method do you use? onclick, onMouseDown, onMouseUp? I add AjaxFormComponentUpdatingBehaviour("onchange") to Textfields and it works fine. Using Radios in radioGroup i had to use radio.add(new AjaxEventBehavior("onchange"){ private static final long serialVers

Re: Ajax Feedback Problem in 1.3

2007-12-20 Thread SantiagoA
, cleaner way. Thanks for sharing your time, and btw Wicket is nevertheless a great framework and you guys do a great job on that. -Santiago igor.vaynberg wrote: > > is onupdate called? > > -igor > > > On Dec 19, 2007 12:34 AM, SantiagoA <[EMAIL PROTECTED]> wrote:

Re: FeedbackPanel and page refresh (f5) after submit

2007-12-19 Thread SantiagoA
feedbackMessages are stored to show them once, aftewards they were deleted. Perhaps, try to store them in your own List and feed the FeedbackPanel with the List when the page is displayed again. Maybe this work, i´m not sure about that. ;-) -Santiago Thomas Lutz wrote: > > Hi, > > First of al

Re: Form/Enter Key Problem

2007-12-19 Thread SantiagoA
'Enter' is bound to the default Button on your page. You can prevent the submit by adding some javascript, which intercepts the onKeyPress() public static final String JS_SUPPRESS_ENTER = "if(event.keyCode==13 || window.event.keyCode==13){return false;}else{r

Re: Ajax Feedback Problem in 1.3

2007-12-19 Thread SantiagoA
On Dec 18, 2007 11:27 PM, SantiagoA <[EMAIL PROTECTED]> wrote: >> >> Thanks for the answer, but that doesn´t work either. >> It´s a bit strange, but if I set the component to be required, the >> feedbackPanel will not be rendered. >> If I make the validation

Re: Ajax Feedback Problem in 1.3

2007-12-18 Thread SantiagoA
wrote: > > On Dec 18, 2007 1:25 AM, SantiagoA <[EMAIL PROTECTED]> wrote: >> >> vwdComponent.add(new AjaxFormComponentUpdatingBehavior("onblur"){ >> private static final long serialVersionUID = 4932149086847602955L; >> @Override >

Re: Ajax Feedback Problem in 1.3

2007-12-18 Thread SantiagoA
ed some code to go with your problem to correctly diagnose your > problem. > Martijn > > On Dec 6, 2007 1:13 PM, SantiagoA <[EMAIL PROTECTED]> wrote: > >> >> Hi, >> I have a "FeedbackTextField" which extends TextField and implements >> IVa

Ajax Feedback Problem in 1.3

2007-12-06 Thread SantiagoA
Hi, I have a "FeedbackTextField" which extends TextField and implements IValidator (build with 1.2.5). If the textfield lose the focus, an Ajax call is submitted. The Validator looks if the textfield is left empty and throws a FeedbackMessage and the backgroundcolor of the TextField changes to yel

Re: AjaxLazyLoadPanel in Beta3 is very lazy

2007-11-01 Thread SantiagoA
re clientside. If the users > does make > a server call then that server call will block until the lazy load is > done. > Because only > 1 request can touch the page at the same time. > > johan > > > > On 10/30/07, SantiagoA <[EMAIL PROTECTED]> wrote: >>

Re: Problem with scriptaculous in wicket 1.3 beta3

2007-10-31 Thread SantiagoA
Thanks a lot, that was the solution! -- View this message in context: http://www.nabble.com/Problem-with-scriptaculous-in-wicket-1.3-beta3-tf4725430.html#a13511725 Sent from the Wicket - User mailing list archive at Nabble.com. --

Re: Problem with scriptaculous in wicket 1.3 beta3

2007-10-31 Thread SantiagoA
Excuse me the HTML should look like: ...
-- View this message in context: http://www.nabble.com/Problem-with-scriptaculous-in-wicket-1.3-beta3-tf4725430.html

Problem with scriptaculous in wicket 1.3 beta3

2007-10-31 Thread SantiagoA
Hi, i try to use the Effect class of the scriptaculous jar in a testApp. My Code: Java: import org.wicketstuff.scriptaculous.effect.Effect; ... final StaticImage stimg = new StaticImage("fehler"); AjaxLink al = new AjaxLink("clickImg") { private static final long serialVersionUID = 0L;

AjaxLazyLoadPanel in Beta3 is very lazy

2007-10-30 Thread SantiagoA
I have a Problem with the ALLP. I have a Table with some Radios in it and an ALLP on the same Site. So, if I click a Radio in the Table, the ALLP will be refreshed with detail Description of the Element clicked in the Table. My Problem is, that there is more functonality in the Page, which is bloc

Re: Examples for AjaxLazyLoadPanel?

2007-10-16 Thread SantiagoA
Because I have replaced a Panel by an AjaxLazyLoadPanel, I had to replace the ids for the targets at the other ajax-components too. That was just my fault. Example: Step 1: myPanel = new MyPanel("panelName", new PropertyModel(this,"searchString"), version); ... someAjax ... target(myPanel); ..

Re: Examples for AjaxLazyLoadPanel?

2007-10-16 Thread SantiagoA
Allright. Problem solved. Thanks for the help again. -- View this message in context: http://www.nabble.com/Examples-for-AjaxLazyLoadPanel--tf4632483.html#a13231668 Sent from the Wicket - User mailing list archive at Nabble.com.

Re: Examples for AjaxLazyLoadPanel?

2007-10-16 Thread SantiagoA
Thanks, that helped a lot. Now I have another problem with that. The panel, which is lazily loaded works but if i try to update it via Ajax, i get this error: Ajax render cannot be called on component that has setRenderBodyOnly enabled. Component: [MarkupContainer [Component id = content, ... Th

Examples for AjaxLazyLoadPanel?

2007-10-16 Thread SantiagoA
Hi, i am trying to use an AjaxLazyLoadPanel, but have some Problems to get it work. I have a page with a panel, which produces heavily loading action. I just want the page to be shown while the panel is loaded in contrast to load the whole thing and get the page rendered afterwards. Are there ex

AjaxFormChoiceComponentUpdatingBehavior doesn´t get event

2007-10-09 Thread SantiagoA
I added an AjaxFormChoiceComponentUpdatingBehavior to my radioGroup. I thought it would handle the event, when a RadioButton is clicked. But when i click on a RadioButton the onUpdate-method is never reached. my Code: final RadioGroup radioGroup = new RadioGroup("group", new PropertyModel(th

Re: Ajax Problem on Page with IFRAME

2007-10-02 Thread SantiagoA
Thank you for your help, it works with Wicket 1.3.0beta3. The migration was not quite easy, as i thought, but finally everything works, even the IFrame. -- View this message in context: http://www.nabble.com/Ajax-Problem-on-Page-with-IFRAME-tf4487902.html#a12993964 Sent from the Wicket - User ma

Re: Ajax Problem on Page with IFRAME

2007-09-26 Thread SantiagoA
I use 1.2.6. Migrating the whole app will last for some time. I´ll post feedback when its done -- View this message in context: http://www.nabble.com/Ajax-Problem-on-Page-with-IFRAME-tf4487902.html#a12902743 Sent from the Wicket - User mailing list archive at Nabble.com. --

Re: Ajax Problem on Page with IFRAME

2007-09-24 Thread SantiagoA
I have a mainpage with some inputfields with ajax in, a submitbutton and a TabbePanel with three panels. The panels are for output only. one of the panels holds an Iframe. you can change inputs and on submit the panels are refreshed with new outputs. If one of the panels without the Iframe is ac

Re: Ajax Problem on Page with IFRAME

2007-09-24 Thread SantiagoA
I have a mainpage with some inputfields with ajax in, a submitbutton and a TabbePanel with three panels. The panels are for output only. one of the panels holds an Iframe. you can change inputs and on submit the panels are refreshed with new outputs. If one of the panels without the Iframe is ac

Re: Ajax Problem on Page with IFRAME

2007-09-24 Thread SantiagoA
Sorry, doesn´t work for me either. The Problem is, that the refreshing in the "main"-page does not work, if the particular Panel is active. The inputs and the ajax are nested in the main page, the panel shows a "readonly" Iframe with no inputs. thanks for help! -- View this message in context:

Ajax Problem on Page with IFRAME

2007-09-20 Thread SantiagoA
Hallo, I have a Problem with AJAX functionality. I have some InputFields which have an Ajax based refresh (onUpdate(AjaxRequestTarget target)) like an inputField for birthdate and one for "AgeInYears". If a birthdate is commited, the Field "AgeInYears" will be refreshed. There are some TabPanels

How to refresh a TabbedPanel

2007-08-02 Thread SantiagoA
I have a refreshing problem with the TabbedPanel. I have a grid on the first tab and a table on the second. When I push a button on the Site, some values are calculated and the Tabs should be refreshed. Tab1 is refreshed everytime the Button is pushed and Tab2 is "never" refreshed, no matter whic