Re: London Wicket Event - 3rd June @ Google (2 years on)

2009-05-20 Thread Александър Шопов
Will the event be taped and made available onle? Kind regards: al_shopov - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org

Re: Tools for Managing a Wicket Project

2009-05-20 Thread Swanthe Lindgren
We use Aptana plugin for eclipse as html editor. If you dont install the full suit its free. //Swanthe Eduardo Nunes wrote: I have just one problem with eclipse, I can't use the HTML formatter, that's very sucks. I tried tidy but it didn't work too. What do you use guys to format html code?

Wicket Web Beans 1.1 and Wicket 1.4

2009-05-20 Thread danisevsky danisevsky
Hi I wanted to try Wicket Web Beans 1.1 upload example but I get the following exception Caused by: java.lang.NoSuchMethodError: com.googlecode.wicketwebbeans.containers.BeanForm.add(Lorg/apache/wicket/Component;)Lorg/apache/wicket/MarkupContainer; at

Wicket 1.4 rc 2 : FileUpload name collision

2009-05-20 Thread Live Nono
Hi I just wanted to point out that there is currently two classes named FileUpload in wicket 1.4, one in org.apache.wicket.markup.html.form.upload and in the other in org.apache.wicket.util.upload. Could it be changed ? It would avoid some confusion and potential errors. thanks in advance

Example of ModalWindow misleading

2009-05-20 Thread Live Nono
Hi The example here : http://www.wicket-library.com/wicket-examples/ajax/modal-window.1 is pretty misleading : passing components between components/page is quite broken as can be seen in the past discussion on the mailing list (serialization issue can arise and makes both sides using different

Re: Wicket And EasyMock

2009-05-20 Thread Alica
Hi, you can subclass your application you supply to WicketTester and overwrite the newSessionStore() Method: @Override protected ISessionStore newSessionStore() { //Serialisierung aufheben DiskPageStore pageStore = new DiskPageStore(){ @Override

session creation and stateless

2009-05-20 Thread adrien le roy
Hello, I am a little bit confuse about about how to test if a session have been created in a Panel I was using Session.get() but it is creating session if it don't exists. Regarding stateless page, how to test if a page is stateless ? If I have understood well, a page is considered statefull

Re: How to validate unique constraint?

2009-05-20 Thread Igor Vaynberg
Pass the id of the entity being edited into the validator and check the database in validate() Alternatively catch the exception in the form's onsubmit and call error on the right component. -igor On Tuesday, May 19, 2009, Christian Helmbold christian.helmb...@yahoo.de wrote: How can I

Re: What is the correct way to include the Wicket DTD?

2009-05-20 Thread Igor Vaynberg
Since you can only have one dtd we had to use the full HTML one a a base. -igor On Tuesday, May 19, 2009, Erik van Oosten e.vanoos...@grons.nl wrote: Hi, I recently updated the page http://cwiki.apache.org/WICKET/wickets-xhtml-tags.html for the new DTDs. However, now that I see that the

Empty response on AJAX request when the session has timed out

2009-05-20 Thread Joel Barciauskas
Hi, I am using Spring Security with wicket-auth-roles and wicket 1.3.5. After a user is logged in, the normal behavior on a session timeout is when a subsequent non-AJAX request is made (e.g., requesting a new page using a regular Link), the user is 302 redirected to the LoginPage. However,

Re: What is the correct way to include the Wicket DTD?

2009-05-20 Thread Steve Swinsburg
So how do you include a DOCTYPE definition as well, since that has a DTD associated with it. I just did some experimenting as I had my pages as the wicket.sourceforge.net one previously: !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01//EN http://www.w3.org/TR/html4/strict.dtd; html

Re: Login page expired

2009-05-20 Thread Jeremy Thomerson
If you're in the stateless form's onsubmit and you redirect to a stateless page, you may need to call session.bind so that it knows that you need the session to be persistent. -- Jeremy Thomerson http://www.wickettraining.com On Wed, May 20, 2009 at 10:50 AM, Neil Curzon neil.cur...@gmail.com

Re: Illegal State Exception on DefaultTeeModel.removeNodeFromParent

2009-05-20 Thread skatz
I posted a bug (WICKET-2178) with a test case/source code. The last action I saw on it was it was assigned to Matej Knopp back in April. I tested the same code against the 1.4 code and it seemed to work. Leena wrote: Any resolution on this? Or may be some workaround? I am facing a similar

Re: Separating Development and Deployment

2009-05-20 Thread Dane Laverty
Awesome, that's exactly what I was looking for. Thanks! On Wed, May 20, 2009 at 9:59 AM, Clint Popetz cl...@42lines.net wrote: I recommend using ${} variables in web.xml and resource filtering, as you mentioned, but the way to avoid changing them all the time in pom.xml is to have different

Re: Getting a encoded URL for sending a BookmarkablePageLink through e-mail

2009-05-20 Thread Igor Vaynberg
mount your page - that way you will always know what the url will be and there is no need to have it constructed at runtime by wicket. -igor On Wed, May 20, 2009 at 10:10 AM, Kent Larsson kent.lars...@gmail.com wrote: I have a follow up question, a harder one. I want to send the mail from a

Re: Getting a encoded URL for sending a BookmarkablePageLink through e-mail

2009-05-20 Thread Kent Larsson
Thank you, it worked! PageParameters pars = new PageParameters(); pars.add(confirmationCode, some conf?codestring); System.out.println(URL: + urlFor(ForgotPasswordRequest.class, pars)); Best regards, Kent On Wed, May 20, 2009 at 6:01 PM, Clint Popetz cl...@42lines.net wrote:

Re: session creation and stateless

2009-05-20 Thread Igor Vaynberg
see wicket-dev-utils, there is a stateless checker there that can help you. wicket's session object is created on every request, but while the app is not stateful it is not persisted/put into httpsession. so you will always have a session object during a wicket request. there is

Re: Wicket Web Beans 1.1 and Wicket 1.4

2009-05-20 Thread Daniel Toffetti
danisevsky danisevsky danisevsky at gmail.com writes: Hi I wanted to try Wicket Web Beans 1.1 upload example but I get the following exception . Is Wicket Web Beans 1.1 incompatible with Wicket 1.4 rc4 or is reason of exception something else? Thanks for reply Hi,

Re: Getting a encoded URL for sending a BookmarkablePageLink through e-mail

2009-05-20 Thread Clint Popetz
Component.urlFor(ForgotPasswordRequest.class,pars); (not a static...call it as urlFor(...) from your page or component) -Clint On Wed, May 20, 2009 at 10:54 AM, Kent Larsson kent.lars...@gmail.com wrote: Hi, I have created a BookmarkablePageLink and I would like to grab a properly escaped

Re: Getting a encoded URL for sending a BookmarkablePageLink through e-mail

2009-05-20 Thread Kent Larsson
I have a follow up question, a harder one. I want to send the mail from a Spring Bean using the Spring Framework. The Spring Beans mark my transaction boundary. When I call a method in a Spring bean a transaction is started, and when the method returns the transaction is commited. Inside my

Re: Separating Development and Deployment

2009-05-20 Thread James Carman
Check out the way I did it in my wicket-advanced example application: http://svn.carmanconsulting.com/public/wicket-advanced/trunk I did a combination of maven profiles and Spring's PropertyPlaceholderConfigurer. If you're not using Spring, it won't help, but if you are, it might be interesting

Re: Separating Development and Deployment

2009-05-20 Thread Dane Laverty
Clint - I've run into one (hopefully minor) hitch with the process. The filtering works, but only after I've used Maven to deploy the project. When I'm developing, however, I just run the project on the Jetty server that comes with the Quickstart. Of course, that means that the ${} variables are

Re: Getting a encoded URL for sending a BookmarkablePageLink through e-mail

2009-05-20 Thread Clint Popetz
If you need the url creation to happen in the tx and you can't programatically start the tx (say with JTA's UserTransaction API) before invoking your bean, you'll have to pass your component or the RequestCycle (or an adaptor for either) to your spring bean. Out of curiousity, why would you need

Re: Separating Development and Deployment

2009-05-20 Thread James Carman
On Wed, May 20, 2009 at 2:35 PM, Dane Laverty danelave...@gmail.com wrote: Clint - I've run into one (hopefully minor) hitch with the process. The filtering works, but only after I've used Maven to deploy the project. When I'm developing, however, I just run the project on the Jetty server that

Re: Getting a encoded URL for sending a BookmarkablePageLink through e-mail

2009-05-20 Thread Kent Larsson
On Wed, May 20, 2009 at 7:21 PM, Clint Popetz cl...@42lines.net wrote: If you need the url creation to happen in the tx and you can't programatically start the tx (say with JTA's UserTransaction API) before invoking your bean, you'll have to pass your component  or the RequestCycle (or an

Re: Separating Development and Deployment

2009-05-20 Thread Clint Popetz
The way I solve that locally (and it may not be a best practice, but it works, eh?) is to use m2eclipse, so that mvn filtering happens incrementally as I change things in eclipse. I also set up maven to copy my src/main/webapp directory into target/test-classes, i.e.: testResources

Re: Separating Development and Deployment

2009-05-20 Thread Martijn Dashorst
Set a system property in your server config or startup script that tells wicket it's running in deployment mode. -Dwicket.configuration=deployment is all there's to it. Martijn On Wed, May 20, 2009 at 6:40 PM, Dane Laverty danelave...@gmail.com wrote: I've got my project set up to deploy with

Separating Development and Deployment

2009-05-20 Thread Dane Laverty
I've got my project set up to deploy with Maven's Tomcat plugin now. My next step is getting the web.xml to use the correct Wicket configuration (development/deployment) value. Is there a way to run two separate web.xml files for the application, and then somehow have Maven pick up the correct one

Re: Separating Development and Deployment

2009-05-20 Thread Clint Popetz
I recommend using ${} variables in web.xml and resource filtering, as you mentioned, but the way to avoid changing them all the time in pom.xml is to have different maven profiles that set them differently in your pom. It is true that you'll have to do things like -PtomcatDeployment when running

Re: What is the correct way to include the Wicket DTD?

2009-05-20 Thread Igor Vaynberg
correct. -igor On Wed, May 20, 2009 at 8:19 AM, Steve Swinsburg s.swinsb...@lancaster.ac.uk wrote: Or are you suggesting we replace the w3 dtd with the wicket one that incorporates it? cheers, Steve On 20 May 2009, at 16:17, Steve Swinsburg wrote: So how do you include a DOCTYPE 

Re: Separating Development and Deployment

2009-05-20 Thread Dane Laverty
Thanks for piping in, Martijn. I should have clarified, my deployment and development environments use different databases. I'm storing the database connection information inside of the web.xml also, so I need to be able to switch those as well as the Wicket configuration depending on the

Wicket in Php

2009-05-20 Thread Ajayi Yinka
Hi, Can anyone give me an insight on how I can integrate wicket into php project. I already have an application that is written in php. I will like to upgrade the application with some new features in which I prefer to use wicket. I am afraid if this is possible?

Re: Wicket in Php

2009-05-20 Thread Jeremy Thomerson
That's for you to decide. Typically it involves some kind of jump page between the two applications that once you are signed in, it sends the user to a page in the other app with a key (perhaps a UUID, etc) that correlates to that user in the DB so that the other app can automatically sign the

Re: Login page expired

2009-05-20 Thread Neil Curzon
Hi Jeremy, Thanks for your reply. Adding a session.bind() solved the issue. Neil On Wed, May 20, 2009 at 12:03 PM, Jeremy Thomerson jer...@wickettraining.com wrote: If you're in the stateless form's onsubmit and you redirect to a stateless page, you may need to call session.bind so that it

Re: ModalDialog in a SubmitLink

2009-05-20 Thread Igor Vaynberg
add(new onsubmitlink(...) { oncomponenttag(tag) { super(tag); tag.put(onclick, if (!confirm('message')) return; +tag.getattributes().get(onclick)); } } -igor On Tue, May 19, 2009 at 4:04 PM, Werner Caacbay werner.caac...@inode.at wrote: Hello I'm trying to submit a form with an

Re: What is the correct way to include the Wicket DTD?

2009-05-20 Thread Steve Swinsburg
Or are you suggesting we replace the w3 dtd with the wicket one that incorporates it? cheers, Steve On 20 May 2009, at 16:17, Steve Swinsburg wrote: So how do you include a DOCTYPE definition as well, since that has a DTD associated with it. I just did some experimenting as I had my

Re: Wicket in Php

2009-05-20 Thread Paolo Di Tommaso
In other words .. impossible -- paolo On Wed, May 20, 2009 at 6:24 PM, Jeremy Thomerson jer...@wickettraining.com wrote: That's for you to decide. Typically it involves some kind of jump page between the two applications that once you are signed in, it sends the user to a page in the other

Re: Wicket in Php

2009-05-20 Thread Ajayi Yinka
Thanks May I get the description on how to do the integration. I may not mind the integration, provided it can handle my session for me (As in if a user log in through a wicket page, we can use this same log in instance to manage the wicket page). regards, yinka On Wed, May 20, 2009 at 4:45

Re: Wicket in Php

2009-05-20 Thread James Carman
I don't think they said it's impossible, but it's definitely impractical. On Wed, May 20, 2009 at 3:12 PM, Paolo Di Tommaso paolo.ditomm...@gmail.com wrote: In other words .. impossible -- paolo On Wed, May 20, 2009 at 6:24 PM, Jeremy Thomerson jer...@wickettraining.com wrote: That's for

Re: Getting a encoded URL for sending a BookmarkablePageLink through e-mail

2009-05-20 Thread Kent Larsson
I'll look into it, it sounds good, thank you! Best regards, Kent On Wed, May 20, 2009 at 7:31 PM, Igor Vaynberg igor.vaynb...@gmail.com wrote: mount your page - that way you will always know what the url will be and there is no need to have it constructed at runtime by wicket. -igor On

Re: Wicket in Php

2009-05-20 Thread Jeremy Thomerson
Not impossible. But you really need a reason for taking on such a big project. I've done integration between disparate systems, for example, between a ColdFusion application and a Tapestry application. But they are difficult and time consuming. You should not take on such a project just for oh,

Re: AutoComplete results disappear when using scrollbar in IE

2009-05-20 Thread Igor Vaynberg
sounds like we either need to build paging into the list, or you need to limit the number of results you show. -igor On Tue, May 19, 2009 at 2:13 AM, Jan Grathwohl jan.grathw...@kontrast.de wrote: Hi list, I am using Wicket's AutoCompleteTextField in my application, and the result list that

Login page expired

2009-05-20 Thread Neil Curzon
Hi all, I'm having an issue with sitting on the login page for a while before entering credentials. You get a Page Expired if you submit after waiting too long, and I think this will confuse my users. Especially since I was planning on setting my custom expired page to the Login. Some googling

Getting a encoded URL for sending a BookmarkablePageLink through e-mail

2009-05-20 Thread Kent Larsson
Hi, I have created a BookmarkablePageLink and I would like to grab a properly escaped URL-string which I can then send through e-mail. For my first try noHtmlSensitiveChars fullyEscaped contained the empty () string: PageParameters pars = new PageParameters(); pars.add(confirmationCode,

Re: Wicket meeting in Amsterdam?

2009-05-20 Thread francisco treacy
Hi Linda, I am interested, whatever the nature of the event is (sessions, code reviews, social, etc). There's an existing wiki page but apparently this was lined up only for the meeting during the ApacheCon: http://cwiki.apache.org/WICKET/wicket-community-meetups-amsterdam.html Any other

Re: Wicket in Php

2009-05-20 Thread Jeremy Thomerson
Wicket is written in Java. You would need to build an application in Java, running in a servlet container. Perhaps you could do an integration and have some pages running in PHP and some in Java, but you are looking at a complex project. -- Jeremy Thomerson http://www.wickettraining.com On

RE: Empty response on AJAX request when the session has timed out

2009-05-20 Thread Joel Barciauskas
Upgrading to 1.3.6 made this work properly when I'm testing it with a real web server, e.g. when I perform the AJAX request, I am redirected to the PageExpiredErrorPage. However, I am still getting strange results when using WicketTester. For instance, I have the following test...

Re: Wicket meeting in Amsterdam?

2009-05-20 Thread nino martinez wael
Although not an amsterdammer, I might be interested (if I get a budget approval from my boss).. 2009/5/20 francisco treacy francisco.tre...@gmail.com: Hi Linda, I am interested, whatever the nature of the event is (sessions, code reviews, social, etc). There's an existing wiki page but

Re: Wicket Web Beans 1.1 and Wicket 1.4

2009-05-20 Thread nino martinez wael
Are there a trunk or something.. I'd really like to try it out. But im not going back to 1.3 todo it :) 2009/5/20 Daniel Toffetti dto...@yahoo.com.ar: danisevsky danisevsky danisevsky at gmail.com writes: Hi I wanted to try Wicket Web Beans 1.1 upload example but I get the following

Re: Example of ModalWindow misleading

2009-05-20 Thread Martin Makundi
http://www.wicket-library.com/wicket-examples/ajax/modal-window.1 is pretty misleading : passing components between components/page is quite broken as can be seen in the past discussion on the mailing list (serialization issue can arise and makes both sides using different references of the

Re: Wicket Web Beans 1.1 and Wicket 1.4

2009-05-20 Thread Dan Syrstad
I think Daniel was going to start work on the Wicket 1.4 migration on the trunk sometime in the near future. Currently the trunk supports 1.3.5. -Dan On Wed, May 20, 2009 at 3:20 PM, nino martinez wael nino.martinez.w...@gmail.com wrote: Are there a trunk or something.. I'd really like to try

Re: Wicket meeting in Amsterdam?

2009-05-20 Thread Jeremy Thomerson
Me too if Nino's boss is handing out airline tickets. :) -- Jeremy Thomerson http://www.wickettraining.com On Wed, May 20, 2009 at 3:18 PM, nino martinez wael nino.martinez.w...@gmail.com wrote: Although not an amsterdammer, I might be interested (if I get a budget approval from my boss)..

Re: Wicket 1.4m3 ModalWindow close problem in Opera

2009-05-20 Thread Stefan Simik
I have the same problem with the latest Opera 9.64. FakeBoy wrote: Hi, I would like to ask you about my problem with modal modal window in Opera. When i close modal window everything works good in java (all listeners ale correctly called). But in browser window i still see some parts of

Re: Example of ModalWindow misleading

2009-05-20 Thread Matej Knopp
I think modal window example could be fixed by using getPageReference() to pass page reference between pages instead of page instance. -Matej On Wed, May 20, 2009 at 10:29 PM, Martin Makundi martin.maku...@koodaripalvelut.com wrote:

Re: Wicket Web Beans 1.1 and Wicket 1.4

2009-05-20 Thread John Patterson
I just tried it out on 1.4 with no problems. It took about 2 minutes to edit the source - mainly by changing getModel() to getDefaultModel() etc Dan Syrstad-2 wrote: I think Daniel was going to start work on the Wicket 1.4 migration on the trunk sometime in the near future. Currently the

fragment markup resolution

2009-05-20 Thread Joe Fawzy
hi alli have several pages which have a lot of fragments , this works fine when i subclassed this page class , i may change only one fragment or even no one at all but override a method, yet i have to duplicate all the markup for all the fragments even if they are just a clones of those in the bse

Re: Tools for Managing a Wicket Project

2009-05-20 Thread Vladimir K
I installed it on MyEclipse I didn't find how to format the text. Does it capable to format text better than WTP does? Linkan wrote: We use Aptana plugin for eclipse as html editor. If you dont install the full suit its free. //Swanthe Eduardo Nunes wrote: I have just one problem