Re: Constructor of Component not DRY?

2007-08-24 Thread Johan Maasing
I't really does not matter much but I'm with Eelco and Johan on this. I prefer not to allow null values in the constructor. At least not if there is a constructor with fewer parameters that can be used instead. So I prefer to chain towards the simpler constructor if possible. On 8/24/07, Martin

Re: First Day Disgust!

2007-09-09 Thread Johan Maasing
A maven archetype is really helpful and the quickstart guide is good but for me personally I would rather see the documentation restructured a bit. The thing I miss is a small text explaining what the different JAR-files actually contain. Something like this (pardon my english, it is not my native

Re: Locating CSS under WEB-INF, please help

2007-09-10 Thread Johan Maasing
Perhaps template inheritance can help you here. I have a 'base' page that contains the HTML head tag that all my pages use. For example I have a Basepage.html: html xmlns=http://www.w3.org/1999/xhtml; xmlns:wicket=http://wicket.apache.org/; head link rel=stylesheet type=text/css

which component to use to preserve the template html

2007-10-22 Thread Johan Maasing
I have some places where I use components only to modify the tag attributes. As in: div wicket:id=id/div final Label noopComponent = new Label(id, ); noopComponent.add(new AttributeModifier(style... I was just wondering if there is an alternative to using Labels? It works fine but

Re: which component to use to preserve the template html

2007-10-22 Thread Johan Maasing
Of course, sometimes it is too simple :-) Thank you. On 10/22/07, Gerolf Seitz [EMAIL PROTECTED] wrote: you could use a WebMarkupContainer. Gerolf On 10/22/07, Johan Maasing [EMAIL PROTECTED] wrote: I have some places where I use components only to modify the tag attributes

Re: Changing IDEs to eclipse

2007-10-29 Thread Johan Maasing
On 10/29/07, Ballist1c [EMAIL PROTECTED] wrote: However, i cant figure out how to get the thing to deploy on a web service. I have installed the tomcat plug in which has made it a breeze to start up the service from within Eclipse :) I cant seem to get the tomcat server to I configured the

AjaxSelfUpdatingTimerBehavior does not work when replaced into a page

2007-11-29 Thread Johan Maasing
I have a panel that updates regularly like this: updatingPanel.add(new AjaxSelfUpdatingTimerBehavior(Duration.seconds(3))); Now, if I have a page that includes an AjaxLink that does a replace of one panel in the page to the panel that have the update behaviour it does not update. Is this because

Re: AjaxSelfUpdatingTimerBehavior does not work when replaced into a page

2007-11-29 Thread Johan Maasing
. On Nov 29, 2007 9:37 PM, Igor Vaynberg [EMAIL PROTECTED] wrote: you replace the component that has the updating behavior with another one that doesnt and then it doesnt update? because the new panel doesnt have the updating behavior added to it -igor On Nov 29, 2007 12:34 PM, Johan

Re: AjaxSelfUpdatingTimerBehavior does not work when replaced into a page

2007-11-29 Thread Johan Maasing
... -igor On Nov 29, 2007 12:44 PM, Johan Maasing [EMAIL PROTECTED] wrote: Sorry for my bad explanation. No the other way around. I have a dumb panel which I then replace with the self updating one. The SelfUpdating panel is displayed but it triggers no update of itself. If I just add the self

Re: Re[2]: AjaxSelfUpdatingTimerBehavior does not work when replaced into a page

2007-11-30 Thread Johan Maasing
if the javascript to update it is included... -igor On Nov 29, 2007 12:44 PM, Johan Maasing [EMAIL PROTECTED] wrote: Sorry for my bad explanation. No the other way around. I have a dumb panel which I then replace with the self updating one. The SelfUpdating panel is displayed

Re: integrating extjs with wicket

2008-01-09 Thread Johan Maasing
I've been looking for the same thing. It seems (to me as a wicket newbie) that wicket is very good at producing HTML but I am not so sure about producing dynamic javascript. There is something called TextTemplates

Re: Required tag types?

2008-01-21 Thread Johan Maasing
As an exercise I tried to write a CMS-like framework. It became remarkably similiar and I had the same question. My factories produced an editor and a display, apart from that they have almost the same names as yours. I guess this almost qualifies as a FAQ :-) 2008/1/20, James Carman [EMAIL

Re: Required tag types?

2008-01-21 Thread Johan Maasing
with your interests to actually start a project? 2008/1/21, James Carman [EMAIL PROTECTED]: Or, maybe we should start a new project (or a Wicket subproject) to take care of this common need. On 1/21/08, Johan Maasing [EMAIL PROTECTED] wrote: As an exercise I tried to write a CMS-like

Re: Required tag types?

2008-01-21 Thread Johan Maasing
2008/1/22, Eelco Hillenius [EMAIL PROTECTED]: On Jan 21, 2008 4:48 PM, James Carman [EMAIL PROTECTED] wrote: Eelco, I will take a look at it, but I'm not big on Groovy or Grails. I decided to write the Wails framework as an exercise in learning Wicket and if it turned out to be

Re: Hi, PDF Question

2008-01-24 Thread Johan Maasing
In my experience (outside wicket) the content type matters to FF and Opera, IE mainly looks at the file ending. So make sure you set that to application/pdf or some similiar. Also, the content-dispostion can be set to inline instead of attachement (http://www.ietf.org/rfc/rfc1806.txt) which