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
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
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.
Couple of follow up questions/comments that anyone can field
to 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/comments that anyone can field:
1) I
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
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
, 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
was a string, it would be encoded correctly
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
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
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
The generated HTML is:
link href=resources/com.test.pages.Share/1.css rel=stylesheet
type=text/css wicket:id=pageCSS/
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
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:
link href=resources/com.test.pages.Share/1.css rel=stylesheet
type=text/css wicket:id=pageCSS/
which is
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
, 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? Whether continuously or every so
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.
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
16 matches
Mail list logo