Is there a way to create an item only after a form has been submitted?
For example, how can I do the following:
---Java Psuedo-Code---
Panel panel1 = new RandomPanel(panel1);
add(panel1);
add(new AjaxButton(button, form){
onSubmit(AjaxRequestTarget target, Form form){
Panel
that the component is anchored to using
javascript.
-igor
On Wed, Dec 30, 2009 at 9:13 AM, wic...@geofflancaster.com
wic...@geofflancaster.com wrote:
Is there a way to create an item only after a form has been submitted?
For example, how can I do the following:
---Java Psuedo-Code---
Panel panel1
AjaxRequestTarget doesn't have an add method.
Original Message:
-
From: Jeremy Thomerson jer...@wickettraining.com
Date: Wed, 30 Dec 2009 13:28:26 -0600
To: users@wicket.apache.org, wic...@geofflancaster.com
Subject: Re: creating item after form is submitted via ajax
target.add
I'm doing that. I'm doing what the link referenced earlier in this thread
said to do.
Original Message:
-
From: Jeremy Thomerson jer...@wickettraining.com
Date: Wed, 30 Dec 2009 13:50:35 -0600
To: users@wicket.apache.org, wic...@geofflancaster.com
Subject: Re: creating item after
I'm using panels to add some javascript to a page via ajax. As of right
now, all that is visible is the script text (in the script tags). I don't
want it to be visible, I want it to just render the javascript and execute
it.
Can I do this with Panels? Is it possible at all?
If it is possible do
Due to Wicket handling things in a weird order, would anyone mind giving me
a hand in solving this issue?
When I create a ListView, populateItem() is called for each item in the
list which is passed into the ListView and then it goes back and creates
the Label named chart. The problem is that I'm
items? You can refer to different components
using their markupid.
**
Martin
2010/1/4 wic...@geofflancaster.com wic...@geofflancaster.com:
Due to Wicket handling things in a weird order, would anyone mind giving
me
a hand in solving this issue?
When I create a ListView, populateItem() is called
How can I change the width of the available and selected menus on a
palette?
Also, is it possible to sort the choices after they are moved between the
two menus so they aren't just appended to the end but sorted alphabetically?
ie. moving an item from available to selected will sort items now in
wic...@geofflancaster.com wic...@geofflancaster.com:
How can I change the width of the available and selected menus on a
palette?
Also, is it possible to sort the choices after they are moved between the
two menus so they aren't just appended to the end but sorted
alphabetically?
ie. moving
getCSS above.
fmu
2010/1/5 wic...@geofflancaster.com wic...@geofflancaster.com:
Any suggestions on how to do that?
Original Message:
-
From: Fatih Mehmet Ucar fmu...@gmail.com
Date: Tue, 5 Jan 2010 16:31:33 +
To: users@wicket.apache.org
Subject: Re: Palette selector
Is it possible to make the DateTextField and DatePicker (used together)
default to a specific date?
For example, right now it automatically puts in todays date. Can I make it
automatically put in 30 days before?
mail2web.com -
i'm trying using a text field to search through the items available to be
selected in a palette. As of right now, it searches correctly but if I add
items to the selected side of the palette and then search again, I lose
my previously selected choices.
Is there anyway to only refresh the
any help? i cant be the only person to have tried this.
Original Message:
-
From: wic...@geofflancaster.com wic...@geofflancaster.com
Date: Wed, 6 Jan 2010 14:13:50 -0500
To: users@wicket.apache.org
Subject: OnChangeAjaxBehavior with palette
i'm trying using a text field
, 2010 at 9:40 AM, wic...@geofflancaster.com
wic...@geofflancaster.com wrote:
any help? i cant be the only person to have tried this.
Original Message:
-
From: wic...@geofflancaster.com wic...@geofflancaster.com
Date: Wed, 6 Jan 2010 14:13:50 -0500
To: users@wicket.apache.org
is it possible to sort the list of choices in a palette when an item is
added or removed from the list of selected choices?
a code snippet would be great if anyone can help me out.
mail2web.com Enhanced email for the mobile
when using a palette is there a way to set a few items selected by default?
mail2web.com What can On Demand Business Solutions do for you?
http://link.mail2web.com/Business/SharePoint
use AjaxLazyLoad. Should be pretty straight forward. There are a ton of
examples online
Original Message:
-
From: Christoph Grün chris...@gmx.at
Date: Wed, 13 Jan 2010 20:10:22 +0100
To: users@wicket.apache.org
Subject: display busy indicator while external image is fetched
Hi,
I'm using a text field to filter the available options in a palette which i
have working but when the options are filtered the previously selected
options get deleted.
is there any way i can keep the previously selected options in the palette?
2010 20:18:44 -
To: users@wicket.apache.org
Subject: Re: filter options in available side of palette w/o losing
selected options
you keep your original objects in another list so you can put them back
into
palette's model when you need
fmu
- Original Message -
From: wic
in available side of palette w/o losing
selected options
if you can paste some code and it will help us understand the problem
better.
fmu
- Original Message -
From: wic...@geofflancaster.com
To: users@wicket.apache.org
Sent: Wednesday, January 13, 2010 8:23 PM
Subject: Re: filter options
Can anyone tell me the difference between what's called when a recorder
component is called on a palette selecting an item and when a form is
submitted?
i'm trying to have the model of a palette updated outside of a form submit
method.
Can anyone tell me which methods are called on a palette when it is
submitted?
i know the recorder keeps track of the selected items but how are they
persisted after a form submit? ie. what method is called to make them stay
selected?
Date: Tue, 19 Jan 2010 10:31:44 -0800
To: users@wicket.apache.org
Subject: Re: palette onSubmit
Recorder is a HiddenField-FormComponent so the regular form component
workflow methods are called on it.
-igor
On Tue, Jan 19, 2010 at 10:02 AM, wic...@geofflancaster.com
wic...@geofflancaster.com wrote
-igor
On Tue, Jan 19, 2010 at 11:45 AM, wic...@geofflancaster.com
wic...@geofflancaster.com wrote:
Is there a document anywhere that would show me that workflow?
I'm trying to force an OnChangeAjaxBehavior to do some of the methods
executed during a submit on a palette to make the selected
instead - that way all the
values are submitted.
-igor
On Tue, Jan 19, 2010 at 2:11 PM, wic...@geofflancaster.com
wic...@geofflancaster.com wrote:
right, they do stay after a submit. but when i use an OnChangeAjaxBehavior
on another field of the form, it isn't actually functioning as a submit so
:
-
From: Igor Vaynberg igor.vaynb...@gmail.com
Date: Tue, 19 Jan 2010 15:11:43 -0800
To: users@wicket.apache.org
Subject: Re: palette onSubmit
why would you want? simply do not repaint the feedback panel...
-igor
On Tue, Jan 19, 2010 at 3:07 PM, wic...@geofflancaster.com
wic...@geofflancaster.com
:13 -0800
To: users@wicket.apache.org
Subject: Re: palette onSubmit
you can get the items using palette.getrecorder().getconvertedinput()
-igor
On Tue, Jan 19, 2010 at 3:27 PM, wic...@geofflancaster.com
wic...@geofflancaster.com wrote:
well if the form doesn't validate it calls the onError method
:
-
From: wic...@geofflancaster.com wic...@geofflancaster.com
Date: Thu, 21 Jan 2010 17:35:53 -0500
To: users@wicket.apache.org
Subject: Re: palette onSubmit
Are there any other solutions? palette.getrecorder().getconvertedinput()
returns a String, i need it to return a serialized list
to predefine the selected users you have to insert them into the model.
define your palette as:
final Palette palette = new Palette(palette, new
ListModelPerson(lSelected), new CollectionModelPerson(persons),
renderer, 10, true);
to filter using that javascript you will need to edit the js a bit
Is it possible to edit the datepicker css? the datepicker is displaying
behind some other components on my page and i'd like to set the z-index so
it display on top of everything.
mail2web - Check your email from the web at
I'm trying to add form components to a form using ajax. i've set
setMarkupId(true); on the form but when I run it, i get an error saying
cannot update component that does not have setOutputMarkupId property set
to true. Component: [MarkupContainer [Component id = realTimeForm...
So basically when
is it possible to have nested fragments?
does anyone have a code snippet they can share? when i try to add the new
fragment to the existing fragment i get an error stating:
WicketMessage: The component(s) below failed to render. A common problem is
that you have added a component in code but
...@gmail.com
Date: Fri, 26 Feb 2010 08:42:34 -0800
To: users@wicket.apache.org
Subject: Re: nested fragments?
On Fri, Feb 26, 2010 at 8:12 AM, wic...@geofflancaster.com
wic...@geofflancaster.com wrote:
is it possible to have nested fragments?
does anyone have a code snippet they can share?
maybe you
Is it possible to add attributes to elements within a palette?
I'd like to assign the title attribute so i can have tooltips.
mail2web.com What can On Demand Business Solutions do for you?
Is there a way to automatically sort the available and selected items in a
palette as they are changed?
mail2web.com What can On Demand Business Solutions do for you?
http://link.mail2web.com/Business/SharePoint
here's the scenario, i have a datetextfield that when the page gets updated
via ajax, the datatextfield values get reset and are no longer what they
changed to.
i've tried adding an onchange behavior to the datefield to update the
modelobject when the field is changed but have had no luck.
...@geofflancaster.com wic...@geofflancaster.com:
here's the scenario, i have a datetextfield that when the page gets
updated
via ajax, the datatextfield values get reset and are no longer what they
changed to.
i've tried adding an onchange behavior to the datefield to update the
modelobject when the field
...@geofflancaster.com wic...@geofflancaster.com:
along with the datetextfield i have a dropdownchoice menu. the page
updates
based on the item selected in the dropdown which updates a list menu.
Original Message:
-
From: Martin Makundi martin.maku...@koodaripalvelut.com
Date: Mon, 5 Apr 2010
Can anyone point me to a tutorial or example on getting spring 3.x setup
and working with wicket-auth-roles for an AuthenticatedWebApplication?
Thanks in advance.
mail2web.com Enhanced email for the mobile individual based on
Has anyone had any problems using an AjaxLink where the onclick method is
being called twice?
I'm trying to use an AjaxLink to load a ModalWindow but the second time
it's being called, the ModalWindow thinks that the window has already
loaded so it returns nothing.
Has anyone had any problems using an AjaxLink where the onclick method is
being called twice?
I'm trying to use an AjaxLink to load a ModalWindow but the second time
it's being called, the ModalWindow thinks that the window has already
loaded so it returns nothing.
Has anyone had any problems using an AjaxLink where the onclick method is
being called twice?
I'm trying to use an AjaxLink to load a ModalWindow but the second time
it's being called, the ModalWindow thinks that the window has already
loaded so it returns nothing.
Has anyone had any problems using an AjaxLink where the onclick method is
being called twice?
I'm trying to use an AjaxLink to load a ModalWindow but the second time
it's being called, the ModalWindow thinks that the window has already
loaded so it returns nothing.
Message:
-
From: Clint Checketts checke...@gmail.com
Date: Tue, 19 Jul 2011 21:12:35 -0500
To: users@wicket.apache.org, wic...@geofflancaster.com
Subject: Re: AjaxLink onclick being called twice
So you click the link and the modal displays, you dismiss the modal, click
the link
Message:
-
From: Clint Checketts checke...@gmail.com
Date: Tue, 19 Jul 2011 21:12:35 -0500
To: users@wicket.apache.org, wic...@geofflancaster.com
Subject: Re: AjaxLink onclick being called twice
So you click the link and the modal displays, you dismiss the modal, click
the link
Message:
-
From: Clint Checketts checke...@gmail.com
Date: Tue, 19 Jul 2011 21:12:35 -0500
To: users@wicket.apache.org, wic...@geofflancaster.com
Subject: Re: AjaxLink onclick being called twice
So you click the link and the modal displays, you dismiss the modal, click
the link
Message:
-
From: Clint Checketts checke...@gmail.com
Date: Tue, 19 Jul 2011 21:12:35 -0500
To: users@wicket.apache.org, wic...@geofflancaster.com
Subject: Re: AjaxLink onclick being called twice
So you click the link and the modal displays, you dismiss the modal, click
the link
Message:
-
From: Clint Checketts checke...@gmail.com
Date: Tue, 19 Jul 2011 21:12:35 -0500
To: users@wicket.apache.org, wic...@geofflancaster.com
Subject: Re: AjaxLink onclick being called twice
So you click the link and the modal displays, you dismiss the modal, click
the link
48 matches
Mail list logo