List Info

Thread: Simple Ajax-based inline editor




Simple Ajax-based inline editor
country flaguser name
Switzerland
2007-11-27 19:31:16
Hi Lenya devs,

FYI - tonight I started to implement a feature that I'm
missing for a 
long time: a simple AJAX-based inline editor (see attached
screenshot).

The functionality is very restricted: You can just edit
blocks (p, h1, 
h2, ...). The major purpose is to fix typos or change the
wording of a 
sentence. The editor is triggered by clicking on a block
element in the 
authoring view.

At the moment it supports only plain text blocks, i.e. no
inline styles.

Another issue is that the usecase which saves the content
takes quite 
long. Actually you don't notice this because the saving
happens in the 
background and the text in the page is replaced by the
textarea content 
before the asynchronous usecase request is sent, but
nevertheless we 
have to provide a simple usecase view which doesn't redirect
to the page 
after the usecase is executed.

Do you find a feature like this useful? If yes, I can add it
to the 
sandbox after the release.

-- Andreas


-- 
Andreas Hartmann, CTO
BeCompany GmbH
http://www.becompany.ch
Tel.: +41 (0) 43 818 57 01

------------------------------------------------------------
---------
To unsubscribe, e-mail: dev-unsubscribelenya.apache.org
For additional commands, e-mail: dev-helplenya.apache.org
View Original Image
Re: Simple Ajax-based inline editor
country flaguser name
Switzerland
2007-11-28 01:54:33
Hi Andreas

>
> Do you find a feature like this useful? If yes, I can
add it to the  
> sandbox after the release.
>

Yes, very useful. But I'd rather use design mode / content
editable  
instead of forms for the same restricted feature set. Would
improve  
user experience and also would keep the document flow
intact. If you  
use Ajax you require the brower to enable javascript anyway
and all  
major browser engines support content editable out of the
box.

Ciao
Thomas


> -- Andreas
>
>
> -- 
> Andreas Hartmann, CTO
> BeCompany GmbH
> http://www.becompany.ch
> Tel.: +41 (0) 43 818 57 01
> <inlineEditor.png>
>
------------------------------------------------------------
---------
> To unsubscribe, e-mail: dev-unsubscribelenya.apache.org
> For additional commands, e-mail: dev-helplenya.apache.org

------------------------------------------------------------
------------ 
-----
                         Thomas Comiotto              
thomas.comiottoid.uzh.ch

                         Universitaet Zuerich
                         Informatikdienste               
Tel: +41 44  
63 54541
                         Winterthurerstrasse 190            
  +41 44  
63 43333
                         CH-8057 Zuerich                 
Fax: +41 44  
63 54505





------------------------------------------------------------
---------
To unsubscribe, e-mail: dev-unsubscribelenya.apache.org
For additional commands, e-mail: dev-helplenya.apache.org


Re: Simple Ajax-based inline editor
country flaguser name
Switzerland
2007-11-28 07:51:05
Andreas Hartmann wrote:

> Hi Lenya devs,
>
> FYI - tonight I started to implement a feature that I'm
missing for a 
> long time: a simple AJAX-based inline editor (see
attached screenshot).
>
> The functionality is very restricted: You can just edit
blocks (p, h1, 
> h2, ...). The major purpose is to fix typos or change
the wording of a 
> sentence. The editor is triggered by clicking on a
block element in 
> the authoring view.
>
> At the moment it supports only plain text blocks, i.e.
no inline styles.
>
> Another issue is that the usecase which saves the
content takes quite 
> long. Actually you don't notice this because the saving
happens in the 
> background and the text in the page is replaced by the
textarea 
> content before the asynchronous usecase request is
sent, but 
> nevertheless we have to provide a simple usecase view
which doesn't 
> redirect to the page after the usecase is executed.
>
> Do you find a feature like this useful? If yes, I can
add it to the 
> sandbox after the release.


sure. Where do you see the difference to TinyMCE? What about
enhancing 
TinyMCE with some AJAX, or am I misunderstanding something?

Cheers

Michael

>
> -- Andreas
>
>
>
>
------------------------------------------------------------
------------
>
>--------------------------------------------------------
----------------
>
>--------------------------------------------------------
-------------
>To unsubscribe, e-mail: dev-unsubscribelenya.apache.org
>For additional commands, e-mail: dev-helplenya.apache.org
>


-- 
Michael Wechner
Wyona      -   Open Source Content Management - Yanel,
Yulup
http://www.wyona.com
michael.wechnerwyona.com, michiapache.org
+41 44 272 91 61


------------------------------------------------------------
---------
To unsubscribe, e-mail: dev-unsubscribelenya.apache.org
For additional commands, e-mail: dev-helplenya.apache.org


Re: Simple Ajax-based inline editor
country flaguser name
Switzerland
2007-11-28 07:51:44
Thomas Comiotto wrote:

> Hi Andreas
>
>>
>> Do you find a feature like this useful? If yes, I
can add it to the  
>> sandbox after the release.
>>
>
> Yes, very useful. But I'd rather use design mode /
content editable  
> instead of forms for the same restricted feature set.
Would improve  
> user experience and also would keep the document flow
intact. If you  
> use Ajax you require the brower to enable javascript
anyway and all  
> major browser engines support content editable out of
the box.


btw, what about your editor? Has it become available?

Cheers

Michael

>
> Ciao
> Thomas
>
>
>> -- Andreas
>>
>>
>> -- 
>> Andreas Hartmann, CTO
>> BeCompany GmbH
>> http://www.becompany.ch
>> Tel.: +41 (0) 43 818 57 01
>> <inlineEditor.png>
>>
------------------------------------------------------------
---------
>> To unsubscribe, e-mail: dev-unsubscribelenya.apache.org
>> For additional commands, e-mail: dev-helplenya.apache.org
>
>
>
------------------------------------------------------------
------------ 
> -----
>                         Thomas Comiotto              
> thomas.comiottoid.uzh.ch
>
>                         Universitaet Zuerich
>                         Informatikdienste              
 Tel: +41 44  
> 63 54541
>                         Winterthurerstrasse 190        
      +41 44  
> 63 43333
>                         CH-8057 Zuerich                
 Fax: +41 44  
> 63 54505
>
>
>
>
>
>
------------------------------------------------------------
---------
> To unsubscribe, e-mail: dev-unsubscribelenya.apache.org
> For additional commands, e-mail: dev-helplenya.apache.org
>


-- 
Michael Wechner
Wyona      -   Open Source Content Management - Yanel,
Yulup
http://www.wyona.com
michael.wechnerwyona.com, michiapache.org
+41 44 272 91 61


------------------------------------------------------------
---------
To unsubscribe, e-mail: dev-unsubscribelenya.apache.org
For additional commands, e-mail: dev-helplenya.apache.org


Re: Simple Ajax-based inline editor
country flaguser name
Switzerland
2007-11-28 08:29:51
> Would this also make sense for source editing?
Unfortunately I'm  
> not yet familiar with the contentEditable mechanism
...
>


ok i see - if you just want to edit xml source snippets
mapped to  
xhtml block tags you're better of with forms.

Thomas


> -- Andreas
>
>
>
>> Would improve user experience and also would keep
the document  
>> flow intact.
>> If you use Ajax you require the brower to enable
javascript anyway  
>> and all major browser engines support content
editable out of the  
>> box.
>> Ciao
>> Thomas
>>> -- Andreas
>>>
>>>
>>> -- 
>>> Andreas Hartmann, CTO
>>> BeCompany GmbH
>>> http://www.becompany.ch
>>> Tel.: +41 (0) 43 818 57 01
>>> <inlineEditor.png>
>>>
------------------------------------------------------------
-------- 
>>> -
>>> To unsubscribe, e-mail: dev-unsubscribelenya.apache.org
>>> For additional commands, e-mail: dev-helplenya.apache.org
>>
------------------------------------------------------------
--------- 
>> --------                         Thomas Comiotto   
          
>> thomas.comiottoid.uzh.ch
>>                         Universitaet Zuerich
>>                         Informatikdienste          
     Tel: +41  
>> 44 63 54541
>>                         Winterthurerstrasse 190    
          +41  
>> 44 63 43333
>>                         CH-8057 Zuerich            
     Fax: +41  
>> 44 63 54505
>
>
> -- 
> Andreas Hartmann, CTO
> BeCompany GmbH
> http://www.becompany.ch
> Tel.: +41 (0) 43 818 57 01
>
>
>
------------------------------------------------------------
---------
> To unsubscribe, e-mail: dev-unsubscribelenya.apache.org
> For additional commands, e-mail: dev-helplenya.apache.org
>

------------------------------------------------------------
------------ 
-----
                         Thomas Comiotto              
thomas.comiottoid.uzh.ch

                         Universitaet Zuerich
                         Informatikdienste               
Tel: +41 44  
63 54541
                         Winterthurerstrasse 190            
  +41 44  
63 43333
                         CH-8057 Zuerich                 
Fax: +41 44  
63 54505





------------------------------------------------------------
---------
To unsubscribe, e-mail: dev-unsubscribelenya.apache.org
For additional commands, e-mail: dev-helplenya.apache.org


Re: Simple Ajax-based inline editor
country flaguser name
Switzerland
2007-11-28 08:34:43
Andreas Hartmann wrote:

> Michael Wechner schrieb:
>
>> Andreas Hartmann wrote:
>>
>>> Hi Lenya devs,
>>>
>>> FYI - tonight I started to implement a feature
that I'm missing for 
>>> a long time: a simple AJAX-based inline editor
(see attached 
>>> screenshot).
>>
>
> [...]
>
>> sure. Where do you see the difference to TinyMCE?
>
>
> - source code editing (no WYSIWYG, no buttons)
> - support for arbitrary XML
> - planned: syntax highlighting, e.g. with CodePress
> - no noticeable load and save time
>
> It's not meant as a full-featured editor, it rather
meets my personal 
> needs. Usually I use the OneForm editor, but I want a
more direct way 
> to edit the source without leaving the page.


sounds great

Cheers

Michael

>
>> What about enhancing TinyMCE with some AJAX
>
>
> That would certainly be nice too.
>
> -- Andreas
>
>


-- 
Michael Wechner
Wyona      -   Open Source Content Management - Yanel,
Yulup
http://www.wyona.com
michael.wechnerwyona.com, michiapache.org
+41 44 272 91 61


------------------------------------------------------------
---------
To unsubscribe, e-mail: dev-unsubscribelenya.apache.org
For additional commands, e-mail: dev-helplenya.apache.org


Re: Simple Ajax-based inline editor
country flaguser name
Spain
2007-11-28 13:49:45
On Wed, 2007-11-28 at 02:31 +0100, Andreas Hartmann wrote:
> Hi Lenya devs,
> 
> FYI - tonight I started to implement a feature that I'm
missing for a 
> long time: a simple AJAX-based inline editor (see
attached screenshot).

ht
tp://myfaces.apache.org/tomahawk/htmlEditor.html
"An inline HTML based word processor based on the Kupu
library."
demo: htt
p://www.irian.at/myfacesexamples/inputHtml.jsf

Later in this thread you say you do not need all the fancy
stuff but the
above JSF extension is very nice. 

Lately I got into JSF (JavaServer Faces) and Apache MyFaces
(so much
more fun in developing user interfaces). 

AFAIR there is a faces block in cocoon. Maybe it is worth
checking it
out.

salu2

> 
> The functionality is very restricted: You can just edit
blocks (p, h1, 
> h2, ...). The major purpose is to fix typos or change
the wording of a 
> sentence. The editor is triggered by clicking on a
block element in the 
> authoring view.
> 
> At the moment it supports only plain text blocks, i.e.
no inline styles.
> 
> Another issue is that the usecase which saves the
content takes quite 
> long. Actually you don't notice this because the saving
happens in the 
> background and the text in the page is replaced by the
textarea content 
> before the asynchronous usecase request is sent, but
nevertheless we 
> have to provide a simple usecase view which doesn't
redirect to the page 
> after the usecase is executed.
> 
> Do you find a feature like this useful? If yes, I can
add it to the 
> sandbox after the release.
> 
> -- Andreas
> 
> 
>
------------------------------------------------------------
---------
> To unsubscribe, e-mail: dev-unsubscribelenya.apache.org
> For additional commands, e-mail: dev-helplenya.apache.org
-- 
Thorsten Scherler                                
thorsten.at.apache.org
Open Source Java                      consulting, training
and solutions


------------------------------------------------------------
---------
To unsubscribe, e-mail: dev-unsubscribelenya.apache.org
For additional commands, e-mail: dev-helplenya.apache.org


[1-7]

about | contact  Other archives ( Real Estate discussion Medical topics )