Re:Re: Simple CMS / content editor component

2012-02-18 Thread Tiger Gui
I am interested in this component, i think a rich-text editor is really necessary for Tapestry. >I would love to use something like this. >On Feb 17, 2012, at 11:46 PM, Kalle Korhonen >wrote: > >> In the past, I've been keeping longer, largely textual content in an >> external wiki system and p

Re: Tapestry TreeGrid

2012-02-18 Thread Lance Java
Hi George, In you code, there should only be 2 references to HibernateCategoryDao. 1. In AppModule binder.bind(CategoryDao.class, HibernateCategoryDao.class); 2. In the HibernateCategoryDao class itself Every other class (page, value encoder, treeModelAdapter) should reference CategoryDao eg @

Re: Simple CMS / content editor component

2012-02-18 Thread based2
> http://t5-easy-fckeditor.kenai.com/ > http://citydotmobicms.sourceforge.net/ http://code.google.com/p/modest-cms/ == https://github.com/bobharner/Tapestry-finder http://wiki.apache.org/tapestry/Tapestry5ModuleRegistry http://wiki.apache.org/tapestry/Tapestry5OpensourceApps -- View this messag

Re: Radio buttons

2012-02-18 Thread Christian Köberl
2012-0216, resign: > hi, > > i have to implement followinmg design. > > Variable number of parameters should be shown as radio buttons with YES/NO > values > How can i realise this the simpliest way? > > Option_1 o o > Option_2 o o > > Option_x o o > > If i tr

Re: Simple CMS / content editor component

2012-02-18 Thread Tiger Gui
It seems to be built base on FCKeditor for T5, i think it can really works. Does Tapestry team consider creating a T5 build in rich-text editor ? 2012/2/18 based2 : >> http://t5-easy-fckeditor.kenai.com/ > >> > http://citydotmobicms.sourceforge.net/ > http://code.google.com/p/modest-cms/ > > == >

Re: fckeditor for Tapestry 5.3

2012-02-18 Thread Dragan Sahpaski
Hey Kalle, See the latest commit. It resolves this issues properly. On each ajax zone update a new ckeditor instance is created and the old ones are properly destoyed using ckeditorinstance.destroy(). Also the attached event handlers on FORM_PREPARE_FOR_SUBMIT_EVENT are removed. There was a simpl

Re: Simple CMS / content editor component

2012-02-18 Thread Kalle Korhonen
On Sat, Feb 18, 2012 at 6:48 AM, Tiger Gui wrote: > It seems to be built base on FCKeditor for T5, i think it can really > works. Does Tapestry team consider creating a T5 build in rich-text > editor ? FCKEditor is not Apache license and can therefore never be part of T5 core project, nor does it

Re: Tapestry TreeGrid

2012-02-18 Thread George Christman
Thanks Lance, I'll read through those articles this weekend. I'd love to learn more about these things so I wouldn't need to rely so heavily on the support of the community. I did want to say I finally got the tree to work yay!! A few changes that had to be made public List getChildren(Categ

Re: fckeditor for Tapestry 5.3

2012-02-18 Thread Dragan Sahpaski
Hey Kalle, See the latest commit. It resolves this issues properly. On each ajax zone update a new ckeditor instance is created and the old ones are properly destoyed using ckeditorinstance.destroy(). Also the attached event handlers on FORM_PREPARE_FOR_SUBMIT_EVENT are removed. There was a simpl

Re: Tapestry TreeGrid

2012-02-18 Thread Jon Williams
I'd just like to say this thread rocks and i love this list. Peace Y'all Jon On Sat, Feb 18, 2012 at 11:05 AM, George Christman wrote: > Thanks Lance, I'll read through those articles this weekend. I'd love to > learn more about these things so I wouldn't need to rely so heavily on the > support

Re: Tapestry TreeGrid

2012-02-18 Thread George Christman
Jon, let me know if you have any questions or need all the code. I just emailed Geoff the files for him to add to JumpStart. Geoff, I hope I got your email correct, please let me know if you don't get my email. Thanks everybody, George -- View this message in context: http://tapestry.1045711.n

Re: Tapestry TreeGrid

2012-02-18 Thread Lance Java
> Thanks Lance No problem > I did want to say I finally got the tree to work yay!! Great > I needed to add ".id" to the restriction. Depending on how you've set up your hibernate entities, you may not have the actual parent id available on your entity and may have to access it through the paren

Re: Tapestry TreeGrid

2012-02-18 Thread George Christman
Interesting knowing hibernate adds extra queries, how would you go about setting up the parent relationship in the entity? On Sat, Feb 18, 2012 at 4:34 PM, Lance Java [via Tapestry] < ml-node+s1045711n5495924...@n5.nabble.com> wrote: > > Thanks Lance > No problem > > > I did want to say I finall

Re: Tapestry TreeGrid

2012-02-18 Thread George Christman
Seems as if removing id from parent and category fixed the issue. // this will be called by TreeModelAdapter.getChildren(CategoryNode node) public List getChildren(CategoryNode node) { return findByCriterion(Restrictions.eq("parent", node.getCategory())); } Do