Re: Simple CMS or Wiki

2007-09-08 Thread pixotec
a cms always needs a wysiwyg-textarea. there is TinyMCE in wicket-contrib project. if this is to heavy-loaded and difficult to customize for you (as it was for me) then I invite you to work with me on my WysiwygTextarea-component which already is usable for bold, italic, underline, unorderedlist,

Re: Two small questions

2007-09-08 Thread Sebastiaan van Erk
Thanks guys for the quick answers! :-) Regards, Sebastiaan Martijn Dashorst wrote: On 9/8/07, Eelco Hillenius [EMAIL PROTECTED] wrote: Nope, add wicket-datetime. Hmm, memory needs reboot at 2:30 am. Martijn smime.p7s Description: S/MIME Cryptographic Signature

Re: CompressedResourceReference: cannot serve static .html-files but .htm-files [SOLVED but needs JAVADOC comments]

2007-09-08 Thread Kent Tong
pixotec wrote: YOU GUESS WHAT?!! I JUST RENAMED THE FILE TO dialogTable.htm AND NOW IT IS WORKING!! it is the fact of not being able to serve html-files! I think this fact should be documented in the JAVADOC of the Resource-classes! Just upgrade to the latest v1.3 beta and this

Re: Simple CMS or Wiki

2007-09-08 Thread David Bernard
I started a wiki like application 2 month ago. Currently it's not ready for publish. But may be I could help you. What do you want exactly : * user write in wiki syntax or html (may be with a Wysiwyg) * for wiki syntax * a renderer (convert a wiki syntax to html) * which wiki syntax scope :

Re: Simple CMS or Wiki

2007-09-08 Thread Korbinian Bachl
you might want to have a look at wicket-contrib-yui - i added the YuiEditor yesterday (still alpha) but this should do it for your need. Its an easy WYSIWYG editor (especially as its crossbrowser), demo is under: http://developer.yahoo.com/yui/examples/editor/index.html if you want to enhance

Re: Two small questions

2007-09-08 Thread Korbinian Bachl
So wicket-extensions shouldnt be used for dates now? If so, how can I pursuade the DateTextField from there to use a long (classic unix timestamp) instead of a Date inside a model? (without overiding getModelObject/ setModelOject as its an inner class and I cant have the model beeing final?)

Re: Two small questions

2007-09-08 Thread Sebastiaan van Erk
Hi, Best Regards, Korbinian PS: does wicket-datetime somehow depend on yoda-time? sorry, for asking but I'm bit confused lately with the Date/ Locale/ pattern/ long chaos in Java http://www.mvnrepository.com/artifact/org.apache.wicket/wicket-datetime/1.3.0-beta3 :-) wicket-datetime

Re: Two small questions

2007-09-08 Thread Eelco Hillenius
On 9/8/07, Korbinian Bachl [EMAIL PROTECTED] wrote: So wicket-extensions shouldnt be used for dates now? You can, and there is another DateTextField in that project. The question was where the DateLabel component resides, which is in wicket-datetime. If so, how can I pursuade the DateTextField

Re: Two small questions

2007-09-08 Thread Sebastiaan van Erk
Ok, to answer my own question, it seems that ExternalLink does not have the ability to be disabled like Link. Regards, Sebastiaan Sebastiaan van Erk wrote: I have the following code: final ExternalLink link = new ExternalLink(link, model.bind(website)) { @Override

First Day Disgust!

2007-09-08 Thread chickabee
Hi Wicketers, I tried wicket today and the example application was up and running on tomcat in no time, so that was the good part, after that if I like to create a sample application on my own then I found no easy way to start. Examples are good to browse through and tell about wicket

Re: First Day Disgust!

2007-09-08 Thread David Bernard
Welcome, If you want to start a blank project, try: $ mvn archetype:create -DarchetypeGroupId=org.apache.wicket -DarchetypeArtifactId=wicket-archetype-quickstart -DarchetypeVersion=1.3.0-beta3 -DgroupId=com.mycompany -DartifactId=myproject $ cd myproject $ more pom.xml

Re: First Day Disgust!

2007-09-08 Thread Ayodeji Aladejebi
what a complement chickabee wrote: Hi Wicketers, I tried wicket today and the example application was up and running on tomcat in no time, so that was the good part, after that if I like to create a sample application on my own then I found no easy way to start. Examples are

Re: First Day Disgust!

2007-09-08 Thread Jan Kriesten
hi, the problem is, that many to be users aren't that deep into oo programming as expected. also, people trying out wicket don't come from a maven background but maybe from plain jsp or other frameworks - or even php. $ mvn archetype:create -DarchetypeGroupId=org.apache.wicket

Re: First Day Disgust!

2007-09-08 Thread chickabee
Thanks for providing me the primer on web applications and Ant and for not trying to understand what point I am trying to make here. Yes, we are not dealing with nuclear science here and Yes again wicket is just another web application, Did someone disagree with that. I hope not. Once you are

Re: Calling all translators - UrlValidator translation

2007-09-08 Thread Kent Tong
Alastair Maw-2 wrote: The English in question is: '${input}' is not a valid URL. The Traditional Chinese (zh_TW) version is: UrlValidator='${input}'\u4e0d\u662f\u4e00\u500b\u5408\u6cd5\u7684URL\u3002 The Simplified Chinese (zh_CN) version is:

Re: Using Include and placing pages under WEB-INF

2007-09-08 Thread Kent Tong
Jason Mihalick wrote: However, if I try to move my pages under WEB-INF, wicket has a problem loading resources that are bound via the org.apache.wicket.markup.html.include.Include class. In my case, I have several static pages that I want to load dynamically which are located in my

Re: First Day Disgust!

2007-09-08 Thread Al Maw
chickabee wrote: Once you are out in the market to try the new webapps then it always makes sense to have people be able to get up and running on the basics w/o efforts and not to have to deal with tricks necessary to get basic app to work. I absolutely agree. Install Maven 2 (takes five

Re: First Day Disgust!

2007-09-08 Thread landry soules
I totally agree with Jan. There's no black magic occurring around Wicket, and the best way to go for a newbie may be to simply create a new web project in Eclipse WTP or Netbeans, drop wicket.jar, log4j.jar, and slf4j-log4j.jar (if you're using wicket1.3), and follow HelloWorld sample from

Re: AjaxRequestTarget null... in onClick of AjaxFallbackLink

2007-09-08 Thread Kent Tong
John Carlson-5 wrote: I get the following error output in the console when I click on the link on the actual page... INFO - uestTargetResolverStrategy - component not enabled or visible, redirecting to calling page, component: null It probably means the your container which contains

Re: How to force a delete (from disk) of the session from the session store?

2007-09-08 Thread Kent Tong
Chris Lintz wrote: Hi, When a user logouts of the site, i want to kill the session and have it be removed from disk immediately. I have extended WebSession properly, but no methods on the WebSession class seem to do the trick for me. Is there a way to to trigger the removal of the

Re: Two small questions

2007-09-08 Thread Kent Tong
Sebastiaan van Erk wrote: Ok, to answer my own question, it seems that ExternalLink does not have the ability to be disabled like Link. Looks like a bug to me. I'd suggest that you submit a JIRA issue at http://issues.apache.org/jira/browse/WICKET -- View this message in context:

Re: Two small questions

2007-09-08 Thread Korbinian Bachl
Hi Eeclo, thanks for pointing this out. Ive come to a solution and created a MultiPatternDateConverter - it accepts long/Long, Date and DateTime (joda). Maybe you can use it for wicket-datetime. Code is here: http://pastebin.com/m43b5e339 Let me know what you think, its based on the

Re: First Day Disgust!

2007-09-08 Thread C. Bergström
Igor Vaynberg wrote: -igor On 9/8/07, C. Bergström [EMAIL PROTECTED] wrote: chickabee wrote: Hi Wicketers, snip / -Thumbs Down to Wicket! Patches welcome (: we dont want a build.xml contribution. we can write one ourselves if need be. we are simply not

Re: First Day Disgust!

2007-09-08 Thread Craig Tataryn
http://www.sonatype.com/book/introduction.html#why_not_just_use_ant On 9/8/07, Igor Vaynberg [EMAIL PROTECTED] wrote: we dont want a build.xml contribution. we can write one ourselves if need be. we are simply not interested in maintaining yet another way to build wicket. -igor On

Re: First Day Disgust!

2007-09-08 Thread Gwyn Evans
On Saturday, September 8, 2007, 2:00:32 PM, Johan [EMAIL PROTECTED] wrote: Sure, there is nothing special about Ant and wicket is very easy to set up and the dependencies needed are kind of explained somewhere. But I keep seing requests for information from newbies (such as myself) answered

Re: First Day Disgust!

2007-09-08 Thread Eelco Hillenius
On 9/8/07, chickabee [EMAIL PROTECTED] wrote: Hi Wicketers, I tried wicket today and the example application was up and running on tomcat in no time, so that was the good part, after that if I like to create a sample application on my own then I found no easy way to start. Examples are

Re: First Day Disgust!

2007-09-08 Thread Igor Vaynberg
eelco you have fallen off your horse already? -igor On 9/8/07, Eelco Hillenius [EMAIL PROTECTED] wrote: On 9/8/07, chickabee [EMAIL PROTECTED] wrote: Hi Wicketers, I tried wicket today and the example application was up and running on tomcat in no time, so that was the good part,

Re: First Day Disgust!

2007-09-08 Thread Eelco Hillenius
On 9/8/07, Igor Vaynberg [EMAIL PROTECTED] wrote: eelco you have fallen off your horse already? I guess, sorry. Let me get back on again :) Eelco - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

Re: WebMarkupContainer without template markup

2007-09-08 Thread Ryan Holmes
How about using an IVisitor to call setVisible() on the image components? That way, you wouldn't need to keep an explicit reference to those image components. You could trigger the visitor in onBeforeRender() and you could use a marker interface to identify the image components whose

Re: WebMarkupContainer without template markup

2007-09-08 Thread Ryan Holmes
On Sep 7, 2007, at 8:52 PM, Carlos Pita wrote: You can also make the components to hide implement some listener (or just marker) interface X and then do a visitChildren traversal from page.onBeforeRender as follows: visitChildren(X.class, new IVisitor() { public Object component(Component

Re: Disable the SecondLevelPageCache?

2007-09-08 Thread Ryan Holmes
Is it not recommended because the new disk-based session store is just a better all-around solution or because using the httpsessionstore is dangerous or broken in some way in 1.3? Thanks, -Ryan On Sep 7, 2007, at 3:10 PM, Matej Knopp wrote: You can revert to httpsessionstore by changing

Re: Disable the SecondLevelPageCache?

2007-09-08 Thread Eelco Hillenius
On 9/7/07, Matej Knopp [EMAIL PROTECTED] wrote: You can revert to httpsessionstore by changing Application.newSessionStore method. But that's not recommended. What are your performance problems? I doubt it is caused by the session store. And if you are interested in just profiling etc, you

Re: Re: Re: First Day Disgust!

2007-09-08 Thread Robo
Sorry Igor. I pack wicket app, simple wicket demo app, very well in WAR layout. If I`m not right please point me to point where wicket app border is extending WAR layout border. Robo - Originálna Správa - Od: \Igor Vaynberg\ Komu: Poslaná: 08.09.2007 23:36 Predmet: Re: Re: First

Re: Re: First Day Disgust!

2007-09-08 Thread Eelco Hillenius
As soon as I finish my work of testing some frameworks, this could be within two weeks I can write some demo app with simple explanation taking more didactic aproach :-) just let me know to whom I can send it, and the format of the wiki. Put it on the WIKI or e.g. blog about it please. I'm

Re: Re: Re: First Day Disgust!

2007-09-08 Thread Igor Vaynberg
i would if that made any sense... -igor On 08 Sep 2007 22:52:05 +0200 (CEST), Robo [EMAIL PROTECTED] wrote: Sorry Igor. I pack wicket app, simple wicket demo app, very well in WAR layout. If I`m not right please point me to point where wicket app border is extending WAR layout border.

Re: Re: Re: First Day Disgust!

2007-09-08 Thread Igor Vaynberg
http://www.boingboing.net/2007/08/20/flowchart-is-it-fcke.html ^ somehow seems appropriate to this thread -igor On 9/8/07, Igor Vaynberg [EMAIL PROTECTED] wrote: i would if that made any sense... -igor On 08 Sep 2007 22:52:05 +0200 (CEST), Robo [EMAIL PROTECTED] wrote: Sorry Igor. I

Re: Re: Re: Re: First Day Disgust!

2007-09-08 Thread Robo
It will Igor, just go on ... Robo - Originálna Správa - Od: \Igor Vaynberg\ Komu: Poslaná: 08.09.2007 23:46 Predmet: Re: Re: Re: First Day Disgust! i would if that made any sense... -igor On 08 Sep 2007 22:52:05 +0200 (CEST), Robo wrote: Sorry Igor. I pack wicket

Re: Re: Re: Re: First Day Disgust!

2007-09-08 Thread Robo
May be a little bit of respect and honesty to wicket newcomers, and also understand why there are their needs and be abowe the matter , would help you ... Yet another useless atack ... teacher ... - Originálna Správa - Od: \Igor Vaynberg\ Komu: Poslaná: 08.09.2007 23:49 Predmet:

Re: Re: Re: Re: First Day Disgust!

2007-09-08 Thread Ayodeji Aladejebi
also, demos come in many fashions, the starter demo for an eclipse user differs from a netbeans user and differs from a maven user or notepad/vi/command line user various demos to serve various build or IDE enviroment. it may not be helpful when a maven only developer is trying to show a NB only

Re: Re: Re: Re: First Day Disgust!

2007-09-08 Thread Igor Vaynberg
well thats the thing about maven. it generates setups for different ides. so cd wicket mvn eclipse:eclipse - builds eclipse config mvn idea:idea - builds idea config mvn netbeans:netbeans - builds netbeans config after you do that all thats left is to import the created project into the ide.

Re: Re: Re: Re: First Day Disgust!

2007-09-08 Thread Francis De Brabandere
if you use netbeans 6 you can just open the maven project without even running that netbeans:netbeans command On 9/9/07, Igor Vaynberg [EMAIL PROTECTED] wrote: well thats the thing about maven. it generates setups for different ides. so cd wicket mvn eclipse:eclipse - builds eclipse config

Re: Re: Re: Re: First Day Disgust!

2007-09-08 Thread Igor Vaynberg
i was raised on the principle that respect has to be earned, so far you have only done the opposite. a big part of earning respect is shut up or put up, look into it. as far as honesty, i dont think i have been dishonest with you yet. as far as me attacking you, i think you should grow some

Re: Disable the SecondLevelPageCache?

2007-09-08 Thread Ryan Holmes
Hi Eelco, Thanks for the thorough response (as usual). We're almost done converting from Tap 4 to Wicket 1.2 and we'll look into migrating to 1.3 pretty soon. I was planning on reverting to the HttpSessionStore immediately because I assumed the new disk-based store(s) traded performance

Re: Re: Re: Re: First Day Disgust!

2007-09-08 Thread Philip A. Chapman
On Sat, 2007-09-08 at 23:07 +0200, Robo wrote: May be a little bit of respect and honesty to wicket newcomers, and also understand why there are their needs and be abowe the matter , would help you ... Yet another useless atack ... teacher ... I am not one of the core developers, but have

Re: Disable the SecondLevelPageCache?

2007-09-08 Thread Eelco Hillenius
On 9/8/07, Ryan Holmes [EMAIL PROTECTED] wrote: Hi Eelco, Thanks for the thorough response (as usual). We're almost done converting from Tap 4 to Wicket 1.2 and we'll look into migrating to 1.3 pretty soon. I was planning on reverting to the HttpSessionStore immediately because I assumed the

Re: How to force a delete (from disk) of the session from the session store?

2007-09-08 Thread Eelco Hillenius
Chris Lintz wrote: Hi, When a user logouts of the site, i want to kill the session and have it be removed from disk immediately. I have extended WebSession properly, but no methods on the WebSession class seem to do the trick for me. Is there a way to to trigger the removal of the

Re: Using Include and placing pages under WEB-INF

2007-09-08 Thread Jason Mihalick
Thank you for the suggestion. This looks like it ought to work fine for exploded WARs, but it seems like it would be a problem when then app is deployed in a WAR. Is there any way to do this that will work when the app is deployed in a WAR archive? Or is there perhaps another wicket component

DatePicker style in old Wicket 2.0

2007-09-08 Thread Stefan Lindner
Der wicket wizzards, how can I modify the look (e.g. the font-size) of the DatePicker popup js-component? I try to override the css class (.calendar) in my own css but this has no effect. Html-code like head link rel=stylesheet type=text/css href=MyOwnCalendarStyle.css/

Invitation to Cocoon GetTogether 2007

2007-09-08 Thread Grzegorz Kossakowski
Hello Wicket devs and users! On behalf of Cocoon GetTogether organizers I would invite you to Cocoon GT 2007 that will take place in Rome, Italy this year! First two days are reserved for community meet up called Hackathon. Hackathon is informal event which essential function is to have fun

AjaxFallbackOrderByBorder not doing ajax

2007-09-08 Thread Craig Lenzen
I have to admit that I don't fully understand the ajaxfallback components, but I just switched over to AjaxFallbackOrderByBorder and it still seems to be making full requests instead of ajax requests. I assume I'm doing something stupidly wrong here, any help would be greatly appreciated. By

Re: AjaxFallbackOrderByBorder not doing ajax

2007-09-08 Thread Craig Lenzen
Sorry, disregard this posting, as I thought, I was doing something completely stupid, it helps to add the AjaxFallbackOrderByBorder component instead of the OrderByBorder component. -Craig Craig Lenzen wrote: I have to admit that I don't fully understand the ajaxfallback components, but I

Locating CSS under WEB-INF, please help

2007-09-08 Thread Jason Mihalick
I've been searching the forums and wiki on this half the night and I just can't figure out what I'm doing wrong here, so please bear with me if there is an obvious answer to this. Wicket is not finding my css or js resources when the application is deployed. I followed the wiki instructions

Re: Using Include and placing pages under WEB-INF

2007-09-08 Thread Kent Tong
Jason Mihalick wrote: Thank you for the suggestion. This looks like it ought to work fine for exploded WARs, but it seems like it would be a problem when then app is deployed in a WAR. Is there any way to do this that will work when the app is deployed in a WAR archive? Or is there

Re: Using Include and placing pages under WEB-INF

2007-09-08 Thread Jason Mihalick
Thanks, yes, my solution was close to this, but I opted instead to subclass the Include class. I think the solution that you propose below may cause wicket to create an absolute URL to the HTML files under the WEB-INF dir which will be inaccessible by the browser. Here is my subclass of the

Re: Using Include and placing pages under WEB-INF

2007-09-08 Thread Kent Tong
Thanks, yes, my solution was close to this, but I opted instead to subclass the Include class. I think the solution that you propose below may cause wicket to create an absolute URL to the HTML files under the WEB-INF dir which will be inaccessible by the browser. /quote No. The URL is never

Re: Re: First Day Disgust!

2007-09-08 Thread Gabor Szokoli
With all due respect: On 9/8/07, Eelco Hillenius [EMAIL PROTECTED] wrote: Do note however, that we presume basic knowledge of Java programming ...fair enough... and Java web applications (what is a war, what is a web.xml file). Wicket, being component based, has great appeal for people with

Re: First Day Disgust!

2007-09-08 Thread Jonathan Locke
do my homework for me now or i will continue mock your miserable web framework! it seems probable that this won't make you many friends. chickabee wrote: Hi Wicketers, I tried wicket today and the example application was up and running on tomcat in no time, so that was the good part,

Re: Two small questions

2007-09-08 Thread Jonathan Locke
yeah, more like an omission, but this is definitely a problem so far as i recall. Kent Tong wrote: Sebastiaan van Erk wrote: Ok, to answer my own question, it seems that ExternalLink does not have the ability to be disabled like Link. Looks like a bug to me. I'd suggest that

Re: Adding an image in imageMap?

2007-09-08 Thread Kent Tong
bhupat parmar wrote: hi i have to add an iamge in my ImageMap.RectangleLink which is not predefined THE IMAGE IS LOADED from database? You can try using an AttributeModifier to modify the src attribute of the tag. You can subclass ResourceReference to load the image from your DB and

Re: Wicket Validation Error

2007-09-08 Thread Kent Tong
spencer.c wrote: StringValidator.maximum=${label} must be no longer than ${maximum} characters. sendForm.senderField.Required=You must provide your email address to proceed. Try: sendForm.senderField.StringValidator.maximum=${label} must be no longer than ${maximum} characters.