Re: How to strip Wicket tags in development mode?

2010-03-04 Thread FakeBoy
Hi, do you know something about my problem ? I asked about constructing callback script with OnlyTargetActivePage param. D. jWeekend wrote: > > David, > > Take a look here [1]. > > Regards - Cemal > jWeekend > OO & Java Technologies, Wicket > Consulting, Development, Training > http://jWeek

Re: image from outside web application directory

2010-03-04 Thread Gw
I believe so, Riyad. Anyway, you guys did a great job at Wicket. 2 thumbs up. Thx a lot, bro... Good day.. On 3/5/10, Riyad Kalla wrote: > GW, > > Good pt... at the least it should probably be in the Wiki. I think it's just > an issue of one of the leads not having time to go through it's impl an

Re: Wicket 1.4.7 released

2010-03-04 Thread Andrew Lombardi
Congratulations! On Mar 4, 2010, at 6:35 PM, Igor Vaynberg wrote: > Wicket 1.4.7 is released! > > This is the seventh maintenance release of 1.4.x series and brings over > 30 bug fixes and improvements. > > tag: https://svn.apache.org/repos/asf/wicket/releases/wicket-1.4.7/ > > maven: > > >

Re: Dynamically change feedback panel border color?

2010-03-04 Thread David Chang
For FeedbackPanel, I am not sure how to do this. I tried onComponentTag(), etc. and it seems there is always compile error. Looks like FeedbackPanel is a special beast. --- On Thu, 3/4/10, Riyad Kalla wrote: > From: Riyad Kalla > Subject: Re: Dynamically change feedback panel border color? >

Re: Dynamically change feedback panel border color?

2010-03-04 Thread Riyad Kalla
I *think* you want to handle that inside of onRender: http://wicket.apache.org/docs/1.4/org/apache/wicket/Component.html#onRender(org.apache.wicket.markup.MarkupStream) On Thu, Mar 4, 2010 at 7:58 PM, David Chang wrote: > > I am using a div with border color to enclose feedback messages. I can >

Dynamically change feedback panel border color?

2010-03-04 Thread David Chang
I am using a div with border color to enclose feedback messages. I can control whether to generate the feedback div based on whether there is any message to render. Now I hope to change its border color depending on the severity of the message. But (1) always causes error: Cann

Wicket 1.4.7 released

2010-03-04 Thread Igor Vaynberg
Wicket 1.4.7 is released! This is the seventh maintenance release of 1.4.x series and brings over 30 bug fixes and improvements. tag: https://svn.apache.org/repos/asf/wicket/releases/wicket-1.4.7/ maven: org.apache.wicket wicket 1.4.7 download: http://www.apache.org/dyn/closer.cgi/wicket/

Re: How to strip Wicket tags in development mode?

2010-03-04 Thread David Chang
James and Cemal, Thanks so much for your kind help! Cheers. --- On Thu, 3/4/10, Cemal Bayramoglu wrote: > From: Cemal Bayramoglu > Subject: Re: How to strip Wicket tags in development mode? > To: users@wicket.apache.org > Date: Thursday, March 4, 2010, 6:47 PM > David, > > Take a look here [

Re: Wicket tests without FormTester

2010-03-04 Thread Kent Tong
alexander.elsholz wrote: > > exists a possibility to test, for example a dropdownchoice without > formtester? > Try http://wicketpagetest.sourceforge.net which should work fine. - -- Kent Tong Better way to unit test Wicket pages (http://wicketpagetest.sourceforge.net) Books on CXF, Axis2

Re: Can't get FormTester.submitLink to work (required testfield always missing)

2010-03-04 Thread Kent Tong
jn73 wrote: > > My problem is that even when i set a value on the > RequiredTextField the form submission is failing - because of that the > required field is missing. > Please try http://wicketpagetest.sourceforge.net. It should work. - -- Kent Tong Better way to unit test Wicket pages (

Re: How to strip Wicket tags in development mode?

2010-03-04 Thread Cemal Bayramoglu
David, Take a look here [1]. Regards - Cemal jWeekend OO & Java Technologies, Wicket Consulting, Development, Training http://jWeekend.com [1] http://cwiki.apache.org/WICKET/how-to-remove-wicket-markup-from-output.html On 4 March 2010 23:44, David Chang wrote: > > I understand that in deploym

Re: How to strip Wicket tags in development mode?

2010-03-04 Thread James Carman
http://wicket.apache.org/docs/1.4/org/apache/wicket/settings/IMarkupSettings.html#setStripWicketTags%28boolean%29 On Thu, Mar 4, 2010 at 6:44 PM, David Chang wrote: > > I understand that in deployment, all Wicket tags are stripped from the > rendered markup that is sent to the client. > > How ca

How to strip Wicket tags in development mode?

2010-03-04 Thread David Chang
I understand that in deployment, all Wicket tags are stripped from the rendered markup that is sent to the client. How can I strip all Wicket tags from the rendered markup in development mode. I want to see clean HTML content in the client. Thanks for help! ---

OnlyTargetActivePage param

2010-03-04 Thread David Skuben
Hi everybody, I'm now looking in classes AbstractAjaxBehavior and AbstractDefaultAjaxBehavior. There are two similar methods: getCallbackUrl() and getCallbackScript() and I don't understand why first set onlyTargetActivePage to "true" and second to "false". Is it right ? If someone know about th

RE: Planned 1.4.7 Release?

2010-03-04 Thread Corbin, James
Thanks, I already downloaded it and have our application running on 1.4.7. So far so good. Seems a bit snappier than our version that was using 1.4.4. J.D. -Original Message- From: James Carman [mailto:jcar...@carmanconsulting.com] Sent: Thursday, March 04, 2010 2:03 PM To: users@wicke

Re: Planned 1.4.7 Release?

2010-03-04 Thread James Carman
Why not just try it: http://repo1.maven.org/maven2/org/apache/wicket/wicket/1.4.7/ Change your version in Maven and see if it picks it up. On Thu, Mar 4, 2010 at 1:15 PM, Corbin, James wrote: > Awesome.  Thanks for the response. > > I was hoping it was this week so I could test out 1.4.7 with o

Re: mvn jetty plugin not compatible with wicket

2010-03-04 Thread Jim Pinkham
This works for me, although if anyone can think of a better way to get the filtered version of jetty-xml during mvn jetty:run, that would be cool - seems a bit odd the way I've got it now: false src/main/resources true src/main/java ** **/*

Re: Planned 1.4.7 Release?

2010-03-04 Thread Jeremy Thomerson
Here's the one from the release announcement: http://people.apache.org/~ivaynberg/wicket-1.4.7/ -- Jeremy Thomerson http://www.wickettraining.com On Thu, Mar 4, 2010 at 12:46 PM, Corbin, James wrote: > Is this a valid download URL: http://apache.tradebit.com/pub/wicket/1.4.7/ > > -Original

Re: mvn jetty plugin not compatible with wicket

2010-03-04 Thread Douglas Ferguson
Well... Jetty starts but the wicket filter doesn't work. D/ On Mar 4, 2010, at 6:08 AM, Martin Funk wrote: > it doesn't? > > svn checkout http://svn.apache.org/repos/asf/wicket/branches/wicket-1.4.7 > cd wicket-1.4.7/ > mvn install > cd wicket-quickstart/ > mvn jetty:run > > > works fine on

RE: Planned 1.4.7 Release?

2010-03-04 Thread Corbin, James
Is this a valid download URL: http://apache.tradebit.com/pub/wicket/1.4.7/ -Original Message- From: Jeremy Thomerson [mailto:jer...@wickettraining.com] Sent: Thursday, March 04, 2010 11:19 AM To: users@wicket.apache.org Subject: Re: Planned 1.4.7 Release? Look in that release vote - you

Re: Prettyfy URLs

2010-03-04 Thread Jeremy Thomerson
try the hybridurlcodingstrategy also, search the list - there is a ton of information about this subject -- Jeremy Thomerson http://www.wickettraining.com On Thu, Mar 4, 2010 at 12:27 PM, srm wrote: > Hi List, > > I have a WebShop that uses only 2 Pages. > A DetailPage to view item-details a

Prettyfy URLs

2010-03-04 Thread srm
Hi List, I have a WebShop that uses only 2 Pages. A DetailPage to view item-details and the HomePage "StorePage". StorePage holds a Panel (currentPanel) and for navigation this one is just replaced with the corresponding panel (cartPanel, checkoutPanel, et al.). Now I wanted to prettyfy the URLs

Re: Planned 1.4.7 Release?

2010-03-04 Thread Jeremy Thomerson
Look in that release vote - you can download the jars from the temp repo and use them now (or a few days ago). They'll be in the main repo(s) in the next few days. -- Jeremy Thomerson http://www.wickettraining.com On Thu, Mar 4, 2010 at 12:15 PM, Corbin, James wrote: > Awesome. Thanks for th

RE: Planned 1.4.7 Release?

2010-03-04 Thread Corbin, James
Awesome. Thanks for the response. I was hoping it was this week so I could test out 1.4.7 with our application over the weekend. J.D. -Original Message- From: Riyad Kalla [mailto:rka...@gmail.com] Sent: Thursday, March 04, 2010 11:05 AM To: users@wicket.apache.org Subject: Re: Planned

Re: Planned 1.4.7 Release?

2010-03-04 Thread Riyad Kalla
The "hot item" in 1.4.7 I am aware of is the fix for redirected/relative paths when using Ajax components that was broken in 1.4.6 -- and yesterday Igor said he would begin promotion to the mirrors and writeup an announcement, so I think the release is... "any minute now"? On Thu, Mar 4, 2010 at 1

Re: how to get domain name

2010-03-04 Thread Jeremy Thomerson
from the httpservletrequest http://www.jguru.com/faq/view.jsp?EID=734942 note that if you use mod_proxy with apache, this may not work -- Jeremy Thomerson http://www.wickettraining.com On Thu, Mar 4, 2010 at 12:01 PM, Gw wrote: > Hi all, > > I've searched around to no avail for an example o

Re: image from outside web application directory

2010-03-04 Thread Riyad Kalla
GW, Good pt... at the least it should probably be in the Wiki. I think it's just an issue of one of the leads not having time to go through it's impl and figure out if it should go in or not? I'm sure there are probably a few different ways to write such a component. -R On Thu, Mar 4, 2010 at 10

Re: Planned 1.4.7 Release?

2010-03-04 Thread Jeremy Thomerson
It was announced - however the announcement is not up yet, and it may not be synced out to the mirrors yet, either. http://old.nabble.com/Re:--vote--release-wicket-1.4.7-p27776080.html -- Jeremy Thomerson http://www.wickettraining.com On Thu, Mar 4, 2010 at 11:55 AM, Corbin, James wrote: > Hi

how to get domain name

2010-03-04 Thread Gw
Hi all, I've searched around to no avail for an example on how to get the domain name of the server where the wicket application runs on. Can anybody help with this? Lots of thanks in advance Regards, Mike - To unsubscribe, e-m

Re: SubmitLink and popup window

2010-03-04 Thread Anders Sørensen
Hi Jeremy, What a simple solution. If you just knew what I have tried. Many, many thanks. Med venlig hilsen/Best regards Anders Sørensen On Thu, Mar 4, 2010 at 9:35 AM, Jeremy Thomerson wrote: > Simply add target="_results" in your form tag. > > -- > Jeremy Thomerson > http://www.wickettrain

Planned 1.4.7 Release?

2010-03-04 Thread Corbin, James
Hi, We are currently using Wicket Version 1.4.4 and I believe the release of 1.4.7 is fairly imminent? Could someone shed some light on the expected release timeframe for 1.4.7 and what the recommendation is on upgrading from 1.4.4 to 1.4.7? We have a lot of Ajax behaviors in our code and if t

Re: image from outside web application directory

2010-03-04 Thread Gw
Hi Riyad n Ernesto, Thx a lot for your help. I've found the solution among those search results. The class name is FileResource. Quite simple, yet I wonder why the class isn't included in Wicket, bcoz it's a common need. Many thanks for the clues... GBU On Tue, Mar 2, 2010 at 10:06 PM, Riyad Kal

Re: mod_proxy + ssl + HttpsRequestCycleProcessor

2010-03-04 Thread Istvan Soos
That is ok, however in production I still would like to benefit of the @RequireHttps. Will it work? I suppose there should be a setup that uses mod_headers to inject a header in the request or something like that, but I'm only guessing this... Istvan On Thu, Mar 4, 2010 at 6:23 PM, Josh Chappelle

RE: mod_proxy + ssl + HttpsRequestCycleProcessor

2010-03-04 Thread Josh Chappelle
In your Application class you could check to see if you are running in Production or Development mode. If you are running in Development mode then use the HttpsRequestCycleProcessor. Otherwise use the default RequestCycleProcessor. Josh -Original Message- From: Istvan Soos [mailto:istvan

Re: setResponsePage() in AjaxSubmitLink.onSubmit() redirects to relative URL

2010-03-04 Thread Nikita Tovstoles
just tested with 1.4.7 - can confirm that the issue's been resolved. thanks for a prompt response and congrats on the release On Thu, Mar 4, 2010 at 3:51 AM, Riyad Kalla wrote: > I take that back, the vote passed, looks like 24hrs per Igor's comment > on wicket-dev? > > === > the

mod_proxy + ssl + HttpsRequestCycleProcessor

2010-03-04 Thread Istvan Soos
Hi, We are using HttpsRequestCycleProcessor + @RequireHttps annotation in our local dev environment (the server is a jetty executed directly from Eclipse). In the production environment, we have Apache + mod_proxy, and I'd prefer if Apache could handle the SSL part (in that case we are not require

Can't get FormTester.submitLink to work (required testfield always missing)

2010-03-04 Thread Jan Eriksson
I'm stuck on something that seems like a very trivial problem.. I have a form with a RequiredTextField that i want to run some tests on using FormTester. The form is submitted using a SubmitLink located outside of the tags. My problem is that even when i set a value on the RequiredTextField the fo

Re: Re: FormTester and Select component?

2010-03-04 Thread Jan Eriksson
well, since it looks like there's no build-in way of working with the Select component in FormTester i guess we have to decide on one of the ideas posted by you guys here. Thanks for you help! /jan On Tue, Mar 2, 2010 at 11:39 AM, wrote: > You could easily extend WicketTester and FormTester to

Re: Wicket tests without FormTester

2010-03-04 Thread shetc
I am trying to unit test a DropDownChoice that is not part of a form and does not use AJAX. I have tried something like: wicketTester.getServletRequest().setParameter(ddc.getInputName(), "0"); wicketTester.executeListener(ddc); which causes the DropDownChoice model to fire its setObject method b

Re: how to use the google trends for searching wicket?

2010-03-04 Thread Riyad Kalla
You can use grouping and "AND" and "OR" operators to improve the accuracy... but there is no great magic to Trends, it's hard to pull awesome stats out of commonly named things from it. Usually the news articles help you know if it's hitting the right search items, but a lot of times they are miss

Re: How to keep mounted bookmarkable urls after an onclick?

2010-03-04 Thread wazzaly Ioo
Thnx for your very fast reply. And even more for the correct solution! :-) On Thu, Mar 4, 2010 at 4:08 PM, Jeremy Thomerson wrote: > Try using the HybridUrlEncodingStrategy > > -- > Jeremy Thomerson > http://www.wickettraining.com > > > > On Thu, Mar 4, 2010 at 9:07 AM, wazzaly Ioo wrote: > > >

how to use the google trends for searching wicket?

2010-03-04 Thread Jing Ge (Besitec IT DEHAM)
Hello, For example, compare with GWT, I have tried "GWT, Wicket" http://www.google.de/trends?q=GWT%2C+wicket and "GWT, apache Wicket" http://www.google.de/trends?q=GWT%2C++apache+wicket&ctab=0&geo=all&date= all&sort=0 I think both results are not correct. Any suggestion?

Re: How to keep mounted bookmarkable urls after an onclick?

2010-03-04 Thread Jeremy Thomerson
Try using the HybridUrlEncodingStrategy -- Jeremy Thomerson http://www.wickettraining.com On Thu, Mar 4, 2010 at 9:07 AM, wazzaly Ioo wrote: > Hello, > > I'm new to Wicket and have to change an existing Wicket 1.4.5 application. > > A requirement is that some pages must have an url that start

How to keep mounted bookmarkable urls after an onclick?

2010-03-04 Thread wazzaly Ioo
Hello, I'm new to Wicket and have to change an existing Wicket 1.4.5 application. A requirement is that some pages must have an url that starts with /restricted/ after the context root. For example https://www.domain.com/context-root/restricted/easy-to-remember This is done by mounting bookmarka

Re: LegUp for wiQuery

2010-03-04 Thread Witold Czaplewski
You could take a look at http://www.malsup.com/jquery/corner/ It's a JS based solution using multiple div containers. Witold Am Thu, 4 Mar 2010 06:05:00 -0800 (PST) schrieb shetc : > > I guess this is an off-topic question. I want to use wiQuery and jquery UI in > the current > Wicket-based a

Re: SubmitLink and popup window

2010-03-04 Thread Jeremy Thomerson
Simply add target="_results" in your form tag. -- Jeremy Thomerson http://www.wickettraining.com On Thu, Mar 4, 2010 at 8:09 AM, Anders Sørensen wrote: > Hi everybody, > > I have a page where a user inputs a number of values. > The user them clicks on a "calculate" button, and the form is sub

Re: LegUp for wiQuery

2010-03-04 Thread Martijn Dashorst
I would treat the rounded corners as a bonus for users that upgrade to something that does support it. "Wow, why does the application look so much better on your computer?" Martijn On Thu, Mar 4, 2010 at 3:05 PM, shetc wrote: > > I guess this is an off-topic question. I want to use wiQuery and j

SubmitLink and popup window

2010-03-04 Thread Anders Sørensen
Hi everybody, I have a page where a user inputs a number of values. The user them clicks on a "calculate" button, and the form is submitted. I would now like to display the calculated result in a popup page. Since SubmitLink does not support PopupSettings - I was wondering if anybody here have t

Re: LegUp for wiQuery

2010-03-04 Thread shetc
I guess this is an off-topic question. I want to use wiQuery and jquery UI in the current Wicket-based app that I am working on. This will be a public-facing app that needs to support IE6 and upwards. However, the rounded corners used for many of the jquery UI widgets does not work in IE -- jquery

Re: Page Expired

2010-03-04 Thread Alexander Monakhov
Hi, I don't think that this is problem. 'Page expired' message appears immediately when I click link. There is no timeout or something like that. I serf pages, then click link and 'Page Expired' message appears. As you can see there is log's message that says there is no version manager for this pa

Re: mvn jetty plugin not compatible with wicket

2010-03-04 Thread vineet semwal
sorry ignore my post .. On Thu, Mar 4, 2010 at 6:51 PM, vineet semwal wrote: > you have to edit your settings.xml , > take a look at http://docs.codehaus.org/display/JETTY/Maven+Jetty+Plugin > > > On Thu, Mar 4, 2010 at 5:24 PM, Douglas Ferguson < > doug...@douglasferguson.us> wrote: > >> Appare

Re: mvn jetty plugin not compatible with wicket

2010-03-04 Thread vineet semwal
you have to edit your settings.xml , take a look at http://docs.codehaus.org/display/JETTY/Maven+Jetty+Plugin On Thu, Mar 4, 2010 at 5:24 PM, Douglas Ferguson wrote: > Apparently the mvn jetty plugin doesn't work if your pom already has a > dependency on jetty. > > I was curious if anybody else

Re: mvn jetty plugin not compatible with wicket

2010-03-04 Thread Martin Funk
it doesn't? svn checkout http://svn.apache.org/repos/asf/wicket/branches/wicket-1.4.7 cd wicket-1.4.7/ mvn install cd wicket-quickstart/ mvn jetty:run works fine on this machine. mf 2010/3/4 Douglas Ferguson > Apparently the mvn jetty plugin doesn't work if your pom already has a > dependenc

mvn jetty plugin not compatible with wicket

2010-03-04 Thread Douglas Ferguson
Apparently the mvn jetty plugin doesn't work if your pom already has a dependency on jetty. I was curious if anybody else has a mechanism for stoping and starging a jetty instance from mvn. D/ - To unsubscribe, e-mail: users-un

Re: setResponsePage() in AjaxSubmitLink.onSubmit() redirects to relative URL

2010-03-04 Thread Riyad Kalla
I take that back, the vote passed, looks like 24hrs per Igor's comment on wicket-dev? === the vote has passed with 3 +1 binding votes and 5 +1 nonbinding votes i will upload the artifacts to mirrors and write up an announcement after the mirrors have synced (24 hours). cheers ==

Re: setResponsePage() in AjaxSubmitLink.onSubmit() redirects to relative URL

2010-03-04 Thread Riyad Kalla
Nikita, The wicket team started the vote on if 1.4.7 was ready to go out a few days ago, it should be either late this week or early next when the release goes out if that helps at all (don't know how immediate your need is). -R On Wed, Mar 3, 2010 at 4:16 PM, Nikita Tovstoles wrote: > Looks li

Re: With out HTML Dynamic Wicket Generation

2010-03-04 Thread Cemal Bayramoglu
Take a look at Wicket Web Beans [1][2] for ideas. There are other projects too, Regards - Cemal jWeekend OO & Java Technologies, Wicket Consulting, Development, Training http://jWeekend.com [1] http://code.google.com/p/wicket-web-beans/ [2] http://jweekend.com/wicketwebbeans-examples-1.1/WebBeans

With out HTML Dynamic Wicket Generation

2010-03-04 Thread sravan g
Hi All, Can anyone have idea about With out HTML Dynamic Wicket Generation Possible?

Re: Page Expired

2010-03-04 Thread Ernesto Reinaldo Barreiro
adding a "keep-alive" timer would be a good way to test this? Ernesto On Thu, Mar 4, 2010 at 10:24 AM, Ian Marshall wrote: > > Google App Engine (GAE) seems to be very aggressive in shutting application > instances down if there is no traffic for perhaps as little as one minute. > > Is it possib

Re: wiQuery components with server side state - live demo

2010-03-04 Thread Ernesto Reinaldo Barreiro
Hi Cemal, Yes you are right. I'll keep the details for our private communications... My apologies if I have been a bit pushy on this matter... Best regards, Ernesto On Wed, Mar 3, 2010 at 10:42 PM, Cemal Bayramoglu < jweekend_for...@cabouge.com> wrote: > Ernesto, > > Thanks for putting so much

Re: Page Expired

2010-03-04 Thread Ian Marshall
Google App Engine (GAE) seems to be very aggressive in shutting application instances down if there is no traffic for perhaps as little as one minute. Is it possibe that your Wicket application instance has been shut down, and when you submit your form Wicket has to re-start a new instance? In th