Don't use AjaxFormComponentUpdatingBehavior but use
DropDownChoice.wantOnSelectionChangedNotifications() instead.
On Mon, Jun 20, 2011 at 8:28 AM, Alec Swan alecs...@gmail.com wrote:
Hello,
I have a modal window which displays a page (using
ModalWindow.PageCreator()) with a DropDownChoice
Hi,
I guess, this is the same question as the 'WICKET-1190' issue.
Extending AjaxLazyLoadPanel and overriding the xhtml markup file and the
getLoadingComponent method causes, as soon as there is a child component in
the 'content' component, Close tag not found for tag exception.
wicket:panel
But how do I refresh the page in the modal window by overriding
DropDownChoice.wantOnSelectionChangedNotifications()? Where do I get
the handle to AjaxRequestTarget?
On Mon, Jun 20, 2011 at 12:25 AM, Martin Grigorov mgrigo...@apache.org wrote:
Don't use AjaxFormComponentUpdatingBehavior but use
read the javadoc of this method.
try it and come back here with further questions
using Ajax to reload the whole page is non-sense
On Mon, Jun 20, 2011 at 10:25 AM, Alec Swan alecs...@gmail.com wrote:
But how do I refresh the page in the modal window by overriding
Hi!
This: http://web.archiveorange.com/archive/v/yH01cximWIUPZlAGlPPF
It appears to be a YUI bug. YUILoader probably mistakes bookmarkable
url slashes /login/wicket:interface/... as real paths. For some reason
it tries to fetch resources from same url appending
Hi!
Actually to make it work (indestad of just suppressing the error on
serverside) do this:
protected void onBeginRequest() {
{
final String interfaceParameter = getRequest().getPath();
if ((!Utils.isEmpty(interfaceParameter))
Hi,
I'm not YUI user but I think YUILoader has something like baseUrl, so
configuring it will prevent errors like this, i.e. it will not confuse
with indexed params as part of the path.
The code below should probably be in HttpServletRequestWrapper. This
way it will work in Tomcat too.
On Mon,
Hi, I've been trying for some time now to localize a somewhat random
stackoverflow error. I've done an overhaul of the code and am now
convinced we no longer have any reference to the session object but we
still get StackOverflowErrors during page serialization.
This has probably been covered
Hi,
Wicket uses Java Serialization to do this. So the question is: What
are the do not's of Java Serialization ?
In Wicket 1.5 this is plugable so you can use something else than Java
Serialization (still the default impl).
Schema-less serialization frameworks like Kryo and XStream is quite
Hi!
1. Again: without this row or you get double effect:
((org.mortbay.jetty.Request) ((WebRequest)
getRequest()).getHttpServletRequest()).setServletPath(contextPath);
2011/6/20 Martin Grigorov mgrigo...@apache.org:
2.
I'm not YUI user but I think YUILoader has something like baseUrl, so
Hello,
Are you perhaps using your WebSession in a PropertyModel?
like new PropertyModel(getSession(), username) for example?
This way the web session might get serialized.
--
View this message in context:
No, we should not have any references to the session in models.
Thanks
Robert
On 06/20/2011 11:43 AM, Serban.Balamaci wrote:
Hello,
Are you perhaps using your WebSession in a PropertyModel?
like new PropertyModel(getSession(), username) for example?
This way the web session might get
Note that you can increase the max stack size, which sometimes too low
for given component structures. We run with the default for 64 bit
machines on our production boxes (-Xss1024k), but that is specific to
and sufficient for our application. Your application might just push
that boundary.
You
Besides me not being able to figure where we have done the wrong thing I
don't have a problem with the serialization in Wicket 1.4 :)
Regards
Robert
On 06/20/2011 11:40 AM, Martin Grigorov wrote:
Hi,
Wicket uses Java Serialization to do this. So the question is: What
are the do not's of Java
Interesting idea, but I'm pretty sure we get a cyclic reference
somewhere. (I'm basing that on the stacktrace below) which has been
somewhat edited for brevity:
[org.apache.wicket.Session] - Exception when detaching/serializing page
java.lang.StackOverflowError
...
at
I know this thread hasn't been active for a while but I thought I'd ask.
How can one perform form field validation if the form fields are inside the
panels contained in the forms?
The form itself will not now what fields are contained in the panels.
Thanks in advance,
Lucas
--
View this message
How can one perform form field validation if the form fields are inside the
panels contained in the forms?
Extend FormComponentPanel instead of Panel. That deals with the nesting.
- Tor Iver
-
To unsubscribe, e-mail:
if you have
div wicket:id=fooa wicket:id=bar//div
and you attach a panel to foo who is going to render bar?
-igor
On Sun, Jun 19, 2011 at 6:42 AM, pasto peter.pastr...@gmail.com wrote:
Hi,
I guess, this is the same question as the 'WICKET-1190' issue.
Extending AjaxLazyLoadPanel and
Thank you, for your replay. I understand your point, but is it really
necessary to have it rendered? What I was doing, was a component
replace. I just had the feeling, that the important part, is to have a
strict binding between components and markup files and not to restrict
the developer to
wicket traverses the hierarchy and renders all the tags. if you have a
tag with wicket:id in markup you must have it in java.
-igor
On Mon, Jun 20, 2011 at 8:10 AM, pasto peter.pastr...@gmail.com wrote:
Thank you, for your replay. I understand your point, but is it really
necessary to have it
On Thu, Jun 16, 2011 at 10:23 PM, Igor Vaynberg igor.vaynb...@gmail.com wrote:
give your component the dataprovider that the datatable has and use
that to calc visibility.
-igor
This does not work for me because:
a) my pages might have multiple providers, and each one of them might
change
I forgot to reply to this.
Your observations are absolutely correct.
I realized that I was using the ListView incorrectly, and recreating
it on each refresh.
No wonder I was losing my values. Now it works like a charm.
Thanks.
-Nelson
On Mon, Jun 6, 2011 at 1:29 PM, Pedro Santos
components are rendered in the same order they are in markup. how does
your component know now if the table is empty or not?
-igor
On Mon, Jun 20, 2011 at 9:37 AM, Nelson Segura nsegu...@gmail.com wrote:
On Thu, Jun 16, 2011 at 10:23 PM, Igor Vaynberg igor.vaynb...@gmail.com
wrote:
give your
I get two pageexpiredexception errors and I can't recreate the problem.
With an error like this, what would cause this type of page expired
exception error?
Do you think that the page actually expired? Or is there something
wrong with writing or reading from the page map file on disk.
I'm missing some fundamental concept here I think.
I've got an AutoCompleteTextField whose model I put as the same kind as in
the example found here:
what in the wicket framework causes setObject to be
called on a component's model so that it changes?
Normally each form component updates its model on form submit.
Note that in the example a |AjaxFormSubmitBehavior||onchange ||is
added to the field, thus the model is update|d on each change.
Thanks,
Is it bad practice to manually call the model's setObject method if I want
to change it on a non-form-submit action? Bottom line is I don't need this
autoCompleteTextField to be in a form.
--
View this message in context:
See AjaxFormComponentUpdatingBehavior.
Sven
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/models-and-autoCompleteTextField-tp3612033p3612245.html
Sent from the Users forum mailing list archive at Nabble.com.
I built a page with markup type = xml and set the content type and disposition
so that the file will download.
This is great except when there is a fatal exception thrown, my error page is
getting written to the downloaded file.
Any ideas how make the browser load the error page?
Only thought
i dont think there is a way once you start streaming with an
attachment header...
you can try rendering the page into memory and writing that out
instead - so then you at least know your page rendered ok.
-igor
On Mon, Jun 20, 2011 at 1:50 PM, Douglas Ferguson
doug...@douglasferguson.us wrote:
30 matches
Mail list logo