I've considered stateless but I don't want google to follow any of my
ajax links so I don't really need it (I think). I only want google to
index my home page, but I can't provide a direct link with the HybridUrl
strategy as far as I know. Also I've got a custom RequestCycle so I've
got an in
Hi,
To avoid the redirect the page should be stateless. You can use
Jolira's stateless Ajax behaviors/components instead.
On Tue, Jun 21, 2011 at 9:16 AM, Phil Franken wrote:
> I've mapped my home page to "home" usingHybridUrlCodingStrategy.
>
> Testing with http://www.internetofficer.com/seo-to
I've mapped my home page to "home" usingHybridUrlCodingStrategy.
Testing with http://www.internetofficer.com/seo-tool/redirect-check/
shows a 302 redirect for;
"domain.com" to "domain.com/home.0"
"domain.com/home" to "domain.com/home.1"
Google does not like the redirect and is reporting a red
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
wrote:
> I built a page with marku
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
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.
-
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:
http://apache-wicket.1842946.n4.nabble.com/models-and-autoComplet
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.
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:
http://wicketstuff.org/wicket14/ajax/autocomplete.0;jsessionid=635817B09A5AC9E57C5553053D9C090F?wicket:bookmarkablePage=sources:org.apache.wicket.e
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.
ERROR
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 wrote:
> On Thu, Jun 16, 2011 at 10:23 PM, Igor Vaynberg
> wrote:
>> give your component the dataprovider that the d
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 wrote:
> Hi Ne
On Thu, Jun 16, 2011 at 10:23 PM, Igor Vaynberg 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 the state of the heade
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 wrote:
> Thank you, for your replay. I understand your point, but is it really
> necessary to have it rendered? What I was do
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 manip
if you have
and you attach a panel to "foo" who is going to render "bar"?
-igor
On Sun, Jun 19, 2011 at 6:42 AM, pasto wrote:
> Hi,
>
> I guess, this is the same question as the 'WICKET-1190' issue.
>
> Extending AjaxLazyLoadPanel and overriding the xhtml markup file and the
> getLoadingCompon
> 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: users-u
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
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 java.io.Ob
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
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 mi
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 seriali
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:
http://apache-wicket.1842946.n4.nabble.com/Locating-StackOverflowErrors-tp3610868p36109
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 :
2.
> I'm not YUI user but I think YUILoader has something like baseUrl, so
> configuring it will pre
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 easy
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,
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, J
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)) &&
interfaceParameter.contains(WebR
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
/login/wicket:interface/resources..
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 wrote:
> But how do I refresh the page in the modal window by overriding
> DropDownChoice.wantOnSelectionChangedNotificat
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 wrote:
> Don't use AjaxFormComponentUpdatingBehavior but use
> DropDownChoice.wan
31 matches
Mail list logo