-link-from-DynamicWebResource--tf4353363.html#a12404601
regards, --- jan.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Justin Stanczak
Stanczak Group
812-735-3600
All
Well, I still don't see a way to get around this error. I'll have to
live with it for now until I can look into it deeper. Has anyone else
had this error?
Stanczak Group wrote:
Instead of setRequestTarget(rsrt) I use this
rsrt.respond(getRequestCycle());, is that correct? It does work, but
I
) {
}
}
}
};
Eelco Hillenius [EMAIL PROTECTED] wrote:
On 10/6/07, Stanczak Group wrote:
Well, I still don't see a way to get around this error. I'll have to
live with it for now until I can look into it deeper. Has anyone else
had this error?
But you shouldn't call respond
Oh, then what should I do? Sorry if I'm missing the obvious here.
Eelco Hillenius wrote:
On 10/6/07, Stanczak Group [EMAIL PROTECTED] wrote:
What do you mean? This is all I'm doing, but still get the HTTP
Response has already been committed. error. Is there something there
that wrong
);
}
};
export.setCacheable(false);
add(new ResourceLink(exportLink, export));
Eelco
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Justin Stanczak
Stanczak Group
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Justin Stanczak
Stanczak Group
812-735-3600
All that is necessary for the triumph of evil is that good men do nothing.
Edmund Burke
, or is there an easier way?
Sam Hough wrote:
I think it is setup with ThreadLocal so you can get it easily with
RequestCycle.get(). You can also provide your own version from
Application.newRequestCycle which might be more what you need to hook in
start/end events.
Stanczak Group wrote:
How
If I create my own request cycle, then what class do I extend?
RequestCycle, WebRequestCycle or... ? RequestCycle requires you to
implement other methods? Is there a wrapper class?
Stanczak Group wrote:
I'm not for sure what to use. I tried to override the
newRequestCycle() but I had trouble
I see DataBinder is just casting them and using WebRequestCycle, is that
the right way?
Stanczak Group wrote:
If I create my own request cycle, then what class do I extend?
RequestCycle, WebRequestCycle or... ? RequestCycle requires you to
implement other methods? Is there a wrapper class
getHibernateSession() {
return hibernateSession;
}
}
Eelco Hillenius wrote:
On 10/4/07, Stanczak Group [EMAIL PROTECTED] wrote:
How can I access the request cycle so I can open and close a Hibernate
session on each request?
In your application class:
@Override
public
can I just send the user back to the list page in it last state?
--
Justin Stanczak
Stanczak Group
812-735-3600
All that is necessary for the triumph of evil is that good men do nothing.
Edmund Burke
-
To unsubscribe, e-mail
) {
previousPage = back;
...
@override protected void onSubmit() {
setResponsePage(previousPage);
}
}
}
On 10/4/07, Stanczak Group [EMAIL PROTECTED] wrote:
I have a classic list and edit page setup. You select an object that you
then pass
I can't seem to find a download versions of the javadocs, anyone know?
Do I need to use maven?
--
Justin Stanczak
Stanczak Group
812-735-3600
All that is necessary for the triumph of evil is that good men do nothing.
Edmund Burke
Thanks.
Igor Vaynberg wrote:
http://wicketstuff.org/maven/repository/org/apache/wicket/wicket/1.3.0-SNAPSHOT/
-igor
On 10/4/07, Stanczak Group [EMAIL PROTECTED] wrote:
I can't seem to find a download versions of the javadocs, anyone know?
Do I need to use maven?
--
Justin Stanczak
?
Much obliged,
nbc
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Justin Stanczak
Stanczak Group
812-735-3600
All that is necessary for the triumph of evil is that good men
I don't want the cancel button to submit the form, is this the best
method? I'm not sure I see how to do this. Is there examples?
@Override
protected void delegateSubmit(IFormSubmittingComponent component) {
}
--
Justin Stanczak
Stanczak Group
812-735-3600
All that is necessary
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Justin Stanczak
Stanczak Group
812-735-3600
All that is necessary for the triumph of evil is that good men do nothing.
Edmund Burke
Really new, but do you mean use the new Link() and input... ? Like this:
in code:
add(new Link(cancel){...});
in html:
input type=button wicket:id=cancel...
Like that?
Igor Vaynberg wrote:
best method is to add a Link to input type=button
-igor
On 10/4/07, Stanczak Group [EMAIL PROTECTED
Ah, yes. Link-O-Matic. Use the docs, that's what they're there for. Sorry.
Stanczak Group wrote:
Really new, but do you mean use the new Link() and input... ? Like this:
in code:
add(new Link(cancel){...});
in html:
input type=button wicket:id=cancel...
Like that?
Igor Vaynberg wrote:
best
Probably not. I'll probably use it when I get a chance. I just
downloaded the 1.0 tar and saw it's using 1.2 Wicket. Shot me the link
and I'll see if I can give it a shot tonight.
ChuckDeal wrote:
Stanczak Group wrote:
I'm not for sure what to use. I tried to override the newRequestCycle
Stanczak
Stanczak Group
812-735-3600
All that is necessary for the triumph of evil is that good men do nothing.
Edmund Burke
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
- Cemal
http://jWeekend.co.uk jWeekend.co.uk
--
Justin Stanczak
Stanczak Group
812-735-3600
All that is necessary for the triumph of evil is that good men do nothing.
Edmund Burke
-
To unsubscribe, e-mail: [EMAIL
WebResponse:190 - Unable to redirect to:
?wicket:interface=:2, HTTP Response has already been committed.
Stanczak Group wrote:
This maybe? Should I be using getWebRequestCycle().getWebResponse()
instead of getResponse().?
getWebRequestCycle().getWebResponse().setHeader()
Stanczak Group
This maybe? Should I be using getWebRequestCycle().getWebResponse()
instead of getResponse().?
getWebRequestCycle().getWebResponse().setHeader()
Stanczak Group wrote:
How can I do this in Wicket? I'm writing a csv generated file to the
output, but I don't know how to tell the client what file
. Like a login id?
@Override
protected void onSubmit() {
StudentInformationPage page = new StudentInformationPage();
page.setVisitDate(visitDate);
setResponsePage(page);
}
--
Justin Stanczak
Stanczak Group
812-735-3600
All that is necessary
protected void onDestroy() {
System.out.println(Killing database connection\n\n);
HibernateUtil.getSessionFactory().close();
}
###
--
Justin Stanczak
Stanczak Group
812-735-3600
All that is necessary
Thanks. They are pretty much doing the same as me. I found it was the
IDE causing the issue. From some reason Tomcat is deploying it twice.
Igor Vaynberg wrote:
see databinder.net for ideas
-igor
On 10/2/07, Stanczak Group [EMAIL PROTECTED] wrote:
I'm using Hibernate
Ok, thanks.
Igor Vaynberg wrote:
On 10/2/07, Stanczak Group [EMAIL PROTECTED] wrote:
Why would I need to override the WebSession? Can't I just use it as is?
the idea is that you add your typesafe properties and getters/setters into
your subclass. we do not provide a generic map
28 matches
Mail list logo