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
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
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
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
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
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
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.
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
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
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
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
, 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:
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
'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
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
wrote:
>
> On Dec 18, 2007 1:25 AM, SantiagoA <[EMAIL PROTECTED]> wrote:
>>
>> vwdComponent.add(new AjaxFormComponentUpdatingBehavior("onblur"){
>> private static final long serialVersionUID = 4932149086847602955L;
>> @Override
>
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
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 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:
>>
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.
--
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
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;
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
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);
..
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.
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
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
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
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
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.
--
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
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
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:
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
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
35 matches
Mail list logo