Re: [Wicket-user] Can I get a 'Nice URL' when form validation fails?

2007-07-05 Thread David Leangen
In 1.2.6, how can a stateless form be simulated? On Thu, 2007-07-05 at 17:05 -0700, Igor Vaynberg wrote: > > On 7/5/07, Philip Wilkinson <[EMAIL PROTECTED]> wrote: > It would be nice if I could configure wicket to use cookies > (like the > servlet container) when enabled

Re: [Wicket-user] Seam2 and Wicket

2007-07-05 Thread Eelco Hillenius
> > I think the BPM feature would be a nice addition. > > I'm curious to learn what you would think that should look like. I've > heard of a couple of projects that used/ integrated Wicket + jBPM > (likely the default of SEAM) but everyone might have different ideas > on it. How would you want to u

[Wicket-user] jBMP + Wicket (was: Seam2 and Wicket)

2007-07-05 Thread Eelco Hillenius
> > > I think the BPM feature would be a nice addition. Did someone think a bit yet about what jBPM integration might look like? I didn't think Seam's example in their short tutorial was very convincing, as it seems to be just an alternative way of defining page flow. But I have to admit I merely

Re: [Wicket-user] Tree - override onNodeLinkClicked(...)?

2007-07-05 Thread kenixwong
is that use protected void populateTreeItem(WebMarkupContainer item, int level) {} to set the redirect link ? thanks Matej Knopp-2 wrote: > > I believe, that what you want, is not to set response page, but rather > to switch panel components. At least that sounds much more reasonable > to

[Wicket-user] Click a tree node link to load a local file

2007-07-05 Thread kenixwong
Hi, is there anybody have the idea how to load a local file once click on the tree node link. Below is the part of the ResourceLink . ResourceLink exportAsPdf = new ResourceLink("exportAsPdf", new Resource(){ @Override public IResourceStream getR

Re: [Wicket-user] Tree - override onNodeLinkClicked(...)?

2007-07-05 Thread kenixwong
ok... maybe i m new to wicket. Some of the example i cant really get what it means. Anyway, for temporary, i had solved my problem (think is not so practical :p) . hard code for the node link.. protected void onNodeLinkClicked(AjaxRequestTarget ajaxRequestTarget, TreeNode node) {

Re: [Wicket-user] Tree - override onNodeLinkClicked(...)?

2007-07-05 Thread kenixwong
ok... maybe i m new to wicket. Some of the example i cant really get what it means. Anyway, for temporary, i had solved my problem (think is not so practical :p) . hard code for the node link.. protected void onNodeLinkClicked(AjaxRequestTarget ajaxRequestTarget, TreeNode node) {

[Wicket-user] Extra "/" when using nice URLs

2007-07-05 Thread David Leangen
Is there a reason why I am getting an extra "/" when using nice URLs? For example, when I mount a page as ("/search", SearchPage.class), if I use that as my Home page, no problems. However, any time I navigate to that page via a Wicket link, the URL gets rendered as: http://www.blah.com/app//

Re: [Wicket-user] Ajax Problem with form submit

2007-07-05 Thread Timo Rantalaiho
On Fri, 06 Jul 2007, Conglun Yao wrote: > 'Object expected' in html code happens when > > I first submit a form (no matther it is submitted from ajax button or > normal button), > > then click the page link ( there are ajax components in this page) > > finally I click the ajax component, error

Re: [Wicket-user] Ajax Problem with PageNavigator

2007-07-05 Thread Conglun Yao
Of course Here is part of the code The hiercarchy is webpage border - (WebMarkupContainer) RMAsContainer rmaList - PageableListView rmaView , AjaxPagingNavigator public class RMARecords extends WebPage { private static final long serialVers

Re: [Wicket-user] Ajax Problem with PageNavigator

2007-07-05 Thread Eelco Hillenius
> I'm using wicket 1.2.6. > > JS error 'Object expected' in html code happens when > > I first submit a form (no matther it is submitted from ajax button or > normal button), > > then click the page link ( there are AjaxPagingNavigator in this page) > > finally I click the ajax component, error

Re: [Wicket-user] link ajax and panel

2007-07-05 Thread Ed _
sorry didn't quiet get it.here is my scenario - 3 panels P1 contains - P2 and P3 (P1 , P2 and P3 are all different kinds of panels)P3 has a iframeP2 has a link - which onclick - needs to change the contents of P3 (either by changing the src attribute of the iframe (old style (if i may say tha

[Wicket-user] Ajax Problem with PageNavigator

2007-07-05 Thread Conglun Yao
Dear all, I have met such a headache problem, when trying to use wicket's ajax in my project. I'm using wicket 1.2.6. JS error 'Object expected' in html code happens when I first submit a form (no matther it is submitted from ajax button or normal button), then click the page link ( there are

[Wicket-user] Ajax Problem with form submit

2007-07-05 Thread Conglun Yao
Dear all, I have met such a headache problem, when trying to use wicket's ajax in my project. I'm using wicket 1.2.6. 'Object expected' in html code happens when I first submit a form (no matther it is submitted from ajax button or normal button), then click the page link ( there are ajax com

Re: [Wicket-user] Can I get a 'Nice URL' when form validation fails?

2007-07-05 Thread Igor Vaynberg
On 7/5/07, Philip Wilkinson <[EMAIL PROTECTED]> wrote: It would be nice if I could configure wicket to use cookies (like the servlet container) when enabled on the client to store the information it currently encodes in url (?wicket:interface=:0:::) i dont think you fully understand the impac

Re: [Wicket-user] link ajax and panel

2007-07-05 Thread Igor Vaynberg
On 7/5/07, Ed _ <[EMAIL PROTECTED]> wrote: Will that work across panels ? the panel making the request itself does not have the entity to be updated. I ask cause all the examples have both entities in a given page. yes it is possible, just a matter of adding the right panel to the ajaxreques

Re: [Wicket-user] Retrieving resourceKey in FeedbackPanel

2007-07-05 Thread Igor Vaynberg
its not possible for all messages i believe, the system is just not designed that way. for validation errors i believe you do have access to the ValidationError object that contains the untranslated key. -igor On 7/5/07, Murat Yücel <[EMAIL PROTECTED]> wrote: Hi, Is is possible to retrieve t

Re: [Wicket-user] Can I get a 'Nice URL' when form validation fails?

2007-07-05 Thread Philip Wilkinson
Thanks for all the answers everybody. So the short answer is no, you cant get a 'Nice URL' when the form validation fails. I'd just like to mention that the servlet container uses cookies to store the session id, or if cookies disabled on the client, then it rewrites the url so you end up with so

Re: [Wicket-user] link ajax and panel

2007-07-05 Thread Thies Edeling
I posted a little about it some time ago, updating other panels on the same page: http://blog.ehour.nl/index.php/archives/18 Ed _ wrote: > Will that work across panels ? the panel making the request itself > does not have the entity to be updated. I ask cause all the examples > have both entiti

[Wicket-user] Retrieving resourceKey in FeedbackPanel

2007-07-05 Thread Murat Yücel
Hi, Is is possible to retrieve the resourceKey somehow within the FeedbackPanel. I am currently using the latest 1.3.0 incubator version. It seems like it is only possible to get the translated message, but i need the resourceKey for updating i18n text messages through the GUI. Kind regards /Mu

[Wicket-user] link ajax and panel

2007-07-05 Thread Ed _
I am trying to update a panel on a rendered page on click of a link.The panel is essentially an iframe How would I try and do this without refreshing the entire page. Are there any Ajax calls for this.thanks,ed _ Local listings, inc

Re: [Wicket-user] link ajax and panel

2007-07-05 Thread Ed _
Will that work across panels ? the panel making the request itself does not have the entity to be updated. I ask cause all the examples have both entities in a given page.thx,edDate: Thu, 5 Jul 2007 14:25:20 -0700From: [EMAIL PROTECTED]: [EMAIL PROTECTED]: Re: [Wicket-user] link ajax and panelO

Re: [Wicket-user] link ajax and panel

2007-07-05 Thread Igor Vaynberg
On 7/5/07, Ed _ <[EMAIL PROTECTED]> wrote: I am trying to update a panel on a rendered page on click of a link. The panel is essentially an iframe How would I try and do this without refreshing the entire page. Are there any Ajax calls for this. AjaxLink ? -igor thanks, ed -

[Wicket-user] Update default image with form

2007-07-05 Thread maru
Just started out yesterday with wicket and have a question. I have a form with some fields, at first there is a default image shown, a user can upload an image and I want the default image to be replaced with this image. This is what I tried: in the form: image_shown = new Image("show_image",

Re: [Wicket-user] Extending WebApplication in related projects problem

2007-07-05 Thread Igor Vaynberg
On 7/5/07, Daniel Stoch <[EMAIL PROTECTED]> wrote: On 7/5/07, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > On 7/5/07, Daniel Stoch <[EMAIL PROTECTED]> wrote: > > > > If I want to use wicket-spring and wicket-swarm, there is a problem: > > from which class should I extend my application class: > >

Re: [Wicket-user] Extending WebApplication in related projects problem

2007-07-05 Thread Daniel Stoch
On 7/5/07, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > On 7/5/07, Daniel Stoch <[EMAIL PROTECTED]> wrote: > > > > If I want to use wicket-spring and wicket-swarm, there is a problem: > > from which class should I extend my application class: > > SpringWebApplication or SwarmWebApplication? > > you n

Re: [Wicket-user] non-wicket relative link pre-pending question

2007-07-05 Thread Igor Vaynberg
On 7/5/07, Joshua Lim <[EMAIL PROTECTED]> wrote: Hi I am hitting a problem with my static links being pre-pended with "../". This is happening to my "" and ". So where I have becomes when I have a validation error on this page. and it happens only upon the 2nd time of validation error

Re: [Wicket-user] Wicket mailing list rules with regards to jobs

2007-07-05 Thread Scott Swank
Here at www.vegas.com (you guessed it, in Las Vegas) we are actively hiring Java developers, with all of our UI development in Wicket. Cheers, Scott -- Scott Swank reformed mathematician - This SF.net email is sponsored by

Re: [Wicket-user] Wicket Annotation Support

2007-07-05 Thread Igor Vaynberg
On 7/5/07, Jean-Baptiste Quenot <[EMAIL PROTECTED]> wrote: > cant we have something > > @Mount(path="/myurl/") > public class MyPage extends WebPage ... > > and the Wicket Runtime autowires this Who/what would be looking for this annotation during application initialization? Can you elaborate?

Re: [Wicket-user] Can I get a 'Nice URL' when form validation fails?

2007-07-05 Thread Igor Vaynberg
On 7/5/07, Joshua Lim <[EMAIL PROTECTED]> wrote: > Thanks for the explanation igor, I would like to use google analytics on all our pages, hence I need to have all the pages mounted with niceurls... or at least something like " http://server/app/niceurl/?wicket."; would be ok However,

Re: [Wicket-user] Extending WebApplication in related projects problem

2007-07-05 Thread Igor Vaynberg
On 7/5/07, Daniel Stoch <[EMAIL PROTECTED]> wrote: If I want to use wicket-spring and wicket-swarm, there is a problem: from which class should I extend my application class: SpringWebApplication or SwarmWebApplication? you no longer need to extend SpringWebApplication if you want to use ann

[Wicket-user] non-wicket relative link pre-pending question

2007-07-05 Thread Joshua Lim
Hi I am hitting a problem with my static links being pre-pended with "../". This is happening to my "" and ". So where I have becomes when I have a validation error on this page. and it happens only upon the 2nd time of validation error This only happens on the server running apache and

Re: [Wicket-user] FormTester and type conversion

2007-07-05 Thread mperham
Turns out this bug was due to me not using a typed TextField (i.e. passing int.class to the constructor). I think wicket could probably handle this case a little more gracefully but it's partially user error. Jean-Baptiste Quenot-3 wrote: > > * mperham: >> >> I've got an input field which acc

Re: [Wicket-user] Wicket Annotation Support

2007-07-05 Thread Jean-Baptiste Quenot
* Ayodeji Aladejebi: > Well, even though the no XML configuration stuff is great, i still think > Wicket can still be even sweeter if there can be more friendly annotation > support for some very common config tasks > > i still really do have issues with Mounting Nice URLs, the code seem much > as

Re: [Wicket-user] 401 HTTP authentication?

2007-07-05 Thread Jean-Baptiste Quenot
* Johan Compagner: > you can use a Page that you also display and then in the configureResponse() > you can set the right status > like the AccessDeniedPage does: > >protected void configureResponse() >{ >super.configureResponse(); > > getWebRequestCycle().getWebResponse().getHttp

Re: [Wicket-user] FormTester and type conversion

2007-07-05 Thread Jean-Baptiste Quenot
* mperham: > > I've got an input field which accepts positive integers. I'm trying to test > the validation logic on my page but receiving the following error. Am I > misunderstanding how validation and type conversion work? In general I'm > having trouble with any fields that accept non-String

Re: [Wicket-user] Can I get a 'Nice URL' when form validation fails?

2007-07-05 Thread Joshua Lim
lets say validation fails - that means your form.onsubmit() is never called. what wicket does is redirect to a url that will render the current page again back to the user (it doesnt have to redirect, but it does by default - see redirect-after-post pattern for details). this url also cannot be

[Wicket-user] Wicket Annotation Support

2007-07-05 Thread Ayodeji Aladejebi
Well, even though the no XML configuration stuff is great, i still think Wicket can still be even sweeter if there can be more friendly annotation support for some very common config tasks i still really do have issues with Mounting Nice URLs, the code seem much as WebPages grows although i know

Re: [Wicket-user] Image questions

2007-07-05 Thread Gohan
The html tag error was just a typo, sorry for that. I figured out the what the problem was eventually. I had enabled resource filtering in Maven (cut and paste error) which messed up the images. So everything works fine now. Thanks igor.vaynberg wrote: > > On 7/4/07, Gohan <[EMAIL PROTECTED

[Wicket-user] Extending WebApplication in related projects problem

2007-07-05 Thread Daniel Stoch
Hi, There is a problem with using different Wicket related projects in one application, because in many cases each project defines its own implementation of WebApplication class (and sometimes WebSession too). For example: - wicket-spring: SpringWebApplication - wicket-auth-roles: AuthenticatedWeb

Re: [Wicket-user] London Wicket Event - Tuesday, 7th August, 2007

2007-07-05 Thread Al Maw
jweekend wrote: > The first London Wicket Users Group went well; it was informative, > interesting and entertaining. > Our generous hosts at Arclight Media took really good care of us and Matt > Dudbridge rounded the evening off with a nice presentation about the > impressive http://zoomf.com zoom

Re: [Wicket-user] Strange content serialized

2007-07-05 Thread dx74a19
Great! Thank u very much! Martijn Dashorst wrote: > > If you run in DEVELOPMENT mode, we try to give you meaningful messages > when you fail to put a component definition in your html file. This is > done by creating a stack trace at the moment of component creation and > addition. This gives y

Re: [Wicket-user] DatePicker broken on beta2 and snapshot?

2007-07-05 Thread Gerolf Seitz
thx, eelco i really enjoy my wicket ride ;) On 7/5/07, Eelco Hillenius <[EMAIL PROTECTED]> wrote: On 7/4/07, Gerolf Seitz <[EMAIL PROTECTED]> wrote: > eelco, > speaking of wicket-datetime. > is it possible to change the default implementation of > notifyComponentOnDateSelected to return true? >

Re: [Wicket-user] Strange content serialized

2007-07-05 Thread Martijn Dashorst
If you run in DEVELOPMENT mode, we try to give you meaningful messages when you fail to put a component definition in your html file. This is done by creating a stack trace at the moment of component creation and addition. This gives you line precise error messages in this case: java: public MyPa

[Wicket-user] Strange content serialized

2007-07-05 Thread dx74a19
Hi, I have a question about session files. (second level cache store) I was courious, why some of theese file are so big (100k +) so I opened one. I saw full of partial stack traces - like this: The ajaxsubmitbutton with id 'updateButton' that failed to render was added at com.panteon.wicket