here is a demo http://keesj.mmapps.net/mmbase/mmbase/edit/taglib-wysiwyg/mmexamples/taglib/
On Mon, 21 Feb 2005 12:19:35 +0100, Andr� van Toly <[EMAIL PROTECTED]> wrote: > Hi Eduard, > > I haven't installed your example yet, but maybe > it is a good idea to integrat it with the > edittag. It's just like the second implementation > of the edittag i was thinking about working on. > It is in cvs speeltuin/andre/edittag for some > time now, but i will upload my latest updates > (f.e. made EditTag an interface) shortly. > > ---Andr� > > > At 22:22 +0100 20-02-2005, Eduard Witteveen wrote: > >Hello all, > > > >I have always thought that adding wysiwyg > >editors could be a good point for MMBase and for > >this reason i've been hacking this weekend. I > >have created a servlet which can put an EXISTING > >taglib page into edit mode and further do > >nothing yet (since it is only a prototype) > > > >First of all i hope that we(MMBase) is willing > >to support such functionalities(i know the > >reasons why we shouldnt;) ), secondly i would > >like to have some response on my prototype. > > > >Notice that this is a prototype and i dont want > >it to be part of MMBase in it's current design > >(i've written better code ;) ), but it can be > >found at the following location: > >http://nergens.org/projects/mmbase-tablib-wysiwyg/ > > > >I dont have a demo, since i dont have MMBase running on a websserver :D > > > >Below is the text of the readme: > > > >>WYSIWYG Editors in MMBase taglibs > >>================================= > >>Goal: To make it possible to turn taglib pages in edit mode. This edit mode > >>will have the functionality to change all the visible text in the page. It > >>could change the layout of the page in a way, but this is a consession which > >>must be taken so that 95% of the pages can quickly be changed. > >>A direct next project could be the detection of > >>lists, and make the possiblity > >>to add a new node to the list in the page. > >> > >> > >>About > >>===== > >>This is a prototype, to test the idea of inline wysiwyg editors for > >>existing pages in MMBase. > >>This servlet will generate editable pages for every taglib page that > >>is retrieved under a certain url. > >> > >>Installation: > >>============= > >>1) Add the source files to the code and > >>makesure that the resource url in the file > >>WysiwygTaglibEditor.java is correct (i couldnt get the resources working) > >> > >>2) Place the following code in the web.xml > >> <!-- The MMBase attachment serving servlet. --> > >> <servlet> > >> <servlet-name>taglib-wysiwyg-edit</servlet-name> > >> > >><servlet-class>org.mmbase.bridge.jsp.taglib.wysiwyg.WysiwygTaglibEditor</servlet-class> > >> <load-on-startup>4</load-on-startup> > >> </servlet> > >> <!-- mapping for taglib-wysiwyg --> > >> <servlet-mapping> > >> <servlet-name>taglib-wysiwyg-edit</servlet-name> > >> <url-pattern>/mmbase/edit/taglib-wysiwyg/*</url-pattern> > >> </servlet-mapping> > >> > >>3) Retrieve the taglib pages under the new edit url: > >> > >>%mmbase-url%/mmbase/edit/taglib-wysiwyg/%page% > >>instead of %mmbase-url%/%page% > >> > >> (http://localhost:8084/html/mmbase/edit/taglib-wysiwyg/mmexamples/taglib/ > >> instead of http://localhost:8084/html/mmexamples/taglib/) > >> > >>Todo's > >>============= > >>1) Dont handle all pages in the servlet, only > >>jsp pages, others should simply give though the > >>data > >>2) Research if it is possible to do some servlet forwarding > >>3) Modify javascript in the following way: > >> - toggeling normal->edit mode will put original value in array > >> - toggeling edit->normal will add the new value also to the array > >> - save will only send the value that was changed > >>4) Try to use dove for storing the data into the database > >>5) Smarter replacement code in the servlet > >>6) In node detection, when a taglib was placed > >>inside a html node, then there should be other > >> / no replacement for that field. > >>7) Create better div to replace the current div > > > > > >PS: Or was the mssql / oracle implementation more urgent :D. > >I think i've spend now again too much time on > >mmbase for the moment so i will not be able to > >do a lot in the next weeks, but please do react! > >_______________________________________________ > >Developers mailing list > >[email protected] > >http://lists.mmbase.org/mailman/listinfo/developers > > -- > Andr� van Toly > http://www.toly.nl mobile +31(0)627233562 > ------------------------------------------------------------------>><<-- > _______________________________________________ > Developers mailing list > [email protected] > http://lists.mmbase.org/mailman/listinfo/developers > _______________________________________________ Developers mailing list [email protected] http://lists.mmbase.org/mailman/listinfo/developers
