Re: How to build a hudson/jenkins like live log viewer?

2011-11-21 Thread James
Thanks everybody. I finally managed to display the content of an active log file. As mentioned in the earlier responses, all you need is two labels. *Markup*: div id=logData wicket:id=logData/div div id=nextLog wicket:id=nextLog/div *Java*: Create the logData label as you would normally

Re: Button with 3 images and issues

2011-11-21 Thread D0m3
Oh sorry, on the forum I used the raw tag and it looks good. What should I actually use ? I added spaces, hope it works. Hello everybody, I am starting a wicket project for the first time, and I created a button made of 3 images with html css. Here is my html : button class=buttonLeft span

Re: unit testing cookies after redirect

2011-11-21 Thread Martin Grigorov
Hi, I have also noticed that once but didn't have time to investigate it further and later I forgot about it ... Can you create a simple quickstart and attach it to Jira. On Sun, Nov 20, 2011 at 10:41 PM, kamiseq kami...@gmail.com wrote: hej, well I tried to follow the cookies in wicket

Re: AjaxEditableLabel inside of AjaxEditableLabel

2011-11-21 Thread Martin Grigorov
See jQuery#stopPropagation() On Sun, Nov 20, 2011 at 8:02 PM, Alec Swan alecs...@gmail.com wrote: Anybody can help with stopping propagation of events from inner editable label to the outer editable label? Thanks On Fri, Nov 18, 2011 at 3:45 PM, Alec Swan alecs...@gmail.com wrote: I am not

Re: URL with root parameters

2011-11-21 Thread Per Newgro
I don't understand the first part of your problem. How do you use the images. In other pages? Located in markup? Some code could really be useful here. On the second part: How do you call the page? Do you provide the page parameters of anchor to constructed page? Some code could really be

Re: RestartResponseAtInterceptPageException from onClick

2011-11-21 Thread kamiseq
ok thanks for quick replay, I think there should be more info in javadoc about the intension fo the exception and continueToOriginalDestination method pozdrawiam Paweł Kamiński kami...@gmail.com pkaminski@gmail.com __ On 21 November 2011 03:40, Bertrand Guay-Paquet

Re: unit testing cookies after redirect

2011-11-21 Thread kamiseq
ok I ll do it this week thanks pozdrawiam Paweł Kamiński kami...@gmail.com pkaminski@gmail.com __ On 21 November 2011 09:52, Martin Grigorov mgrigo...@apache.org wrote: Hi, I have also noticed that once but didn't have time to investigate it further and later I

Difference b/w SetoutputMarkupId(true) and SetOutputMarkupHolderTag(true?)

2011-11-21 Thread raju.ch
Can anyone tell me the difference b/w SetoutputMarkupId(true) and SetOutputMarkupHolderTag(true)? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Difference-b-w-SetoutputMarkupId-true-and-SetOutputMarkupHolderTag-true-tp4091035p4091035.html Sent from the Users forum

Re: URL with root parameters

2011-11-21 Thread intmanch
This is the head of my HomePage.html: html class=ui-mobile head titletagmagic.com/title link rel=stylesheet href=http://www.server.com/acn/site/css/jquery.mobile-1.0a3.min.css; / /head As you can see I've to point the css and js to an external url as if I put it as

Re: Difference b/w SetoutputMarkupId(true) and SetOutputMarkupHolderTag(true?)

2011-11-21 Thread Matthias Keller
Hi setOutputMarkupId sets the id attribute of the HTML tag. This generally must be set if the tag shall be updated by AJAX setOutputMarkupPlaceholderTag has the effect that a *hidden* component is still added to the HTML tree but - hidden. This is used, if the component is initially not

Re: Difference b/w SetoutputMarkupId(true) and SetOutputMarkupHolderTag(true?)

2011-11-21 Thread Ernesto Reinaldo Barreiro
setOutputMarkupHolderTag(true) is there for the use case where you want to place an empty element (e.g. an empty div with an ID assigned to it) and later on replace it, via AJAX, with real contents. E.g. final WebMarkupContainer div = new WebMarkupContainer(div); div.setVisible(false);

Re: URL with root parameters

2011-11-21 Thread Per Newgro
For the first point: What is the goal? Load the css from external url or put it in the application? The first should work with the link you've provided. If you want to load the css from within the application you have to do some more. First you have to introduce your css-resouce to the

Re: Difference b/w SetoutputMarkupId(true) and SetOutputMarkupHolderTag(true?)

2011-11-21 Thread raju.ch
Thank you very much -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Difference-b-w-SetoutputMarkupId-true-and-SetOutputMarkupHolderTag-true-tp4091035p4091182.html Sent from the Users forum mailing list archive at Nabble.com.

Re: Difference b/w SetoutputMarkupId(true) and SetOutputMarkupHolderTag(true?)

2011-11-21 Thread raju.ch
Thank you very much -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Difference-b-w-SetoutputMarkupId-true-and-SetOutputMarkupHolderTag-true-tp4091035p4091183.html Sent from the Users forum mailing list archive at Nabble.com.

Re: Problem with check / uncheck all using CheckGroupSelector

2011-11-21 Thread massizigao
Hello Carl-Eric, Thank you for your answer. I already tried the 1) approch. The problem is that the check and uncheck all is working, but the Set of the selected values (selectedValues) is not getting populated. When i use the CheckBox/AjaxCheckBox class the check and uncheck all does not work

Re: Can't Reset Form After DropDownChoice OnChange Handled

2011-11-21 Thread Richard W. Adams
The form just has a standard HTML reset button: input wicket:id=reset-button type=reset value=Reset / There's no special code associated with the button. Should there be? I looked at Wicket in Action, but it doesn't seem to address this issue. RAM /abr./: Rarely Adequate Memory. From:

Re: Models in a FormComponentPanel

2011-11-21 Thread Martin Grigorov
Hi, See org.apache.wicket.extensions.yui.calendar.DateTimeField.convertInput() for example On Mon, Nov 21, 2011 at 5:20 AM, infiniter infini...@gmail.com wrote: I've created a FormComponentPanel to represent the current time which consists of 3 drop downs for hour and minute and meridiem. The

What's replaced org.apache.wicket.request.target.basic.URIRequestTargetUrlCodingStrategy in 1.5?

2011-11-21 Thread Richard Care
Hi Wicketeers, I want to capture requests to sub-pagesof a specific URL (e.g. http://host/root-page/42 as a sub-page of http://host/root-page/) and then respond with XML that's based on the current state of the site and the tail of the URL (e.g. 42) I've used

Re: What's replaced org.apache.wicket.request.target.basic.URIRequestTargetUrlCodingStrategy in 1.5?

2011-11-21 Thread Martin Grigorov
Hi, **UrlCodingStrategy interface and all its impls were replaced with IRequestMapper and its impls. These examples weren't migrated mostly because there were no tests for them. Read http://wicketinaction.com/2011/07/wicket-1-5-request-mapper/ and the next two articles for more about

Re: Models in a FormComponentPanel

2011-11-21 Thread infiniter
I cannot replace it at this point of the development... I just need to able to get accurate date from its model object. Also I really want to learn how to accomplish this. -- View this message in context:

Re: Problem with check / uncheck all using CheckGroupSelector

2011-11-21 Thread massizigao
Perhaps it can help: when using CheckBox or AjaxCheckBox the WICKET AJAX DEBUG is showing this error: -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Problem-with-check-uncheck-all-using-CheckGroupSelector-tp4083663p4092093.html Sent from the Users forum mailing

Contract opportunity

2011-11-21 Thread Matt Pavlovich
Media Driver has a contract opportunity open for an experienced Wicket developer. This is not a full time position, but we are open to a flexible after hours type arrangement. However, this is a customer facing project and making deadlines is crucial. Requirements: * Walk us through the

blog: integrating jpa/hibernate into wicket and cdi

2011-11-21 Thread Igor Vaynberg
just wrote a new blog entry on how to integrate jpa with cdi and wicket https://www.42lines.net/2011/11/21/adding-jpahibernate-into-the-cdi-and-wicket-mix/ -igor - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For

Re: unit testing continueToOriginalDestination

2011-11-21 Thread Igor Vaynberg
create a special test page that throws a RestartResponseAtInterceptPageException with the page you want to test. -igor On Sun, Nov 20, 2011 at 6:29 AM, kamiseq kami...@gmail.com wrote: hej, Im a bit stuck, I tried to search something but all resources points to older version and it seems that

Re: URLs with page id and Component.isVersioned

2011-11-21 Thread Igor Vaynberg
make your page stateless and it will not have the page id in the url. -igor On Sun, Nov 20, 2011 at 2:27 PM, hok ivanvasi...@gmail.com wrote: Hello, this issue has been discussed previously (http://apache-wicket.1842946.n4.nabble.com/Stateful-pages-without-page-Id-in-the-url-td3816663.html).

Re: wicket url encoding: ClassCastException using SunJceCrypt

2011-11-21 Thread lesterburlap
lesterburlap wrote Caused by: java.lang.ClassCastException: com.sun.crypto.provider.PBEKeyFactory$PBEWithMD5AndDES cannot be cast to javax.crypto.SecretKeyFactorySpi at javax.crypto.SecretKeyFactory.getInstance(Unknown Source) at

Re: unit testing continueToOriginalDestination

2011-11-21 Thread kamiseq
it sounds like a plan ;] I thought it will be something in wicket tester, thanks for a hint anyway ;] pozdrawiam Paweł Kamiński kami...@gmail.com pkaminski@gmail.com __

Re: unit testing continueToOriginalDestination

2011-11-21 Thread Igor Vaynberg
We can build it in...open a jira and attach a patch :) -igor On Nov 21, 2011 10:51 AM, kamiseq kami...@gmail.com wrote: it sounds like a plan ;] I thought it will be something in wicket tester, thanks for a hint anyway ;] pozdrawiam Paweł Kamiński kami...@gmail.com

Re: LoadableDetachableModel getObject not final

2011-11-21 Thread Tito
Hi Igor, Exactly, that is the reason because I'm proposing to make getObject final. I think it's not ok to override getObject. What do you think? 2011/11/18 Igor Vaynberg igor.vaynb...@gmail.com getObject() is what defines the contract of load(). if we make it overridable the user can then

Re: unit testing continueToOriginalDestination

2011-11-21 Thread kamiseq
again sounds like a plan ;] ok, I will try to do that at the end of the week pozdrawiam Paweł Kamiński kami...@gmail.com pkaminski@gmail.com __ 2011/11/21 Igor Vaynberg igor.vaynb...@gmail.com We can build it in...open a jira and attach a patch :) -igor On Nov 21,

Re: LoadableDetachableModel getObject not final

2011-11-21 Thread Igor Vaynberg
ah, lol. I thought it was final now and you wanted to make non final... :) open a jira... -igor On Nov 21, 2011 11:36 AM, Tito njyt...@gmail.com wrote: Hi Igor, Exactly, that is the reason because I'm proposing to make getObject final. I think it's not ok to override getObject. What do you

Re: Can't Reset Form After DropDownChoice OnChange Handled

2011-11-21 Thread Igor Vaynberg
I don't think the browser reset button supports ajax.. -igor On Nov 21, 2011 5:08 AM, Richard W. Adams rwada...@up.com wrote: The form just has a standard HTML reset button: input wicket:id=reset-button type=reset value=Reset / There's no special code associated with the button. Should

RE: ValidationForm.addPropertyValidators sometimes looks for child properties in parent's model

2011-11-21 Thread Jablow, Eric R
Igorbut you can create a testcase, reproducing the bare bits of code in a testcase just like you did in the email below. the advantage would be that i would have something i can play with which makes it much easier to find the problem. I will work on a quick start tonight, when I'm not at work.

Re: Can't Reset Form After DropDownChoice OnChange Handled

2011-11-21 Thread Richard W. Adams
I've been doing a lot of Googling on this topic found this page, which seems to describe exactly the problem I'm having: http://www.jaxtut.com/Navigation.jsp It suggests calling resetFromSession(), though it doesn't give an implementation this method doesn't seem to be part of Wicket. Has

Re: Can't Reset Form After DropDownChoice OnChange Handled

2011-11-21 Thread Clint Checketts
Yes, you can reset the form quite easily, with or without Ajax. I haven't read the rest of the thread, but if you just reset the object that the form is referencing all the fields would stay in sync and be 'reset'. -Clint On Mon, Nov 21, 2011 at 3:30 PM, Richard W. Adams rwada...@up.com wrote:

Re: How to get client ip with wicket 1.5

2011-11-21 Thread Paolo
Alle lunedì 21 novembre 2011, François Meillet ha scritto: ((ServletWebRequest) RequestCycle.get().getRequest()).getContainerRequest().getRemoteHost() François getHeader(X-Forwarded-For) return null string!! I use getRemoteHost() and it works! Thanks to all!! P.S. I test it only on

Re: LoadableDetachableModel getObject not final

2011-11-21 Thread Tito
Created: https://issues.apache.org/jira/browse/WICKET-4253 Thanks you 2011/11/21 Igor Vaynberg igor.vaynb...@gmail.com ah, lol. I thought it was final now and you wanted to make non final... :) open a jira... -igor On Nov 21, 2011 11:36 AM, Tito njyt...@gmail.com wrote: Hi Igor,

Re: How to get client ip with wicket 1.5

2011-11-21 Thread Dan Alvizu
getRemoteHost() will return the IP of the client making the last http request. This is not a problem if your users make requests directly to your application server, but if you have a reverse proxy like a load balancer, getRemoteHost() will return the IP of the reverse proxy, which probably isn't

Re: wicket url encoding: ClassCastException using SunJceCrypt

2011-11-21 Thread Igor Vaynberg
jsessionid is managed by the servlet container. we cant encrypt it because its not part of the page path or query string, its in its own weird ;jsessionid thing that containers mangle in there. maybe your container has an option to encrypt it, or maybe you can write a plugin for it that encrypts

Re: wicket url encoding: ClassCastException using SunJceCrypt

2011-11-21 Thread lesterburlap
Igor Vaynberg-2 wrote jsessionid is managed by the servlet container. we cant encrypt it because its not part of the page path or query string, its in its own weird ;jsessionid thing that containers mangle in there. maybe your container has an option to encrypt it, or maybe you can write a

Re: Can't Reset Form After DropDownChoice OnChange Handled

2011-11-21 Thread Martin Grigorov
On Mon, Nov 21, 2011 at 11:30 PM, Richard W. Adams rwada...@up.com wrote: I've been doing a lot of Googling on this topic found this page, which seems to describe exactly the problem I'm having: http://www.jaxtut.com/Navigation.jsp It suggests calling resetFromSession(), though it doesn't