Good question, if you have never done any component before then I can say. Better try a different approach, use some kind of templating or code it in raw html. The JSF component API is a lot of work to code for.
Otherwise I guess most work if you want to do a drag and droppable data table would be in the renderer. With an ajax callback influencing the datamodel underneath the table and then refreshing the table via dhtml. Very complicated stuff. I am not sure if it is even doable in a short period of time if you code that in raw html. Usually you go like that, that you code a markup and then componentize the markup in the renderer. The component and taglib code itself normally is just pure boilerplate code most of the times and does seldomly more than having setters and getters and a little bit of configuration and serialisation. As for getting a drag and drop infrastructure, there is something in dojo, which is in the sandbox, the dojo codebase of myfaces tomahawk has a utils class which takes care of all the import infrastructure. (Alternatively you also can use the dojoInitializer tag, which also can be found in the sandbox) Anyway I wish you good luck with this, I have huge doubts that such a thing can be pulled of in a short period of time, neither in html nor in jsf. Sorry for being so negative, but I have been hammered with such things since Februar where a Customer wanted to have an entry field with spellchecking and full screen zoom in various incarnations, and things can get quite messy once you touch dhtml ;-) Werner Frank Russo schrieb: > Any input on where I should start on this? I looked at the code for the > t:dataTable, and it looks like a lot of work, which I'm very short on > time right now although I'd like to do this the right way. Should I just > extend that, though, and add the drag and drop stuff? Then I could > submit it as a patch. > > I've never written a custom component for jsf, and I'm very new to the > technology, so any direction is very appreciated. Especially links with > pointers for developing components. > > Thanks... > > Frank Russo > Senior Developer > FX Alliance, LLC > > > -----Original Message----- > From: news [mailto:[EMAIL PROTECTED] On Behalf Of Werner Punz > Sent: Friday, April 21, 2006 3:35 PM > To: [email protected] > Subject: Re: JSF Myfaces tree2 and dojo tree integration > > Frank Russo schrieb: >> I'm looking for this same feature for the dataTable. I was supposed to > >> start coding it already, but have been sidetracked the last couple of >> days. Whatever I do write, I will try to make reusable, so I can >> contribute it to the sandbox. I can't promise that, though, since I'm >> behind schedule with a tight deadline... >> >> Frank Russo >> Senior Developer >> FX Alliance, LLC >> >> > > Ah dont worry, every helping hand is welcome, I am sidetracked by > projects as well, otherwise there would have been more stuff dojowise > already in the sandbox ;-) > > > > >

