Re: Submit form from ajaxlink not a part of the form

2011-01-27 Thread Igor Vaynberg
add(new ajaxsubmitlink("submit", form)); -igor On Thu, Jan 27, 2011 at 7:46 PM, Brown, Berlin [GCG-PFS] wrote: > So, I was able to submit a form WITHOUT ajax.  Now, how can I submit a > form with ajax but from a link not associated with that form.  I tried > the following.    But, I couldn't get

Re: 1.5.x javadoc

2011-01-27 Thread Steve Swinsburg
Wicket By Example has a section for the Javadocs, but it needs a refresh. http://wicketbyexample.com/api/ cheers, Steve On 28/01/2011, at 10:36 AM, Todd Wolff wrote: > Hi, > > > > Is there a URL where I can pull up javadoc for latest 1.5 RC without > having to checkout source and generate mys

Re: Access to HttpServletResponse gone in 1.5?

2011-01-27 Thread mbrictson
Todd Wolff wrote: > > How can I access HttpServletResponse? > I think this will work in the latest 1.5-SNAPSHOT: (HttpServletResponse) getResponse().getContainerResponse(); -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Access-to-HttpServletResponse-gone-in-1-5-

Submit form from ajaxlink not a part of the form

2011-01-27 Thread Brown, Berlin [GCG-PFS]
So, I was able to submit a form WITHOUT ajax. Now, how can I submit a form with ajax but from a link not associated with that form. I tried the following.But, I couldn't get the proper URLs / Button? Are those needed for the wicketSubmFormById call? Also, do i have an issue using target.a

Re: 1.5 Javascript HeaderContribution

2011-01-27 Thread Igor Vaynberg
response.renderJavaScriptReference(SomeClassInThePackage.class, "js/fb-auth-redirect.js"); -igor On Thu, Jan 27, 2011 at 3:44 PM, Todd Wolff wrote: > Hi, > > > > Struggling with new HeaderContribution semantics ...  Trying to > dynamically add a javascript reference to header section. > > > > My

1.5 Javascript HeaderContribution

2011-01-27 Thread Todd Wolff
Hi, Struggling with new HeaderContribution semantics ... Trying to dynamically add a javascript reference to header section. My old code (that worked): add(JavascriptPackageResource.getHeaderContribution("js/fb-auth-redirect .js")); Tried refactoring (unsuccessfully) as: respo

1.5.x javadoc

2011-01-27 Thread Todd Wolff
Hi, Is there a URL where I can pull up javadoc for latest 1.5 RC without having to checkout source and generate myself? Thanks.

Re: Can i catch urls like "http://localhost:8080/ShowThemePage-ti325-Twilight.html" by IRequestTargetUrlCodingStrategy?

2011-01-27 Thread Igor Vaynberg
webapplication { protected IRequestCycleProcessor newRequestCycleProcessor() { return new WebRequestCycleProcessor() { protected IRequestCodingStrategy newRequestCodingStrategy() { return new MyStrategy();<=== also make yours either extend WebRequestCodingStrategy

Re: Can i catch urls like "http://localhost:8080/ShowThemePage-ti325-Twilight.html" by IRequestTargetUrlCodingStrategy?

2011-01-27 Thread wicket-mike
Thanks Igor, i checked the settings but couldn't find anything what i could use to solve my problem. Can you please push me a bit further and tell me what i can do to map the url to a page with appropriate parameters. Thanks again Mike Original-Nachricht > Datum: Thu, 27 Jan

Re: How to deal with vertical tabs?

2011-01-27 Thread Igor Vaynberg
the fix in 1.5 has caused a bit of havoc as it cascaded to a lot of places, so i dont think we are going to backport it into the stable 1.4. so until you switch to 1.5 you can roll the filter you talked about. -igor On Thu, Jan 27, 2011 at 8:08 AM, Carsten Luckmann wrote: > Hello, > > thank you

Re: How to deal with vertical tabs?

2011-01-27 Thread Carsten Luckmann
Hello, thank you for your replies. Yes, we are using Wicket 1.4 (I should have mentioned it in my original post), and unfortunatley, project constraints prohibit a Wicket upgrade at this time. I shall consider an upgrade as soon as the project permits. Yours, Carsten 2011/1/26 Martin Grigorov

Re: Can i catch urls like "http://localhost:8080/ShowThemePage-ti325-Twilight.html" by IRequestTargetUrlCodingStrategy?

2011-01-27 Thread Igor Vaynberg
instead of mounting it set in the settings. mounting is for intercepting path segments. also set a breakpoint and see if its being hit. -igor On Thu, Jan 27, 2011 at 2:56 AM, Mike Mander wrote: > Hi, > > urls in my shop look like this > > http://localhost:8080/ShowThemePage-ti325-Twilight.htm

Re: Noob question: Link to Page that only Redirects?

2011-01-27 Thread flavius
On your MyLinkPage you can just setResponsePage... So if (gotoQuestionPage) setResponsePage(QuestionPage.class); else setResponsePage(ErrorPage.class); Is that what you're after? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Noob-question-Link-to-Page-that-o

Re: Compound Property Model, sharing for children

2011-01-27 Thread Pedro Santos
On Thu, Jan 27, 2011 at 11:18 AM, Brown, Berlin [GCG-PFS] < berlin.br...@primerica.com> wrote: > Also, I am assuming a call to compoundPropertyModel.bind(expression) is > called, does this return a property model? Or is more involved? > > > New > TextField().setDefaultModel(compoundPropertyModel.

RE: Compound Property Model, sharing for children

2011-01-27 Thread Brown, Berlin [GCG-PFS]
Also, I am assuming a call to compoundPropertyModel.bind(expression) is called, does this return a property model? Or is more involved? New TextField().setDefaultModel(compoundPropertyModel.bind("obj.fieldName")) ; <-- return a propertymodel. If I change the instance of modelobject "obj" in the

Re: Compound Property Model, sharing for children

2011-01-27 Thread Pedro Santos
No because the MyTextField will not be able to init its model based on the parent CompoundPropertyModel since it don't know him yet. Only after exit the form.add call MyTextField.getModel will work as expected. If MyTextField invokes getModel inside the onInitialize it will work fine, since at this

Compound Property Model, sharing for children

2011-01-27 Thread Brown, Berlin [GCG-PFS]
How does the compound property model work in these instances: If I do (pseudo code): Form form = new Form ( new CompoundPropertyModel(someObject)) form.add (new MyTextField("someFieldFromObject"); ... public class MyTextField { public MyTextField() { super(id); getModel()

Re: FormComponentPanel and invalid child FormComponents question

2011-01-27 Thread Sam Zilverberg
Thanks again. Just tried it out and it works perfect. ContainerFeedbackMessageFilter for my form-comp-panel's feedback panel allowed it to show it's children messages. Using a visitor in my invalid-css-class-behavior allowed me to enable the behavior when one of the children has an error. This i

Can i catch urls like "http://localhost:8080/ShowThemePage-ti325-Twilight.html" by IRequestTargetUrlCodingStrategy?

2011-01-27 Thread Mike Mander
Hi, urls in my shop look like this http://localhost:8080/ShowThemePage-ti325-Twilight.html ShowThemePage should be mapped to my ThemePage.class The ti325 and Twilight Tokens should be indexed parameters and the .html is for ornament. Until now i mounted my own Strategy in my application.init

Re: wicket examples very slow

2011-01-27 Thread Martin Grigorov
On Tue, Jan 25, 2011 at 1:25 PM, kondwani wrote: > > Any luck in resolving this problem? I'm unable to even look at the Source > Code. > Tomcat is upgraded from 5.5.x to 6.0.x and all is fine again. > -- > View this message in context: > http://apache-wicket.1842946.n4.nabble.com/wicket-example

Re: AVI in Wicket

2011-01-27 Thread vov
Thank a lot!! I found wicket-html5 and hope that it help. Thanks!! -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/AVI-in-Wicket-tp3241694p3241770.html Sent from the Users forum mailing list archive at Nabble.com. -

Re: AVI in Wicket

2011-01-27 Thread Martin Grigorov
I have never used Adobe Media Player but I guess you can integrate it like Flash object. Search in Google/mailing lists for swfobject+wicket. I think there is a wiki page for that too. Also take a look at wicketstuff > core > jdk1.6 > html5 to see a demo for html5's On Thu, Jan 27, 2011 at 10:09

AVI in Wicket

2011-01-27 Thread vov
Hi All, Can anybody say how to play video on wicket page? (Using Adobe Media Player or something else) Thanks -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/AVI-in-Wicket-tp3241694p3241694.html Sent from the Users forum mailing list archive at Nabble.com.