Wicket and Apache Felix

2010-09-21 Thread Joseph Brunner
Hello, I've been trying to port a pre-existing web application built on Wicket 1.3 to run in an OSGi environment. Specifically, I'm running Apache Servicemix 4.2.0. I have tried to run the webapp with the Springsource pre-bundled version of Wicket 1.3.3 and bundling my own version of Wicket 1.3.

Re: announcing Granite - a Wicket-Scala-DB4O web application stack

2010-09-21 Thread Thomas Kappler
On 09/22/10 03:41, Sam Stainsby wrote: Today we officially announced our project to provide a Wicket-DB4O-Scala web application stack: http://sustainablesoftware.com.au/blog/?p=77 "I’m pleased to announce a new web application framework, called Granite, and an associated set of reusable librari

SV: Using WicketTester to verify table content refreshed by AJAX event

2010-09-21 Thread Wilhelmsen Tor Iver
> I remember reading somewhere that using AJAX to refresh a component > generated using "repeater" may cause some problems. Is this what I am > against here with WicketTester? (Keep in mind that the table does get > refreshed correctly in production.) Repeaters are special in the sense that they t

SV: Removing jsessionid from URl

2010-09-21 Thread Wilhelmsen Tor Iver
> I have been tryin to figure out what to do to remove jsessionid from > the URL The web container will add that to the first response URL when a session is created in case cookies are not supported. What is corny is that this is not further maintained (in a non-cookie situation) without the dev

Re: Removing jsessionid from URl

2010-09-21 Thread Jeremy Thomerson
On Tue, Sep 21, 2010 at 11:13 PM, Ayodeji Aladejebi wrote: > Hi, > > I have been tryin to figure out what to do to remove jsessionid from the > URL > > I have mount(new QueryStringUrlCodingStrategy("/home", AppHomePage.class)); > > All my links are BookmarkablePageLinks. > > am using wicket 1.4.8

Removing jsessionid from URl

2010-09-21 Thread Ayodeji Aladejebi
Hi, I have been tryin to figure out what to do to remove jsessionid from the URL I have mount(new QueryStringUrlCodingStrategy("/home", AppHomePage.class)); All my links are BookmarkablePageLinks. am using wicket 1.4.8 on Apache Tomcat/6.0.29

Re: Default unauthorized access handling

2010-09-21 Thread Igor Vaynberg
wicket auth roles is meant as an example, not as a library for you to use. feel free to copy/paste the code into your codebase and hack away as needed. -igor On Tue, Sep 21, 2010 at 4:09 PM, Mike Dee wrote: > > I am using wicket-auth and it gets me just about everything I need. I would > like th

Re: Default unauthorized access handling

2010-09-21 Thread Alexander Morozov
Hi! I think you can use interface IUnauthorizedComponentInstantiationListener and push necessary information message to Session object. On SignInPage - check the session and render the message. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Default-unauthorized-acc

chrome + wicket ajax + back button = problem?

2010-09-21 Thread Ryan Crumley
All, I ran into strange behavior involving wicket ajax updates + chrome + back button. I am pretty sure the issue is not caused by wicket but I am hoping the problem might sound familiar to someone and they can point me in the right direction. The scenario goes like this: - An ajax request is mad

Re: Using WicketTester to verify table content refreshed by AJAX event

2010-09-21 Thread Juan I Felice
2010/9/21 Alec Swan > Any thoughts on this? > > I remember reading somewhere that using AJAX to refresh a component > generated using "repeater" may cause some problems. Is this what I am > against here with WicketTester? (Keep in mind that the table does get > refreshed correctly in production.)

announcing Granite - a Wicket-Scala-DB4O web application stack

2010-09-21 Thread Sam Stainsby
Today we officially announced our project to provide a Wicket-DB4O-Scala web application stack: http://sustainablesoftware.com.au/blog/?p=77 "I’m pleased to announce a new web application framework, called Granite, and an associated set of reusable libraries, called Uniscala. Please note that

Re: Using WicketTester to verify table content refreshed by AJAX event

2010-09-21 Thread Alec Swan
Any thoughts on this? I remember reading somewhere that using AJAX to refresh a component generated using "repeater" may cause some problems. Is this what I am against here with WicketTester? (Keep in mind that the table does get refreshed correctly in production.) Thanks On Mon, Sep 20, 2010 at

Re: Trouble with ProxyPass and Wicket

2010-09-21 Thread Adam Bender
That seemed to do the trick, thank you very much for your help! Adam -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Trouble-with-ProxyPass-and-Wicket-tp2539851p2549555.html Sent from the Users forum mailing list archive at Nabble.com. --

Default unauthorized access handling

2010-09-21 Thread Mike Dee
I am using wicket-auth and it gets me just about everything I need. I would like the default handling of an unauthenticated user. When a page is accessed by someone who is not logged in, I'd like them directed to the login page, BUT I'd like a message to appear stating that their session has time

Re: JavaOne in San Francisco

2010-09-21 Thread Craig Tataryn
Any Wicket peeps here? Figured we'd just hang out by the beer in Mason tent and bump into somebody but alas... On Sep 18, 2010 8:07 PM, "Craig Tataryn" wrote: > Hey folks, The Basement Coders will be at JavaOne and doing a podcast > right from the Mason street tent Tuesday at 10am! We would love

Re: Preventing warnAboutFormComponentInsideEnclosure log entries

2010-09-21 Thread Igor Vaynberg
if it works fine for your particular usecase then you can silence the warning. -igor On Tue, Sep 21, 2010 at 11:33 AM, Ian Marshall wrote: > > I make moderate use of the tag in my Wicket HTML. I > notice now that (in development mode) I get log entries of the form > >  21-Sep-2010 11:04:04 org.

Re: ChoiceRender and many property expressions

2010-09-21 Thread Mathias Nilsson
Let's say your POJO is a store class new IChoiceRenderer(){ private static final long serialVersionUID = 1L; // Implement dispay here public Object getDisplayValue(Store object) { return object.getName() + " " + object.getId(); } public St

Preventing warnAboutFormComponentInsideEnclosure log entries

2010-09-21 Thread Ian Marshall
I make moderate use of the tag in my Wicket HTML. I notice now that (in development mode) I get log entries of the form 21-Sep-2010 11:04:04 org.apache.wicket.markup.html.internal.Enclosure warnAboutFormComponentInsideEnclosure WARNING: Found a form component RadioChoice/frmForm:rcWebSiteM

Dynamic Column Datatable - Example

2010-09-21 Thread Shelli Orton
Hi, I think what I need to do is fairly common. I have a number of checkboxes that users can select to determine which columns they want displayed in a datatable. I've been searching for an example of a dynamic datatable and haven't been able to find one. I've seen references to a solutio

Re: updating page version after an ajax request

2010-09-21 Thread Igor Vaynberg
the problem with "updating the version of the page" is that all urls in the page, be in hrefs or in javascript, have to be rewritten with the new page version... -igor On Tue, Sep 21, 2010 at 2:19 AM, Josh Kamau wrote: > May be you could provide the developer with access to the page history > ut

Re: ChoiceRender and many property expressions

2010-09-21 Thread Igor Vaynberg
you can always implement your own that merges -igor On Tue, Sep 21, 2010 at 1:56 AM, Andrea Del Bene wrote: > Hi, > > I need to render options in a MultipleSelectList using more then one field > from > a POJO. Is possible to use ChoiceRender selecting more then one property (for > example passi

Re: Automatic submit of form (AjaxFormSubmitBehavior)

2010-09-21 Thread Thomas Götz
On 21.09.2010 17:01, Gast Thorsten wrote: I have a form with a AjaxFormSubmitBehavior. Is it possible to submit this form automatically after the rendering of the page is finished. Just curious: why do you want to submit a form without any manually input/changed data? -Tom ---

Re: Error on constructor call

2010-09-21 Thread Martin Grigorov
columnArray[4] = new FilteredAbstractColumn what is the type of columnArray ? you are trying to put value of a wrong type On Tue, Sep 21, 2010 at 4:18 PM, Benedikt Schlegel < codecab.dri...@googlemail.com> wrote: > Hy folks, > > im trying to set up an DataTable with FilterToolbar but now im stuc

Automatic submit of form (AjaxFormSubmitBehavior)

2010-09-21 Thread Gast, Thorsten
Hi, I have a form with a AjaxFormSubmitBehavior. Is it possible to submit this form automatically after the rendering of the page is finished. Regards Thorsten

Error on constructor call

2010-09-21 Thread Benedikt Schlegel
Hy folks, im trying to set up an DataTable with FilterToolbar but now im stuck. I want to use the GoAndClearFilter, and that for i have to add an additional column to the DataTable. Im not quiet sure, which implementation is the right one for that, but as far as i dont want to populate any data o

Palette model changing problem

2010-09-21 Thread Java Programmer
Hello, I have a problem with Palette component - I try to retain model objects which were selected in Pallete, and update the list od choices same time (in other word you have one set of available choices takes 2, than press some ajax button and get different set of choices, than takes 3, so you sh

setDefaultButton works in all browsers?

2010-09-21 Thread Anna Simbirtsev
I am using setDefaultButton to submit the form using enter key. It seems to be working ok, but I have read on the internet that people are having problems in some browsers. Does anybody have any recommendations? Thanks - To unsub

Re: FeedbackPanel does not clean up after displaying error messages using Ajax

2010-09-21 Thread Alexander Morozov
saveLink = new AjaxSubmitLink("save", mainform) { @Override protected void onSubmit(AjaxRequestTarget target, Form form) { /* do not forget to refresh feedback panel on successful submit */ info("Request processed successfully!");

Re: FeedbackPanel does not clean up after displaying error messages using Ajax

2010-09-21 Thread droitbarg
I made a small mistake: Where it says add(new ButtonsPanel("buttonsPanel", detailPanel, feedbackPanel, form)); it should be: add(new ButtonsPanel("buttonsPanel", detailPanel, feedbackPanel, primaryform)); -- View this message in context: http://apache-wicket.1842946.n4.nabbl

Re: FeedbackPanel does not clean up after displaying error messages using Ajax

2010-09-21 Thread droitbarg
Alexander: thanks for your quick answer! I have done as you said but I still get the same problem. My HomePage.java code is: public HomePage(final PageParameters parameters) { getSession().setHomePage(this); Form form = new Form("primaryform"); FeedbackPanel feedback

Re: FeedbackPanel does not clean up after displaying error messages using Ajax

2010-09-21 Thread Alexander Morozov
What about feedback markup ID ? Is it present on the page ? It seems that you forgot to invoke setOutputMarkupPlaceholderTag(true) on FeedbackPanel instance. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/FeedbackPanel-does-not-clean-up-after-displaying-error-messag

FeedbackPanel does not clean up after displaying error messages using Ajax

2010-09-21 Thread droitbarg
Hello everyone! I am experiencing a problem whenever submiting a form using an AjaxSubmitLink. I have tried using wicket from version 1.4.9 to 1.4.12 If the form fields are properly filled the first time( and validation succeeds) my AjaxSubmitLink calls onSubmit and everything goes straight. If a

Re: palette problem

2010-09-21 Thread luigi.brandolini
Hi, thank you very much for your suggestion and help guys: getting always an empty selected list, i solved the problem providing all the choices to that model. Regards! Luis -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/palette-problem-tp1869353p2548267.html Sent

Re: updating page version after an ajax request

2010-09-21 Thread Josh Kamau
May be you could provide the developer with access to the page history utilities such that i can update the version of the current page at will or leave things to work normally if i dont want to break anything. something like thisPage.getVersion().increment() ; regards. On Fri, Sep 17, 2010 at 6

ChoiceRender and many property expressions

2010-09-21 Thread Andrea Del Bene
Hi, I need to render options in a MultipleSelectList using more then one field from a POJO. Is possible to use ChoiceRender selecting more then one property (for example passing it more then one property expression)? Thank you, Andrea. -

Re: Url parameters: removed onClick + wrong url encoding

2010-09-21 Thread Martin Grigorov
On Mon, Sep 20, 2010 at 8:57 PM, Peter Karich wrote: > Hi Martin! > > >> Martin, > >> > >> thanks for the support in the tickets btw :-) > >> > >> > > We thank you for testing the framework and blogging about it! ;-) > > > > ;-) > > > Interesting. > > How exactly looks the URL for such request? >