Re: wicket + CMS

2008-01-16 Thread Ayodeji Aladejebi
please is it possible to inject Panels using Spring, because my own version of CMS will allow swapping of panels without recompilation. On 1/17/08, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > > keep in mind that this is designed towards our internal requirements > and not as a general purpose cms

Re: dynamicImageResource trouble

2008-01-16 Thread Nino Saturnino Martinez Vazquez Wael
Dead on! I tested it earlier in another context, was working there. But again it was another context. Thanks. regards Nino Timo Rantalaiho wrote: On Wed, 16 Jan 2008, Nino Saturnino Martinez Vazquez Wael wrote: private final transient byte[] image; And if you make this non-tran

Re: wicket + CMS

2008-01-16 Thread Igor Vaynberg
keep in mind that this is designed towards our internal requirements and not as a general purpose cms. that said, one of the requirements is to provide an optimized workflow for our integrators. these guys get down to the nitty gritty - so the most optimized workflow for them is to be able to check

Re: wicket + CMS

2008-01-16 Thread Florian Sperber
Hi Igor, have you seen: http://cocoondev.org/daisy/index.html ? Maybe their approach of keeping a repository could be interesting for you ;-) Kind regards Florian Sperber Igor Vaynberg schrieb: same way all the java apps do, svnkit.com :) -igor On Jan 16, 2008 11:01 PM, Martin Funk <[EMA

Re: wicket + CMS

2008-01-16 Thread Igor Vaynberg
same way all the java apps do, svnkit.com :) -igor On Jan 16, 2008 11:01 PM, Martin Funk <[EMAIL PROTECTED]> wrote: > Hi Igor, > > just curiosity, how do you cross that gap from java to svn? > > mf > > Igor Vaynberg schrieb: > > > i am writing one right now for my company. i am building it on to

Re: Wicket and JAVASCRIPT variables

2008-01-16 Thread Martin Funk
mea culpa, could you try again please. mf Ballist1c schrieb: I have had a look, the GMap2 contrib is missing source files :( GOverlayListenerBehavior class is required ... but the SVN I got doesnt have it ... so thats not an option. igor.vaynberg wrote: have you seen wicketstuff's goo

Re: wicket + CMS

2008-01-16 Thread Martin Funk
Hi Igor, just curiosity, how do you cross that gap from java to svn? mf Igor Vaynberg schrieb: i am writing one right now for my company. i am building it on top of svn so you get versioning/tagging for free. it also allows you to embed "tiles" which are wicket components into the pages for al

Re: How to read the properties file in wicket?

2008-01-16 Thread Rama-o-Rama
thanks Igor, Rama igor.vaynberg wrote: > > ((WebApplication)Application.get()).getServletContext() > > -igor > > > On Jan 16, 2008 3:57 PM, Rama-o-Rama <[EMAIL PROTECTED]> wrote: >> >> >> >> Rama-o-Rama wrote: >> > >> > Hello, >> > >> > I am trying to read the property file like test.prop

RE: How to handle Runtime Exception in wicket?

2008-01-16 Thread Rama-o-Rama
thanks William and Igor Rama Hoover, William wrote: > > In your WebApplication... > > getApplicationSettings().setPageExpiredErrorPage(PageExpiredErrorPage.class); > getApplicationSettings().setAccessDeniedPage(AccessDeniedPage.class); > getApplicationSettings().setInternalErrorPage(InternalE

Re: CheckBox and Form submit question

2008-01-16 Thread Igor Vaynberg
have you tried submitbutton.setdefaultformprocessing(false) ? -igor On Jan 16, 2008 1:12 PM, Doug Leeper <[EMAIL PROTECTED]> wrote: > > I have both a Contact Address and a Billing Address object displayed in a > Form. > > I also have a CheckBox that, when checked, is to copy the Contact Address

Re: CheckBox and Form submit question

2008-01-16 Thread Timo Rantalaiho
On Wed, 16 Jan 2008, Doug Leeper wrote: > What is the best way to do this? I don' know which would be the best but can think of a couple of things to try out: - use nested forms and make the two forms in fact separate, then you can use a FormSubmitting-behavior for the first form - convert

Re: Wicket and JAVASCRIPT variables

2008-01-16 Thread Ballist1c
I have had a look, the GMap2 contrib is missing source files :( GOverlayListenerBehavior class is required ... but the SVN I got doesnt have it ... so thats not an option. igor.vaynberg wrote: > > have you seen wicketstuff's google maps integration projects? > > -igor > > > On Jan 16, 200

Re: dynamicImageResource trouble

2008-01-16 Thread Timo Rantalaiho
On Wed, 16 Jan 2008, Nino Saturnino Martinez Vazquez Wael wrote: >private final transient byte[] image; And if you make this non-transient? Are you sure that you are initialising the value on the same request when it is read? Best wishes, Timo -- Timo Rantalaiho Reaktor Innovati

Re: Ajax, InlineFrames and new PageMap

2008-01-16 Thread RedFury
Oh, should have mentioned I'm using the 1.3 release of wicket. RedFury wrote: > > Hi everyone, I have a bit of an issue with expiring pages inside my > IFrame. I understand why it is happening, but don't know how to fix it. > > Here's the story. I have 2 panels which the user can click betwe

Ajax, InlineFrames and new PageMap

2008-01-16 Thread RedFury
Hi everyone, I have a bit of an issue with expiring pages inside my IFrame. I understand why it is happening, but don't know how to fix it. Here's the story. I have 2 panels which the user can click between using an ajax-link. Both pages contain an IFrame which contains an ImageUploadPanel I c

Re: Wicket and JAVASCRIPT variables

2008-01-16 Thread Igor Vaynberg
have you seen wicketstuff's google maps integration projects? -igor On Jan 16, 2008 5:14 PM, Ballist1c <[EMAIL PROTECTED]> wrote: > > Hey guys, > > Im working with google maps and what I want to accomplish is have location > data from our DB backend parsed into the google map for display. > > At

Re: Javascript/CSS being cached by the browser even when it has changed. Should setAddLastModifiedTimeToResourceReferenceUrl(true) be the default?

2008-01-16 Thread Matt Smith
Matej, A parameter on the url seems like a small price to pay to guarantee that the client has the correct version of the resource (IMHO). There are other frameworks which do similar things by default. Is the only reason not to do it that the url looks a little less clean? - Matt p.s. - The gri

Wicket and JAVASCRIPT variables

2008-01-16 Thread Ballist1c
Hey guys, Im working with google maps and what I want to accomplish is have location data from our DB backend parsed into the google map for display. At the moment, what I have achieved is having the google map display multiple locations statically defined within the javascript itself, and I hav

Re: How to read the properties file in wicket?

2008-01-16 Thread Igor Vaynberg
((WebApplication)Application.get()).getServletContext() -igor On Jan 16, 2008 3:57 PM, Rama-o-Rama <[EMAIL PROTECTED]> wrote: > > > > Rama-o-Rama wrote: > > > > Hello, > > > > I am trying to read the property file like test.properties in the wicket. > > I have done previously like servletcontext

Re: How to read the properties file in wicket?

2008-01-16 Thread Rama-o-Rama
Rama-o-Rama wrote: > > Hello, > > I am trying to read the property file like test.properties in the wicket. > I have done previously like servletcontext.getresouceasstream(). > > what is the wicket way of reading the file. > > ~Rama > Hi Igor, How do the serveltContext in wicket? ~Rama -

Re: How to read the properties file in wicket?

2008-01-16 Thread Igor Vaynberg
why would there be a "wicket way" of reading a .properties file? do the same as you usually do. -igor On Jan 16, 2008 3:31 PM, Rama-o-Rama <[EMAIL PROTECTED]> wrote: > > Hello, > > I am trying to read the property file like test.properties in the wicket. > I have done previously like servletcont

How to read the properties file in wicket?

2008-01-16 Thread Rama-o-Rama
Hello, I am trying to read the property file like test.properties in the wicket. I have done previously like servletcontext.getresouceasstream(). what is the wicket way of reading the file. ~Rama -- View this message in context: http://www.nabble.com/How-to-read-the-properties-file-in-wicket-

Re: wicket + CMS

2008-01-16 Thread Jonathan Locke
cool. keep us posted! igor.vaynberg wrote: > > i am writing one right now for my company. i am building it on top of > svn so you get versioning/tagging for free. it also allows you to > embed "tiles" which are wicket components into the pages for all the > dynamic parts. there is a good chan

Re: wicket + CMS

2008-01-16 Thread Igor Vaynberg
i am writing one right now for my company. i am building it on top of svn so you get versioning/tagging for free. it also allows you to embed "tiles" which are wicket components into the pages for all the dynamic parts. there is a good chance it will open sourced once i get it to a point where it i

wicket + CMS

2008-01-16 Thread Jonathan Locke
i'm curious. who out there is using wicket for CMS? i know hippo is, but is there another as well? -- View this message in context: http://www.nabble.com/wicket-%2B-CMS-tp14895305p14895305.html Sent from the Wicket - User mailing list archive at Nabble.com. --

CheckBox and Form submit question

2008-01-16 Thread Doug Leeper
I have both a Contact Address and a Billing Address object displayed in a Form. I also have a CheckBox that, when checked, is to copy the Contact Address field values into the Billing Address. What is the best way to do this? I have tried several methods ( CheckBox with a FormComponentUpdating

RE: How to handle Runtime Exception in wicket?

2008-01-16 Thread Hoover, William
In your WebApplication... getApplicationSettings().setPageExpiredErrorPage(PageExpiredErrorPage.class); getApplicationSettings().setAccessDeniedPage(AccessDeniedPage.class); getApplicationSettings().setInternalErrorPage(InternalErrorPage.class); // show internal error page rather than default dev

Re: How to handle Runtime Exception in wicket?

2008-01-16 Thread Igor Vaynberg
see requestcycle.onruntimeexception() -igor On Jan 16, 2008 10:22 AM, Rama-o-Rama <[EMAIL PROTECTED]> wrote: > > > > Rama-o-Rama wrote: > > > > Hello, > > > > I am trying to handle to the runtime exception in Wicket, by default in > > the deployment mode it throws internal error. > > > > I want

Re: Registered Feedback Messages

2008-01-16 Thread Igor Vaynberg
getsesion().getfeedbackmessages() -igor On Jan 16, 2008 10:11 AM, Steffen Fritzsche <[EMAIL PROTECTED]> wrote: > Hi, > > is it possible to ask the current session for all registered feedback > messages? > > I'm asking because my current test app does not display any feedback > messages at all. I

Re: How to handle Runtime Exception in wicket?

2008-01-16 Thread Rama-o-Rama
Rama-o-Rama wrote: > > Hello, > > I am trying to handle to the runtime exception in Wicket, by default in > the deployment mode it throws internal error. > > I want to redirect it to my error.jsp on my WEB-INF folder. > > this is what i am doing in my web.xml file > > > java.

Re: WicketStuff Links Broken In Internet Exploder 6

2008-01-16 Thread Gerolf Seitz
sorry, i checked the wrong window (running the examples on my machine). what version of examples are deployed. anything >= 1.3.0-final should work. gerolf On Jan 16, 2008 3:39 PM, Hoover, William <[EMAIL PROTECTED]> wrote: > cleared cache/temp- links are still dead > > -Original Message

Registered Feedback Messages

2008-01-16 Thread Steffen Fritzsche
Hi, is it possible to ask the current session for all registered feedback messages? I'm asking because my current test app does not display any feedback messages at all. I want to verify that the nesseccary property files were loaded and that all needed feedback messages are available. Is ist so

RE: how to logout and redirect

2008-01-16 Thread Hoover, William
Add/Edit if necessary http://cwiki.apache.org/confluence/x/FSMB -Original Message- From: Igor Vaynberg [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 16, 2008 12:06 PM To: users@wicket.apache.org Subject: Re: how to logout and redirect almost but not quiet onclick() { getsession().i

Re: how to logout and redirect

2008-01-16 Thread Igor Vaynberg
almost but not quiet onclick() { getsession().invalidate(); getrequestcycle().setredirect(true); setresponsepage(somepage.class); } -igor On Jan 16, 2008 3:28 AM, wicket user <[EMAIL PROTECTED]> wrote: > do you really need a Logout page > can't you do some thing like > > > Link logo

Re: Javascript/CSS being cached by the browser even when it has changed. Should setAddLastModifiedTimeToResourceReferenceUrl(true) be the default?

2008-01-16 Thread Matej Knopp
I think this would be a reasonable default behavior. Problem is that it adds another parameter to resource URL, I wasn't sure that people wouldn't mind, so I better left it disabled by default. -Matej On Jan 16, 2008 5:18 PM, Matt Smith <[EMAIL PROTECTED]> wrote: > Hello I've been using wicket fo

Javascript/CSS being cached by the browser even when it has changed. Should setAddLastModifiedTimeToResourceReferenceUrl(true) be the default?

2008-01-16 Thread Matt Smith
Hello I've been using wicket for almost a year. I recently ran into the common web problem of the browser being overly aggressive on caching javascript files. This is commonly solved by adding a query parm which changes based on the contents of the js file (checksum, time-stamp, etc). After som

[semi off topic] Pattern to Localize domain models?

2008-01-16 Thread Nino Saturnino Martinez Vazquez Wael
Hi I guess we all have come the part of localizing, with wicket its pretty easy. But what about the backend how should it support it? Having a special locale property per sub class and then a id of a super ?? How did you solve this? Example: International weight loss site, would be very nic

Re: using SubmitLink button without a form

2008-01-16 Thread Alex Jacoby
Solved: Just using a normal Link with its onClick instead. No need for onSubmit. Still, should the SubmitLink be fixed or have its javadocs updated, or am I missing something? Thanks, Alex On Jan 16, 2008, at 10:22 AM, Alex Jacoby wrote: I would like to use a SubmitLink button without a

dynamicImageResource trouble

2008-01-16 Thread Nino Saturnino Martinez Vazquez Wael
Hi Im using this implementation of image ressource: public class ImageResource extends DynamicImageResource { private final transient byte[] image; public ImageResource(byte[] image) { this.image = image; } public ImageResource(BufferedImage image) { this.image =

using SubmitLink button without a form

2008-01-16 Thread Alex Jacoby
I would like to use a SubmitLink button without a form, but it looks like the code for form-less SubmitLink only handles the case when it's attached to an anchor tag, and not when it's attached to a button input. From SubmitLink.java: // Here it properly sets the href tag in the case of an an

Re: disabling crypt of PasswordTextField

2008-01-16 Thread Juliano Gaio
Thank you Sebastian, you're right. Juliano. - Original Message - From: "Sébastien Piller" <[EMAIL PROTECTED]> To: Sent: Tuesday, January 15, 2008 2:32 PM Subject: Re: disabling crypt of PasswordTextField Mmm... I think they are not. What I type is setted to the model as is, no cry

RE: WicketStuff Links Broken In Internet Exploder 6

2008-01-16 Thread Hoover, William
cleared cache/temp- links are still dead -Original Message- From: Gerolf Seitz [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 16, 2008 8:55 AM To: users@wicket.apache.org Subject: Re: WicketStuff Links Broken In Internet Exploder 6 thanks for redeploying (whoever did it). William, tr

RE: WicketStuff Links Broken In Internet Exploder 6

2008-01-16 Thread Hoover, William
I cleared cache/temp restarted- links are still dead -Original Message- From: Gerolf Seitz [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 16, 2008 8:55 AM To: users@wicket.apache.org Subject: Re: WicketStuff Links Broken In Internet Exploder 6 thanks for redeploying (whoever did it).

Re: WicketStuff Links Broken In Internet Exploder 6

2008-01-16 Thread Gerolf Seitz
thanks for redeploying (whoever did it). William, try again. it should work now, at least it does for me. Gerolf On Jan 16, 2008 2:37 PM, Gerolf Seitz <[EMAIL PROTECTED]> wrote: > the fix has been in the repository for a while. > > are the examples automatically redeployed? > if not, could som

Re: WicketStuff Links Broken In Internet Exploder 6

2008-01-16 Thread Gerolf Seitz
the fix has been in the repository for a while. are the examples automatically redeployed? if not, could somebody with karma and time do that please? Gerolf On Jan 16, 2008 2:25 PM, Hoover, William <[EMAIL PROTECTED]> wrote: > Does anyone know when the links will be fixed for > http://wickets

WicketStuff Links Broken In Internet Exploder 6

2008-01-16 Thread Hoover, William
Does anyone know when the links will be fixed for http://wicketstuff.org/wicket13/ (Internet Exploder 6) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: How to create a PDF file - NotSerializableException

2008-01-16 Thread Marco Aurélio Silva
Hi Evan I'm using wicketcontrib-jasperreports, but I think it is only to create a PDF and show it on screen. I want to save the PDF as a file in the database. I need a OutpStream or something like that to get the byte array of PDF and save it on the database. On Jan 15, 2008 7:04 PM, Evan Chooly

Re: how to logout and redirect

2008-01-16 Thread wicket user
do you really need a Logout page can't you do some thing like Link logoutLink = new Link("logoutLink") { private static final long serialVersionUID = 1L; public void onClick() { session.invalidateNow();

Re: how to logout and redirect

2008-01-16 Thread Maurice Marrink
try using invalidate() instead of invalidateNow Maurice On Jan 16, 2008 12:22 PM, <[EMAIL PROTECTED]> wrote: > Hi: > I used the following for logout > Logout extend WebPage{ > getSession().invalidateNow() > getResponse().redirect(".") > > When the link is clicked, it says > Already redirecting

how to logout and redirect

2008-01-16 Thread dvd
Hi: I used the following for logout Logout extend WebPage{    getSession().invalidateNow()    getResponse().redirect(".") When the link is clicked, it says Already redirecting to "." Cannot redirect more than once What would be the solution.  (interestingly, the above worked a while ago) Now I am

Re: Wicket Training Courses - London Q1 Schedule

2008-01-16 Thread jweekend
Al has confirmed that he is available on March 8,9 as well, so we can schedule an extra "Apache Wicket 1.3" training course on that weekend too. Contact us if you would like us to run this course on those dates and we will add it to the London Wicket courses schedule below. Regards - Cemal http://

Re: RadioChoice : default choice ?

2008-01-16 Thread Alan Romaniuc
Maybe if you put an value in model object? On Jan 16, 2008 7:59 AM, <[EMAIL PROTECTED]> wrote: > Hello, > I'm using a RadioChoice component like this : > RadioChoice Radios = new RadioChoice("ca_reel", new > PropertyModel(this.getModelObject(), "ca_reel"), Choices); > I would like to know if I c

Re: RadioChoice : default choice ?

2008-01-16 Thread Martijn Dashorst
set it in your model object. Martijn On 1/16/08, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Hello, > I'm using a RadioChoice component like this : > RadioChoice Radios = new RadioChoice("ca_reel", new > PropertyModel(this.getModelObject(), "ca_reel"), Choices); > I would like to know if I can

RadioChoice : default choice ?

2008-01-16 Thread j . bokobza
Hello, I'm using a RadioChoice component like this : RadioChoice Radios = new RadioChoice("ca_reel", new PropertyModel(this.getModelObject(), "ca_reel"), Choices); I would like to know if I can have a default choice selected (the first in my variable List Choices) and if yes how ? (I didn't find on

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

2008-01-16 Thread Eunice
Hai, I am trying to develop an application that going to display several charts in 1 page. The coding as below: public class JFreeChartImage extends Image { private int width; private int height; public JFreeChartImage(String id, JFreeChart chart, int width, int height){

Re: Fresher 1.3 snapshots? (Was: Re: [ANNOUNCE] Apache Wicket 1.3 released)

2008-01-16 Thread Martijn Lindhout
ok, you're right 2008/1/16, Timo Rantalaiho <[EMAIL PROTECTED]>: > > On Wed, 16 Jan 2008, Martijn Lindhout wrote: > > you could do a > > > > svn checkout http://svn.apache.org/repos/asf/wicket/trunk > > > > and > > > > mvn install > > Thanks, surely so, but I wouldn't want to do this all the > tim

Re: Fresher 1.3 snapshots? (Was: Re: [ANNOUNCE] Apache Wicket 1.3 released)

2008-01-16 Thread Timo Rantalaiho
On Wed, 16 Jan 2008, Martijn Lindhout wrote: > you could do a > > svn checkout http://svn.apache.org/repos/asf/wicket/trunk > > and > > mvn install Thanks, surely so, but I wouldn't want to do this all the time neither on my own nor the continuous integration machine :) It's a lot nicer to ju

Re: Fresher 1.3 snapshots? (Was: Re: [ANNOUNCE] Apache Wicket 1.3 released)

2008-01-16 Thread Martijn Lindhout
you could do a svn checkout http://svn.apache.org/repos/asf/wicket/trunk and mvn install 2008/1/16, Timo Rantalaiho <[EMAIL PROTECTED]>: > > > Hello, > > Are there any news on the snapshot situation? The version number > 1.3.0-SNAPSHOT keeps confusing some people, and it also strikes me as odd

Fresher 1.3 snapshots? (Was: Re: [ANNOUNCE] Apache Wicket 1.3 released)

2008-01-16 Thread Timo Rantalaiho
Hello, Are there any news on the snapshot situation? The version number 1.3.0-SNAPSHOT keeps confusing some people, and it also strikes me as odd that here http://wicketstuff.org/maven/repository/org/apache/wicket/ the latest snapshot is almost a week old (Thu, 10 Jan 2008 22:55:45 GMT) eve

Re: how I write a new component? - Wicket Authentication

2008-01-16 Thread Maurice Marrink
Or you could use one of the security frameworks for wicket. They will save you a lot of boilerplate coding and allow you to fix on what is really important: your login page and your authentication mechanism. The whole redirecting when a user is not logged in, checking for sufficient permissions etc