Hi Sven,
okay, I created a jira issue + quickstart:
https://issues.apache.org/jira/browse/WICKET-5655 . Hope that helps :)
Kind regards,
rza
2014-07-29 19:53 GMT+02:00 Sven Meier s...@meiers.net:
Hi,
I agree, that look bogus.
WICKET-3413 tried to improve on a similar issue though:
Hi everyone,
I think there is some kind of bug in the handling of CompoundPropertyModel
(or any IComponentInheritedModel).
In Component exists a Flag FLAG_INHERITABLE_MODEL - which is set to true
whenever a model is inherited from a parent, so that the model can be
nulled onDetach. Thing is: The
Hi,
the setModel(CompoundPropertyModel ...) actually KEEPS the
FLAG_INHERITABLE_MODEL on true
where is that?
Sven
On 07/29/2014 04:29 PM, Raoul Zander wrote:
Hi everyone,
I think there is some kind of bug in the handling of CompoundPropertyModel
(or any IComponentInheritedModel).
In
In Component.setModelImpl(IModel)
- rza
2014-07-29 16:37 GMT+02:00 Sven Meier s...@meiers.net:
Hi,
the setModel(CompoundPropertyModel ...) actually KEEPS the
FLAG_INHERITABLE_MODEL on true
where is that?
Sven
On 07/29/2014 04:29 PM, Raoul Zander wrote:
Hi everyone,
I think
Hi,
if I look for setFlag(FLAG_INHERITABLE_MODEL, true), it is called in
initModel() only.
Please paste the relevant code or even better create a quickstart.
Regards
Sven
On 07/29/2014 04:59 PM, Raoul Zander wrote:
In Component.setModelImpl(IModel)
- rza
2014-07-29 16:37 GMT+02:00 Sven
Hi,
the flag is not set to true - that's the problem :)
See the method Component.setModelImpl(IModel)
especially (Line 2981 in Wicket-Core 6.16.0):
if (getFlag(FLAG_INHERITABLE_MODEL) !(model instanceof
IComponentInheritedModel))
{
setFlag(FLAG_INHERITABLE_MODEL, false);
}
Which should
Hi,
I agree, that look bogus.
WICKET-3413 tried to improve on a similar issue though:
https://issues.apache.org/jira/browse/WICKET-3413
Wouldn't it be easier, just to always clear FLAG_INHERITABLE_MODEL in
#setDefaultModel(), i.e. when a model is set explicitely?
Please create a Jira
to update all components to use dynamic models.
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Back-button-issue-when-localizing-in-stateful-pages-tp4662260p4662461.html
Sent from the Users forum mailing list archive at Nabble.com
-issue-when-localizing-in-stateful-pages-tp4662260p4662326.html
Sent from the Users forum mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users
.1842946.n4.nabble.com/Back-button-issue-when-localizing-in-stateful-pages-tp4662260p4662326.html
Sent from the Users forum mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
} stays in german.
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Back-button-issue-when-localizing-in-stateful-pages-tp4662260p4662342.html
Sent from the Users forum mailing list archive at Nabble.com
this message in context:
http://apache-wicket.1842946.n4.nabble.com/Back-button-issue-when-localizing-in-stateful-pages-tp4662260p4662262.html
Sent from the Users forum mailing list archive at Nabble.com.
-
To unsubscribe, e-mail
.
I thought that back action should behave exactly the same when you
navigating the site using wicket controls.
Should I override back action somehow and do it myself?
--
View this message in context: http://apache-wicket.1842946.
n4.nabble.com/Back-button-issue-when-localizing-in-stateful
here :). Shouldn't it be consistent?
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Back-button-issue-when-localizing-in-stateful-pages-tp4662260p4662319.html
Sent from the Users forum mailing list archive at Nabble.com
will get different results
when backing to older page version?
I am really not getting the thing here :). Shouldn't it be consistent?
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Back-button-issue-when-localizing-in-stateful-pages-tp4662260p4662319.html
Sent from
question related to this topic (sorry for that spam):
1. Is there a way to restore locale for dynamic models when navigating
between page versions?
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Back-button-issue-when-localizing-in-stateful-pages-tp4662260p4662323
last question related to this topic (sorry for that spam):
1. Is there a way to restore locale for dynamic models when navigating
between page versions?
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Back-button-issue-when-localizing-in-stateful-pages
://apache-wicket.1842946.n4.nabble.com/file/n4662326/versionLocale.zip
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Back-button-issue-when-localizing-in-stateful-pages-tp4662260p4662326.html
Sent from the Users forum mailing list archive at Nabble.com
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Wicket-localization-in-stateful-pages-tp4662260.html
Sent from the Users forum mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: users
.nabble.com/file/n4662260/versionLocale.zip
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Wicket-localization-in-stateful-pages-tp4662260.html
Sent from the Users forum mailing list archive at Nabble.com
:
http://apache-wicket.1842946.n4.nabble.com/Back-button-issue-when-localizing-in-stateful-pages-tp4662260p4662262.html
Sent from the Users forum mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: users-unsubscr
Hello,
After investigating why some of my stateful pages had a ?n redirect
while others did not, I think I found a bug with the stateless page
checking.
My test case is a page containing only an AjaxFallbackDefaultDataTable,
but it can be reduced to a page containing a ListView
On Wed, Aug 7, 2013 at 7:48 PM, Bertrand Guay-Paquet ber...@step.polymtl.ca
wrote:
Hello,
After investigating why some of my stateful pages had a ?n redirect while
others did not, I think I found a bug with the stateless page checking.
My test case is a page containing only
On Wed, 07 Aug 2013 13:48:38 -0400
Bertrand Guay-Paquet ber...@step.polymtl.ca wrote:
The problem I see is that AbstractRepeater's onPopulate() is called
during onBeforeRender() and this is not done when the stateless
status of the page is first checked. Therefore, no pageId is added
unless
My changes for WICKET-4995 are probably to blame for this.
Let's await the quickstart.
Sven
On 08/07/2013 07:56 PM, Martin Grigorov wrote:
On Wed, Aug 7, 2013 at 7:48 PM, Bertrand Guay-Paquet ber...@step.polymtl.ca
wrote:
Hello,
After investigating why some of my stateful pages had a ?n
Hi all,
It takes us more time to work around Wicket bugs than the gain of
using Wicket's statefulness.
It is productive to use Wicket's AJAX and passing around IModel
between pages.
But when doing this we get bugs where page links are no longer
bookmarkable even if the pages are in fact
Dear all,
I've spent quite a bit of time tracking down a problem I'm having using
wicket and stateful pages.
I've enabled the jsessionid url rewriting in tomcat (by simply using the
default settings) but I get a redirect url without the jsessionid.
I've traced into tomcat's Response.encodeUrl
Hi,
On Wed, Nov 16, 2011 at 2:29 PM, thomas willomitzer
willomit...@gmail.com wrote:
Dear all,
I've spent quite a bit of time tracking down a problem I'm having using
wicket and stateful pages.
I've enabled the jsessionid url rewriting in tomcat (by simply using the
default settings) but I
, Martin Grigorov mgrigo...@apache.orgwrote:
Hi,
On Wed, Nov 16, 2011 at 2:29 PM, thomas willomitzer
willomit...@gmail.com wrote:
Dear all,
I've spent quite a bit of time tracking down a problem I'm having using
wicket and stateful pages.
I've enabled the jsessionid url rewriting
wicket and stateful pages.
I've enabled the jsessionid url rewriting in tomcat (by simply using the
default settings) but I get a redirect url without the jsessionid.
I've traced into tomcat's Response.encodeUrl and saw that the jsessionid
is
in fact appended (but later removed for in page
a problem I'm having
using
wicket and stateful pages.
I've enabled the jsessionid url rewriting in tomcat (by simply using
the
default settings) but I get a redirect url without the jsessionid.
I've traced into tomcat's Response.encodeUrl and saw that the
jsessionid
is
in fact
willomitzer
willomit...@gmail.com wrote:
Dear all,
I've spent quite a bit of time tracking down a problem I'm having
using
wicket and stateful pages.
I've enabled the jsessionid url rewriting in tomcat (by simply using
the
default settings) but I get a redirect url without
she will go to the previous
page instead of to the previous version of that page. This way she
will always see the last state of the page.
On Fri, Sep 16, 2011 at 2:24 AM, hok ivanvasi...@gmail.com wrote:
Thanks Martin,
your solution seems to work. There are two cases where I need stateful pages
revisions (currently in
1.5-SNAPSHOT) this technique doesn't work anymore - the ajax in the pages
using NoPageIdMountedMapper is not working, because the ajax request url
doesn't contain the page id anymore.
Is it still possible to have stateful pages without having the page id in
the url? Thanks
) this technique doesn't work anymore - the ajax in the pages
using NoPageIdMountedMapper is not working, because the ajax request url
doesn't contain the page id anymore.
Is it still possible to have stateful pages without having the page id in
the url? Thanks in advance.
--
View this message
NoPageIdMountedMapper the ajax in the page is not working. So is there
another way besides this for achieving stateful page without page id in the
url?
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Stateful-pages-without-page-Id-in-the-url-tp3816663p3816779.html
Sent from the Users
this for achieving stateful page without page id in the
url?
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Stateful-pages-without-page-Id-in-the-url-tp3816663p3816779.html
Sent from the Users forum mailing list archive at Nabble.com
Thanks Martin,
your solution seems to work. There are two cases where I need stateful pages
without page id.
The first one is for purely aesthetic reasons and concerns bookmarkable
pages which can be opened with page parameters.
The second is a bit more important. I have a user profile page
it
causes a myriad of problems. But of course your mileage may vary. :)
Regards,
Dan
On Thu, Sep 15, 2011 at 4:24 PM, hok ivanvasi...@gmail.com wrote:
Thanks Martin,
your solution seems to work. There are two cases where I need stateful
pages
without page id.
The first one is for purely aesthetic
Hi all,
I have some doubts regarding the /stateful Wicket page/ of Wicket.
I have one page with three components.
1.Label
2.TextFieldString
3.TextFieldInteger.
1. What will be stateful?
2. What will be stored in the session? for example whole page or only
the component that is
Hiren Patel wrote:
Hi all,
I have some doubts regarding the /stateful Wicket page/ of Wicket.
I have one page with three components.
1.Label
2.TextFieldString
3.TextFieldInteger.
1. What will be stateful?
2. What will be stored in the session? for example whole page or only
the
On Fri, Sep 10, 2010 at 8:09 AM, Hiren Patel
hiren_pa...@kaleconsultants.com wrote:
Hi all,
I have some doubts regarding the /stateful Wicket page/ of Wicket.
I have one page with three components.
1.Label
2.TextFieldString
3.TextFieldInteger.
1. What will be stateful?
form wicket:id=testform
select wicket:id=testselect/select
/form
/body
/html
--
View this message in context:
http://www.nabble.com/DropDownChoice%2C-PropertyModel-and-stateful-pages-tp18606819p18606819.html
Sent from the Wicket - User mailing list archive
/form
/body
/html
-
Michael Sparer
http://talk-on-tech.blogspot.com
--
View this message in context:
http://www.nabble.com/DropDownChoice%2C-PropertyModel-and-stateful-pages-tp18606819p18607288.html
Sent from the Wicket - User mailing list archive at Nabble.com
=testform
select wicket:id=testselect/select
/form
/body
/html
--
View this message in context:
http://www.nabble.com/DropDownChoice%2C-PropertyModel-and-stateful-pages-tp18606819p18606819.html
Sent from the Wicket - User mailing list archive at Nabble.com
://www.nabble.com/DropDownChoice%2C-PropertyModel-and-stateful-pages-tp18606819p18607288.html
Sent from the Wicket - User mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands
http://talk-on-tech.blogspot.com
--
View this message in context:
http://www.nabble.com/DropDownChoice%2C-PropertyModel-and-stateful-pages-tp18606819p18607288.html
Sent from the Wicket - User mailing list archive at Nabble.com
);
--
View this message in context:
http://www.nabble.com/DropDownChoice%2C-PropertyModel-and-stateful-pages-tp18606819p18607771.html
Sent from the Wicket - User mailing list archive at Nabble.com.
-
To unsubscribe, e-mail
On Wed, Jul 23, 2008 at 12:25 PM, pixologe [EMAIL PROTECTED] wrote:
there are methods:
setResponsePage(java.lang.Class cls)
setResponsePage(java.lang.Class cls, PageParameters parameters)
setResponsePage(Page page)
but not:
setResponsePage(Page page, PageParameters parameters)
correct.
is
was set.
--
View this message in context:
http://www.nabble.com/DropDownChoice%2C-PropertyModel-and-stateful-pages-tp18606819p18607950.html
Sent from the Wicket - User mailing list archive at Nabble.com.
-
To unsubscribe, e-mail
]
--
View this message in context:
http://www.nabble.com/DropDownChoice%2C-PropertyModel-and-stateful-pages-tp18606819p18608007.html
Sent from the Wicket - User mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: [EMAIL
this message in context:
http://www.nabble.com/DropDownChoice%2C-PropertyModel-and-stateful-pages-tp18606819p18615095.html
Sent from the Wicket - User mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: [EMAIL PROTECTED
52 matches
Mail list logo