Hi,
You can use IResponseFilter to check the content of the response (as
String) and then set the custom status code.
MyApp#init(): getRequestCycleSettings().add(new MyCustomResponseFilter())
You may also need to set the 'Location' response header just in case
something in the middle tries to
Only the parent page can have head.
The children pages should use wicket:head to contribute to the parent's head
Or just override #renderHead(IHeaderResponse) in .java.
On Sun, Jul 29, 2012 at 5:48 PM, kshitiz k.agarw...@gmail.com wrote:
Hi,
I have 3 pages:
*Page1:*
!DOCTYPE html PUBLIC
It works perfectly with Wicket 6
Francois
-
François Meillet
Développeur Wicket - indépendant - Paris - IDF
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Wicket-Ajax-callback-onTimer-method-not-called-tp4650851p4650863.html
Sent from the Users forum mailing
Hey Francois,
thanks for your answer.
Wicket 6 is a beta version. Is it stable?
I think the problem is, when I call in an ajax callback function like
onTimer() a panel or something else with also an ajax callback function,
the child header javascript for the ajax request is not set in the
Definitely ! you should use Wicket 6.x.x which is nearly in final release.
The 6.0.0-beta3 is already very stable.
François
-
François Meillet
Développeur Wicket - indépendant - Paris - IDF
--
View this message in context:
So, if put JS in page3, why it is not working? After all, it is the root
one...
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Where-to-add-javascript-in-html-pages-which-follow-inheritance-relationship-tp4650855p4650866.html
Sent from the Users forum mailing list
page2.html doesn't have any wicket:extend inside
On Mon, Jul 30, 2012 at 3:47 PM, kshitiz k.agarw...@gmail.com wrote:
So, if put JS in page3, why it is not working? After all, it is the root
one...
--
View this message in context:
Francois Meillet wrote
It works perfectly with Wicket 6
Francois
I migrate my project from wicket 1.5.X to 6.0.0-beta3. I can confirm, the
bug is lost =)
Thanks for all
Alex
--
View this message in context:
OkkI was thinking this as a possibility..thanks for clarifying my
doubt...:)
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Where-to-add-javascript-in-html-pages-which-follow-inheritance-relationship-tp4650855p4650869.html
Sent from the Users forum mailing list
hi,
Sorry to disturb you again but I am trying out this code but it is not
working:
*Page1:*
!DOCTYPE html PUBLIC quot;-//W3C//DTD XHTML 1.0
Strict//ENquot;quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtdquot;
html xmlns=http://www.w3.org/1999/xhtml; xml:lang=en lang=en
I assume the quot; entities aren't really there in the code?
From: kshitiz k.agarw...@gmail.com
To: users@wicket.apache.org
Date: 07/30/2012 09:16 AM
Subject:Re: Where to add javascript in html pages which follow
inheritance relationship.
hi,
Sorry to disturb you again but
Nothat appeared as a replacement of in the forum...
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Where-to-add-javascript-in-html-pages-which-follow-inheritance-relationship-tp4650855p4650873.html
Sent from the Users forum mailing list archive at Nabble.com.
Hi there ..
Setup a panel that covers both, a facebook-login button and a user state
sensitive link.
The link should be disabled unless we find a user in the session.
The Ajax FB link looks like:
AjaxLink fbLink = new AjaxLink(fb) {
public void onClick(AjaxRequestTarget target)
Hello,
Wicket 6 final won't take long.
Good to know !
I'm not sure about the Wicket 1.5 ordering, but in Wicket 6, header items are
rendered child-first in the component hierarchy. For every component,
wicket:head is rendered first, followed by the header contributions in the
Java code.
Hi,
I am trying to delete 2 cookies by using the code:
*Cookie emailIdCookie = ((WebRequest)
getRequestCycle()
.getRequest()).getCookie(emailId);
Cookie passwordCookie =
As well as setting the max age to zero, I also set the cookie's path to /.
kshitiz wrote
Hi,
I am trying to delete 2 cookies by using the code:
*Cookie emailIdCookie = ((WebRequest)
getRequestCycle()
We are trying to write some tests using FormTester.
We are setting values on a text field and then submitting the form.
The form is erroring out because the field is required.
Does anybody have any ideas why the value is not getting set properly?
Douglas
Thnx..:) It is working now...we need to set path then...
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Cookies-not-getting-deleted-tp4650876p4650880.html
Sent from the Users forum mailing list archive at Nabble.com.
18 matches
Mail list logo