Re: Wicket blog software

2008-01-18 Thread Jonathan Locke
not my code, not my call. Nino.Martinez wrote: I have no problem at all turning mine open source, i'll be happy to give apache license.. Jonathan Locke wrote: I't not open source. quot;C.quot; Bergström wrote: On Thu, 2008-01-17 at 10:12 -0600, Nick Heudecker wrote:

How to catch unknown (not mounted) URLs?

2008-01-18 Thread Erik van Oosten
Hi, In my app I have several mounted URLs with a simple prefix: /city/name_of_city /support/name_of_support_page etc. Easy. But now my client want to have members (yes, yet another community site ;) ) directly on the root: /name_of_member In addition, he want us to guess URLs. For example:

WicketTester and continueToOriginalDestination

2008-01-18 Thread Lauri Piispanen - Conmio Ltd
Hi all, I'm having problems trying to test interception pages with WicketTester in Wicket 1.3. For some reason my application homepage is used instead of the one that threw the RestartResponseAtInterceptPageException. I have the same code running fine in the servlet environment, so I think

Re: a rolling display label component

2008-01-18 Thread Maurice Marrink
I Don't there there already is such a component, but if you are interested in creating one you could extend label, override onComponentTagBody like this @Override protected void onComponentTagBody(MarkupStream markupStream, ComponentTag openTag) { replaceComponentTagBody(markupStream,

Re: WicketTester and continueToOriginalDestination

2008-01-18 Thread Lauri Piispanen - Conmio Ltd
Hi Maurice, Great, that solves the problem and my bar is green again! :) I can still post the issue to JIRA along with my test cases if you want me to, just so it doesn't get buried. Sincerely, Lauri Piispanen +358 45 630 2546 Senior Product Architect Conmio Ltd http://www.conmio.com

Re: WicketTester and continueToOriginalDestination

2008-01-18 Thread Maurice Marrink
Maybe you could wait until Johan replies, if it was something that easily could be fixed Johan probably would have done so by now. Given that he hasn't it either slipped his mind or is not doable without serious refactorings. You can always create a Jira issue if Johan gives the green light.

a rolling display label component

2008-01-18 Thread dvd
Hello: I wonder if wicket already has a component that would display a list of text every n seconds, with the text list predefined  (not ajax call every n second) so that I could use a java call like  new NeonLabel(id,ListModel({ab, cd,ef}, Nseconds) so that web page would display ab and cd and

Re: Update to wicketstuff-jquery - commit access?

2008-01-18 Thread Edvin Syse
On Jan 17, 2008 4:04 PM, Edvin Syse [EMAIL PROTECTED] wrote: You should give us your sourceforge id (the name, not the number), and My id is: edvinsyse You're in. Cheers, Eelco Thanks! I've talked to David - he is more or less out of the wicket scene as I understood it (- Scala/Lift), so

Re: a rolling display label component

2008-01-18 Thread Nino Saturnino Martinez Vazquez Wael
use a label and a ajaxtimer... [EMAIL PROTECTED] wrote: Hello: I wonder if wicket already has a component that would display a list of text every n seconds, with the text list predefined (not ajax call every n second) so that I could use a java call like new NeonLabel(id,ListModel({ab,

Re: a rolling display label component

2008-01-18 Thread dvd
Using ajaxtimer would mean an ajax call to server to get next data? That is not what I want as the data are fixed and I'd want them loaded in html once and a javascript would auto display them in turn without ever going back to server. use a label and a ajaxtimer... [EMAIL PROTECTED] wrote:

Re: WicketTester and continueToOriginalDestination

2008-01-18 Thread Maurice Marrink
I believe there is indeed a problem with continueTo... I have talked with Johan about it a long time ago, i don't recall what the problem was but ever since i am using the following work around to test continueTo behavior. // continueToOriginaldestination does not work if there is no url

Re: How to catch unknown (not mounted) URLs?

2008-01-18 Thread Igor Vaynberg
as far as having /username i recently had to do this for a cms im building. here is my quick hack i used to get it working until i have time to revisit it... the code below is from the webapp subclass, the way it works: your homepage has pageparams constructor, if you hit a url that doesnt

Re: Pass form input from modal window back to the caller page

2008-01-18 Thread Artur W.
Hi! Something like this should work: chooserWindow.setWindowClosedCallback(new ModalWindow.WindowClosedCallback() { public void onClose(AjaxRequestTarget target) { yourTextField.setModelObject( chooserPanel.getYourValue() );

Re: How to catch unknown (not mounted) URLs?

2008-01-18 Thread Erik van Oosten
Super! Exactly what I needed. Thanks! Erik. Igor Vaynberg schreef: as far as having /username i recently had to do this for a cms im building. here is my quick hack i used to get it working until i have time to revisit it... the code below is from the webapp subclass, the way it

RE: DateField and Validation

2008-01-18 Thread Karen Schaper
I forgot to mention I am also setting the type to Date.class I am using the latest wicket release 1.30. -Original Message- From: Karen Schaper [mailto:[EMAIL PROTECTED] Sent: Friday, January 18, 2008 12:44 AM To: [EMAIL PROTECTED] Apache. Org Subject: DateField and Validation

Jboss Portal + Wicket (Portlet)

2008-01-18 Thread Süli Zsolt
Hi! I have been trying to make Wicket (1.3.0) work with Jboss Portal (Jboss 4.2.2 and Portal 2.6.1. or 2.6.3.) for 2 weeks. Everything is ok, except AJAX calling. (This portlet works like charm on Jetspeed2.) So let's see what we know... Ajax Request reaches the server, and it gives me a

Re: WicketTester and continueToOriginalDestination

2008-01-18 Thread Martin Makundi
Is this the same problem as I posted before with the title Raw urls using WicketTester 1.3.0 ? Appears so on the surface. I will try the workaround. Let me know about the jira id, I am eager to try to contribute as soon as this has been confirmed to be a bug instead of just a stupid newuser ;)

Re: How to get page URL

2008-01-18 Thread Boon Aik Chew
It worked! Thanks! On Jan 18, 2008 9:07 PM, Martin Makundi [EMAIL PROTECTED] wrote: And if you want the absolute path, like I did, you can use RequestUtils.toAbsolutePath(urlFor(xx)); ** Martin 2008/1/18, Martijn Lindhout [EMAIL PROTECTED]: getRequestCycle().urlFor(Page) 2008/1/18,

How to get page URL

2008-01-18 Thread Boon Aik Chew
For some reason I need to get URL of a page class inside WebApplication, how do I accomplish that?

Re: a rolling display label component

2008-01-18 Thread Igor Vaynberg
find a javascript widget that does this and integrate with it -igor On Jan 18, 2008 1:50 AM, [EMAIL PROTECTED] wrote: Hello: I wonder if wicket already has a component that would display a list of text every n seconds, with the text list predefined (not ajax call every n second) so that

Re: Checkbox problem

2008-01-18 Thread jnorris
Hi Timo, I was in the process of renaming MyModel to UserPageModel when I cut and pasted the code. Anyway I feel a bit stupid after you pointed out that I was using a Link instead of a Button and forgot that onClick() doesn't submit the form. I'm pretty much a newbie when it comes to web apps

Re: RadioChoice : default choice ?

2008-01-18 Thread scottomni
Thanks Igor and Per. It appears that my ignorance is further complicated by RadioChoice... as I do not yet have a solution. Note: I have changed sexRadioChoice to genderChoice. Here is what I declare: private RadioChoice genderChoice; public RadioChoice getGender(){ return

Ext JS, form submit

2008-01-18 Thread Flemming Boller
Hi Having glazed at the ExtJS components you can not help, but feel I must try and integrate this into wicket. However when I started at trying to submit data to wicket from the Ext.form.FormPanel, lots of trouble appeared. I can not make Ext.FormPanel apply to a form tag , only a div tag.

Re: RadioChoice : default choice ?

2008-01-18 Thread scottomni
Sorry, I am new to Java (as well as Wicket). As it stands, I do not have a handle on Models. I have determined to head down the Wicket road (as I learn Java). Thus, I am looking for clear examples (which I am finding all too difficult to find). BTW, I am hoping your book will be written to

Re: DateField and Validation

2008-01-18 Thread Igor Vaynberg
problem is datefield is actually a composite, so you have to add your onblur handler to the right component inside... new datefield(...) { newdatetextfield() { component c=super.newdatetextfield(); c.add(new fxvalidation(onblur); return c; }} -igor On Jan 17, 2008 9:44 PM, Karen Schaper [EMAIL

Re: RadioChoice : default choice ?

2008-01-18 Thread Igor Vaynberg
On Jan 18, 2008 11:27 AM, scottomni [EMAIL PROTECTED] wrote: OK. I have the following line in a Wicket Panel, which adds a RadioChoice to a Form. Is it not possible to modify my line of code to 'include' a default selection? - add(sexRadioChoice

Re: How to get page URL

2008-01-18 Thread Martijn Lindhout
getRequestCycle().urlFor(Page) 2008/1/18, Boon Aik Chew [EMAIL PROTECTED]: For some reason I need to get URL of a page class inside WebApplication, how do I accomplish that? -- Martijn Lindhout JointEffort IT Services http://www.jointeffort.nl [EMAIL PROTECTED] +31 (0)6 18 47 25 29

Re: How to get page URL

2008-01-18 Thread Martin Makundi
And if you want the absolute path, like I did, you can use RequestUtils.toAbsolutePath(urlFor(xx)); ** Martin 2008/1/18, Martijn Lindhout [EMAIL PROTECTED]: getRequestCycle().urlFor(Page) 2008/1/18, Boon Aik Chew [EMAIL PROTECTED]: For some reason I need to get URL of a page class inside

Re: Broken link when trying to navigate to other page with another tab while 1 page is still loading

2008-01-18 Thread Eunice
Thanx Johan for reply, Cant you do something with a shared resource and then push a bit more data in the url? After i read your suggestion, i tried to study more into DynamicImageResource, BufferedDynamicImageResource,Image class.. Still, I unable to get what do you mean by push a bit more

Re: How to get page URL

2008-01-18 Thread Boon Aik Chew
I didn't know it's in the WIKI :p On Jan 18, 2008 10:02 PM, Hoover, William [EMAIL PROTECTED] wrote: Add/Edit if necessary http://cwiki.apache.org/confluence/x/sGw -Original Message- From: Boon Aik Chew [mailto:[EMAIL PROTECTED] Sent: Friday, January 18, 2008 8:33 AM To: