Re: Web statistics tools, analysis

2008-09-03 Thread Martijn Dashorst
Typical http log analyzers don't work well with wicket applications because you can't get any idea which page is ?wicket:interface:3. We use the request logger to give us statistics about the performance of pages. From those logged requests we can track users, browsers, sessions, requests, duration

Re: Google Chrome & Wicke

2008-09-03 Thread Matej Knopp
Can you try that with latest trunk? -Matej On Wed, Sep 3, 2008 at 1:51 AM, cstein1206 <[EMAIL PROTECTED]> wrote: > > 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

Re: Web statistics tools, analysis

2008-09-03 Thread Jan Kriesten
Hi, > Google Analytics? I have my problems with this, actually. There are privacy-policy-issues with Google Analytics, especially in germany. You have no control to remove log information after a certain time or remove tracks if user demand it. As nice as Google Analytics looks, it's actually a

Re: PageExpiredException on production

2008-09-03 Thread rivkash1
Hello again, does someone have any more ideas about our problem? It is very problematic to work in production when the users are thrown out with exception each hour... thanks Rebecca rivkash1 wrote: > > hello all, > > We are working with Wicket (1.3.4) on production for a couple of months. >

Re: PageExpiredException on production

2008-09-03 Thread Martijn Dashorst
Sounds like a bug in your NiteWebRequestCycleProcessor Martijn On Wed, Sep 3, 2008 at 10:29 AM, rivkash1 <[EMAIL PROTECTED]> wrote: > > Hello again, > > does someone have any more ideas about our problem? > It is very problematic to work in production when the users are thrown out > with exceptio

Re: PageExpiredException on production

2008-09-03 Thread rivkash1
Hi Martijn NiteWebRequestCycleProcessor is a Class we added to the application 2 days ago. It extends Wicket's WebRequestCycleProcessor and adds some messages to the log to get more information about the problem. The PageExpiredException is a problem that we have on production for a couple of we

Re: PageExpiredException on production

2008-09-03 Thread Martijn Dashorst
Check your logs for non-serializable errors (or test your application locally with development mode on, and make sure the serializer check is not turned off). This is the most common case for page expired errors. Martijn On Wed, Sep 3, 2008 at 10:45 AM, rivkash1 <[EMAIL PROTECTED]> wrote: > > Hi

Re: Google Chrome & Wicket

2008-09-03 Thread Chris Stein
I was trying to follow Matej's suggestion and build the latest version from trunk. When running Maven with mvn package, I was getting test errors. The Auth Roles doesn't complete the tests due to an incorrect Apache License header in /wicket-auth-roles/src/main/java/org/apache/wicket/authentica

Re: PageExpiredException on production

2008-09-03 Thread rivkash1
we set Wicket's logging level on production to DEBUG I don't see any non-serializable errors. How do i turn on the serializer check? thanks Rebecca Martijn Dashorst wrote: > > Check your logs for non-serializable errors (or test your application > locally with development mode on, and make sur

page expired warning

2008-09-03 Thread wenm
I have read many posts about page expired, but I still can't get what's the problem in my case. We have three page: 1) login page 2) navigation page 3) function page. All three pages are mounted by using HybridUrlCodingStrategy in webapplication init(). The flow is: after authenticate the user i

[announce] Wicketstuff Iolite 0.3

2008-09-03 Thread Nino Saturnino Martinez Vazquez Wael
A new version of Iolite archetype are out lot's of cleaning has been done. Changes: * Builds on wicket 1.4 * Simpler JPA/domain configuration with James Carmans domdrides (http://sourceforge.net/projects/domdrides/) * Now a real archetype using the new archetype-metadata.xml If yo

Re: PageExpiredException on production

2008-09-03 Thread Nino Saturnino Martinez Vazquez Wael
Did you actively turn serializer check off? rivkash1 wrote: we set Wicket's logging level on production to DEBUG I don't see any non-serializable errors. How do i turn on the serializer check? thanks Rebecca Martijn Dashorst wrote: Check your logs for non-serializable errors (or test your

Re: page expired warning

2008-09-03 Thread Nino Saturnino Martinez Vazquez Wael
Hi Sound's really wierd, like you are trying to post some stuff or something.. Could you show us some code..? And you should really upgrade to 1.3.4 since there were a lot of bug fixing going on from 1.3.1 to 1.3.4 wenm wrote: I have read many posts about page expired, but I still can't ge

Re: PageExpiredException on production

2008-09-03 Thread rivkash1
How do i check if the serializer is on/off? What's the defualt? Nino.Martinez wrote: > > Did you actively turn serializer check off? > > rivkash1 wrote: >> we set Wicket's logging level on production to DEBUG >> I don't see any non-serializable errors. >> How do i turn on the serializer check?

Re: Discussion on "Wicket Interface Speed-Up"

2008-09-03 Thread richardwilko
im not sure we could help in the cases where you have dynamic header contributors, like you say you would either have to specify them up front (ie add them into the page not the panel, breaking encapsulation) or just serve via the normal header contributor. But i dont see how this would result in

Re: page expired warning

2008-09-03 Thread wenm
Hi I have tried to upgrade to 1.3.4, but it doesn't help. WebApplication protected void init() { super.init(); getRequestCycleSettings().setResponseRequestEncoding("ISO-8859-1"); getResourceSettings().setThrowExceptionOnMissingResource(false); mount(new HybridUrl

Re: Discussion on "Wicket Interface Speed-Up"

2008-09-03 Thread igor . vaynberg
It's not the pages that have these files. Let's say I have a page that uses jquery and a textfield with a button that toggles tinymce. If we do what you say then there are two possible files: jquery and jquery+tinymce. Than let's say I add Ajax to the page, now there are 6 possibilities depending

Re: Discussion on "Wicket Interface Speed-Up"

2008-09-03 Thread Matej Knopp
There is yet another thing to consider. Iphone doesn't cache resources bigger than 25kb (after unzipping). So instead of grouping files together sometimes it even might be appropriate to split them... -Matej On Wed, Sep 3, 2008 at 4:11 PM, <[EMAIL PROTECTED]> wrote: > It's not the pages that hav

Show/hide WebMarkupContainer

2008-09-03 Thread Chris Stein
I am having trouble understanding how to achieve the following: Similar to Xing or Google Mail, I want to show a form with AJAX when the user clicks a link on the same page. I first thought that I can achieve this with the AjaxLazyLoadPanel. By now I got the gist that I need to play with an empty

Re: Show/hide WebMarkupContainer

2008-09-03 Thread Francis De Brabandere
Add the form and set it invisible, after the user clicks the ajax link set the form visible and add it to the response target.addComponent(form); make sure the form has a placeholder form.setOutputMarkupPlaceholderTag(true); On Wed, Sep 3, 2008 at 4:27 PM, Chris Stein <[EMAIL PROTECTED]> wrote: >

Re: Discussion on "Wicket Interface Speed-Up"

2008-09-03 Thread richardwilko
I see your point, essentially we have 1 (relativity large) bundle file per page, and if you have 5 pages which use jquery, tinymce and ajax then you are worse off, since the normal way you would have already cached the 3 individual files (this is what you meant right?) Maybe there is some way to

Re: Show/hide WebMarkupContainer

2008-09-03 Thread Florian Sperber
Hi Chris, i create for this a container which contains two panels, one "show"-Panel and one "edit"-Panel: container = new WebMarkupContainer("container"); container.setOutputMarkupId(true); add(container); the AjaxLink("edit")... then switches between the panels:

Re: Google Chrome & Wicket

2008-09-03 Thread Timo Rantalaiho
On Wed, 03 Sep 2008, Chris Stein wrote: > I was trying to follow Matej's suggestion and build the latest version from > trunk. To just try it out, it's easier to use the readymade snapshot jars from the snapshot maven repository hosted at wicketstuff.org. Best wishes, Timo -- Timo Rantalaiho

Re: Discussion on "Wicket Interface Speed-Up"

2008-09-03 Thread Al Maw
Hmmm. As you say, there's no easy one-size-fits-all. There is an obvious improvement you could make, though. All JS/CSS contributions initially rendered on the home page could be batched up. This will typically provide the biggest improvement anyway. You could then keep a reference to this batch, a

Re: Discussion on "Wicket Interface Speed-Up"

2008-09-03 Thread John Krasnay
On Wed, Sep 03, 2008 at 04:34:34PM +0100, Al Maw wrote: > > I'd even go so far as to remove the need for HeaderContributor code entirely > in 80% of the cases. > Wicket could automatically pick up css and js files that are named the same > as your component. > MyComponent.java > MyComponent.ht

Re: Discussion on "Wicket Interface Speed-Up"

2008-09-03 Thread Martijn Dashorst
in html: some foo Which has the added bonus of being previewable. Martijn On Wed, Sep 3, 2008 at 5:34 PM, Al Maw <[EMAIL PROTECTED]> wrote: > Hmmm. As you say, there's no easy one-size-fits-all. > There is an obvious improvement you could make, though. All JS/CSS > contributi

RadioGroup to select DataTable rows, any example?

2008-09-03 Thread Martin Dietze
Hello, I am still fairly new to Wicket and currently trying to create a table with a still unknown number of entries from which one row can be selected. I created a table using the DefaultDataTable class, was able to fill it using PropertyColumn for data columns and AbstractColum for links (e.g.

Re: RadioGroup to select DataTable rows, any example?

2008-09-03 Thread Igor Vaynberg
there is an example in wicket-phonebook -igor On Wed, Sep 3, 2008 at 10:32 AM, Martin Dietze <[EMAIL PROTECTED]> wrote: > Hello, > > I am still fairly new to Wicket and currently trying to create > a table with a still unknown number of entries from which one > row can be selected. > I created a

Re: page expired warning

2008-09-03 Thread Nino Saturnino Martinez Vazquez Wael
General how do you intercept pages when unauthorized? I saw that you mounted payment.class which only should be reachable when logged in right? Nothing here stands out btw, a simple quickstart would be nice.. And if it's something in a hurry since I live in dk(copenhagen area) and are consult

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

2008-09-03 Thread groffhibbitz
thanks for your help, I tried the code you checked in, but it doesn't work, it still redirects me to the app relative http url.. this is because in the RedirectRequestTarget line 93: response.redirect(redirectUrl); the response object is of type webResponse, which will not allow you to go to a

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

2008-09-03 Thread Igor Vaynberg
all we do in webresponse is call httpServletResponse.sendRedirect(url); which should work fine. so if webresponse.redirect is getting the correct url (ftp://foo) but still redirects to a relative url it might be a bug in the servlet container... can you verify what url is passed into webresponse.re

Add a javascript window to a Link when text input not saved

2008-09-03 Thread liza6218
Hi, I'm trying to figure out the following, any help will be apreciated. I have a form with 3 TextFields , a DropDownChoice and a save button , and a BookmarkablePageLink in the page. I need to add a javascript confirm window to the Link whenever any input changed without save (submit). and

Re: Discussion on "Wicket Interface Speed-Up"

2008-09-03 Thread Jörn Zaefferer
Ignoring the iPhone - not everyone has that as a target platform - the bruteforce method of packaging everything into one file isn't that bad. The initial bandwidth hit is outweighed be reducing requests to one (or two, one js, one css file). That means the first page loads a bit longer, which is n

FREE Online Test at www.yfrindia.com

2008-09-03 Thread Youth
http://www.yfrindia.com/ Take FREE online TEST, read FREE articles, download FREE presentation, use FREE source code, useful links, competition updates, free ONLINE TEST TESTS, http://www.yfrindia.com/resources/Tests free APTITUDE TEST, English Test, Computer Test, Mechanical Test, Electronics Tes

Re: FileUpload - need to set a model to get updateModel working?

2008-09-03 Thread Igor Vaynberg
if you do not give it a model explicitly then it will try to stick the inputstream into the cpm, thats how cpms work... if you set hasexcplicitmodel(false) then the model will not be updated, instead you will have to call getfileupload() yourself. what exactly are you trying to do? -igor On Tue

Wicket Modal Window - IFrame

2008-09-03 Thread Shaun Thompson
I'm currently running into an issue with the wicket modal window. My situation is this. Wicket App A contains an IFrame sourcing Wicket App B. B has an Wicket IFrame modal window on one of it's pages. When Wicket.Window.create in modal.js is called from B, the Wicket.Window is pulled from windo

Re: Wicket Modal Window - IFrame

2008-09-03 Thread Matej Knopp
On Wed, Sep 3, 2008 at 10:13 PM, Shaun Thompson <[EMAIL PROTECTED]> wrote: > I'm currently running into an issue with the wicket modal window. > > My situation is this. > > Wicket App A contains an IFrame sourcing Wicket App B. > > B has an Wicket IFrame modal window on one of it's pages. > > When

Re: Google Chrome & Wicket

2008-09-03 Thread lesterburlap
I'm getting the same "Received ajax response (0 characters)" / "Error while parsing response: Could not find root element" message in the ajax debug window. We're using 1.3.4. Our application is totally inoperable in Chrome. I'm not worrying too much, though, since Chrome is still beta, but a

Re: Show/hide WebMarkupContainer

2008-09-03 Thread cstein1206
I got it now! Thanks a ton, guys!!! -- View this message in context: http://www.nabble.com/Show-hide-WebMarkupContainer-tp19290460p19298794.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe,

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

2008-09-03 Thread groffhibbitz
I verified the url getting passed in to response.redirect() by implementing my own IRequestTarget class which logs what the URL is right before response.redirect() is called... then I get this result in my browser: The resource you requested could not be found. /app/ftp://location/testing%20to%2

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

2008-09-03 Thread groffhibbitz
I worked around the problem by doing setResponsePage(new RedirectPage("ftp://whatever)); setRedirect(true); inside my links onClick method. Thanks for your help! groffhibbitz wrote: > > I verified the url getting passed in to response.redirect() by > implementing my own IRequestTarget class

Re: FileUpload - need to set a model to get updateModel working?

2008-09-03 Thread Ned Collyer
class MyObj { transient FileUpload fileUpload; String description; } Form form = new Form("form", new CompoundPropertyModel(new MyObj)); form.add(new TextField("description")); <-- this works form.add(new FileUploadField("fileUpload")); <-- this doesnt form.add(new FileUploadField("f

Re: Google Chrome & Wicke

2008-09-03 Thread Hassan Chafi
I tried the browser on our own production code, and it doesn't work on pages that use wicket ajax heavily. I actually tried it on http://wicketstuff.org/wicket13/ajax/modal-window and it doesn't work their either. Even if does work on 1.4, I think depending on when this thing releases, 1.3 has t

Re: wicket-like framework to complement wicket?

2008-09-03 Thread francisco treacy
without bells and whistles, i'd like to announce the availability of gluw, a utility library to "glue" wicket together with a persistence stack (guice+salve+warp+neodatis odb). http://code.google.com/p/gluw/ the idea is to allow for rapid prototype development in a DDD fashion, because after setu

Newbie Tries Out Wicket Threads

2008-09-03 Thread shetc
http://www.nabble.com/file/p19300742/wicket.jpg -- View this message in context: http://www.nabble.com/Newbie-Tries-Out-Wicket-Threads-tp19300742p19300742.html Sent from the Wicket - User mailing list archive at Nabble.com. -

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

2008-09-03 Thread groffhibbitz
hmm now i have a new problem, when I click on my link, after it loads the ftp link, the browswer is left on a blank wicket page of the url: http://localhost/app/?wicket:interface=:2 how can I get the browser to stay on the original page? groffhibbitz wrote: > > I worked around the problem

Re: Google Chrome & Wicket

2008-09-03 Thread James Carman
They said that they prioritize which sites they test Chrome with based on google searches. So, everyone google for Wicket examples! On Wed, Sep 3, 2008 at 5:34 PM, lesterburlap <[EMAIL PROTECTED]> wrote: > > > I'm getting the same "Received ajax response (0 characters)" / "Error while > parsing r

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

2008-09-03 Thread groffhibbitz
well so now i'm thoroughly confused I created a new http servlet extending HttpServletBean and inside it i call response.sendRedirect and it redirects me to a non http url just fine...i wonder why the same call in wickets webResponse class doesn't seem to work...hrm...maybe it isn't really get

Re: Wicket Modal Window - IFrame

2008-09-03 Thread sthomps
Matej, Just to be clear - it's not that a modal window in Wicket App A is sourcing content from Wicket App B. It's that in this scenario Wicket App A has an generic iframe - not wicket produced - who's src is Wicket App B. The code here when run from B on modal creation pulls the Wicket.Window

Re: Functional testing tools comparison

2008-09-03 Thread schapes
Hi, I saw this thread and was interested if anyone had created these samples mentioned below. I am trying to write some tests with canoo but I am having problems. I can test my login page that it renders but when I try to use "clickButton" and have the the "Log In" button clicked the test fails

Re: Newbie Tries Out Wicket Threads

2008-09-03 Thread Jonathan Locke
nice! i think i got in under the wire... can't wait til it shows up shetc wrote: > > http://www.nabble.com/file/p19300742/wicket.jpg > -- View this message in context: http://www.nabble.com/Newbie-Tries-Out-Wicket-Threads-tp19300742p19303928.html Sent from the Wicket - User mailing list

Re: [OT] Wicket in Action Jubilation

2008-09-03 Thread Jonathan Locke
i just got mine today. it is really really nice!!! Martijn Dashorst wrote: > > Thanks for the report, I've notified Manning of this issue and they're > looking into it. > > I also asked when the books should arrive. If you've ordered from > Manning, you should receive your copy one of these

Re: Newbie Tries Out Wicket Threads

2008-09-03 Thread Nino Saturnino Martinez Vazquez Wael
yup I can confirm that.. Jonathan Locke wrote: nice! i think i got in under the wire... can't wait til it shows up shetc wrote: http://www.nabble.com/file/p19300742/wicket.jpg -- -Wicket for love Nino Martinez Wael Java Specialist @ Jayway DK http://www.jayway.dk +45 2936 7