Re: Wicket architecture diagram?

2009-05-18 Thread jWeekend
Manuel, I had a chat with Jonathan recently and this came up then too. He was also going to mention it to Eelco as well, but we have all been pre-occupied, for our part (and ironically) partly due to growing numbers of corporate Wicket projects and on-site training requests! If you do come up wi

Re: Tools for Managing a Wicket Project

2009-05-18 Thread Steve Swinsburg
You can get Eclipse to auto refresh if you modify files externally. Check preferences. cheers, Steve On 19/05/2009, at 1:15 AM, John Armstrong wrote: I always have to do a 'Refresh' when changing the HTML. Its quite painful.. I tend to author the bulk of my html in an external editor th

Re: OT: JavaOne

2009-05-18 Thread Ryan
This is my first time attending and there is certainly a ton of JavaFX crap that I'll be skipping. There still seems to be some useful stuff this year, and it will be fun to meet some other like minded people :-) I don't blame you for not going. I wouldn't be going either if my costs weren't cover

Re: Can't find Wicket ajax resources

2009-05-18 Thread Jeremy Thomerson
What's your web.xml mapping? -- Jeremy Thomerson http://www.wickettraining.com On Mon, May 18, 2009 at 6:41 PM, Mark Sloan wrote: > I am trying to do some basic Ajax in Wicket (1.4rc4) > I have the following code fragment: > > TextField loginField = new TextField("login", >             new Pr

Re: Tools for Managing a Wicket Project

2009-05-18 Thread pete swulius
While we are on the topic, does anyone know if there's a super-secret version of wicket-bench that plays well with the Eclipse 3.3 debugger? If not, how much effort would it take to get it up to date? I would be glad to contribute. Or, alternatively, is there another option out there for minimiz

Re: Tools for Managing a Wicket Project

2009-05-18 Thread Eduardo Nunes
it's very strange, because if I hit ctrl+shift+f in some html code with WTP, the source code will be completely unwell formatted. I will try amateras plugin, thank you On Mon, May 18, 2009 at 9:15 PM, John Armstrong wrote: > I always have to do a 'Refresh' when changing the HTML. Its quite painfu

Re: Tools for Managing a Wicket Project

2009-05-18 Thread John Armstrong
I always have to do a 'Refresh' when changing the HTML. Its quite painful.. I tend to author the bulk of my html in an external editor that is more suitable to the purpose and fast ( the eclipse validators are painfully slow, particularly in Javascript intensive pages). Then I tweak it in Eclipse

Re: Tools for Managing a Wicket Project

2009-05-18 Thread pete swulius
It appears that using external html editors causes sync issues. Apparently eclipse doesn't monitor changes to the file system, except to warn you that it's out of sync. I would love the know the truth of it as I could very well be missing something obvious. In fact, I would bet that I am, consid

Re: Tools for Managing a Wicket Project

2009-05-18 Thread John Armstrong
I use the HTML formatter without problems. What issue are you having? I use MyEclipse, it may be different? J On Mon, May 18, 2009 at 4:47 PM, Eduardo Nunes wrote: > I have just one problem with eclipse, I can't use the HTML formatter, > that's very sucks. I tried tidy but it didn't work too. W

Re: Tools for Managing a Wicket Project

2009-05-18 Thread Eduardo Nunes
I have just one problem with eclipse, I can't use the HTML formatter, that's very sucks. I tried tidy but it didn't work too. What do you use guys to format html code? On Mon, May 18, 2009 at 2:06 PM, Dane Laverty wrote: > I just wanted to thank Jeremy, Scott, and Linda for recommending Effective

Re: OT: JavaOne

2009-05-18 Thread Igor Vaynberg
I was thinking of going. I went last year but it was such a javafx-fest that it was hard to find anything interesting that wasn't. This year seems even more so. If I wanted to get a bunch of sun propaganda thrown at me I don't see why I need to pay for it. Have I mentioned they rejected a wicket p

Can't find Wicket ajax resources

2009-05-18 Thread Mark Sloan
I am trying to do some basic Ajax in Wicket (1.4rc4) I have the following code fragment: TextField loginField = new TextField("login", new PropertyModel(this, "login")); loginField.add(new AjaxFormComponentUpdatingBehavior("onblur") { private static final long serialVersi

Re: OT: JavaOne

2009-05-18 Thread Jim Pinkham
I'm planning to visit the Pavillion only on Tues June 2. With economy down, management sees JavaOne as "nonessential", so I'm on the outside looking in this year. Oh well. More time for Yosemite and such. Anyway, I don't have the cool wicket bling, but pick a vendor both and time, and maybe I'l

Re: How To Call A Method When Browser Is Closed

2009-05-18 Thread Igor Vaynberg
Typing on a phone sucks :) S/pinh/ping You can register a map of (sessionid) to (ping timestamp, userid) -igor On Sunday, May 17, 2009, Igor Vaynberg wrote: > You can have each page register pinh into an application scoped map. > Then have a thread checking for timeouts. > > -Igor > > On Sunda

Re: OT: JavaOne

2009-05-18 Thread Nick Heudecker
Unfortunately I won't be able to make it. On Mon, May 18, 2009 at 10:11 AM, Ryan wrote: > Are there any Wicket fans going to JavaOne this year? I'm flying in from > Boise on June 1st and would love to meet some fellow wicketers while I'm > there. I'll be wearing all my Wicket attire and singing

OT: JavaOne

2009-05-18 Thread Ryan
Are there any Wicket fans going to JavaOne this year? I'm flying in from Boise on June 1st and would love to meet some fellow wicketers while I'm there. I'll be wearing all my Wicket attire and singing the Wicket praise every chance I get... maybe we will see a session on wicket next year. -Ryan

Re: Tools for Managing a Wicket Project

2009-05-18 Thread Dane Laverty
I just wanted to thank Jeremy, Scott, and Linda for recommending Effective Java. I read through the book this week. It's wonderful -- accessible and useful. Now I'm in the process of refactoring my project to start applying the concepts. On Fri, May 1, 2009 at 8:53 AM, Carlo Camerino wrote: > we

Re: AjaxLink in a DataView causing issues when loading multiple instance of the page

2009-05-18 Thread unka_hahrry
I have a similar problem using DataView and AjaxLink. Everything works fine, but sometimes (after a lot of clicks...) I get the following message: WicketMessage: component page:footer:pluginRepeater:2:plugin:rows:9:cols:10:viewpanel:playVideoLink1 not found on page com.wftv.videostream4u.pages.M

Re: Building 1.3.6 from the source, test failures

2009-05-18 Thread Martijn Dashorst
Don't run the tests with java 6 Martijn On Mon, May 18, 2009 at 4:49 PM, Martin Dietze wrote: > Hi, > >  I just checked out wicket 1.3.6 from the svn, changed into the > wicket-1.3.6 directory, ran `mvn package' and ran across these > test failures: > > Failed tests: >  test_1(org.apache.wicket.

Building 1.3.6 from the source, test failures

2009-05-18 Thread Martin Dietze
Hi, I just checked out wicket 1.3.6 from the svn, changed into the wicket-1.3.6 directory, ran `mvn package' and ran across these test failures: Failed tests: test_1(org.apache.wicket.markup.html.header.testing.HeaderTest) testRenderHomePage_7(org.apache.wicket.markup.html.basic.SimplePageT

Re: Where is the Wicket+hibernate example of Francisco Treacy

2009-05-18 Thread francisco treacy
Ал, True, that is no longer online and I can't seem to find a cached version. Another good post I remember of, although a bit old, is: http://www.mularien.com/blog/2007/11/28/bleeding-edge-transactional-wicket-web-applications-with-warp-and-guice/ Francisco 2009/5/18 Александър Шопов : > This m

Re: Submit form using timer

2009-05-18 Thread Clint Popetz
You can use some variant of: add(new StringHeaderContributor( "setTimeout('document.myForm.submit()',5000); ")); -Clint On Mon, May 18, 2009 at 9:08 AM, Anantha Kumaran wrote: > hi > i want to submit a form using a timer > > i there any other way other then using abstractajaxtimebehaviour

Submit form using timer

2009-05-18 Thread Anantha Kumaran
hi i want to submit a form using a timer i there any other way other then using abstractajaxtimebehaviour because i don't want to use ajax in that form ?? thanks AnanthaKumaran

using html frames

2009-05-18 Thread shiraz memon
Hi Is there any (best) way to create and use html frames in wicket? Thanks Shiraz

Re: Anybody know what is this situation?

2009-05-18 Thread Martin Makundi
I found only one instance. Does it matter that it is a random exception (i.e., I saw it first time today and the app has been running for a long time)? ** Martin 2009/5/18 Serkan Camurcuoglu : > In my experience such unexpected classcastexceptions may occur if the same > class is loaded twice by

Re: Anybody know what is this situation?

2009-05-18 Thread Serkan Camurcuoglu
In my experience such unexpected classcastexceptions may occur if the same class is loaded twice by different classloaders.. Check whether the LoginPage class exists in both WEB-INF/classes and some other jar in your classpath.. Martin Makundi wrote: Anybody know what is this situation? Wick

Anybody know what is this situation?

2009-05-18 Thread Martin Makundi
Anybody know what is this situation? Wicket 1.4-rc4 >From production: 2009-05-18 16:32:44,316 19598423 [btpool0-112] ERROR RequestCycle - cannot assign instance of com.application.MainPage to field wicket.quickstart.LoginPage$1.this$0 of type wicket.quickstart.LoginPage in instance of wicket.qui

Custom FeedbackPanel in portlets

2009-05-18 Thread Wilhelmsen Tor Iver
I made a FeedbackPanel to apply the Portlet 2.0 CSS classes to relevant messages. In my naïvetè I assumed I could just override getCSSClass(FeedbackMessage), but that is called both to set a style on the item AND on the contained element. Is there any reason for this, especially since the HTM

Re: Spring Security's method security and Wicket

2009-05-18 Thread James Carman
Kent, You can svn update my wicket-advanced example. It's got the code in it. On Mon, May 18, 2009 at 8:24 AM, Kent Larsson wrote: > It sounds very interesting! If you would like to share it some day I > would be curious to know how you did it. Why do you consider it not > complete if it's not

Re: Spring Security's method security and Wicket

2009-05-18 Thread Kent Larsson
It sounds very interesting! If you would like to share it some day I would be curious to know how you did it. Why do you consider it not complete if it's not possible to do it any better due to how Wicket handles redirectToInterceptPage? Best regards, Kent On Fri, May 15, 2009 at 7:17 PM, James

Re: Bookmarkable fallback ajax link

2009-05-18 Thread John Patterson
I guess, like you say, it would not be so useful. I was thinking that when googlebot reads the link and comes back to index the page a week later it would not get a Page Expired message if the link was bookmarkable. But probably best to only index the original page anyway and provide another way

Re: Bug in RequestUtils.toAbsolutePath?

2009-05-18 Thread Steve Swinsburg
It's available in HttpServletRequest as well. cheers, Steve On 18 May 2009, at 10:37, Martin Makundi wrote: Ah.. so it is even worse... I need the "http://www.mycompany.com"; - part. ** Martin 2009/5/18 Marat Radchenko : http://tomcat.apache.org/tomcat-5.5-doc/servletapi/javax/servlet/h

Re: Bug in RequestUtils.toAbsolutePath?

2009-05-18 Thread Martin Makundi
Ah.. so it is even worse... I need the "http://www.mycompany.com"; -part. ** Martin 2009/5/18 Marat Radchenko : > http://tomcat.apache.org/tomcat-5.5-doc/servletapi/javax/servlet/http/HttpServletRequest.html#getContextPath() > > 2009/5/18 Martin Makundi : >>> Just use getServletContextPath on Ser

Re: Bug in RequestUtils.toAbsolutePath?

2009-05-18 Thread Marat Radchenko
http://tomcat.apache.org/tomcat-5.5-doc/servletapi/javax/servlet/http/HttpServletRequest.html#getContextPath() 2009/5/18 Martin Makundi : >> Just use getServletContextPath on ServletRequest. > > I do not want the installation path, I want the request path. The > installation path is localhost:xxx

Re: Bug in RequestUtils.toAbsolutePath?

2009-05-18 Thread Martin Makundi
> Just use getServletContextPath on ServletRequest. I do not want the installation path, I want the request path. The installation path is localhost:xxx and the request path is mydomain.com ** Martin > > 2009/5/17, Martin Makundi : >> That is my question.. whether I am stupid or someone baptized

Re: How to get ride of page's state?

2009-05-18 Thread HHB
My problem is that I have a page with two major components: A refreshing view that lists groups An AjaxFallbackDefaultDataTable that lists the contacts that belong to a group upon clicking on the group name. The user could navigate to another page a delete a group and if he returned to the page th

Re: lazily loaded table structure?

2009-05-18 Thread sander v F
for client-side ordering of the items you should take a look at JQuery. There is a tablesorter plugin (http://tablesorter.com/docs/) that looks easy and helpful. 2009/5/15 Jan Torben Heuer > Hi, > > I want to display a table structure, however the data retrieving takes a > certain time. Curre

Re: Modifying LinkTree

2009-05-18 Thread Brambut
If you dont want to render one of the component as a link, use object.setRenderBodyOnly(true); This will make the component a text only and removed the tag. -- View this message in context: http://www.nabble.com/Modifying-LinkTree-tp23414434p23593505.html Sent from the Wicket - User mailing lis

Re: How to get ride of page's state?

2009-05-18 Thread Marat Radchenko
Make it stateless :) 2009/5/18 HHB : > Hey, > How to get ride of the page's state after the request is done? > Thanks. > > > - > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-

How to get ride of page's state?

2009-05-18 Thread HHB
Hey, How to get ride of the page's state after the request is done? Thanks. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org

Re: Component creation and initialization

2009-05-18 Thread James Carman
On Sun, May 17, 2009 at 6:17 PM, Igor Vaynberg wrote: > IOC works fine if you use constructor injection :) which is what you > should use. the only reason people may prefer setter injection is that > configuration looks nicer. And, when circular dependencies won't allow you to use constructor-bas

Re: How To Call A Method When Browser Is Closed

2009-05-18 Thread Carlo Camerino
um, sory i didn't get it, what do i have to register, the page itself? what's pinh (sorry) So i create a map and then i create a scheduled thread? So that thread has to constantly poll the map? is there a method in the page that I can use for this? On Mon, May 18, 2009 at 2:30 PM, Igor Vaynberg

Re: How do you get a custom FormComponent to "remember" erroneous values?

2009-05-18 Thread Ian MacLarty
On Mon, May 18, 2009 at 4:38 PM, Igor Vaynberg wrote: > In onbeforerender you should init the modelobkect not the model. > > But in your simple case you dont even need onbrforwrender, instead: > new textfield(..., new propertymodel(this,"model")). Done. > Awesome. Thanks! Ian. -

Re: shorter input names

2009-05-18 Thread Ian MacLarty
On Mon, May 18, 2009 at 4:44 PM, Jan Kriesten wrote: > > Hi Ian, > >> Thanks for that.  For your solution to work it looks like wicket would >> need to only call getInputName at most once for each input (since >> subsequent calls would return different names).  Is that how it works? > > no, within

Re: SV: Component creation and initialization

2009-05-18 Thread Vladimir K
>From my perspective the isVisible() case deserves generification. I know that there is a task for Wicket 1.5. I mean after that we should write an article in Wiki. Wilhelmsen Tor Iver wrote: > > Overriding methods like isVisible() is also a form of > "hack" to postpone a property value to a la