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, you
might as
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:
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
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 strategy it
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 [EMAIL
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 object look like?
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
// 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 has,
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
page
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:
c:set var=ctx value=${pageContext.request.contextPath}/
link rel=shortcut icon
You can just add a FeedbackPanel to the Page:
add(new FeedbackPanel(feedback));
span wicket:id=feedback/span
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
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
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,
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(backPage);
}
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 user) {
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.
I'm
16 matches
Mail list logo