Re: Openid integration?

2008-12-02 Thread Michael Sparer
Looks pretty empty, doesn't it? :-) Nino.Martinez wrote: Hmm just saw this : http://code.google.com/p/wicket-auth-openid/ Nino Saturnino Martinez Vazquez Wael wrote: Hi Guys Have any of you tried to do a openid integration ? -- -Wicket for love Nino Martinez Wael Java

Re: Create custom UrlCodingStrategy

2008-12-02 Thread Francis De Brabandere
sorry for the misunderstanding, I never made a url coding strategy so I won't be able to help you, anybody else? On Tue, Dec 2, 2008 at 2:31 PM, Mathias P.W Nilsson [EMAIL PROTECTED] wrote: Nope this is not what I mean! What if I want to mount /events to Event.class and 100 customers needs to

Re: Default Focus Behavior?

2008-12-02 Thread Antony Stubbs
Why not put this code into Wicket? jwcarman wrote: On 3/11/08, Martijn Dashorst [EMAIL PROTECTED] wrote: I suggest wiki. Done: http://cwiki.apache.org/confluence/display/WICKET/Request+Focus+on+a+Specific+Form+Component I'm happy now. My work (no matter how trivial) may help

Re: Openid integration?

2008-12-02 Thread Nino Saturnino Martinez Vazquez Wael
yeah:( I have something working only partially though, cant get email and name attribute back from the openid provider properly.. Seems to work with openid.org, but not claimid.com or myopenid.com But I do not think it has anything todo with wicket: Wicket sign in panel, sender of

Unable to instantiate Web session class Error:::Wicket1.3.5 Help

2008-12-02 Thread Ayodeji Aladejebi
App Server: Glassfish V2 Wicket Version:: Wicket 1.3.5 JVM: Java 6u10 IDE: Netbeans6.5 This error does not occur when using Wicket 1.3.1. Any tips? thanks Unable to instantiate web session class com.dabarobjects.fme.FMEWebSession StandardWrapperValve[jsp]: PWC1406: Servlet.service() for

Re: Create custom UrlCodingStrategy

2008-12-02 Thread kan
Basically, just implement IRequestTargetUrlCodingStrategy. :) What is precise question? 2008/11/24 Mathias P.W Nilsson [EMAIL PROTECTED]: Hi, I need some info in how to create my own UrlCodingStrategy This is the preconditions. I have a database with 20 - 100 customers that needs to access

Re: backbutton with AjaxFallbackDefaultDataTable

2008-12-02 Thread Timo Rantalaiho
On Tue, 02 Dec 2008, Kamil Hark wrote: Hi, I have a problem with browser's backbutton and AjaxFallbackDefaultDataTable, I have button that adds new rows into table (I put new objects into table's model and udate table with ajax). when I click some link to other page and after redirect I click

Re: Inmethod DataGrid

2008-12-02 Thread Timo Rantalaiho
On Tue, 02 Dec 2008, ulrik wrote: I'm using the Inmethod DataGrid in my application. I would like to test it's functionality with WicketTester. I have run into some problems though. How do I simulate clicking on a row in the DataGrid from the WicketTester? I'm not familiar with DataGrid, but

Re: Create custom UrlCodingStrategy

2008-12-02 Thread kan
I only afraid, you cannot mount to root. So, it will be http://localhost/company/edgesoft/something;, http://localhost/company/another/something; Maybe easier and much more flexible for you will be UrlRewriteFilter. 2008/12/2 kan [EMAIL PROTECTED]: Basically, just implement

Re: Unable to instantiate Web session class Error:::Wicket1.3.5 Help

2008-12-02 Thread Timo Rantalaiho
On Tue, 02 Dec 2008, Ayodeji Aladejebi wrote: App Server: Glassfish V2 Wicket Version:: Wicket 1.3.5 JVM: Java 6u10 IDE: Netbeans6.5 This error does not occur when using Wicket 1.3.1. Any tips? thanks Unable to instantiate web session class com.dabarobjects.fme.FMEWebSession I think

Re: Create custom UrlCodingStrategy

2008-12-02 Thread Mathias P.W Nilsson
Nope this is not what I mean! What if I want to mount /events to Event.class and 100 customers needs to use the same page with different variation? when the user attempts http://localhost/myapp/test/events/ ( test is the customer name ) then it should invoke /events.

Re: Create custom UrlCodingStrategy

2008-12-02 Thread Mathias P.W Nilsson
Ok Is there any topic on UrlRewriteFilter and Wicket. I still need to set variation and locale even when I use UrlRewriteFilter. -- View this message in context: http://www.nabble.com/Create-custom-UrlCodingStrategy-tp20660813p20793471.html Sent from the Wicket - User mailing list archive at

Re: Create custom UrlCodingStrategy

2008-12-02 Thread Francis De Brabandere
http://localhost/test/hello http://localhost/test2/hello Can this be done with wicket? Yes, this is called mounting pages or resources see here: http://cwiki.apache.org/WICKET/url-coding-strategies.html http://www.javalobby.org/java/forums/t68753.html -- View this message in context:

Inmethod DataGrid

2008-12-02 Thread ulrik
Hello! I'm using the Inmethod DataGrid in my application. I would like to test it's functionality with WicketTester. I have run into some problems though. How do I simulate clicking on a row in the DataGrid from the WicketTester? // Ulrik -- View this message in context:

backbutton with AjaxFallbackDefaultDataTable

2008-12-02 Thread Kamil Hark
Hi, I have a problem with browser's backbutton and AjaxFallbackDefaultDataTable, I have button that adds new rows into table (I put new objects into table's model and udate table with ajax). when I click some link to other page and after redirect I click browser's backbutton then my table is

Re: Create custom UrlCodingStrategy

2008-12-02 Thread Mathias P.W Nilsson
Thanks! I will look at this and maybe come back on the subject. One problem that I saw was that the request didn't get printed in the UrlCodingStrategy because it was not mounted in init. Maybe I'm wrong about this and need to look it over again. -- View this message in context:

Re: Javascript Wicket wrapper (like ExtGwt and SmartGWT) ?

2008-12-02 Thread Cédric Thiébault
Hi, Yes I was thinking about something like this but with more complete Javascript frameworks (but I don't know very well JQuery in fact). Ext-JS and SmartClient offer lots of nice widgets with a sharp design. Pure Wicket also offer built-in widgets but not as rich/sharp as these frameworks... I

Re: Create custom UrlCodingStrategy

2008-12-02 Thread Mathias P.W Nilsson
Nope! I'm lost here. How can I create my own IRequestTargetUrlCodingStrategy when I need to add a mount path. The mount path is not the same as the page requested. Let me explain this more in detail. I wan't to mount Base.class to /login. But I need to access the /login thru /Customer1/login

Re: Create custom UrlCodingStrategy

2008-12-02 Thread kan
Oh sorry, I thought you want use it with mount. In this case you have to deal with IRequestCodingStrategy, not with IRequestTargetUrlCodingStrategy. Seems you can make your implementation which proxies given rcu (usually it will be WebRequestCodingStrategy or crypted), it passes encode/decode

Re: Create custom UrlCodingStrategy

2008-12-02 Thread Jeremy Thomerson
[I'm sending again slightly modified because the first response got spam-blocked - dunno why - hopefully you're not getting this twice] I did something similar to this a while back and came up with the following solution. It may not be the best way, but what I do is extend WicketFilter and catch

WebMarkupContainer within WebMarkupContainer not updated when Ajax update

2008-12-02 Thread simonm
My WebPage consists of two WebMarkupContainer: one is the parent of the other. The two WebMarkupContainer are encapsulated within a div tag as the following: div wicket:id=wmc1 div wicket:id=wmc2 table cellpadding=0 cellspacing=5 class=filterBy

Re: Openid integration?

2008-12-02 Thread Jan Kriesten
Hi Nino, I have something working only partially though, cant get email and name attribute back from the openid provider properly.. Seems to work with openid.org, but not claimid.com or myopenid.com why not using spring-security and don't have any more hassle at all? Best regards, --- Jan.

Re: WebMarkupContainer within WebMarkupContainer not updated when Ajax update

2008-12-02 Thread Timo Rantalaiho
On Tue, 02 Dec 2008, simonm wrote: div wicket:id=wmc1 div wicket:id=wmc2 ... The problem: wmc1 is updates while Ajaxing it (wmc1 was added as a target for some ajax component), while wmc2 not!! I thought that wmc2 should be updated too since it is a child of a wmc1.

Session invalidation - 1.4-rc1

2008-12-02 Thread Adriano dos Santos Fernandes
Hi! After upgrade from m3 to rc1, a problem with session invalidation appeared. I have a Exit menu, using Ajax (AbstractDefaultAjaxBehavior). On its respond, it does: getSession().invalidate(); setResponsePage(HomePage.class); This worked with m3, but now nothing happens, and in the

Re: Session invalidation - 1.4-rc1

2008-12-02 Thread Adriano dos Santos Fernandes
Oops, problem a bit different, and solved, but I don't know why this worked before and not now. HomePage has only one constructor: HomePage(PageParameters parameters) Creating a instance now works: setResponsePage(new HomePage(new PageParameters())); I believe, in 1.4-m3 a empty

Re: Javascript Wicket wrapper (like ExtGwt and SmartGWT) ?

2008-12-02 Thread Richard Allen
For integration between Ext JS and Wicket, check out: http://code.google.com/p/wicket-ext/ http://www.wickettools.org/index.php/extjs-integration -Richard On Tue, Dec 2, 2008 at 10:35 AM, Cédric Thiébault [EMAIL PROTECTED] wrote: Hi, Yes I was thinking about something like this but with more

Re: Create custom UrlCodingStrategy

2008-12-02 Thread Mathias P.W Nilsson
Thank you very much but I'm afraid I can't use apache as a front end due to the server setup. I need a way to do this in wicket. -- View this message in context: http://www.nabble.com/Create-custom-UrlCodingStrategy-tp20660813p20801209.html Sent from the Wicket - User mailing list archive at

Re: Wicket Session grows too big real fast

2008-12-02 Thread Alex Objelean
LDM is a LoadableDetachableModel Flavius wrote: Martijn Dashorst wrote: With Wicket 1.3 only one page should be stored in session. You should check if you don't keep references between pages - that would result in 1+N pages (with N being the number of pages you reference in your

Re: Wicket Session grows too big real fast

2008-12-02 Thread kan
For remoting could have a sense to make DTO for the sake of Singe Responsibility Principle. 2008/11/26 James Carman [EMAIL PROTECTED]: Not exactly. It might be okay for web projects like this, but if you need to do any remoting, this won't work. Our domain entities have to be serializable.

Re: Create custom UrlCodingStrategy

2008-12-02 Thread Mathias P.W Nilsson
To clarify things. It's something like in this post that I'm after. Get the customer from db See Dmitry Kandalov post http://www.nabble.com/mounting-large-number-of-url-td13972929.html#a14010271 http://www.nabble.com/mounting-large-number-of-url-td13972929.html#a14010271 -- View this message

examples of Wizard and working back button

2008-12-02 Thread novotny
Hi, I'm looking for a code example of writing a wizard in wicket with a working back button. The code at http://cwiki.apache.org/WICKET/building-wizard-functionality.html is no longer available and I was wondering if it was an old example anyway. Any help is greatly appreciated! Thanks, Jason

IMG SRC URL in iframe.

2008-12-02 Thread Graeme Knight
Hi, I would like to use an iframe on my page that contains IMG tags. I would like the IMG tag SRC to point back to the server to load up the image. What would be the best way to construct the URLs in Wicket? Many thanks for any advice, Graeme. -- View this message in context:

Re: examples of Wizard and working back button

2008-12-02 Thread Jeremy Thomerson
If by back button you mean a previous button, here's a regular old wizard example, as easy as 1-2-3: 1 - http://www.google.com/search?q=wicket+examples 2 - http://www.wicket-library.com/wicket-examples/ 3 - http://www.wicket-library.com/wicket-examples/wizard/ Hope this helps. On Tue, Dec 2,

Why can't I initialize PasswordTextField?

2008-12-02 Thread Casper Bang
I'm trying to implement credentials memory functionality for a login form using cookies. I know there's an official example (http://wicketstuff.org/wicket13/signin2/?x=7*:org.apache.wicket.examples.signin2.SignIn2) however it simply delegates to some panel which is not available as source on

Re: Why can't I initialize PasswordTextField?

2008-12-02 Thread Jeremy Thomerson
May I answer your question with a question? Why would you want your password field to have the value pre-filled on the page? Then the password is in plain text available to the user (and assuming you're not on https, anyone in between). I've never seen an instance where this was a good idea.

Re: Why can't I initialize PasswordTextField?

2008-12-02 Thread Timo Rantalaiho
On Wed, 03 Dec 2008, Casper Bang wrote: on the page. So anyway, it should be simple, and all works great except that I can not get the password field to get filled out upon page load. HTML just works that way, Note that the current value is the text entered by the user, not the text

Re: Openid integration?

2008-12-02 Thread Nino Saturnino Martinez Vazquez Wael
Hmm, i'll dig into it.. Thanks.. Jan Kriesten wrote: Hi Nino, I have something working only partially though, cant get email and name attribute back from the openid provider properly.. Seems to work with openid.org, but not claimid.com or myopenid.com why not using spring-security

Switch db connection when Local Remote

2008-12-02 Thread Anton Veretennikov
Hello Wicket users, I test my app on local Tomcat and update it frequently on remote. They have different MySQL DB connection params. What is the easiest way to decide which params to choose depending on where Tomcat is running without editing of xml-files? I need to know it during init() of

Re: Switch db connection when Local Remote

2008-12-02 Thread Jeremy Thomerson
There are a myriad of ways, but most are going to include something like: - read them from a properties file - configure them in web.xml or tomcat config It doesn't sound like you're using Spring or similar to configure your database access, but since I do, I typically use a properties file for

Re: Inmethod DataGrid

2008-12-02 Thread ulrik
Yes, you were right! I looked at the sourcecode for the AbstractGrid and saw that an onclick event was added to each row item. So all I had to do was _tester.executeAjaxEvent(table:form:bodyContainer:body:row:1,onclick); to simulate a click on row 1 Timo Rantalaiho wrote: On Tue, 02 Dec

Re: Openid integration?

2008-12-02 Thread Nino Saturnino Martinez Vazquez Wael
Hmm Im using auth roles now.. Are there an way to integrate the two..? Another thing though, I need to either use sreg or AX to pull some values (only email and name) to my system is that possible with the spring security thing( I know this should probably go to the spring forum)? Jan