In 1.4 we had used:
getPageSettings().setAutomaticMultiWindowSupport(false);
and everything worked perfectly without making any of our model objects
serializable.
With 1.5 that method is no longer available and it's causing us to make
the model object serializable but that's causing a few
Why not simply wrap your objects in a LoadableDetachableModel? That way
you don't need to force serializable objects in your code.
/Rob
On 10/05/2011 08:52 AM, Chris Colman wrote:
In 1.4 we had used:
getPageSettings().setAutomaticMultiWindowSupport(false);
and everything worked perfectly
Hi Group,
I have added a AbstractAjaxBehavior to WebPage to recieve a 'post' request
from JavaScript (.ajax post). During the onRequest method an error could occur
and I want to display this in the FeedbackPanel. When I attempt to use the
error(..) or info(..) method the following WARNING
Hi,
Why do you use AbstractAjaxBehavior instead of AbstractDefaultAjaxBehavior?
AbstractDefaultAjaxBehavior passes you an instance of
AjaxRequestTarget which you can use to add the feedback panel and show
the feedback message. It writes a special XML back to the browser
which wicket-ajax.js
Hi,
Page ids are session relative. I.e. different users may have the same
page id. The actual key is (sessionId, pageId).
Better dump the stacktraces and see why the thread that acquired the
lock needs more than a minute for it to do its job.
On Tue, Oct 4, 2011 at 8:37 PM, Jim Pinkham
The closest is
org.apache.wicket.request.mapper.parameter.PageParameters.getAllNamed()
You can write a helper function to convert it to MapString. String[])
On Tue, Oct 4, 2011 at 8:42 PM, splitshade martin.dil...@googlemail.com wrote:
Hi,
in 1.5 the Method toRequestParameters in class
Thanks Martin,
I am still learning so AbstractAjaxBehavior was my first choice. No reason...
I have changed it to AbstractDefaultAjaxBehavior and added the following code
to the respond method.
target.addComponent(feedback);
error(errorMessage);
On Wed, Oct 5, 2011 at 1:02 PM, Tate Jones t...@bluedog.com.au wrote:
Thanks Martin,
I am still learning so AbstractAjaxBehavior was my first choice. No reason...
I have changed it to AbstractDefaultAjaxBehavior and added the following code
to the respond method.
No filters.
response() method did have this at the end.
IRequestTarget t = new StringRequestTarget(application/json,
UTF-8, jsonAck);
getRequestCycle().setRequestTarget(t);
Once I removed this the warning message disappeared, however the feedback panel
still
On Wed, Oct 5, 2011 at 2:11 PM, Tate Jones t...@bluedog.com.au wrote:
No filters.
response() method did have this at the end.
IRequestTarget t = new StringRequestTarget(application/json,
UTF-8, jsonAck);
getRequestCycle().setRequestTarget(t);
As I said you
Our domain model has about 335 persistent classes so that won't be an overnight
task ;)
-Original Message-
From: Robert Dahlström [mailto:robert.dahlst...@ongame.com]
Sent: Wednesday, 5 October 2011 6:24 PM
To: users@wicket.apache.org
Subject: Re: Is it possible to turn off page
On Wed, Oct 5, 2011 at 2:40 PM, Chris Colman
chr...@stepaheadsoftware.com wrote:
Our domain model has about 335 persistent classes so that won't be an
overnight task ;)
I don't remember what exactly #setAutomaticMultiWindowSupport(false)
did in 1.4 but its main task for sure wasn't to disabled
Hi,
sure I can, I just wanted to make sure, that I haven´t overseen
an already implemented solution.
Thank you Martin.
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Upgrade-1-5-PageParameters-toRequestParameters-tp3871781p3874199.html
Sent from the Users forum
Hi,
I have a rather strange behavior, and I don´t know what I´m doing wrong.
Before I open a Bug, I would like to hear some opinions, why this works this
way.
I try the following (in Pseudocode):
tester = new WicketTester();
tester.startComponentInPage(new Label(test,hello);
But that kills the complete back button support right?
Do pages increment their version then?
On Wed, Oct 5, 2011 at 13:47, Martin Grigorov mgrigo...@apache.org wrote:
On Wed, Oct 5, 2011 at 2:40 PM, Chris Colman
chr...@stepaheadsoftware.com wrote:
Our domain model has about 335 persistent
On Wed, Oct 5, 2011 at 4:15 PM, Johan Compagner jcompag...@gmail.com wrote:
But that kills the complete back button support right?
right!
Do pages increment their version then?
yes. each new page gets its id during construction from the session counter.
if Page#isVersioned() returns 'false'
On Wed, Oct 5, 2011 at 15:21, Martin Grigorov mgrigo...@apache.org wrote:
yes. each new page gets its id during construction from the session counter.
if Page#isVersioned() returns 'false' then it will not create new
versions of that page
i see that giving a custom IPageManager is also already
On Wed, Oct 5, 2011 at 4:33 PM, Johan Compagner jcompag...@gmail.com wrote:
On Wed, Oct 5, 2011 at 15:21, Martin Grigorov mgrigo...@apache.org wrote:
yes. each new page gets its id during construction from the session counter.
if Page#isVersioned() returns 'false' then it will not create new
no we didn't use the diskpage store and so on
We still used what wicket did have before that, so with the Change
recorder and so on.
That works for us. Yes our pages are not serializable but for our
clustering we have for example Terracotta
On Wed, Oct 5, 2011 at 15:41, Martin Grigorov
Hi,
I agree with you, that's a little ambiguous. Why
'getComponentFromLastRenderedPage' uses 'startComponent'? Shouldn't be
'path' an absolute path to the component on the page?
Hi,
I have a rather strange behavior, and I don´t know what I´m doing wrong.
Before I open a Bug, I would like
Please create a new ticket and add a working quickstart application.
Thanks!
On Wed, Oct 5, 2011 at 6:38 PM, coincoinfou olivierandr...@gmail.com wrote:
Hello,
do you consider reopen http://
https://issues.apache.org/jira/browse/WICKET-3869 ?
--
View this message in context:
How did you store non-serializable objects in the http session (http
store) in 1.4 ?
The session attributes should be serializable if you need clustering
and/or session persistence.
I guess you just didn't use any of these features.
We just have a single server (no clustering) with plenty of
-Original Message-
From: Johan Compagner [mailto:jcompag...@gmail.com]
Sent: Thursday, 6 October 2011 12:46 AM
To: users@wicket.apache.org
Subject: Re: Is it possible to turn off page serialization in 1.5?
no we didn't use the diskpage store and so on
We still used what wicket did have
We dont use clustering either. Most of our objects are serializable,
but I am thinking on turning off the page store. What will the effects
of turning off versioning in the IPageManager. I never had conscious
use for the page store. What will I miss?
Hello,
I need a help understanding an error I'm receiving.
We have a screen divided into 2 pieces. Left side acts almost independently
from the right. Everything works until a call is made and entire right side
swapped out for another content (A call to .replace(Component) is made).
Expected
Hi all,
I want to remove the form component after hitting submit button and display
a loading animated gif.
After ajax submit operation finished, i want to display a new panel instead
of form component which has a button to generate a new form page..I think I
can swap the panels into onSubmit
If you override AjaxSubmitLink#getAjaxCallDecorator() you can add JavaScript
to the link's onclick attribute to show your animated gif. When the AJAX
request eventually returns, it can replace whatever container has the gif.
On Wed, Oct 5, 2011 at 2:51 PM, wholalotta ardaas...@gmail.com wrote:
It's fixed now. Someone has checked into version control html with
wicket:header section. That section sent to browser incompatible javascript
that caused wicket to fail.
Thanks,
Dave
On Wed, Oct 5, 2011 at 4:23 PM, Dawid Dudzinski dawi...@gmail.com wrote:
Hello,
I need a help understanding
Please create a ticket with a quickstart.
Thanks!
On Wed, Oct 5, 2011 at 6:14 PM, Andrea Del Bene adelb...@ciseonweb.it wrote:
Hi,
I agree with you, that's a little ambiguous. Why
'getComponentFromLastRenderedPage' uses 'startComponent'? Shouldn't be
'path' an absolute path to the component
On Thu, Oct 6, 2011 at 1:08 AM, Dan Retzlaff dretzl...@gmail.com wrote:
If you override AjaxSubmitLink#getAjaxCallDecorator() you can add JavaScript
to the link's onclick attribute to show your animated gif. When the AJAX
request eventually returns, it can replace whatever container has the
30 matches
Mail list logo