[Wicket-user] tinymce spellchecker

2006-06-02 Thread Iulian Costan
hi,i just want to let you know about new tinymce spellchecking feature. in order to use it you have to download a href="" href="http://sourceforge.net/projects/jazzy">http://sourceforge.net/projects/jazzy Jazzy Spell Check/a API and install it into mvn local repo (mvn install:install-file

Re: [Wicket-user] Form partial updates, how?

2006-06-02 Thread Gianugo Rabellino
On Jun 2, 2006, at 1:21 AM, Igor Vaynberg wrote: for your particular usecase i see a simple and elegant solution: the form where you enter the url - that can be a separate form that populates a model for another form that contains the rest of the fields...that way i think everything will

RE: [Wicket-user] RadioGroup and Listview

2006-06-02 Thread Nino Wael
Ok here it is, the page that holds the component that fails to load the model is the third page, and the component are called radiodropdown. I hope you can abstract from all the other stuff I had to put in there, were doing a lot of stuff with wicket/hibernate. So you need to click the

[Wicket-user] Best practice for mapping objects to ids

2006-06-02 Thread Ralf Ebert
Hi, quite often I have the problem that my model objects (which are bound using compound property models) contain a field like categoryId (as int), but when building pages, I would like to use objects like CategoryVO. Simplest example is choosing from a list, the dropdownchoices would be a

Re: [Wicket-user] ConcurrentModificationException

2006-06-02 Thread Johan Compagner
are you somehow adding another component to the ajax response when you are already rendering other components?Can you debug addComponent of AjaxRequestTarget?Why is that one called when already responding/rendering johanOn 6/2/06, samyem [EMAIL PROTECTED] wrote: I am getting this error with wicket

Re: [Wicket-user] Page mounting and DropDownChoice.wantOnSelectionChangedNotifications

2006-06-02 Thread Johan Compagner
no, there is no form because it's just a single dropdownchoice forpage navigation. I thought this is allowed because DropDownChoice has a fallback for the case that it can't be handled using a form.yes it is allowed to do that it was just to make sure that a form really wasn't used. And what do

Re: [Wicket-user] Best practice for mapping objects to ids

2006-06-02 Thread Johan Compagner
that is a problem. Because currently the Choice/ChoiceRender solutions requirea one-one relation ship between whats in the list and whats in the model.if you want to map that then the fastest way that i can think of right now is to use a model that sits between it. That maps CategoryVO - int back

Re: [Wicket-user] Best practice for mapping objects to ids

2006-06-02 Thread Matej Knopp
It's doable, but you have to write your own choice renderer. I've made a SimpleSelection class that might help you. Usage is SimpleSelectionItem items[] = { new SimpleSelectionItem(1, Male), new SimpleSelectionItem(2, Female), new SimpleSelectionItem(4, Unisex) }; SimpleSelection

Re: [Wicket-user] another dumb model question....

2006-06-02 Thread Johan Compagner
Do i see a Patch comming in from matej? ;)The contract is more or less this:if you pass null into the call then the model object is guaranteed to give the root object of the model.The root object is pretty much always the object that is specified through the constructor. And yes this also is true

Re: [Wicket-user] Form partial updates, how?

2006-06-02 Thread Johan Compagner
there is just no way for wicket to do this automatically because it cannot see inside your brain. do fix this igor. It would make my life so much more easier.johan

Re: [Wicket-user] Form partial updates, how?

2006-06-02 Thread Dirk Markert
2006/6/2, Johan Compagner [EMAIL PROTECTED]: there is just no way for wicket to do this automatically because it cannot see inside your brain. do fix this igor. It would make my life so much more easier.+1 johan Dirk

Re: [Wicket-user] Best practice for mapping objects to ids

2006-06-02 Thread Matej Knopp
Although this is intended to be used for simple constants drop downs. But I guess similar approach could be used if you store id's of your domain objects in models. -Matej Matej Knopp wrote: It's doable, but you have to write your own choice renderer. I've made a SimpleSelection class that

Re: [Wicket-user] Best practice for mapping objects to ids

2006-06-02 Thread Ralf Ebert
Hi, a one-one relation ship between whats in the list and whats in the model. if you want to map that then the fastest way that i can think of right now is to use a model that sits between it. That maps CategoryVO - int back and forward. I also thought about that, but how would I get the value

Re: [Wicket-user] Best practice for mapping objects to ids

2006-06-02 Thread Johan Compagner
you could just forward the callnew InBetweenModel(realModel){ getObject(component){int id = realModel.getObject(component)return idToObject(id);}}I will see if i can make it a bit easier for people that have this specific case. Now and then this question will popup. So maybe we could patch the

[Wicket-user] imp

2006-06-02 Thread ketan gote
hello frnds i want to implement various kind of report in wicket framework , i am not getting idea. please tell me some kind of suggestion.-- RegardsKetan D.Gote

[Wicket-user] help, tree view

2006-06-02 Thread ketan gote
hello frnds i am trying to implement tree view in wicket framework, but its not taking link as a param, which will have diffirent links for each node wating for reply-- RegardsKetan D.Gote

Re: [Wicket-user] imp

2006-06-02 Thread Justin Lee
-BEGIN PGP SIGNED MESSAGE- Hash: RIPEMD160 look at wicket-contrib-jasperreports ketan gote wrote: hello frnds i want to implement various kind of report in wicket framework , i am not getting idea. please tell me some kind of suggestion. -- Regards Ketan D.Gote - --

Re: [Wicket-user] [Question] How should Form be used?

2006-06-02 Thread Johan Compagner
First that last one with the button as a link that is logicalBecause then you don't submit the form.second i have no idea what you are exactly doing. why are you completely resetting the forms model when the button submits? What do you do with the data that is currently in the model (the submitted

Re: [Wicket-user] Best practice for mapping objects to ids

2006-06-02 Thread Matej Knopp
Hi, I don't know about extending current choice renderer. It seems to be too specific to be part of the generic ChoiceRenderer. I've made a choice renderer just for this use case. IdChoiceRendererPerson, Long renderer = new IdChoiceRendererPerson, Long() { protected Long

Re: [Wicket-user] Per page settings

2006-06-02 Thread Justin Lee
-BEGIN PGP SIGNED MESSAGE- Hash: RIPEMD160 Looks like at least one of your problems is doing string comparison using ==. jan_bar wrote: Hi, I am facing unpleasant troubles with setStripXmlDeclarationFromOutput. My application needs to output HTML pages with stripped XML prologue,

[Wicket-user] Re: Per page settings

2006-06-02 Thread jan_bar
Lee, it was a description of solution, not working Java code :-) Jan Looks like at least one of your problems is doing string comparison using ==. jan_bar wrote: Hi, I am facing unpleasant troubles with setStripXmlDeclarationFromOutput. My application needs to output HTML pages with

[Wicket-user] setStripWicketTags doesn't strip the xmlns:wicket attribute

2006-06-02 Thread jan_bar
Hi, I think that setStripWicketTags(true) should also remove the xmlns:wicket attribute. Should I fill bug report? Jan --- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest

Re: [Wicket-user] Form partial updates, how?

2006-06-02 Thread Igor Vaynberg
yes, maybe i will give it a try over the weekend or something, the theory seems sound to mehttp://dimel.uni-paderborn.de/fiff/themen/IT-arbeit/PFIfF -IgorOn 6/2/06, Dirk Markert [EMAIL PROTECTED] wrote: 2006/6/2, Johan Compagner [EMAIL PROTECTED]: there is just no way for wicket to do this

Re: [Wicket-user] Form partial updates, how?

2006-06-02 Thread Igor Vaynberg
I don't see exactly what the patch is needed for. We support updating components via calling modelChanged() and you have to visit the components you want to be partially updated and call it on them. Maybe I'm totally missing something. Bah look what you've done now, I used caps and apostrophes

Re: [Wicket-user] Using TreeComponent() - how to collapse by default

2006-06-02 Thread Eelco Hillenius
Sorry for the late reply, but like stated in the other thread, attachements with issue reports are the way to go. The main difficulty for me with the tree component is that I hardly use it myself, and those times that I did use it, the tree sufficed. So, if you have more needs: keep those patches

Re: [Wicket-user] Per page settings

2006-06-02 Thread Eelco Hillenius
Could you please submit a feature request for that? Eelco On 6/2/06, jan_bar [EMAIL PROTECTED] wrote: Hi, I am facing unpleasant troubles with setStripXmlDeclarationFromOutput. My application needs to output HTML pages with stripped XML prologue, but at the same time I have to serve XML

Re: [Wicket-user] Page mounting and DropDownChoice.wantOnSelectionChangedNotifications

2006-06-02 Thread Eelco Hillenius
Sounds like a bug. Could you please file it? Eelco On 6/1/06, Ralf Ebert [EMAIL PROTECTED] wrote: Hi, Your dropdown doesn't sit inside a Form? Because that url is not really generated normally anymore for form components Because the onSelectionChange is done as a semi submit of the

Re: [Wicket-user] Best practice for mapping objects to ids

2006-06-02 Thread Timo Stamm
Interesting. The SimpleSelection can be used on any DropDownChoice, this is nice. I extended DropDownChoice for all the cases where I want to specify the choices directly: public static class SimpleDropDownChoice extends DropDownChoice { private static class Choice { private String

Re: [Wicket-user] tinymce spellchecker

2006-06-02 Thread Eelco Hillenius
Nice, thanks a lot! Eelco On 6/2/06, Iulian Costan [EMAIL PROTECTED] wrote: hi, i just want to let you know about new tinymce spellchecking feature. in order to use it you have to download a href=http://sourceforge.net/projects/jazzy Jazzy Spell Check/a API and install it into mvn local

Re: [Wicket-user] setStripWicketTags doesn't strip the xmlns:wicket attribute

2006-06-02 Thread Juergen Donnerstag
An RFE please Juergen On 6/2/06, jan_bar [EMAIL PROTECTED] wrote: Hi, I think that setStripWicketTags(true) should also remove the xmlns:wicket attribute. Should I fill bug report? Jan --- All the advantages of Linux Managed

Re: [Wicket-user] RadioGroup and Listview

2006-06-02 Thread Igor Vaynberg
ah, i usually get the bounceback message. just rename the zip to jar-IgorOn 6/2/06, Eelco Hillenius [EMAIL PROTECTED] wrote:Actually, he didn't forget, but sourceforge removed it. That's something only the listadmins of Wicket see though :)EelcoOn 6/2/06, Igor Vaynberg [EMAIL PROTECTED] wrote:

[Wicket-user] Link to anchor?

2006-06-02 Thread Ali Zaid
Hay guys; I have been doing some coding today, and I came across a need to an anchor, I though that this will be a part of 1.2 release? Regards, Ali ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net

Re: [Wicket-user] Per page settings

2006-06-02 Thread Juergen Donnerstag
You could create your own BasePage for all Xml and HTML Pages and subclass configureResponse. I'm not especially in favor of such if(condition). They'll always be subject to discussions. Juergen On 6/2/06, Eelco Hillenius [EMAIL PROTECTED] wrote: Could you please submit a feature request for

Re: [Wicket-user] Link to anchor?

2006-06-02 Thread Eelco Hillenius
Sorry, that's not implemented yet. It's filed here http://sourceforge.net/tracker/index.php?func=detailaid=1491239group_id=119783atid=684978 When someone of us can find time for it, we'll implement it for the 1.2 branch and the 2.0 branch. Eelco On 6/1/06, Ali Zaid [EMAIL PROTECTED] wrote:

Re: [Wicket-user] Form partial updates, how?

2006-06-02 Thread Eelco Hillenius
You could turn things around and do the validation manually. Like: final TextField titleField = new RequiredTextField(title, new PropertyModel(model, title)); form.add(new TextField(url, new PropertyModel(model, url))); form.add(titleField); form.add(new Button(fetchUrl) { @Override

Re: [Wicket-user] another dumb model question....

2006-06-02 Thread Eelco Hillenius
Can you give examples of those objects? Can't you put them in the scope of the components they are needed for? One trick is to use an object that contains the objects you plan to work with, and make your models work on that. Eelco On 5/31/06, Vincent Jenks [EMAIL PROTECTED] wrote: I've got a

Re: [Wicket-user] Using TreeComponent() - how to collapse by default

2006-06-02 Thread David Leangen
Sorry for the late reply, but like stated in the other thread, attachements with issue reports are the way to go. No prob. You're busy enough. I'm very, VERY pleased will all the great support you guys are giving. Wicket even kicks ass over commercial products with so-called premuim support.

Re: [Wicket-user] Using TreeComponent() - how to collapse by default

2006-06-02 Thread Eelco Hillenius
Ah, I already applied the fix this morning for 1.2 and 2.0. I think you should typically get an email about this (I thought you automatically got to be a watcher when you enter an issue), and there's an option for anyone afaik to watch issues and thus get informed on changes. Cheers, Eelco On

Re: [Wicket-user] setStripWicketTags doesn't strip the xmlns:wicketattribute

2006-06-02 Thread jan_bar
RFE 1499926. Jan Juergen Donnerstag [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] An RFE please Juergen On 6/2/06, jan_bar [EMAIL PROTECTED] wrote: Hi, I think that setStripWicketTags(true) should also remove the xmlns:wicket attribute. Should I fill bug report? Jan

Re: [Wicket-user] [Question] How should Form be used?

2006-06-02 Thread Edward Yakop
On 6/2/06, Johan Compagner [EMAIL PROTECTED] wrote: First that last one with the button as a link that is logical Because then you don't submit the form. second i have no idea what you are exactly doing. why are you completely resetting the forms model when the button submits? What do you

Re: [Wicket-user] Per page settings

2006-06-02 Thread jan_bar
RFE 1499927. I already fix that with XmlPage.configureResponse(). Jan Juergen Donnerstag [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] You could create your own BasePage for all Xml and HTML Pages and subclass configureResponse. I'm not especially in favor of such if(condition).