creating item after form is submitted via ajax

2009-12-30 Thread wic...@geofflancaster.com
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

Re: creating item after form is submitted via ajax

2009-12-30 Thread wic...@geofflancaster.com
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

Re: creating item after form is submitted via ajax

2009-12-30 Thread wic...@geofflancaster.com
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

Re: creating item after form is submitted via ajax

2009-12-30 Thread wic...@geofflancaster.com
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

render javascript included in ajax update

2009-12-31 Thread wic...@geofflancaster.com
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

ListView Behavior

2010-01-04 Thread 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 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

Re: ListView Behavior

2010-01-04 Thread wic...@geofflancaster.com
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

Palette selector width and sort

2010-01-05 Thread 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 an item from available to selected will sort items now in

Re: Palette selector width and sort

2010-01-05 Thread wic...@geofflancaster.com
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

Re: Palette selector width and sort

2010-01-05 Thread wic...@geofflancaster.com
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

DateTextField and DatePicker Default Date

2010-01-05 Thread wic...@geofflancaster.com
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 -

OnChangeAjaxBehavior with palette

2010-01-06 Thread wic...@geofflancaster.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

RE: OnChangeAjaxBehavior with palette

2010-01-07 Thread wic...@geofflancaster.com
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

Re: OnChangeAjaxBehavior with palette

2010-01-07 Thread wic...@geofflancaster.com
, 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

sort palette choices

2010-01-08 Thread wic...@geofflancaster.com
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

palette - default selected choices

2010-01-11 Thread wic...@geofflancaster.com
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

RE: display busy indicator while external image is fetched

2010-01-13 Thread wic...@geofflancaster.com
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,

filter options in available side of palette w/o losing selected options

2010-01-13 Thread wic...@geofflancaster.com
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?

Re: filter options in available side of palette w/o losing selected options

2010-01-13 Thread wic...@geofflancaster.com
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

Re: filter options in available side of palette w/o losing selected options

2010-01-13 Thread wic...@geofflancaster.com
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

recorder component onsubmit

2010-01-19 Thread wic...@geofflancaster.com
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.

palette onSubmit

2010-01-19 Thread wic...@geofflancaster.com
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?

Re: palette onSubmit

2010-01-19 Thread wic...@geofflancaster.com
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

Re: palette onSubmit

2010-01-19 Thread wic...@geofflancaster.com
-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

Re: palette onSubmit

2010-01-19 Thread wic...@geofflancaster.com
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

Re: palette onSubmit

2010-01-19 Thread wic...@geofflancaster.com
: - 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

Re: palette onSubmit

2010-01-21 Thread 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

Re: palette onSubmit

2010-01-21 Thread wic...@geofflancaster.com
: - 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

Re: (my code palette) how to set default options in object palette

2010-02-02 Thread wic...@geofflancaster.com
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

DatePicker css

2010-02-02 Thread wic...@geofflancaster.com
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

add form components via ajax

2010-02-11 Thread wic...@geofflancaster.com
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

nested fragments?

2010-02-26 Thread wic...@geofflancaster.com
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

Re: nested fragments?

2010-02-26 Thread wic...@geofflancaster.com
...@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

add attributes to options elements within a palette

2010-03-02 Thread wic...@geofflancaster.com
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?

automatic palette sorting

2010-03-31 Thread wic...@geofflancaster.com
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

saving datetextfield values on ajax refresh

2010-04-05 Thread 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 is changed but have had no luck.

Re: saving datetextfield values on ajax refresh

2010-04-05 Thread wic...@geofflancaster.com
...@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

Re: saving datetextfield values on ajax refresh

2010-04-05 Thread wic...@geofflancaster.com
...@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

spring 3.1 wicket auth integration

2011-02-28 Thread wic...@geofflancaster.com
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

AjaxLink onclick being called twice

2011-07-19 Thread wic...@geofflancaster.com
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.

AjaxLink onclick being called twice

2011-07-19 Thread wic...@geofflancaster.com
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.

AjaxLink onclick being called twice

2011-07-19 Thread wic...@geofflancaster.com
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.

AjaxLink onclick being called twice

2011-07-19 Thread wic...@geofflancaster.com
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.

Re: AjaxLink onclick being called twice

2011-07-20 Thread wic...@geofflancaster.com
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

Re: AjaxLink onclick being called twice

2011-07-20 Thread wic...@geofflancaster.com
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

Re: AjaxLink onclick being called twice

2011-07-20 Thread wic...@geofflancaster.com
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

Re: AjaxLink onclick being called twice

2011-07-20 Thread wic...@geofflancaster.com
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

Re: AjaxLink onclick being called twice

2011-07-20 Thread wic...@geofflancaster.com
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