Re: home page with parameters

2008-01-22 Thread Newgro
Did you get a solution for this? I have the same problem and i would be glad to solve this. Cheers Per -- View this message in context: http://www.nabble.com/home-page-with-parameters-tp11935608p15014223.html Sent from the Wicket - User mailing list archive at Nabble.com.

Re: Override tag name in html fragment?

2008-01-22 Thread Sam Hough
I was thinking more that I would just extend standard TextArea and TextField components but override onComponentTag to replace whatever tagName was supplied by the HTML monkey. So Wicket would continue doing its good stuff but I wouldn't need two different HTML fragments or placeholder

Jira WICKET-1184 (PageSavingThread not stopped)

2008-01-22 Thread Ari Suutari
Hi, This seems to occur at us and I have been able to reproduce it with standard tomcat 6.0 installation. I added some comments to: https://issues.apache.org/jira/browse/WICKET-1184 Ari S. - To unsubscribe, e-mail:

someone please restart tomcat

2008-01-22 Thread Marcio Barbosa
http://wicketstuff.org/wicket13/forminput/ HTTP Status 500 - type Exception report message description The server encountered an internal error () that prevented it from fulfilling this request. exception javax.servlet.ServletException: Filter execution threw

getPageParameters() NullPointer

2008-01-22 Thread Stephan Koch
Hi all, I'm experiencing a problem using getPageParameters(). The parameter id is passed to MyPage: setResponsePage(MyPage.class, new PageParameters(id=+evalId)); In the constructor of MyPage I try to access the parameter id: Integer evalId = Integer.parseInt(getPageParameters().getKey(id));

Re: getPageParameters() NullPointer

2008-01-22 Thread Martijn Dashorst
Stating the obvious, but did you check if the parameter was actually present in the URL? Martijn On 1/22/08, Stephan Koch [EMAIL PROTECTED] wrote: Hi all, I'm experiencing a problem using getPageParameters(). The parameter id is passed to MyPage: setResponsePage(MyPage.class, new

Re: getPageParameters() NullPointer

2008-01-22 Thread Martijn Dashorst
OK, hangon... You need to define a constructor *taking* a pageparameters object. In that object you can find the parameters. Martijn On 1/22/08, Martijn Dashorst [EMAIL PROTECTED] wrote: Stating the obvious, but did you check if the parameter was actually present in the URL? Martijn On

AW: getPageParameters() NullPointer

2008-01-22 Thread Stephan Koch
Yes, the parameter is present. The URL looks like http://localhost:9080/myapp/app/?wicket:bookmarkablePage=%3Axxx.xxx.xxx.wick et.MyPageid=135 -Ursprüngliche Nachricht- Von: Martijn Dashorst [mailto:[EMAIL PROTECTED] Gesendet: Dienstag, 22. Januar 2008 12:13 An: users@wicket.apache.org

Feedback AjaxButton

2008-01-22 Thread Jean-Baptiste Bellet
Hello all, This is my first wicket message, so first of all, I would like to gongrats the whole team for the great job ! Now, my problem : I have created a NewFeedbackPanel which extends FeedbackPanel and override OnBeforeRender(). This NewFeedbackPanel is created into a class and added to a

Reloading component on each request.

2008-01-22 Thread Ned Collyer
I have the circumstance where I have a sidebar panel on the left hand side of my site that I want to reflect the current state of the system - regardless of the state of the components in the middle. It will do a data lookup based on an id given to the component in its constructor, and should

Re: someone please restart tomcat

2008-01-22 Thread Gerolf Seitz
same thing happened recently with the repeater examples. most of them worked, but one or two threw the OOME. gerolf On Jan 22, 2008 12:37 PM, Johan Compagner [EMAIL PROTECTED] wrote: thats odd the server works just fine except that forminput example johan On Jan 22, 2008 12:05 PM,

Re: Feedback AjaxButton

2008-01-22 Thread Gerolf Seitz
you need to add the feedbackpanel to the ajaxrequesttarget like: target.addComponent(indicator); gerolf On Jan 22, 2008 12:20 PM, Jean-Baptiste Bellet [EMAIL PROTECTED] wrote: Hello all, This is my first wicket message, so first of all, I would like to gongrats the whole team for the

Re: someone please restart tomcat

2008-01-22 Thread Johan Compagner
thats odd the server works just fine except that forminput example johan On Jan 22, 2008 12:05 PM, Marcio Barbosa [EMAIL PROTECTED] wrote: http://wicketstuff.org/wicket13/forminput/ HTTP Status 500 - type Exception report message description The

Re: Tip:ServletContext from WicketFilter

2008-01-22 Thread Ayodeji Aladejebi
thanks, works great! On 1/21/08, Igor Vaynberg [EMAIL PROTECTED] wrote: there is a webapplication.getservletcontext(). -igor On Jan 21, 2008 7:42 AM, Ayodeji Aladejebi [EMAIL PROTECTED] wrote: Well, I have started migrating some code to 1.3, however i had some STOP-AND-CONFIRM

Re: someone please restart tomcat

2008-01-22 Thread Marcio Barbosa
I'm glad that Wicket is well document and I've just found what I need in http://wicketstuff.org/wicket13/compref/?wicket:bookmarkablePage=%3Aorg.apache.wicket.examples.compref.DropDownChoicePage On 1/22/08, Gerolf Seitz [EMAIL PROTECTED] wrote: same thing happened recently with the repeater

Re: Feedback AjaxButton

2008-01-22 Thread Jean-Baptiste Bellet
I've done this, isn't it ? just below the line this.info(getLocalizer().getString(preferences.downloadSuccess, this)); jb Gerolf Seitz wrote: you need to add the feedbackpanel to the ajaxrequesttarget like: target.addComponent(indicator); gerolf On Jan 22, 2008 12:20 PM, Jean-Baptiste

Re: Maven repo for wicketstuff?

2008-01-22 Thread Frank Bille
On Jan 18, 2008 10:21 AM, Nino Saturnino Martinez Vazquez Wael [EMAIL PROTECTED] wrote: How does one actually apply to get setup? Just ask. Frank

Re: Feedback AjaxButton

2008-01-22 Thread Gerolf Seitz
oops, my bad. is was looking for a feedback variable ;) gerolf On Jan 22, 2008 1:18 PM, Jean-Baptiste Bellet [EMAIL PROTECTED] wrote: I've done this, isn't it ? just below the line this.info(getLocalizer().getString(preferences.downloadSuccess, this)); jb Gerolf Seitz wrote: you need to

Re: parse directive in velocity template failing

2008-01-22 Thread James McLaughlin
On Jan 21, 2008 11:45 PM, fattymelt [EMAIL PROTECTED] wrote: Just to be sure... In the Wicket section of web.xml I am going to add the two init-params. One of which defines the folder in which to find my properties file, and the other is the actual filename. Then I can use that properties

AW: getPageParameters() NullPointer

2008-01-22 Thread Stephan Koch
That was easy ;) Thanks for your help. Stephan -Ursprüngliche Nachricht- Von: Martijn Dashorst [mailto:[EMAIL PROTECTED] Gesendet: Dienstag, 22. Januar 2008 12:13 An: users@wicket.apache.org Betreff: Re: getPageParameters() NullPointer OK, hangon... You need to define a constructor

Re: bookmarkable link keep recreate the objects.

2008-01-22 Thread Johan Compagner
If you use a normal bookmarkable page (redirect) yes this will happen But if you use a statefull page that does a redirect then if you do a refresh you get that page back. Also you still can have a bookmarkble page/link that also results in the page to be reused, use the:

Re: Feedback AjaxButton

2008-01-22 Thread Vincent Demay
Hi Jean-Baptiste Jean-Baptiste Bellet a écrit : Hello all, This is my first wicket message, so first of all, I would like to gongrats the whole team for the great job ! Now, my problem : I have created a NewFeedbackPanel which extends FeedbackPanel and override OnBeforeRender(). This

Re: parse directive in velocity template failing

2008-01-22 Thread fattymelt
Thanks for the help, James. I tried adding the following to my web.xml (and putting the velocity.properties file in that location). Does this look right to you? servlet servlet-nameClientApplication/servlet-name servlet-classwicket.protocol.http.WicketServlet/servlet-class

Re: create new model object of a Form from one of its FormComp values??

2008-01-22 Thread infodoc
Appreciate your help. I tried to create a bean and use a copy ctor as Eelco suggested. Expect that would work well. I ran into problems with that because of some read-only fields of superclasses of Account necessitated by my design. Therefore, a copy ctor was not possible without breaking

Get from input from a ModalWindow

2008-01-22 Thread Thomas Kappler
Hi, I have a ModalWindow with a form, having some dropdown choices and text fields. It should be simple, but I can't get the user input when the window is closed. There is no domain model object behind the form, I just need a list of Strings from the form, although I could, of course, make up a

Upload files using Flex (php move_uploaded_file equivalent)

2008-01-22 Thread Sébastien Piller
Hi everybody, I have a problem with my application. I need to upload some files on the server using an Adobe Flex application. Flex doesn't provide much control for the file upload, I can't get the raw file data that I want to upload (so I can't send them in the url, or encode them or

RE: Get from input from a ModalWindow

2008-01-22 Thread Stefan Lindner
Hi Thomas, you have a form inside your ModalWindow. There is no difference between a form in a ModalWindow and a form in a normal Window. You have to associate your form with a model or each component of your form has it's own model. How do you submit the form? With a form button? Or do you

Re: parse directive in velocity template failing

2008-01-22 Thread James McLaughlin
fattymelt, yes that looks right. This used to work. I will try to get some time later today to see what is going on. There should be a velocity.log somewhere that could be helpful. wicket-velocity has an Initializer that searches for and loads the properties file, so set a breakpoint in init to

Re: Maven repo for wicketstuff?

2008-01-22 Thread Nino Saturnino Martinez Vazquez Wael
Ok, could I get setup please?:) Frank Bille wrote: On Jan 18, 2008 10:21 AM, Nino Saturnino Martinez Vazquez Wael [EMAIL PROTECTED] wrote: How does one actually apply to get setup? Just ask. Frank -- Nino Martinez Wael Java Specialist @ Jayway DK http://www.jayway.dk +45

Re: someone please restart tomcat

2008-01-22 Thread igor . vaynberg
cause that example need new classes loaded and its out of permgen? -igor On 1/22/08, Johan Compagner [EMAIL PROTECTED] wrote: thats odd the server works just fine except that forminput example johan On Jan 22, 2008 12:05 PM, Marcio Barbosa [EMAIL PROTECTED] wrote:

Re: Override tag name in html fragment?

2008-01-22 Thread Igor Vaynberg
oncomponenttag() is fine for extension, thats what it is there for. im sure if someone made a good usecase for opening up passwordtextbox or listchoice we would remove final. -igor On Jan 22, 2008 1:14 AM, Sam Hough [EMAIL PROTECTED] wrote: I was thinking more that I would just extend

wicket maven archettype, SPRING-HIBERNATE-JPA?

2008-01-22 Thread Nino Saturnino Martinez Vazquez Wael
Would there be interest for such a template? It would consist of 3 projects, parent, core and web. If so, i'll go ahead and create a wicketstuff for it. -- Nino Martinez Wael Java Specialist @ Jayway DK http://www.jayway.dk +45 2936 7684

Re: wicket maven archettype, SPRING-HIBERNATE-JPA?

2008-01-22 Thread Gerolf Seitz
i thought about something like that a while ago (but got sidetracked). for 1.3.x it would also be nice to be able to provide a parameter for java5 (like -Dsource=1.5). this will obviously be obsolete for the next wicket versions gerolf On Jan 22, 2008 7:50 PM, Nino Saturnino Martinez Vazquez

Re: wicket maven archettype, SPRING-HIBERNATE-JPA?

2008-01-22 Thread Konstantin Ignatyev
Add Wicket Web Beans and we have replacement for Ruby on Rails :) Konstantin Ignatyev - Original Message From: Nino Saturnino Martinez Vazquez Wael [EMAIL PROTECTED] To: users@wicket.apache.org Sent: Tuesday, January 22, 2008 10:50:47 AM Subject: wicket maven archettype,

wicket course/training at your location?

2008-01-22 Thread Nino Saturnino Martinez Vazquez Wael
This is sorta spam, sorry for that. I've talked to my wife about talking a trip to some where warm, this summer. And figured a great way to sponsor the trip (and make an experience out of it) would be to hold a course in wicket. I would prefer the states as I've never been there but it could

Re: wicket maven archettype, SPRING-HIBERNATE-JPA?

2008-01-22 Thread Nino Saturnino Martinez Vazquez Wael
Eeek, I guees it would be java 5 only, as JPA are annotations. But I guess we could start with java 5 and then expand .. Gerolf Seitz wrote: i thought about something like that a while ago (but got sidetracked). for 1.3.x it would also be nice to be able to provide a parameter for java5 (like

Re: wicket maven archettype, SPRING-HIBERNATE-JPA?

2008-01-22 Thread Gerolf Seitz
you're right. maybe extend the default wicket-quickstart archetype with a java5 version. let's create some kind of archetype vault :) it might also be important to provide good documentation alongside the archetypes... for the noobs :P gerolf On Jan 22, 2008 7:58 PM, Nino Saturnino Martinez

Re: Reloading component on each request.

2008-01-22 Thread Igor Vaynberg
you can try using a repeater like a listview, and also make sure you are using detachable models. perhaps if you gave more description of what the component looks like/what it does and a screenshot that could help us help you more. -igor On Jan 22, 2008 3:51 AM, Ned Collyer [EMAIL PROTECTED]

FileUploadField problem

2008-01-22 Thread JulianS
We're having a strange problem with FileUploadField (using Wicket 1.3.0). If the user enters a bogus string in the text part of the field, the form will not respond. That is, even if you click a button or hit enter, there is no response and no exception. How can we get it to respond with an

Autocomplete Ajax AddReplace IE Issue

2008-01-22 Thread ckuehne
If I put the autocomplete field on a panel that is added and replaced dynamically via ajax it does not work in Internet Explorer (tested with ver. 7) anymore. In Firefox everything is alright. In IE also if the ac-field is visible when the page is loaded. But when I add it later on dynamically

FeedbackViewPanel with Pagination

2008-01-22 Thread Advanced Technology®
Hi, I'am implementing an FeedbackViewPanel that's shows FeedBackMessages with Pagination : public class FeedbackViewPanel extends Panel implements IFeedback { private static final int PAGE_SIZE = 20; public FeedbackViewPanel(final String id) { super(id); final

Re: Different views in wicket

2008-01-22 Thread Mathias P.W Nilsson
Thanks alot all of you! -- View this message in context: http://www.nabble.com/Different-views-in-wicket-tp14997475p15027636.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail:

Re: Feedback AjaxButton

2008-01-22 Thread Sergiy Yevtushenko
Jean-Baptiste Bellet wrote: I guess that you need call indicator.setOutputMarkupId(true) before adding it to page. Regards, Sergiy. *- [EMAIL PROTECTED] http://es.os2.ru/ - To

Re: Feedback AjaxButton

2008-01-22 Thread Gerolf Seitz
not only setOutputMarkupId(true), but rather .setOutputMarkupPlaceHolderTag(true) otherwise an invisible component can't be made visible via ajax updates. gerolf On Jan 22, 2008 9:30 PM, Sergiy Yevtushenko [EMAIL PROTECTED] wrote: Jean-Baptiste Bellet wrote: I guess that you need call

Re: home page with parameters

2008-01-22 Thread Frank Bille
I normally do something like this: application.getHomePage() {return HomePage.class} HomePage.java public HomePage() { // Check the current state of everything if (state == WORLD) { throw new RestartResponseException(ThePage.class, new PageParameters()); } } Frank On Jan 22,

Re: Maven repo for wicketstuff?

2008-01-22 Thread Frank Bille
I didn't know you were a project ;) Create yourself as a user and let me know the username, so I can give you rights On Jan 22, 2008 5:34 PM, Nino Saturnino Martinez Vazquez Wael [EMAIL PROTECTED] wrote: Ok, could I get setup please?:) Frank Bille wrote: On Jan 18, 2008 10:21 AM, Nino

PageParameters mess up my strings

2008-01-22 Thread palun
(I´m sorry if this is the wrong forum for this kind of question. If so, please direct me.) Here´s my problem: I set a page parameter for the page MyPage like this: PageParameters params = new PageParameters(); params.put(str, åäö); setResponsePage(MyPage.class, params);

Re: PageParameters mess up my strings

2008-01-22 Thread Edvin Syse
params.put(str, åäö); setResponsePage(MyPage.class, params); But on MyPage the string is displayed as åäö !!? You are sending non-ASCII characters so maybe you could URLEncode the characters before sending them? params.put(str, URLEncoder.encode(åäö, UTF-8)); And then get

Eclipse Debug Wicket Problem

2008-01-22 Thread Andy Czerwonka
For some reason, when I launch my tests in debug, Eclipse can't seem to attach my source properly. It can't highlight the current line. Has anyone seen this? I see this post has had a similair if not exact issue but without resolve. Help please? I'm using Q4E Maven plugin within

Re: Eclipse Debug Wicket Problem

2008-01-22 Thread Andy Czerwonka
http://www.nabble.com/Source-not-found-in-debug-window-td14102828s177.html Andy Czerwonka [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] For some reason, when I launch my tests in debug, Eclipse can't seem to attach my source properly. It can't highlight the current line. Has

Re: someone please restart tomcat

2008-01-22 Thread Sergey Podatelev
Hej, Just tried this and it's still fails with 500 error and OutOfMemory exception. -- sp

Re: Reloading component on each request.

2008-01-22 Thread Ned Collyer
igor.vaynberg wrote: you can try using a repeater like a listview, and also make sure you are using detachable models. perhaps if you gave more description of what the component looks like/what it does and a screenshot that could help us help you more. -igor Hi Igor, thanks for the

Re: Reloading component on each request.

2008-01-22 Thread Igor Vaynberg
something like this should work public class MyPanel extends Panel { public MyPanel() { } protected void onBeforeRender() { removeAll(); populatePanel(); super.onBeforeRender(); } protected populatePanel() { add(new label(foo)); } } that way

About NiceUrl(s)/Mounting ?

2008-01-22 Thread mfs
Guys, Was just reading about having nice-urls for pages through the use mounting, and was wondering if having nice-urls is just restricted to bookmarkable pages, what about non-bookmarkable pages ? -- View this message in context:

Re: Reloading component on each request.

2008-01-22 Thread Ned Collyer
Thank you :) I'll give it a try. - pretty busy on other things, but will try it out asap! -- View this message in context: http://www.nabble.com/Reloading-component-on-each-request.-tp15017178p15033866.html Sent from the Wicket - User mailing list archive at Nabble.com.

Re: bookmarkable link keep recreate the objects.

2008-01-22 Thread Igor Vaynberg
On Jan 22, 2008 7:09 PM, [EMAIL PROTECTED] wrote: The point is the model should be first absorbed/consumed by listview, and later provided to listitem. according to whom is this the point? -igor - To unsubscribe, e-mail:

Re: WicketNotSerializableException

2008-01-22 Thread Joshua Jackson
Hi All, I have take a loot at this. But is there any solution to fix this without using @SpringBean since I am still on JDK1.4. Thanks in advance On Dec 17, 2007 7:50 PM, Evan Chooly [EMAIL PROTECTED] wrote: it's the ApplicationContextFacade that can't be serialized. you'll need to mark this

Re: WicketNotSerializableException

2008-01-22 Thread Igor Vaynberg
see SpringWebApplcation, it has methods to create same proxies @SpringBean does. -igor On Jan 22, 2008 8:27 PM, Joshua Jackson [EMAIL PROTECTED] wrote: Hi All, I have take a loot at this. But is there any solution to fix this without using @SpringBean since I am still on JDK1.4. Thanks in

Re: FileUploadField problem

2008-01-22 Thread Igor Vaynberg
seems to be working fine at http://wicketstuff.org/wicket13/upload/single -igor On Jan 22, 2008 10:40 AM, JulianS [EMAIL PROTECTED] wrote: We're having a strange problem with FileUploadField (using Wicket 1.3.0). If the user enters a bogus string in the text part of the field, the form will

Re: About NiceUrl(s)/Mounting ?

2008-01-22 Thread Gerolf Seitz
you might find HybridUrlCodingStrategy useful. gerolf On Jan 23, 2008 2:32 AM, mfs [EMAIL PROTECTED] wrote: Guys, Was just reading about having nice-urls for pages through the use mounting, and was wondering if having nice-urls is just restricted to bookmarkable pages, what about

Localization

2008-01-22 Thread tbt
Hi I have a html page called HomePage.html html head link href=Resources/css/style.css rel=stylesheet type=text/css / /head body English Taiwanese wicket:message key=option_id / /body /html and two property files called HomePage.properties and HomePage_ta.properties. These files hold the

Re: Maven repo for wicketstuff?

2008-01-22 Thread Nino Saturnino Martinez Vazquez Wael
Here are a few im involved in. http://wicketstuff.org/confluence/display/STUFFWIKI/wicket-contrib-gmap http://wicketstuff.org/confluence/display/STUFFWIKI/wicket-contrib-bbcodecomponent And the one I've done most on:

Re: Reusable component and customization

2008-01-22 Thread Igor Vaynberg
whats wrong with subclassing and providing your own markup? -igor On Jan 22, 2008 11:22 PM, Martijn Lindhout [EMAIL PROTECTED] wrote: Hi, I just build a simple reusable shoppingcart component with a reasonable default CSS style. The markup, css and images are all packaged resources. How do

Re: Reusable component and customization

2008-01-22 Thread Martijn Lindhout
well, then the users of my the component need to know the internals of the component. That's not what I want, or at least reduce it to the minimum. 2008/1/23, Igor Vaynberg [EMAIL PROTECTED]: whats wrong with subclassing and providing your own markup? -igor On Jan 22, 2008 11:22 PM, Martijn

Re: Reusable component and customization

2008-01-22 Thread Igor Vaynberg
what internals do they need to know to create a subclsas? -igor On Jan 22, 2008 11:40 PM, Martijn Lindhout [EMAIL PROTECTED] wrote: well, then the users of my the component need to know the internals of the component. That's not what I want, or at least reduce it to the minimum. 2008/1/23,

Re: Reusable component and customization

2008-01-22 Thread Martijn Lindhout
users need to open the jar, pick the right markup file, copy it, changes css attributes, etc. That's not what I expect from component reuse, right? Or do I miss something? 2008/1/23, Igor Vaynberg [EMAIL PROTECTED]: what internals do they need to know to create a subclsas? -igor On Jan

Re: Reusable component and customization

2008-01-22 Thread Igor Vaynberg
a) read javadoc b) create subclass (1 min) c) paste example markup from javadoc into subclass.html file (1 min) c) edit subclass.html the only overhead is two minutes, or am i missing something? -igor On Jan 22, 2008 11:47 PM, Martijn Lindhout [EMAIL PROTECTED] wrote: users need to open the