Hi,
the browser sends in a separate request to fetch the resource. You
cannot show any feedback from there.
You can add an error to the session, and let the web page poll with ajax
requests for any problems.
Regards
Sven
On 06/13/2014 03:35 AM, msalman wrote:
Hi,
Suppose there is some
Hi,
For some reason google mail always send your messages to my spam folder...
Answers inline
On Thu, Jun 12, 2014 at 7:27 PM, msalman mohammad_sal...@yahoo.com wrote:
Ernesto,
Well the change seems to work. I am using a button that shows an activity
indicator with a veil for the request.
Hi,
How to get PageClass from BufferedResponseRequestHandler ?
At little background: I'm sending processing metrics to Google Analytics,
mentioning the PageClass (if available), used memory, and processing time.
I'm using RequestCycleListener to do the crux of this.
When Wicket's using
I also tried requestCycle.setMetaData() but the metadata is also gone for the
next related request. :(
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/How-to-get-PageClass-from-BufferedResponseRequestHandler-And-how-to-link-related-requests-tp4666247p4666248.html
Sent
Hi,
BufferedResponseRequestHandler just serves BufferedWebResponse
instances, it doesn't know which page has generated for the buffered
response.
We already had another case, where this information would be valuable,
see my last comment on https://issues.apache.org/jira/browse/WICKET-5129
Hi,
On Mon, Jun 9, 2014 at 7:25 PM, kumar ramanathan kumarramana...@gmail.com
wrote:
Hi Paul,
Thanks So much i have succesfully displayed the data in table using
repeating view.The code is shown below.
HelloWorldApplication.java
package com.lnn.app;
import org.apache.wicket.Page;
Hi,
Yes, ThreadLocal, request attribute and request cycle's metadata won't do
it.
You can store this data in the Session but you must be careful because you
may have several requests (e.g. Ajax) in the same session simultaneously.
Using the request parameters is also possible but then this data
Thank you Martin.
Currently I went with this solution:
https://github.com/soluvas/soluvas-web/blob/3c3cb8a923e06522ccee156725196a8ab15fba0b/site/src/main/java/org/soluvas/web/site/metrics/ThreadMetricsRequestCycleListener.java
I'll follow your advice and just ignored it, then :)
Hendy
--
View
Dear Wicket developers,
As you may be aware, ApacheCon will be held this year in Budapest, on
November 17-21. (See http://apachecon.eu for more info.)
The Call For Papers for that conference is still open, but will be
closing soon. We need you talk proposals, to represent Wicket at
ApacheCon. We
Hi Martin,I have used the link code as you have suggested as below and
getting the error at setBody(Model.of(person.getId()))* The method
setBody(Model) is undefined for the type new Link(){} *.Code
used:repeatingView.add(new Link(repeatingView.newChildId()) {
public void onClick() {
https://github.com/apache/wicket/blob/master/wicket-core/src/main/java/org/apache/wicket/markup/html/link/AbstractLink.java#L124
Try harder ;-)
I write the code in my mail client, so it may have errors.
Use your IDE to fix them!
Martin Grigorov
Wicket Training and Consulting
On Fri, Jun 13,
Paul Bors wrote
http://ci.apache.org/projects/wicket/apidocs/6.0.x/org/apache/wicket/ajax/form/AjaxFormSubmitBehavior.html
Ajax event behavior that submits a form via ajax when the event it is
attached to, is invoked.”
You’re attaching the submit event so who fires that?
You are right, I
Hi Ernesto,
I have it like as following.
@Override
public void onSubmit(final AjaxRequestTarget target,
Form? form)
{
// The veil and the
Thanks for your response. Can you please kindly provide an outline or a few
lines of code to get me started. My particular concerns are:
1. How do I create an Ajax request and AjaxRequestTarget. Will this be
another Ajaxbehaviour. Sorry I should have learned this by now but...
2. How and
You can always redirect to an error page incase of exceptions / errors.
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/AJAX-update-and-file-download-on-Wicket-1-5-tp4095241p4666261.html
Sent from the Users forum mailing list archive at Nabble.com.
Well, that is exactly what we are trying to avoid. An error page is a must
fix bug.
Thanks.
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/AJAX-update-and-file-download-on-Wicket-1-5-tp4095241p4666262.html
Sent from the Users forum mailing list archive at
16 matches
Mail list logo