Re: [Wicket-user] TinyMCE integration

2006-09-21 Thread Martijn Dashorst
Just one caveat: tinymce is LGPL last time I checked... not sure how this works out, but you can't guarantee that the CMS is then Apache licensed (if that is what you're aiming for). Martijn On 9/21/06, Janne Hietamäki [EMAIL PROTECTED] wrote: On Sep 21, 2006, at 10:31 AM, Ted Roeloffzen

[Wicket-user] Wicket Opportunity in The Netherlands

2006-09-21 Thread Jan Willem Janssen
Hello, We have an urgent need for temporary help on a Wicket project we have started. Planon (www.planon-fm.com)is an ISV delivering standard products for Facility Management. We're currently in the process of finalizing the next generation of our flagship product. We're extending the

Re: [Wicket-user] INPUT (+ value, + onClick) as Button?

2006-09-21 Thread Manuel Barzi
Hi, Igor what do you mean act as a link when clicked? a button submits the form - that is its purpose. if you dont want it to submit the form then instead of using type=submit use type=button and dont use Button but a webmarkupcontainer that sets the onclick attr to whatever you want. Yes,

Re: [Wicket-user] TinyMCE integration

2006-09-21 Thread Eelco Hillenius
I also have an open bug report for the system that I'm working on that tinymce doesn't work well with the latest Safari. I haven't checked that yet though... maybe other people have experience with that? Eelco On 9/21/06, Martijn Dashorst [EMAIL PROTECTED] wrote: Just one caveat: tinymce is

[Wicket-user] TinyMCE integration

2006-09-21 Thread Ted Roeloffzen
Some of you may know that we are trying to create a CMS or a least CMS-components with Wicket. When i looked at the Wicket-stuff site a saw that there is a project to integrate TinyMCE into Wicket. I was wondering if anyone knows how far along this project is. It could be a fine addition to the

Re: [Wicket-user] TinyMCE integration

2006-09-21 Thread Janne Hietamäki
On Sep 21, 2006, at 10:31 AM, Ted Roeloffzen wrote: Some of you may know that we are trying to create a CMS or a least CMS-components with Wicket. When i looked at the Wicket-stuff site a saw that there is a project to integrate TinyMCE into Wicket. I was wondering if anyone knows how

Re: [Wicket-user] form with wicket:child

2006-09-21 Thread Stefan Lindner
because in markup you have ajaxSaveButton but in java you have ajaxSubmitButton for id values. That's not the point. This happened when I stripped down the real code for this email. not sure this usecase will work period though _right now_. you see form components need to be children of

Re: [Wicket-user] form with wicket:child

2006-09-21 Thread Nino Wael
Put the bug on sourceforge, and place the simple test case there as well? regards -Original Message- From: [EMAIL PROTECTED] on behalf of Stefan Lindner Sent: Thu 21-09-2006 11:47 To: wicket-user@lists.sourceforge.net Cc: Subject:Re: form with wicket:child because

Re: [Wicket-user] Javascript property set by javacode?

2006-09-21 Thread Nino Wael
thanks From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Igor Vaynberg Sent: 19. september 2006 17:56 To: wicket-user@lists.sourceforge.net Subject: Re: [Wicket-user] _javascript_ property set by javacode? see PackagedTextTemplate and HeaderContributor. the

Re: [Wicket-user] INPUT (+ value, + onClick) as Button?

2006-09-21 Thread Manuel Barzi
Note that I am using the INPUT(type=button) / BUTTON html element as a standalone component, not inside a form... Wait for your answer... hope to come soon. Thanks. On 9/21/06, Manuel Barzi [EMAIL PROTECTED] wrote: Hi, Igor what do you mean act as a link when clicked? a button submits the

Re: [Wicket-user] wicket bench 0.4

2006-09-21 Thread ChuckDeal
James McLaughlin-3 wrote: hmm.. If you put a trailing slash on the URL it doesn't work. Make sure your url is as below: Well, I had already tried it both ways, but I gave it a try again anyways... Still no luck. So, I decided to remove the feature and attempt a re-install. It found the

Re: [Wicket-user] wicket bench 0.4

2006-09-21 Thread Juergen Donnerstag
yes, that's what eclipse is telling me Juergen On 9/21/06, ChuckDeal [EMAIL PROTECTED] wrote: James McLaughlin-3 wrote: hmm.. If you put a trailing slash on the URL it doesn't work. Make sure your url is as below: Well, I had already tried it both ways, but I gave it a try again

Re: [Wicket-user] wicket bench 0.4

2006-09-21 Thread Joni Freeman
On Thu, 2006-09-21 at 04:48 -0700, ChuckDeal wrote: James McLaughlin-3 wrote: hmm.. If you put a trailing slash on the URL it doesn't work. Make sure your url is as below: Well, I had already tried it both ways, but I gave it a try again anyways... Still no luck. So, I decided

Re: [Wicket-user] wicket bench 0.4

2006-09-21 Thread ChuckDeal
What version of Eclipse are you running? I am still running 3.1.1, The Wicket Bench site indicates that 0.4.0 should still run on 3.1 as well as 3.2. Chuck Juergen Donnerstag wrote: yes, that's what eclipse is telling me Juergen On 9/21/06, ChuckDeal [EMAIL PROTECTED] wrote:

Re: [Wicket-user] wicket bench 0.4

2006-09-21 Thread ChuckDeal
Joni Freeman wrote: Could it be a caching problem. Please try to open the site.xml with browser: http://www.laughingpanda.org/svn/wicket-bench/trunk/wicket-bench-site/site.xml Do you see 0.4.0 feature there: feature url=features/wicketbench_0.4.0.jar id=wicketbench version=0.4.0

Re: [Wicket-user] wicket bench 0.4

2006-09-21 Thread Joni Freeman
On Thu, 2006-09-21 at 05:33 -0700, ChuckDeal wrote: I just went to a co-workers box who has NEVER visited the site and still the same result. I suppose it is possible that somewhere in-between my box and your server that someone is caching it, but is that the most likely cause for my problem?

Re: [Wicket-user] wicket bench 0.4

2006-09-21 Thread ChuckDeal
Joni Freeman wrote: On Thu, 2006-09-21 at 05:33 -0700, ChuckDeal wrote: I just went to a co-workers box who has NEVER visited the site and still the same result. I suppose it is possible that somewhere in-between my box and your server that someone is caching it, but is that the most

[Wicket-user] Database Integration With Wicket

2006-09-21 Thread Ayodeji Aladejebi
Okay I know of all the contrib projects, databinder, hibernate stuffs etc, I have used databinder and its lovely but I think for some reason, database in wicket needs to be sort of easier to put up to encourage faster adaptation. Come to think about it, presently most of the present solutions

[Wicket-user] Tree scrolling

2006-09-21 Thread Steve Knight
I am using the new tree component that was backported to 1.2, but I am having trouble putting the tree into a scrollable div. I would like to restrict the tree to a certain height on screen, and when the tree gets larger it should show vertical scrollbars. This sort of works. The text scrolls fine

Re: [Wicket-user] INPUT (+ value, + onClick) as Button?

2006-09-21 Thread Manuel Barzi
Ok, Igor, I already solved this issue by re-implementing Link class in my custom LinkButton class, just adding the following snippet extracted from Button class, and added to the original onComponentTag Link in this new LinkButton class: --- // Default handling for tag

Re: [Wicket-user] INPUT (+ value, + onClick) as Button?

2006-09-21 Thread Erik van Oosten
If this gets accepted, may I humbly suggest to replace value != null !.equals(value) with value != null value.length() != 0 The latter performs considerably faster (though it is of course still a micro optimization). Regards, Erik. -- Erik van Oosten

Re: [Wicket-user] INPUT (+ value, + onClick) as Button?

2006-09-21 Thread Frank Bille
On 9/21/06, Erik van Oosten [EMAIL PROTECTED] wrote: If this gets accepted, may I humbly suggest to replacevalue != null !.equals(value)withvalue != null value.length() != 0The latter performs considerably faster (though it is of course still a micro optimization).You are welcome to submit a

Re: [Wicket-user] Tree scrolling

2006-09-21 Thread Steve Knight
Ok, I just noticed that the tree component has built-in scrolling, but the problem remains valid. The images don't scroll...at least not in IE. In Firefox, the scrollbars don't even show up. On 9/21/06, Steve Knight [EMAIL PROTECTED] wrote: I am using the new tree component that was backported to

Re: [Wicket-user] INPUT (+ value, + onClick) as Button?

2006-09-21 Thread Manuel Barzi
Hi, Erik, If this gets accepted, may I humbly suggest to replace value != null !.equals(value) with value != null value.length() != 0 The latter performs considerably faster (though it is of course still a micro optimization). You're right... already updated! Thanks.

Re: [Wicket-user] INPUT (+ value, + onClick) as Button?

2006-09-21 Thread Manuel Barzi
Hi, Frank, You are welcome to submit a patch :) Yeah, why not... should I enroll wicket-devel to submit this patch, you tell me... Thanks. - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's

Re: [Wicket-user] INPUT (+ value, + onClick) as Button?

2006-09-21 Thread Frank Bille
Sry I was talking to Erik that if he's got a better way to do such checks in Wicket. Since I haven't been following this discussion I can't really say if what your doing is something that can be used :) Frank On 9/21/06, Manuel Barzi [EMAIL PROTECTED] wrote: Hi, Frank, You are welcome to submit a

Re: [Wicket-user] INPUT (+ value, + onClick) as Button?

2006-09-21 Thread Manuel Barzi
I know, I know, you were addressing to Erik... just told you as I have the hot-code here updated... On 9/21/06, Frank Bille [EMAIL PROTECTED] wrote: Sry I was talking to Erik that if he's got a better way to do such checks in Wicket. Since I haven't been following this discussion I can't

Re: [Wicket-user] INPUT (+ value, + onClick) as Button?

2006-09-21 Thread Manuel Barzi
(Btw, SRY is the s---e---x determining Y chromosome... meaning that :?) - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT

Re: [Wicket-user] INPUT (+ value, + onClick) as Button?

2006-09-21 Thread Frank Bille
Sry again. Please submit patch if you have the time. We use sourceforge's bugtracker:https://sourceforge.net/tracker/?group_id=119783atid=684975 FrankOn 9/21/06, Manuel Barzi [EMAIL PROTECTED] wrote: I know, I know, you were addressing to Erik... just told you as I havethe hot-code here

Re: [Wicket-user] INPUT (+ value, + onClick) as Button?

2006-09-21 Thread Erik van Oosten
LOL I'll refrain from sending trivial changes to the wicket list in the future :) Erik. -- Erik van Oosten http://www.day-to-day-stuff.blogspot.com/ - Take Surveys. Earn Cash. Influence the Future of IT Join

Re: [Wicket-user] INPUT (+ value, + onClick) as Button?

2006-09-21 Thread Frank Bille
and I stop talking to people when my head is not clear... :SFrankOn 9/21/06, Erik van Oosten [EMAIL PROTECTED] wrote:LOLI'll refrain from sending trivial changes to the wicket list in the future :) Erik.--Erik van

Re: [Wicket-user] INPUT (+ value, + onClick) as Button?

2006-09-21 Thread Manuel Barzi
:) so trivial? then, let it be... I guess with a global search replace tool, you may micro-optimize likely a lot of portions of code containing that non-optimized comparison... (will try, nevertheless, to submit that patch...)

[Wicket-user] Adding events to a form component

2006-09-21 Thread Alberto Bueno
I would like to know if is possible to add different actions to the same event to a form component. For instance, I want to add two actions to the same textfield, but from different places: textField.add(new SimpleAttributeModifier(onchange, alert(this.value);)); textField.add(new

Re: [Wicket-user] INPUT (+ value, + onClick) as Button?

2006-09-21 Thread Erik van Oosten
Very true. BTW this sounds like a PMD rule :) Still, they will be micro optimizations, only noticeable when they occur in a long loop. Usually its good architecture that will give you real performance gains. (This is why I love Wicket!) Manuel Barzi schreef: :) so trivial? then, let it be...

Re: [Wicket-user] Adding events to a form component

2006-09-21 Thread Martijn Dashorst
wicket.behavior.AttributeAppender On 9/21/06, Alberto Bueno [EMAIL PROTECTED] wrote: I would like to know if is possible to add different actions to the same event to a form component. For instance, I want to add two actions to the same textfield, but from different places:

Re: [Wicket-user] Adding events to a form component

2006-09-21 Thread Alberto Bueno
Thanks :) Martijn Dashorst wrote: wicket.behavior.AttributeAppender On 9/21/06, Alberto Bueno [EMAIL PROTECTED] wrote: I would like to know if is possible to add different actions to the same event to a form component. For instance, I want to add two actions to the same textfield, but

Re: [Wicket-user] INPUT (+ value, + onClick) as Button?

2006-09-21 Thread Manuel Barzi
Submitted and CLOSED. https://sourceforge.net/tracker/index.php?func=detailaid=1562907group_id=119783atid=684975 - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the

Re: [Wicket-user] INPUT (+ value, + onClick) as Button?

2006-09-21 Thread Frank Bille
If you could do the actual change and then submit a patch for that change it will be even faster for us to handle it.FrankOn 9/21/06, Manuel Barzi [EMAIL PROTECTED] wrote:Submitted and CLOSED. https://sourceforge.net/tracker/index.php?func=detailaid=1562907group_id=119783atid=684975

Re: [Wicket-user] form with wicket:child

2006-09-21 Thread Igor Vaynberg
there is no need for a bug report, i already wrote a test case and juergen is working off it. the testcase is called WrappedWicketBodyTest.as for the timeline that is a better question for juergen...-Igor On 9/21/06, Nino Wael [EMAIL PROTECTED] wrote: Put the bug on sourceforge, and place the

Re: [Wicket-user] INPUT (+ value, + onClick) as Button?

2006-09-21 Thread Frank Bille
And submit a patch just means attaching the patch to that bug report you have opened.FrankOn 9/21/06, Frank Bille [EMAIL PROTECTED] wrote:If you could do the actual change and then submit a patch for that change it will be even faster for us to handle it. FrankOn 9/21/06, Manuel Barzi [EMAIL

Re: [Wicket-user] INPUT (+ value, + onClick) as Button?

2006-09-21 Thread Manuel Barzi
If you could do the actual change and then submit a patch for that change it will be even faster for us to handle it. Done... - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and

Re: [Wicket-user] INPUT (+ value, + onClick) as Button?

2006-09-21 Thread Manuel Barzi
And submit a patch just means attaching the patch to that bug report you have opened. Sí, chabón, ya te había entendido... ;) - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and

Re: [Wicket-user] Database Integration With Wicket

2006-09-21 Thread Igor Vaynberg
look at wicket-phonebook, it uses wicket and spring. there are dao implementations for hibernate and ibatis, but it would be trivial to write one for jdbc. spring takes care of all the connection/transaction management for you. if you dont want spring and want to write something for pure jdbc i

Re: [Wicket-user] INPUT (+ value, + onClick) as Button?

2006-09-21 Thread Igor Vaynberg
i guess this should be the last we hear from frank-IgorOn 9/21/06, Frank Bille [EMAIL PROTECTED] wrote:and I stop talking to people when my head is not clear... :S FrankOn 9/21/06, Erik van Oosten [EMAIL PROTECTED] wrote:LOLI'll refrain from sending trivial changes to the wicket list in the

Re: [Wicket-user] wicket bench 0.4

2006-09-21 Thread Joni Freeman
On Thu, 2006-09-21 at 05:45 -0700, ChuckDeal wrote: Ok. So unless anyone has a better idea, I'll just keep trying over the next few days. If this problem doesn't clear up on its own, would you be willing to put up an archived update site (or something)? Yes, of course. This link should point

Re: [Wicket-user] Tree scrolling

2006-09-21 Thread Matej Knopp
Scrolling shouldn't be a problem. div style=overflow: scroll; height: 20em div wicket:id=tree /div /div Well. In 1.2.2 there was a problem with internet explorer in standard compliance mode, images were staying even if tree scrolled. In current svn this is fixed. Can you please try current

Re: [Wicket-user] form with wicket:child

2006-09-21 Thread Juergen Donnerstag
timeline: I plan to look into it during the next day. We didn't come up with an easy solution yet, hence it all depends on if we find a feasable solution and how long it takes to implement. Hence, no commitment to a certain date, sorry for that. Juergen On 9/21/06, Igor Vaynberg [EMAIL

Re: [Wicket-user] Tree scrolling

2006-09-21 Thread Matej Knopp
One more thing. Instead overflow:scroll it would be better to have overflow:auto. -Matej Matej Knopp wrote: Scrolling shouldn't be a problem. div style=overflow: scroll; height: 20em div wicket:id=tree /div /div Well. In 1.2.2 there was a problem with internet explorer in standard

Re: [Wicket-user] Database Integration With Wicket

2006-09-21 Thread Nathan Hamblen
The colliding Application subclass problem is the reason I made AuthDataApplication, which copies the good stuff from AuthenticatedWebApplication. It's used in this example: http://databinder.net/recipe-book.html But yes it's a problem. I was waiting for some guidance from wicket-contrib (since

Re: [Wicket-user] Tree scrolling

2006-09-21 Thread Marc-Andre Houle
By default, from what I have seen in tree.css, it is already set to overflow:auto. So it is not necessary.MarcOn 9/21/06, Matej Knopp [EMAIL PROTECTED] wrote:One more thing. Instead overflow:scroll it would be better to have overflow:auto.-MatejMatej Knopp wrote: Scrolling shouldn't be a problem.

Re: [Wicket-user] Database Integration With Wicket

2006-09-21 Thread Eelco Hillenius
If someone would provide a JDBC version of wicket-phonebook, that would be welcome! We talked about wanting this, but haven't found any time to do this ourselves yet. Eelco On 9/21/06, Igor Vaynberg [EMAIL PROTECTED] wrote: look at wicket-phonebook, it uses wicket and spring. there are dao

Re: [Wicket-user] Database Integration With Wicket

2006-09-21 Thread Igor Vaynberg
re application subclasseswell, maybe we do what i did in wicket-spring, instead of subclassing webapplication create a class that holds the functionality, and store it in the application's metadata where other who need it can get to it. i dont see a reason to have a formal module system yet (ala

Re: [Wicket-user] DownDownChoice problem

2006-09-21 Thread Dumitru Postoronca
Igor Vaynberg wrote: can we see a quickstart? -Igor I'm sorry but I don't understand what you mean. (maybe that's because I'm new to java :) - posto - Take Surveys. Earn Cash. Influence the Future of IT Join

Re: [Wicket-user] DownDownChoice problem

2006-09-21 Thread Igor Vaynberg
what you do seems like it should work.so maybe what you can do is download wicket-quickstart project, add the minimum amount of your code to it to reproduce the problem and attach it to the email. that way whoever wants to help you can download the project and run it in the ide and see the problem

Re: [Wicket-user] Problem with tree width

2006-09-21 Thread Marc-Andre Houle
Since I got no one to help me, I have continued to search for this problem with no result. Also, maybe I wasn't clear enough to demonstrate the problem, so I will make a new effort to display it.Here is easy Path to demonstrate the problem 1 - got the web developper extension for firefox if it is

Re: [Wicket-user] INPUT (+ value, + onClick) as Button?

2006-09-21 Thread Johan Compagner
You will not be able to see the difference between optimalization...String.equals() does exactly that, it test for lengthand where we just do this .equals(value) without testing for nulli will not rewrite those by first testing null to be able to call for length. On 9/21/06, Erik van Oosten [EMAIL

[Wicket-user] ajax refresh on date picker

2006-09-21 Thread samyem
I took the latest SVN code today and suddenly, I am getting the following error everytime there is an ajax refresh on panels with date pickers: 2006-09-21 14:16:07,728 ERROR wicket.ajax.AjaxRequestTarget - Error while responding to an AJAX request: [EMAIL PROTECTED] markupIdToComponent

Re: [Wicket-user] ajax refresh on date picker

2006-09-21 Thread Igor Vaynberg
matej was working to fix this, i thought he did matej?-IgorOn 9/21/06, samyem [EMAIL PROTECTED] wrote:I took the latest SVN code today and suddenly, I am getting the following error everytime there is an ajax refresh on panels with date pickers:2006-09-21 14:16:07,728 ERROR

Re: [Wicket-user] TinyMCE integration

2006-09-21 Thread Eelco Hillenius
Checked it now, and the current release of tinymce does not work well. However, this issue http://sourceforge.net/tracker/index.php?func=detailaid=1440124group_id=103281atid=635682 suggests the problem I'm experiencing will be gone with the next release. Eelco On 9/21/06, Eelco Hillenius [EMAIL

Re: [Wicket-user] DownDownChoice problem

2006-09-21 Thread Gwyn Evans
What does c.getMyOptionValue() return? This... public HomePage() { add(new DropDownChoice( options, new Model(getMyOptionValue()), OPTIONS) { protected String getDefaultChoice(final Object selected) {

Re: [Wicket-user] Database Integration With Wicket

2006-09-21 Thread Gwyn Evans
I'd suggest another look at the wicket-phonebook, as there's an iBATIS varient that lets you control the SQL you use. I find it useful, whereas Hibernate's too big a step for me as I don't need the areas where Hibernate's that much stronger. /Gwyn On 21/09/06, Ayodeji Aladejebi [EMAIL

[Wicket-user] The problem about encoding and event in ajax

2006-09-21 Thread 王磊
I just try to write a book about wicket.(It's written in chinese,and it's free to get a e-book). But while i writing a ajax example,i got a stange problem. I writed a auto-complete text application with AutoCompleteTextField control. But i got the following 2problems. 1. If i