> I agree that using Wicket's decoration mechanism is probably a better way to
> go. One small question though - how do I put the contextPath into URLs in my
> BasePage.html? In my SiteMesh decorator, I have:
>
>
>
> type="image/x-icon"/>
> href="${ctx}/styles/deliciouslyblue/theme.
Eelco Hillenius wrote:
>
>> // Fixed SiteMesh:
>> http://spatula.net/blog/2006/10/wicket-sitemesh-feces-nocturnus.html
>>
>> getRequestCycleSettings().setRenderStrategy(IRequestCycleSettings.ONE_PASS_RENDER);
>>
>> It's likely be pretty easy to port when I have with SiteMesh to use the
> // Fixed SiteMesh:
> http://spatula.net/blog/2006/10/wicket-sitemesh-feces-nocturnus.html
>
> getRequestCycleSettings().setRenderStrategy(IRequestCycleSettings.ONE_PASS_RENDER);
>
> It's likely be pretty easy to port when I have with SiteMesh to use the page
> extension stuff that Wicket
> rofl, ok thats only three of the same response so far, lets see if we can
> rack up some more. i wish gmail could tell you that someone is responding to
> the same message you are. it does IM, why not this???
Gmail actually had the feature that showed you updates in the thread
while you are writ
Eelco Hillenius wrote:
>
>> Does it do this with 1.2.6?
>>
>> When I don't have it, and I hit refresh after submitting a form, I get
>> the
>> good ol' "postdata" message from Firefox. If I add setRedirect(true),
>> there
>> is no message.
>
> That's surprising. What does your application obje
rofl, ok thats only three of the same response so far, lets see if we can
rack up some more. i wish gmail could tell you that someone is responding to
the same message you are. it does IM, why not this???
-igor
On 4/24/07, Martijn Dashorst <[EMAIL PROTECTED]> wrote:
On 4/25/07, mraible <[EMAI
On 4/25/07, mraible <[EMAIL PROTECTED]> wrote:
> Does it do this with 1.2.6?
> When I don't have it, and I hit refresh after submitting a form, I get the
> good ol' "postdata" message from Firefox. If I add setRedirect(true), there
> is no message.
If you haven't changed the default render strate
> Does it do this with 1.2.6?
>
> When I don't have it, and I hit refresh after submitting a form, I get the
> good ol' "postdata" message from Firefox. If I add setRedirect(true), there
> is no message.
That's surprising. What does your application object look like?
The default IRequestCycleSett
its been doing that since before 1.0 afaik. in fact i dont even remember
what that dialog looks like anymore :)
did you mess with render strategies at all? i think if you change the strat
to one-pass-render it might not do it for you.
-igor
On 4/24/07, mraible <[EMAIL PROTECTED]> wrote:
ig
igor.vaynberg wrote:
>
> On 4/24/07, mraible <[EMAIL PROTECTED]> wrote:
>>
>> >
>> > You typically don't need to call setRedirect yourself though. Was
>> > there any reason for doing that? Also, flash message works good here,
>> > but if you already know the page you are going to display it on,
On 4/24/07, mraible <[EMAIL PROTECTED]> wrote:
>
> You typically don't need to call setRedirect yourself though. Was
> there any reason for doing that? Also, flash message works good here,
> but if you already know the page you are going to display it on, you
> might as well set it on there.
>
>
Got it - I needed getSession().info() instead of info(). Thanks guys - I
really appreciate the excellent support.
Matt
mraible wrote:
>
>
>
> Eelco Hillenius wrote:
>>
>>> I'm trying to success messages working. In my Detail.java page, I have:
>>>
>>> protected void onSaveUser(User use
Eelco Hillenius wrote:
>
>> I'm trying to success messages working. In my Detail.java page, I have:
>>
>> protected void onSaveUser(User user) {
>> userManager.saveUser(user);
>> getSession().info("It worked!");
>> setRedirect(true);
>> setResponsePage(backP
for a full crud app wicket+spring+hibernate/ibatis/shades see
wicket-phonebook project in wicket-stuff.sf.net
it has the feedback messages and grids you want.
also for models you can read here
http://cwiki.apache.org/confluence/display/WICKET/Working+with+Wicket+models
-igor
On 4/24/07, mraibl
> I'm trying to success messages working. In my Detail.java page, I have:
>
> protected void onSaveUser(User user) {
> userManager.saveUser(user);
> getSession().info("It worked!");
> setRedirect(true);
> setResponsePage(backPage);
> }
>
> First of all, is t
You can just add a FeedbackPanel to the Page:
add(new FeedbackPanel("feedback"));
Then call your info(...), error(...) or whatever method:
info("It Worked!");
I haven't worked with 1.3 yet, so I don't know if anything has changed
there.
On 4/24/07, mraible <[EMAIL PROTECTED]> wrote:
I'm
I'm trying to success messages working. In my Detail.java page, I have:
protected void onSaveUser(User user) {
userManager.saveUser(user);
getSession().info("It worked!");
setRedirect(true);
setResponsePage(backPage);
}
First of all, is this the proper wa
17 matches
Mail list logo