Re: [OT] Wicket in Action Woes

2008-09-02 Thread Martin Funk
Obviously you have developed a somewhat magntic tummy while writing the book. :-) Martijn Dashorst wrote: Just be patient: getting the first printed copies first is a writer's prerogative. In the mean time, my Wicket in Action unboxing pictures whos that the book is not a mirage:

calculate the request-only-process time

2008-09-02 Thread ywtsang
we want to calculate the time to process the request , excluding the response stream time e.g. 1) request received at tomcat - 2) wicket filter - 3) business + wicket rendering logic - 4) response streaming we want the time of steps 2+3, we try to count the time use the method

Re: Discussion on Wicket Interface Speed-Up

2008-09-02 Thread Stefan Fußenegger
wicketstuff-merged-resources is now available in JIRA: http://wicketstuff.org/jira/browse/WMR and from wicketstuff maven repo: repositories repository idwicket-snaps/id urlhttp://wicketstuff.org/maven/repository/url snapshots

Re: Discussion on Wicket Interface Speed-Up

2008-09-02 Thread Jörn Zaefferer
Thanks Stefan! Just removed my local checkout and it works fine. Jörn On Tue, Sep 2, 2008 at 8:46 AM, Stefan Fußenegger [EMAIL PROTECTED] wrote: wicketstuff-merged-resources is now available in JIRA: http://wicketstuff.org/jira/browse/WMR and from wicketstuff maven repo: repositories

PageExpiredException on production

2008-09-02 Thread rivkash1
hello all, We are working with Wicket (1.3.4) on production for a couple of months. It runs within jetty 6.1.7. For some weeks, we are experiencing a strange PageExpiredException which happens only on production env. It mostly happens on 2 main Pages in which the users submit the same form in a

Re: Going back to a previous URL?

2008-09-02 Thread classacts
Hi Uwe, Thanks for your reply. Perhaps you wouldn't mind providing me with a little bit of clarification on your technique of going back to previously visited pages. My application is structured like: - abstract BasePage at the top of the Page hierarchy with a BookmarkablePageLink to

Re: Going back to a previous URL?

2008-09-02 Thread Uwe Schäfer
classacts schrieb: When I'm at AppPage {1=foo} and click on the Login link, I then go to the LoginPage with a nice URL showing in the address bar. After submitting the login form and upon successful authentication, I want to automatically navigate back to AppPage {1=foo} so that it is

Re: Going back to a previous URL?

2008-09-02 Thread classacts
Hi Uwe, Thanks for your reply, I understand your technique now. However, what about when we do care about URLs? For example, my LoginPageLink class is as follows: @NonAuthOnly private final class LoginPageLink extends BookmarkablePageLink { private static

Re: PageExpiredException on production

2008-09-02 Thread Nino Saturnino Martinez Vazquez Wael
Hmm, have you supervised the process where they timeout? Or could it be that a few users that click the back button until they reach a page which are no longer in the pagemap, I belive 15 are the default? rivkash1 wrote: hello all, We are working with Wicket (1.3.4) on production for a

Re: DropDownChoice - required, one item so preselection?

2008-09-02 Thread John
hi, the items in the DropDownChoice come from another part of the application. someone could enter the page with the DropDownChoice on it when there are three items in it but another user could delete two of them and the first user could refresh the page and ideally it would automatically select

WebPage error when throwing RestartResponseException in onBeforeRender

2008-09-02 Thread jensiator
Hello everyone. Im trying to redirect the user to another page in OnBeforeRender. I works but I get a wierd error in the tomcat console. Here it follows: ERROR - WebPage- You probably forgot to add a body or header tag to your markup since no Header Container was. But when I

Re: Going back to a previous URL?

2008-09-02 Thread classacts
I have also noticed that HybridUrlCodingStrategy.PAGE_PARAMETERS_META_DATA_KEY will ADD my referring page's page parameters to the URL of the target page. While it works, it's not very elegant at all. Perhaps I'm not following your suggestion as you intended? classacts wrote: Hi Uwe,

Authentication and authorization not working

2008-09-02 Thread Adriano dos Santos Fernandes
Hi! I'm starting with Wicket. Yesterday I created a test and put basic authentication and authorization to work. After some changes, it doesn't work anymore. Basically, I have this: WebSession class extending AuthenticatedWebSession Application class overriding getHomePage(),

Re: Authentication and authorization not working

2008-09-02 Thread Adriano dos Santos Fernandes
I figured the problem myself... I didn't called super.init() when I override Application.init. Adriano - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Wicket @ www.xing.com

2008-09-02 Thread Martin Funk
Hi list, there also is a Wicket group on Xing. Hope this helps to spread the word about Wicket a bit further. As I applied for founding that group there, I'm listed as its moderator. Also I uploaded the banners, hope this bears no legal problems. Currently the groups language is registered to

Re: WebPage error when throwing RestartResponseException in onBeforeRender

2008-09-02 Thread Michael Sparer
yepp. bug. have a look at: https://issues.apache.org/jira/browse/WICKET-1478 and http://www.nabble.com/Throw-AbortWithWebErrorCodeException-in-onBeforeRender-to16446341.html#a16473849 regards Michael jensiator wrote: Hello everyone. Im trying to redirect the user to another page in

Re: Going back to a previous URL?

2008-09-02 Thread Uwe Schäfer
classacts schrieb: Not really quite sure how to create an instance of LoginPage here and still being able to use BookmarkablePageLink... just mount it using hybrid, that should be it, right? using Link produces nasty href URLs which I don't want on my public-facing home page. thats the

Re: java.lang.IllegalArgumentException: A child with id 'name' already exists

2008-09-02 Thread Martijn Dashorst
item.add() ^ Martijn On Tue, Sep 2, 2008 at 6:11 PM, John [EMAIL PROTECTED] wrote: hi, i see this error message a lot and i mean really a lot! i use a lot of ListViews, and the above error message is what you get when you forget to add to the ListItem and instead add to the

Re: java.lang.IllegalArgumentException: A child with id 'name' already exists

2008-09-02 Thread John
a perfect example Martijn - you immediately recognise the error message and don't need to read further to come up with a solution ;-) but wouldn't it be an improvement for new developers if the message were absolutely explicit about the problem? john On Tue, Sep 2, 2008 at 5:13 PM, Martijn

Tracking logged in users / SessionStore questions

2008-09-02 Thread behlma
Hi guys, I'm developing a portal/forum application for my dissertation and wanted to display a panel with all currently active users. Now I found an old thread (Wicket 2.0) where Eelco posted an example SessionStore implementation to solve this specific problem, but that raised some questions.

java.lang.IllegalArgumentException: A child with id 'name' already exists

2008-09-02 Thread John
hi, i see this error message a lot and i mean really a lot! i use a lot of ListViews, and the above error message is what you get when you forget to add to the ListItem and instead add to the PropertyListView... add(new PropertyListView(a_list) { @Override protected void

Re: PageExpiredException on production

2008-09-02 Thread rivkash1
It is a problem to debug the process because the exception is happening only on production and it's occurance is unpredictable. The users don't use the back button in this senario. They do, however, work on 2 windows of firefox simulatnously (same session) where one window is usually the rolling

Re: java.lang.IllegalArgumentException: A child with id 'name' already exists

2008-09-02 Thread Martijn Dashorst
Well, it is hard to find out hierarchy problems. In this case you could've added components that are siblings to the listview as childs of the listview, instead of children of the item to the listview. There are too many things that can go wrong in constructing the hierarchy. However, possibly we

Re: Tracking logged in users / SessionStore questions

2008-09-02 Thread Martijn Dashorst
Take a look at enabling the RequestLogger and querying it. It gives access to sessions and requests. http://wicket.apache.org/docs/wicket-1.3.2/wicket/apidocs/org/apache/wicket/protocol/http/RequestLogger.html Martijn On Tue, Sep 2, 2008 at 6:32 PM, behlma [EMAIL PROTECTED] wrote: Hi guys,

Google Chrome Wicket

2008-09-02 Thread jWeekend
I have just installed Google Chrome (v0.2.149.27). I expect this is a browser that will be supported (eventually), so it's probably a good idea to keep a list of issues in one place (here, on the Wiki or Jira) as we come across unexpected or different behaviour of our Wicket apps. To get the

Re: Google Chrome Wicket

2008-09-02 Thread cstein1206
I have installed Google Chrome as well and found several Wicket extensions not working, namely - modal window - tabbed panels - editable label - clock example Maybe it's a bit too early for Chrome... -- View this message in context:

Re: Discussion on Wicket Interface Speed-Up

2008-09-02 Thread richardwilko
The problem of breaking encapsulation: I did some work on this problem on my own a few months ago, my solution was to use a header contrib manager, and instead of adding files with a header contributer i add them to the manager, then get a single contributer per page from the manger. for

Re: Google Chrome Wicke

2008-09-02 Thread Matej Knopp
Modal window seems to work fine for me, except that events are not propagated when mouse is over iframe. Tabbed panel works fine, so does editable label and clock example. (tested with latest 1.4 examples) -Matej On Tue, Sep 2, 2008 at 11:53 PM, cstein1206 [EMAIL PROTECTED] wrote: I have

Re: Discussion on Wicket Interface Speed-Up

2008-09-02 Thread Igor Vaynberg
problem with this is that pages can have dynamic components which dynamic header contributions. so either you have to somehow collect all possible header contributions from all possible component combinations - breaking encapsulation in the process, or you have to do what you do - ending up with

Re: Google Chrome Wicke

2008-09-02 Thread cstein1206
I've been using 1.4-m3 and things don't work here with Google Chrome 0.2.149.27. Is there a newer version of those examples I didn't see? -- View this message in context: http://www.nabble.com/Google-Chrome---Wicket-tp19277005p19280167.html Sent from the Wicket - User mailing list archive at

Re: Google Chrome Wicket

2008-09-02 Thread cstein1206
That's weird since I don't get anything (examples are from 1.4-m3). For me it seems like Chrome is handling the AJAX responses differently as it's always reporting 0 characters in the response. Here's the full debug output of the modal window from Chrome when clicking on Show modal dialog with a

Re: How do you use wicket Link to redirect you to FTP?

2008-09-02 Thread Igor Vaynberg
this was a bug, fixed.get a snapshot, build yourself from svn, or wait for the next release. -igor On Tue, Sep 2, 2008 at 4:51 PM, groffhibbitz [EMAIL PROTECTED] wrote: Hi, I'm using a wicket link component in one of my pages and when the user clicks on the link i want it to check if they are