Re: Using ajax to update a panel

2007-12-05 Thread wicket user
Hi Andrew, So what's actually happening? Anything? Exceptions or does the image just stay the same? On 05/12/2007, Andrew Moore [EMAIL PROTECTED] wrote: Hi, I've got a page, which includes a drop down choice box, and a panel (with a list of images). The drop down box holds an id (which

Using ajax to update a panel

2007-12-05 Thread Andrew Moore
Hi, I've got a page, which includes a drop down choice box, and a panel (with a list of images). The drop down box holds an id (which ties back to a list of images), what I'm wanting to be able to do is that if the user changes the drop down choice, the panel refreshes via ajax with the new

AutoCompleteTextField problem

2007-12-05 Thread dariusz.holda
Hi, I have AutoCompleteTextField with AjaxFormComponentUpdatingBehavior(onchange). When the value is chosen from the auto complete it populates the model object of a drop down. Both of the components are in a form. The problem is it is working only the first time. Then IE reports Error on Page:

Re: 302 vs. 301 Redirect

2007-12-05 Thread Gwyn Evans
I think the one thread was Consistent homepage URL from 2005Q2 - I think the gist was that in the scenario there, it wasn't desirable having the redirected URL becoming the one that the search engines would always go to. /Gwyn On 04/12/2007, Johan Compagner [EMAIL PROTECTED] wrote: Long long

Re: Using ajax to update a panel

2007-12-05 Thread wicket user
is it not possible to post the whole page where you insert the ImagePreviewPanel ? I don't need the HTML just the java side On 05/12/2007, Andrew Moore [EMAIL PROTECTED] wrote: The ajax stuff is firing (as I can see in the ajax debug window) but the panel does not get updated. I know I'm

Re: Using ajax to update a panel

2007-12-05 Thread Andrew Moore
The ajax stuff is firing (as I can see in the ajax debug window) but the panel does not get updated. I know I'm getting the id from the drop down and the ajax bit itself is fine as I can get the value of the drop down and append it to a test label on the form that's used to store the dropdown

Re: Problems deploying Wicket application with Tomcat

2007-12-05 Thread wicket user
Apart from the obvious that you are out of memory, no not really. This happens a lot to me in development mode, have you switched to deployment mode? On 05/12/2007, James Perry [EMAIL PROTECTED] wrote: Checking my Tomcat's server log (catalina.out), it appears the issue is: ERROR -

Re: Problems deploying Wicket application with Tomcat

2007-12-05 Thread James Perry
Checking my Tomcat's server log (catalina.out), it appears the issue is: ERROR - [wicketcart] - Servlet.service() for servlet wicketcart th rew exception java.lang.OutOfMemoryError: PermGen space at sun.misc.Unsafe.defineClass(Native Method) at

RE: AutoCompleteTextField problem

2007-12-05 Thread Holda, Dariusz
Onblur is not the thing I want but I've tried it and it doesn't work. -Original Message- From: Dipu Seminlal [mailto:[EMAIL PROTECTED] Sent: 05 December 2007 12:10 To: users@wicket.apache.org Subject: Re: AutoCompleteTextField problem can you try changing the event from onchange to

OutOfMemoryError: Java heap space

2007-12-05 Thread Sergio García
Hi, I have a memory problem on my wicket app. It's being developed, so there is no reason for a memory problem. The class that throws this exception has a intensive use of LoadableDetachableModel. 2007-12-05 16:56:12,032 ERROR [[WicketApplication]] (StandardWrapperValve.java:253) -

wicket applet issue

2007-12-05 Thread zandile
I have been trying all sorts of work arounds to include an applet into wicket: I keep getting an classnotfoundexception in the java console for the applet. I am running wicket 1.2.6 and I am not sure what exactly is wrong with this, My applet runs fine when I run it in eclipse using the applet

Re: [RFE] AjaxLazyLoadPanel

2007-12-05 Thread Johan Compagner
done On Dec 5, 2007 9:55 AM, Alex Objelean [EMAIL PROTECTED] wrote: I've noticed that AjaxLazyLoadPanel has only one constructor: public AjaxLazyLoadPanel(String id) I think that it would be useful to add a constructor with IModel to this component: public AjaxLazyLoadPanel(String id,

RE: cannot render a menubar using menu2 package

2007-12-05 Thread rik rik
Hi Doug, I've created a simple menu with menu2 and on Internet Explorer it works perfectly. But I have a problem with Firefox, because the submenus are not displayed, and the little symbol (the down pointing arrow right side the menu) is not displayed, too. The strange thing is that the

RE: AutoCompleteTextField problem

2007-12-05 Thread Holda, Dariusz
Yes it did work. And if I want to refresh the form? Do I have to enclose all the form components in the web markup? Dariusz -Original Message- From: Dipu Seminlal [mailto:[EMAIL PROTECTED] Sent: 05 December 2007 14:28 To: users@wicket.apache.org Subject: Re: AutoCompleteTextField

Re: wicket applet issue

2007-12-05 Thread zandile
This is the error I am getting on my java console: It cannot find my applet class load: class com.test.AppletForm not found. java.lang.ClassNotFoundException: com.test.AppletForm at sun.applet.AppletClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown

Re: Using the fieldset label tags

2007-12-05 Thread Igor Vaynberg
see (Simple)FormComponentLabel -igor On Dec 5, 2007 10:57 AM, Francisco Diaz Trepat - gmail [EMAIL PROTECTED] wrote: Hi I wish to add label tag to my form and put some styling on it. Is there a wicket side version of it? What would be the best way of using it? For instance, label tag has

Re: OutOfMemoryError: Java heap space

2007-12-05 Thread Sergio García
igor.vaynberg wrote: erm, if all your OfferListModel do is have something in load() then why do you subclass it instead of the LDM directly? -igor First you have to think that i can't touch the service. The abstract LoadableDetachableModel retrieves a instance of a TO containing

Re: OutOfMemoryError: Java heap space

2007-12-05 Thread Sergio García
igor.vaynberg wrote: looks like your page has a reference to some huge object which causes a problem when the page is serialzed - so maybe that loadable detachable model of yours is not very detachable... -igor I don't know what i'm doing wrong. I have a abstract detachable model:

Re: Returning plain text / JSON data

2007-12-05 Thread Scott Sauyet
Thank you very much. I figured there must be an easy way... -- Scott Igor Vaynberg wrote: onclick() { getrequestcycle().setrequesttarget(new stringrequesttarget(boo!)); } yeah, that easy :) -igor On Dec 5, 2007 6:44 AM, Scott Sauyet [EMAIL PROTECTED] wrote: Every now and then with

Re: two dropdownchoice inputs combined as a fragment/panel/component ??

2007-12-05 Thread Igor Vaynberg
a couple of notes first what you are doing in convertintput() looks to me like it should be working you dont need phonemodel/phonemake fields as you dont use them - at least they are never written to. isntead of using getinput() inside the model you should try using getmodelobject() i would

Re: annoying alert message while closing modal window with wizard

2007-12-05 Thread narup
Ya Matej's advice is good, actually i wanted to stick with wicket provided wizard. But any way i got my own custom wizard with ajax button bar working. thanks everyone for the reply. wicket rocks!! wicket user wrote: If you need to do the business operation I'm pretty sure you have to

Re: wicket applet issue

2007-12-05 Thread JulianS
zandile wrote: I have been trying all sorts of work arounds to include an applet into wicket: I keep getting an classnotfoundexception in the java console for the applet. I am running wicket 1.2.6 and I am not sure what exactly is wrong with this, My applet runs fine when I run it in

Using the fieldset label tags

2007-12-05 Thread Francisco Diaz Trepat - gmail
Hi I wish to add label tag to my form and put some styling on it. Is there a wicket side version of it? What would be the best way of using it? For instance, label tag has the for attribute, which should hold the id of the form component that it is asociated with. How can I render it from

Re: Returning plain text / JSON data

2007-12-05 Thread Igor Vaynberg
onclick() { getrequestcycle().setrequesttarget(new stringrequesttarget(boo!)); } yeah, that easy :) -igor On Dec 5, 2007 6:44 AM, Scott Sauyet [EMAIL PROTECTED] wrote: Every now and then with Wicket, I find my self wanting to send plain text or Javascript/JSON data to the browser. I

Re: getApplication

2007-12-05 Thread Eelco Hillenius
why is it, that i can (and should) override getSession() to get 'my' implementation, @Override public MySession getSession() { return (MySession) super.getSession(); } Actually, if you use Java 5, I think this pattern is nicer: public class MySession extends

IComponentResolver question

2007-12-05 Thread Matthijs Wensveen
Hello, I have developed a panel named AutoComponentPanel that automatically adds wicket components based on (dynamic) markup. Looking at IComponentResolver I noticed some similarities. Can someone explain this class and its uses to me? Is it something that I should want to use for

Re: Problems deploying Wicket application with Tomcat

2007-12-05 Thread John Krasnay
PermGen is a region of memory maintained by the JVM for things like class definitions. The default size is notoriously small for web apps, and you can easily run out, especially if you re-deploy the application multiple times without restarting the app server. Try re-starting Tomcat rather than

Problems deploying Wicket application with Tomcat

2007-12-05 Thread James Perry
Dear all, I am deploying my first wicket based web app selling British traditional sweets at http://www.thebritishsweetshop.co.uk/ There seems to be a problem as all the links lead to a 'Page Expired' error page. Any ideas? Cheers, J.

Re: unable to lazily register a javascript file

2007-12-05 Thread wicket user
upgrading 1.3 RC1 fixed this by the way On 20/11/2007, wicket user [EMAIL PROTECTED] wrote: Hi, It's been a while since I've had to come and check the mailing list out (always a good sign of a framework). Anyway 300 unit tests down and the first version is live, that's the good part, the

Re: Problems deploying Wicket application with Tomcat

2007-12-05 Thread James Perry
Bare with me. I am just redeploying it. On Dec 5, 2007 12:56 PM, wicket user [EMAIL PROTECTED] wrote: I'm getting a 503, HTTP Status 503 - This application is not currently available On 05/12/2007, James Perry [EMAIL PROTECTED] wrote: Dear all, I am deploying my first wicket based web

[RFE] AjaxLazyLoadPanel

2007-12-05 Thread Alex Objelean
I've noticed that AjaxLazyLoadPanel has only one constructor: public AjaxLazyLoadPanel(String id) I think that it would be useful to add a constructor with IModel to this component: public AjaxLazyLoadPanel(String id, IModel model) What do you think? Regards, Alex -- View this message in

Re: getApplication

2007-12-05 Thread Martin Funk
Uwe Schäfer schrieb: Hi why is it, that i can (and should) override getSession() to get 'my' implementation, @Override public MySession getSession() { return (MySession) super.getSession(); } whereas getApplication is unfortunately final. @Override public

Returning plain text / JSON data

2007-12-05 Thread Scott Sauyet
Every now and then with Wicket, I find my self wanting to send plain text or Javascript/JSON data to the browser. I know how to use, for instance, the StringHeaderContributer. What I would like is for certain calls to simply return no HTML markup at all, just plain text. For most of these

Re: wicket applet issue

2007-12-05 Thread Jonas
It's not wicket that is looking for classes, it's your browser's java plugin. If you use the archive attribute like you do, the jars are searched in the same 'directory' as the page is where the applet tag is defined. e.g. www.example.com/foo/bar/appletpage.html contains your code, your java

Re: How to secure passwords?

2007-12-05 Thread Gwyn Evans
Following on with the MD5 + salt advice, the Jasypt project (http://www.jasypt.org/) looks to be the way I'd go if I needed to do this. See http://www.jasypt.org/howtoencryptuserpasswords.html for a recap of what's been discussed here. /Gwyn On 04/12/2007, John Krasnay [EMAIL PROTECTED] wrote:

Re: How to create the webpage(html) on the fly

2007-12-05 Thread venky221
Oh ... you mean to say that once we have a html page with certain components then it is not possible to add new components to that existing page at runtime. ~Venkat Eelco Hillenius wrote: That's an entirely wrong way of doing things. You should view your templates like you would view Java

Re: AutoCompleteTextField problem

2007-12-05 Thread Dipu Seminlal
can you please try enclosing the dropdown in a webmarkupcontainer and repaint the container instead of repainting the whole form. That will work. regards dipu On Dec 5, 2007 2:23 PM, Dipu Seminlal [EMAIL PROTECTED] wrote: agreed, onBlur doesn't seem to work, in my project had added onChange

Re: Checkbox tree component

2007-12-05 Thread Benjamin Keil
Hello All! This CheckBox tree is very cool. But I'm having some strange interactions with the web server: when I run under Jetty everything goes smoothly, but when I deploy to tomcat, I get a bunch of unrendered component exceptions for the component with id checkbox and whose class is some

Re: Checkbox tree component

2007-12-05 Thread Benjamin Keil
Thanks for the hint, but, yes the wicket jars are the latest ones: wicket-1.3.0-rc1.jar wicket-datetime-1.3.0-rc1.jar wicket-extensions-1.3.0-rc1.jar wicket-ioc-1.3.0-rc1.jar wicket-spring-1.3.0-rc1.jar wicket-spring-annot-1.3.0-rc1.jar And it's the same set of jars under Jetty. So, I'm still

Re: Checkbox tree component

2007-12-05 Thread Doug Leeper
Could you post the stacktrace? -- View this message in context: http://www.nabble.com/Checkbox-tree-component-tf4699092.html#a14186249 Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail:

Border support broken ?

2007-12-05 Thread rkanadam
Is perchance border support broken in 1.3 rc1 or am I using it in the wrong way... ? BoxBorder border = new BoxBorder (borderId); border.add (new Label (label, Hello World)); gives a Did you forget to add it to the markup... ? exception. Thanks, Raghu

Re: Border support broken ?

2007-12-05 Thread rkanadam
Igor Vaynberg wrote: what does your markup look like? -igor On Dec 5, 2007 9:25 PM, rkanadam [EMAIL PROTECTED] wrote: Is perchance border support broken in 1.3 rc1 or am I using it in the wrong way... ? BoxBorder border = new BoxBorder (borderId); border.add (new Label (label, Hello

Re: How to dynamically generate HTML page?

2007-12-05 Thread Pen
Thanks Matthijs, I got a chance to look at Wouter Huijnink slides. This is what exactly I am looking. Can you please forward the AutoComponentPanel code. That would be great. ~Praveen Matthijs Wensveen-2 wrote: Hello Praveen, Wouter Huijnink presented something similar to what you

Re: How to create the webpage(html) on the fly

2007-12-05 Thread Eelco Hillenius
Oh ... you mean to say that once we have a html page with certain components then it is not possible to add new components to that existing page at runtime. You need to do that in another way. You need to replace those components, not the markup. Panels are convenient for that case. For a

Re: Remembering tabs browsed

2007-12-05 Thread Igor Vaynberg
you are probably using ajax to switch between tabs, in which case you will not get the history -igor On Dec 5, 2007 11:08 PM, Alexander Landsnes Keül [EMAIL PROTECTED] wrote: Hi, I'm looking at the TabbedPanel example at

Re: getApplication

2007-12-05 Thread Uwe Schäfer
Martin Funk schrieb: The Application you declare in the web.xml, so if you want your MyApplication you do it there and no need to fiddle with the getApplication() method. sorry, i did not make myself clear. i do declare my application in the web.xml. thats not what i am talking about. what i

Re: Wicket meetup in San Francisco

2007-12-05 Thread Al Maw
Sorry, I've been pretty busy lately - I've not been checking the wicket-users list every day. If you want to get hold of me in a hurry, personal e-mail is a lot better. ;-) This is all rather last minute - it looks like we'd only be perhaps four people at best. I won't be very well prepared