[Wicket-user] Help: Creating a Apache-licensed Wysiwyg-Textarea for Wicket

2007-04-23 Thread Ralf Eichinger
there is a tinymce-component in distribution. but it is very heavyloaded and I want to start a wysiwyg-textarea for wicket. the license should be apache, so wicket can incorporate it. as a first time component for me I started reading source-codes (datepicker), the pro wicket book and got confused

Re: [Wicket-user] Escaping of HTML by wicket:message - can this be disabled?

2007-04-23 Thread ZedroS Schwart
I'm using the 1.3.0 (after asking the mailing list and updating the wiki !). I'll give the 1.3.0 jar another try tonight to see if the behavior persists. Cheers ZedroS (aka Joseph) On 4/20/07, Igor Vaynberg [EMAIL PROTECTED] wrote: are you sure you are using 1.3.0-incubating and not the

Re: [Wicket-user] Which toolkit to use?

2007-04-23 Thread Martijn Dashorst
It depends on what you are looking for. Activity wicket-contrib-dojo is in my opinion the most actively maintained. extjs is not a project yet, and yui is in its infancy if I understand correctly. scriptactulous is not very evolved as a supported library, however I haven't followed its commit

[Wicket-user] HttpSessionListener interface

2007-04-23 Thread shumbola
The use case is following: I want to prevent simultaneous logins for users. If user already logged in from one ip address, I show the error message. For this I've added a HashMap field into my Application class, and after successful authorization I add a user into this map. If user logs out, I

Re: [Wicket-user] HttpSessionListener interface

2007-04-23 Thread Johan Compagner
just let your websession implement the httpsessionlistener johan On 4/23/07, shumbola [EMAIL PROTECTED] wrote: The use case is following: I want to prevent simultaneous logins for users. If user already logged in from one ip address, I show the error message. For this I've added a HashMap

Re: [Wicket-user] HttpSessionListener interface

2007-04-23 Thread shumbola
Johan Compagner wrote: just let your websession implement the httpsessionlistener That was my first try ;) But HttpSessionListener requires an empty ctor, WebSession ctor with parameters (Application, Request). Is it ok to make a default ctor for my session as calling super(null, null)? --

Re: [Wicket-user] HttpSessionListener interface

2007-04-23 Thread shumbola
shumbola wrote: Johan Compagner wrote: just let your websession implement the httpsessionlistener That was my first try ;) But HttpSessionListener requires an empty ctor, WebSession ctor with parameters (Application, Request). Is it ok to make a default ctor for my session as

Re: [Wicket-user] HttpSessionListener interface

2007-04-23 Thread Johan Compagner
use the HttpSessionBindingListener On 4/23/07, shumbola [EMAIL PROTECTED] wrote: shumbola wrote: Johan Compagner wrote: just let your websession implement the httpsessionlistener That was my first try ;) But HttpSessionListener requires an empty ctor, WebSession ctor with

Re: [Wicket-user] What features do want to show in wicket demo

2007-04-23 Thread 王磊
I choose hibernate or ibatis insteadof JPA. One reason is i am not familiar with it and have much experenices on hibernate. As far as criteria,i prefer to OJB. Blog is a good idea. - This SF.net email is sponsored by

[Wicket-user] form.setVisible(false) possible through an AjaxSubmitButton onSubmit ?

2007-04-23 Thread ZedroS Schwart
Hi all I've recently encountered and understood more and more ajax limitations and here is one I'm still wondering about : should form.setVisible(false) be possible in an AjaxSubmitButton's onSubmit even ? For sure, this form is the one the ajaxSubmitButton is linked to. Thanks in advance ZedroS

Re: [Wicket-user] form.setVisible(false) possible through an AjaxSubmitButton onSubmit ?

2007-04-23 Thread James McLaughlin
Sure, just replace the forms parent in onSubmit. best, jim On 4/23/07, ZedroS Schwart [EMAIL PROTECTED] wrote: Hi all I've recently encountered and understood more and more ajax limitations and here is one I'm still wondering about : should form.setVisible(false) be possible in an

Re: [Wicket-user] Help: Creating a Apache-licensed Wysiwyg-Textarea for

2007-04-23 Thread Ralf Eichinger
thank you Jean-Baptiste. ok, I see there is another solution. but nevertheless I want to learn how things can be done. and I couldn't figure out how I can add dynamically gui-components. when I do a if/else in java I get exceptions because of wicket:ids in html not finding their component in java

Re: [Wicket-user] Help: Creating a Apache-licensed Wysiwyg-Textarea for

2007-04-23 Thread Robbert Vergeten
with panels? a.k.a Panel myPanel; if(showPanel1) myPanel = new Panel1(); else myPanel = new Panel2(); each panel has its own markup so this way your wicket:ids are only those from the correct panel. On 4/23/07, Ralf Eichinger [EMAIL PROTECTED] wrote: thank you Jean-Baptiste. ok, I see there

Re: [Wicket-user] form.setVisible(false) possible through an AjaxSubmitButton onSubmit ?

2007-04-23 Thread ZedroS Schwart
Hi Jim What do you mean by replace the forms parent ? I'm a newbe, this may explain that ;) Thanks again ZedroS On 4/23/07, James McLaughlin [EMAIL PROTECTED] wrote: Sure, just replace the forms parent in onSubmit. best, jim On 4/23/07, ZedroS Schwart [EMAIL PROTECTED] wrote: Hi all

[Wicket-user] how to download wicket cd app example

2007-04-23 Thread Abdurrahman Sahin
hi; this is my 2nd post. i'm new to this community. I tried to download wicket cd app, but not found any url for download so far. is there any source code of this application?. best regards. - This SF.net email is sponsored

Re: [Wicket-user] how to download wicket cd app example

2007-04-23 Thread Martijn Dashorst
How good is your google foo? http://www.google.com/search?client=safarirls=enq=wicket+phonebookie=UTF-8oe=UTF-8 First link gives you your answer Martijn On 4/23/07, Abdurrahman Sahin [EMAIL PROTECTED] wrote: hi; this is my 2nd post. i'm new to this community. I tried to download wicket cd

Re: [Wicket-user] form.setVisible(false) possible through an AjaxSubmitButton onSubmit ?

2007-04-23 Thread Johan Compagner
or in 1.3 use: public final Component setOutputMarkupPlaceholderTag(final boolean outputTag) On 4/23/07, James McLaughlin [EMAIL PROTECTED] wrote: Sure, just replace the forms parent in onSubmit. best, jim On 4/23/07, ZedroS Schwart [EMAIL PROTECTED] wrote: Hi all I've recently

Re: [Wicket-user] how to download wicket cd app example

2007-04-23 Thread ZedroS Schwart
Regarding Wicket 1.3, as said there http://cwiki.apache.org/WICKET/migrate-13.html, you can find all the download there : http://wicketstuff.org/maven/repository/org/apache/wicket/ For you cd app, I don't know what it is so... cheers ZedroS On 4/23/07, Martijn Dashorst [EMAIL PROTECTED] wrote:

Re: [Wicket-user] how to download wicket cd app example

2007-04-23 Thread Martijn Dashorst
OK, I need to *READ* messages... :) You can find the code here: http://wicket-stuff.svn.sf.net/svnroot/wicket-stuff/branches/WICKET_1_2/wicket-contrib-examples Martijn On 4/23/07, Martijn Dashorst [EMAIL PROTECTED] wrote: How good is your google foo?

Re: [Wicket-user] how to download wicket cd app example

2007-04-23 Thread Martijn Dashorst
And for wicket-1.3, probably: http://wicket-stuff.svn.sf.net/svnroot/wicket-stuff/trunk/wicket-contrib-examples/ Though, I'm not sure if this actually runs or not. Martijn On 4/23/07, Martijn Dashorst [EMAIL PROTECTED] wrote: OK, I need to *READ* messages... :) You can find the code here:

Re: [Wicket-user] form.setVisible(false) possible through an AjaxSubmitButton onSubmit ?

2007-04-23 Thread James McLaughlin
For example, if the form lives inside, then in onSubmit do target.addComponent(panel) . This way the panel's markup gets replaced in the browser and since isVisible is false for the form, the forms markup simply won't be there. I guess the problem you are having now is that you are adding the

Re: [Wicket-user] how to download wicket cd app example

2007-04-23 Thread Abdurrahman Sahin
hi; as i said i already tried to find it. here is the what cd app is http://www.google.com.tr/search?hl=trclient=firefox-arls=org.mozilla%3Atr%3Aofficialq=wicket+cd+appbtnG=Arameta= http://www.wicket-library.com/wicket-contrib-examples/ your phonebook link is totally irrelevant, but thanks

Re: [Wicket-user] how to download wicket cd app example

2007-04-23 Thread Abdurrahman Sahin
hi; cd app is located under Wicket Contrib Examples pls follow the link http://www.wicket-library.com/wicket-contrib-examples/ I'm looking for source code of this example, not the phonebook one. best regards. 2007/4/23, ZedroS Schwart [EMAIL PROTECTED]: Regarding Wicket 1.3, as said there

Re: [Wicket-user] how to download wicket cd app example

2007-04-23 Thread Martijn Dashorst
I have updated the wicket-contrib-examples project page to point out it is the cd-application, and where to find it in svn. http://wicketstuff.org/confluence/display/STUFFWIKI/wicket-contrib-examples Martijn On 4/23/07, Abdurrahman Sahin [EMAIL PROTECTED] wrote: hi; cd app is located under

Re: [Wicket-user] ajax libraries wicket

2007-04-23 Thread Scott Swank
Yes, it just checked that the 1st date (check-in) was in the future and prior to the 2nd date (check-out). Scott On 4/22/07, Flavius [EMAIL PROTECTED] wrote: Is the DatesComparatorValidator object something you wrote or is that something coming in wicket 1.3? -- View this message in

Re: [Wicket-user] Giving Wicket a try; a few questions

2007-04-23 Thread Matthias Karlsson
And one more specific question regarding Wicket template system. For my web application, I'll most likely need some part of each page that either displays some information about the logged in user, or otherwise a form allowing the user to log in. With some other framework, I'd have a

Re: [Wicket-user] Help: Creating a Apache-licensed Wysiwyg-Textarea for Wicket

2007-04-23 Thread Igor Vaynberg
you know jbq, i would love to see you for once answer a question instead of only pimping dojo :) class rtebehavior extends abstractbehavior implements iheadercontributor { public static JavascriptReference ref=new JavascriptReference( rtebehavior.class, rte.js); private Component target;

Re: [Wicket-user] How do I show/hide row

2007-04-23 Thread Igor Vaynberg
what you have below seems pretty reasonable. if it is more then just links changing i would swap a different fragment in, but it looks like overkill for your case. -igor On 4/22/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I have a table which contains a list of users. At the end of each

Re: [Wicket-user] Help: Creating a Apache-licensed Wysiwyg-Textarea for

2007-04-23 Thread Igor Vaynberg
see my reply in your original thread -igor On 4/23/07, Ralf Eichinger [EMAIL PROTECTED] wrote: thank you Jean-Baptiste. ok, I see there is another solution. but nevertheless I want to learn how things can be done. and I couldn't figure out how I can add dynamically gui-components. when I do

Re: [Wicket-user] Giving Wicket a try; a few questions

2007-04-23 Thread Igor Vaynberg
On 4/23/07, Matthias Karlsson [EMAIL PROTECTED] wrote: see how each panel overrides isvisible(). since the conditions are opposite only one panel is visible at any given time. this is one way of doing conditional visibility. there are other patterns to use when you have more then two panels to

[Wicket-user] DropDownChoice from ResourceBundles

2007-04-23 Thread Francisco Diaz Trepat - gmail
Hi everyone, I was wondering if there is a more automatic way of building a DropDownChoice out of resource bundles. Here is the case: 1- I have form inside a panel, which in turn has a dropdownchoice that has to be built with options on a resource bundle for i18n reasons. In this case

Re: [Wicket-user] Help: Creating a Apache-licensed Wysiwyg-Textarea for Wicket

2007-04-23 Thread Igor Vaynberg
i thought doing this was part of the job. i thought being of apache background you wouldve understood this better then any of us. -igor On 4/23/07, Jean-Baptiste Quenot [EMAIL PROTECTED] wrote: * Igor Vaynberg: you know jbq, i would love to see you for once answer a question instead of

Re: [Wicket-user] DropDownChoice from ResourceBundles

2007-04-23 Thread Igor Vaynberg
off the top of my head something like this might do it class mappeddropdownchoice extends dropdownchoice { private map val; public mappeddropdownchoice(string id, final map val) { super(id); this.val=val; setchoices(map.keys()); setchoicerenderer(new ichoicerenderer()) {

Re: [Wicket-user] form.setVisible(false) possible through an AjaxSubmitButton onSubmit ?

2007-04-23 Thread ZedroS Schwart
Thanks a lot for your answer. In fact, I was confused because the form onSubmit was called but the setVisible(false) in it wasn't rendered. I've just added target.addComponent(form) on my ajax submit button and it now works properly. I didn't know this target.AddComponent was first of all

Re: [Wicket-user] Set different output for WebMarkupContainer

2007-04-23 Thread M.A.Bednarz
Perfect ! It works ! Here is my resulting code: public class ErrorIndicator extends WebMarkupContainer { FormComponent component; private final static SimpleAttributeModifier errorIndicator = new SimpleAttributeModifier(class, errorindicator); public ErrorIndicator(String id,

[Wicket-user] DBsessionstore ?

2007-04-23 Thread M.A.Bednarz
Hi all, I would like to ask about custom implementations of wickets ISessionStore. Are there any implementations regarding to store SessionInformation to a database? Maybe something like an DBsessionstore ? I read that someone has worked on a Terracotta Session Store but I can not find a

Re: [Wicket-user] Set different output for WebMarkupContainer

2007-04-23 Thread Igor Vaynberg
also you dont need the attribute modifier, you can override oncomponenttag in the errorindicator and perform the same function -igor On 4/23/07, M.A.Bednarz [EMAIL PROTECTED] wrote: Perfect ! It works ! Here is my resulting code: * public * *class* ErrorIndicator *extends*

Re: [Wicket-user] form.setVisible(false) possible through an AjaxSubmitButton onSubmit ?

2007-04-23 Thread Erik van Oosten
Hi ZedroS, Sorry, I am a bit late in this thread. Perhaps I am too late, but otherwise you might benefit from this article http://day-to-day-stuff.blogspot.com/2007/01/backward-compatible-ajax-development.html. Regards, Erik. ZedroS Schwart wrote: Thanks a lot for your answer. In

Re: [Wicket-user] DBsessionstore ?

2007-04-23 Thread Eelco Hillenius
I would like to ask about custom implementations of wickets ISessionStore. Are there any implementations regarding to store SessionInformation to a database? Maybe something like an DBsessionstore ? Nope. But it should be doable. E.g. by using SecondLevelCacheSessionStore with a custom of

Re: [Wicket-user] DBsessionstore ?

2007-04-23 Thread M.A.Bednarz
So Elco, this sounds like wicket is more alive then ever before. I have totally misunderstood one prior posting :-))) Where can I find SecondLevelCacheSessionStore? Is this part of wicket 1.25 oder 1.3? Maciek - Original Message - From: Eelco Hillenius [EMAIL PROTECTED] To:

Re: [Wicket-user] HttpSessionListener interface

2007-04-23 Thread Eelco Hillenius
The use case is following: I want to prevent simultaneous logins for users. If user already logged in from one ip address, I show the error message. For this I've added a HashMap field into my Application class, and after successful authorization I add a user into this map. If user logs out,

Re: [Wicket-user] form.setVisible(false) possible through an AjaxSubmitButton onSubmit ?

2007-04-23 Thread ZedroS Schwart
It's a very instructive post. Do you mind if I translate it to french and then publish it on this website : http://www.developpez.com/ ? For sure I would put a link to your blog ! :) ZedroS - This SF.net email is sponsored

Re: [Wicket-user] DropDownChoice from ResourceBundles

2007-04-23 Thread Francisco Diaz Trepat - gmail
Of the top of your head worked up fine!!! Thanks. Heres is the final code. private class MappedDropDownChoice extends DropDownChoice { private final Map mapValues; public MappedDropDownChoice(String id, final Map values) { super(id); this.mapValues=values;

Re: [Wicket-user] form.setVisible(false) possible through an AjaxSubmitButton onSubmit ?

2007-04-23 Thread Erik van Oosten
Of course, please go ahead! When you're done, please add the French link to http://cwiki.apache.org/WICKET/articles-about-wicket.html. Erik. ZedroS Schwart wrote: It's a very instructive post. Do you mind if I translate it to french and then publish it on this website :

Re: [Wicket-user] form.setVisible(false) possible through an AjaxSubmitButton onSubmit ?

2007-04-23 Thread ZedroS Schwart
Thanks a lot. It'll be done in the coming days :) Cheers, ZedroS On 4/23/07, Erik van Oosten [EMAIL PROTECTED] wrote: Of course, please go ahead! When you're done, please add the French link to http://cwiki.apache.org/WICKET/articles-about-wicket.html. Erik. ZedroS Schwart wrote:

[Wicket-user] Update to Using frames page on Wiki

2007-04-23 Thread JulianS
Update to Using frames on the Wicket Wiki: http://cwiki.apache.org/WICKET/using-frames.html http://cwiki.apache.org/WICKET/using-frames.html I'm using 1.2.5 and I've found the syntax has changed slightly. Instead of: lt;FRAME

Re: [Wicket-user] Which toolkit to use?

2007-04-23 Thread David Leangen
Awesome! Thank you for this superbly detailed reply! Mind if I pick your brain some more? For choosing a library it is a matter of taste and priorities. If you want an actively maintained wicket project, then dojo should be your cup of tea, if you want stability, probably prototype + some

[Wicket-user] NPE rendering ListView Item in 1.3

2007-04-23 Thread jamieballing
We are trying to migrate to 1.3 and have encountered an issue. We aren't sure if this is related to the way we are using it or if there might be a bug. We are getting a NPE which bubbles up into a message that wicket can't render a component. The stack trace is: Caused by:

Re: [Wicket-user] Which toolkit to use?

2007-04-23 Thread Eelco Hillenius
How about that misc components project Igor just started? Eelco On 4/23/07, David Leangen [EMAIL PROTECTED] wrote: Awesome! Thank you for this superbly detailed reply! Mind if I pick your brain some more? For choosing a library it is a matter of taste and priorities. If you want an

[Wicket-user] question on localization

2007-04-23 Thread Vadim Tesis
Hi, i'm having problems localizing a title of a page. there's one way to do that, from 'Pro Wicket' book. i need to have following markup: titlewicket:message key=page.title//title. then in locale specific properties files for every page i'll need to have property page.title. which is an

Re: [Wicket-user] question on localization

2007-04-23 Thread David Leangen
i tried to use Label() with PropertyModel(pageTitle) but didn't work for me. it rendered Home string all the time, no matter what the locale was. any ideas how to do this? You can do something like this: new Label( componentId, new StringResourceModel( pageTitle, this, new Model() ) ); In

Re: [Wicket-user] NPE rendering ListView Item in 1.3

2007-04-23 Thread Igor Vaynberg
first start off by showing your code. second, update to the latest 1.3snapshot. in my code listview.java doesnt have line 709. -igor On 4/23/07, jamieballing [EMAIL PROTECTED] wrote: We are trying to migrate to 1.3 and have encountered an issue. We aren't sure if this is related to the way

Re: [Wicket-user] AjaxFormComponentUpdatingBehavior w / RadioChoice

2007-04-23 Thread Eelco Hillenius
That's a good point. How about opening a feature request for this (though no promise we can fix it, but it's good to think about it). Eelco On 4/13/07, Carlos Pita [EMAIL PROTECTED] wrote: Hi all, how do you catch events triggered by radio choice changes? If you simply add the