Application Context

2008-04-09 Thread Pinger
So I am using wicket annot. So I have classes elsewhere in my app that are using JMS and other services in a web service. The issue I am having is I need the ApplicationContext in non-wicket files. When I Do public static ApplicationContext spring = new

Re: Application Context

2008-04-09 Thread Pinger
a look at Springs WebApplicationContextUtils.getWebApplicationContext(...). This in conjunction with org.springframework.web.context.ContextLoaderListener should give you what you need. best, jim On Wed, Apr 9, 2008 at 12:41 PM, Pinger [EMAIL PROTECTED] wrote: So I am using wicket annot

Re: Make a Ajax button have a confirm dialog

2008-04-02 Thread Pinger
false; + script; } }; } } Ryan Gravener-3 wrote: decorateScript(java.lang.CharSequence script) { return if(confirm('Are you sure?')) { + script + }; } On Tue, Apr 1, 2008 at 10:03 PM, Pinger [EMAIL PROTECTED] wrote: Opps I think I deleted my reply somehow.. Anyway I said

Re: Maven and InMethod Grid

2008-04-02 Thread Pinger
the server. -Matej On Mon, Mar 31, 2008 at 9:27 PM, Pinger [EMAIL PROTECTED] wrote: Got a Noob questions here. I want to use the InMethod Grid for wicket, but I have to use maven. Can anyone who is using it post the relevant part of their POM file

Make a Ajax button have a confirm dialog

2008-04-01 Thread Pinger
I have an ajaxbutton I make like this AjaxButton newPositionButton = new AjaxButton(addPosition) { @Override protected void onSubmit(AjaxRequestTarget target, Form form) { //Do Stuff } }; I want to get a Yes/No confirm dialog,

Re: Make a Ajax button have a confirm dialog

2008-04-01 Thread Pinger
That is all well and good, but it does not Do Stuff now after i hit ok djo.mos wrote: Hi, Pinger wrote: I want to get a Yes/No confirm dialog, so I only Do Stuff if they say yes.. What kind of confirmation ? Javascript ? Html ? for the first, you could use

Re: Make a Ajax button have a confirm dialog

2008-04-01 Thread Pinger
people would use. freak182 wrote: You could add a behavior... e.g a confirmbehavior for your needs :) Pinger wrote: That is all well and good, but it does not Do Stuff now after i hit ok djo.mos wrote: Hi, Pinger wrote: I want to get a Yes/No confirm dialog, so I only

Re: Make a Ajax button have a confirm dialog

2008-04-01 Thread Pinger
google it :) Pinger wrote: That would be sweet.. how do I do that? Sorry I saw one example for that for the button but I could not get that could not get it working for the ajax button. If I can get this to work, I was going to see if the developers want it for the release; I think

Re: Make a Ajax button have a confirm dialog

2008-04-01 Thread Pinger
Opp I think I deleted my reply somehow.. Anyway I said if you could post a code example of the behavior you made, you would be my hero :) djo.mos wrote: Hi, Pinger wrote: I want to get a Yes/No confirm dialog, so I only Do Stuff if they say yes.. What kind of confirmation

Maven and InMethod Grid

2008-03-31 Thread Pinger
Got a Noob questions here. I want to use the InMethod Grid for wicket, but I have to use maven. Can anyone who is using it post the relevant part of their POM file. Thanks -- View this message in context: http://www.nabble.com/Maven-and-InMethod-Grid-tp16399038p16399038.html Sent from the

DateTimeField question

2008-03-28 Thread Pinger
So I am a noob with Wicket.. so I have a dumb question.. I have a DateTimeField I do this DateTimeField startField = new DateTimeField(starttime, new PropertyModel(properties, starttime)); form.add(startField); Ok I want to be able to set and get this field.. I can do that with