Re: [Wicket-user] evil Page(params) bug in 1.3.0-xxx

2007-07-25 Thread spencer.c
Erm, why do you say that constructor is useless? I use that a couple of places... n8han wrote: > > Watch out 1.3.0-beta2/snapshots people, the constructor > > protected Page(final PageParameters parameters) > > does not call init(pageMap) and so pages that use it will behave badly. > That

Re: [Wicket-user] Custom session not working...

2007-07-24 Thread spencer.c
o the uninitiated user, and might be something to keep in mind for future change. In any case, we have known workaround, so no big deal. Best regards, Spencer Matej Knopp-2 wrote: > > On 7/24/07, spencer.c <[EMAIL PROTECTED]> wrote: > >> >> Couple of follow up questions/comm

Re: [Wicket-user] Custom session not working...

2007-07-24 Thread spencer.c
d? When I add the session.bind() in the application's newSession() method, everything works as expected. Hope this is helpful. Spencer igor.vaynberg wrote: > > On 7/24/07, spencer.c <[EMAIL PROTECTED]> wrote: >> >> >> Thanks Eelco, that did the trick. >

Re: [Wicket-user] Custom session not working...

2007-07-24 Thread spencer.c
Thanks Eelco, that did the trick. Couple of follow up questions/comments that anyone can field: 1) I understand why you would want a stateless application, however I don't understand why you would ever want your session to be regenerated on each request if during the request you specifically set

[Wicket-user] Custom session not working...

2007-07-23 Thread spencer.c
I have a custom session class that inherits from WebSession. I have overridden the newSession method in my Application class. The session is getting used during the request, because I initialize some of its values in its constructor, and they show up when I attach a label to them in a page. A n

[Wicket-user] Efficient DynamicResource Handling

2007-07-16 Thread spencer.c
I have a DynamicWebResource which is going to pull data out of a database. Some of the downloads will end up being quite large (possibly a couple of hundred MB). I have successfully implemented the functionality using DynamicWebResource and extending ResourceState to provided the correct byte ar

Re: [Wicket-user] PageParameter Parsing Primer

2007-02-20 Thread spencer.c
ement, however, as transparency is so nice! Thanks for the response. -spencer Al Maw wrote: > > spencer.c wrote: >> Can someone give me a quick overview of what is safe to pass in as a page >> parameter? I was under the impression that if I had a page parameter >> that >>

[Wicket-user] PageParameter Parsing Primer

2007-02-19 Thread spencer.c
Can someone give me a quick overview of what is safe to pass in as a page parameter? I was under the impression that if I had a page parameter that was a string, it would be encoded correctly in the URL, and decoded back to its original form in the page constructor. What I am finding, is that th

Re: [Wicket-user] Ajax Component Display Question

2007-02-16 Thread spencer.c
Update: This worked for me. I have added a wiki article, in case anyone else needs help implementing this sort of behavior. http://cwiki.apache.org/confluence/display/WICKET/Adding+Dynamic+Field+Prompts+or+Hints igor.vaynberg wrote: > > i think the best thing to do is to use javascript for t

[Wicket-user] Ajax Component Display Question

2007-02-15 Thread spencer.c
I have a form on my page, and I would like to display a usage hint to the user when they enter the field, and remove it when they exit the field. This isn't validating behavior, just some rich interaction. As best I can tell, the correct thing to do would be: i) Create two AjaxFormComponentUpd

Re: [Wicket-user] Simple CSS Link

2007-02-13 Thread spencer.c
I've updated to the a static Shared.class declaration, rather than getClass(), thanks for that. I'm using the snapshot from today, so I am definitely up to date. My output looks like this: which is similar to what you put there, except without the ../../'s. Eelco Hillenius wrote: > >> In m

Re: [Wicket-user] Simple CSS Link

2007-02-13 Thread spencer.c
Yes, that was one of the first things I checked. The css file is copied to the output folder, and is right next to the .class and .html files. Could it have something to do with my mapping? I do have wicket set up to intercept everything. From web.xml: ...

Re: [Wicket-user] Simple CSS Link

2007-02-13 Thread spencer.c
The generated HTML is: Changing the markup to your suggestion doesn't change the behavior, except eliminating the error message. The stylesheet still does not get applied. In fact, looking at the markup, it looks like the doesn't get replaced correctly? Generated response: Thanks for t

[Wicket-user] Simple CSS Link

2007-02-13 Thread spencer.c
Alright, I'm having trouble with what should be an easy thing: My page uses a stylesheet (1.css). Unfortunately, I can't get it to find the resource. I have triedthe code listed here: http://www.wicket-wiki.org.uk/wiki/index.php/JavaScript Without success. What am I doing wrong? In my html fi

Re: [Wicket-user] 1.3/2.0 Snapshots?

2007-02-09 Thread spencer.c
/9/07, spencer.c wrote: > > > Since it seems like there are alot of recommendations toward using the 1.3 > and/or 2.0 branches on new developments, I was wondering if it would be > possible to start getting snapshots of those branches built once in a > while > for download? Whe

[Wicket-user] 1.3/2.0 Snapshots?

2007-02-09 Thread spencer.c
Since it seems like there are alot of recommendations toward using the 1.3 and/or 2.0 branches on new developments, I was wondering if it would be possible to start getting snapshots of those branches built once in a while for download? Whether continuously or every so often at a mostly stable st

[Wicket-user] How to link to dynamic downloads in Wicket app?

2006-08-22 Thread spencer.c
Hello all. I'm coming from a Tapestry background, and I'm trying to determine some similarities/differences between the two frameworks. I think I have my head around the basic application/page flow, but I have a question regarding how I should plan to intergrate a dynamic download provider. Exa

[Wicket-user] Mounted URL Differences

2006-08-10 Thread spencer.c
New to the framework, so bear with me, as I'm likely to have many questions. I have an app that I've created for testing purposes. There are two pages, one is an index, the other a form. If I fill out the form on the second page, and redirect to the home page in the form submit method using th