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
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
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.
>
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
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
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
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
>>
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
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
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
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
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:
...
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
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
/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
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
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
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
18 matches
Mail list logo