You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jspwiki.apache.org by Bob Paige <bo...@gmail.com> on 2009/03/05 20:50:07 UTC

edit on double-click

Some other wikis allow double-clicking on the page to initiate editing. It
seems easy enough to add an ondblclick handler to the body tag in
ViewTemplate.jsp, but what would be the link to the editor?

Is there a better way to do this, or reasons to not do it?

-- 
Bobman

Re: edit on double-click

Posted by Dirk Frederickx <di...@gmail.com>.
Take the PageTab.jsp, add a <div> block around the <wiki:InsertPage /> line,
and connect it with a double-click handler.

Something like this should do:

<div ondblclick="location=<wiki:EditLink format='url' />; ">
<wiki:InsertPage />
</div>



dirk


On Fri, Mar 6, 2009 at 1:12 PM, Fischer, Nicola (ORISA Software GmbH) <
fischer@orisa.de> wrote:

> Hi
>
> It is simply the edit.jsp
>
> -----Ursprüngliche Nachricht-----
> Von: Bob Paige [mailto:bobpaige@gmail.com]
> Gesendet: Donnerstag, 5. März 2009 20:50
> An: jspwiki-user@incubator.apache.org
> Betreff: edit on double-click
>
> Some other wikis allow double-clicking on the page to initiate editing. It
> seems easy enough to add an ondblclick handler to the body tag in
> ViewTemplate.jsp, but what would be the link to the editor?
>
> Is there a better way to do this, or reasons to not do it?
>
> --
> Bobman
>
>
> ____________
> Virus checked by G DATA AntiVirus
> Version: AVF 19.290 dated 06.03.2009
>

AW: edit on double-click

Posted by "Fischer, Nicola (ORISA Software GmbH)" <fi...@orisa.de>.
Hi

It is simply the edit.jsp 

-----Ursprüngliche Nachricht-----
Von: Bob Paige [mailto:bobpaige@gmail.com] 
Gesendet: Donnerstag, 5. März 2009 20:50
An: jspwiki-user@incubator.apache.org
Betreff: edit on double-click

Some other wikis allow double-clicking on the page to initiate editing. It seems easy enough to add an ondblclick handler to the body tag in ViewTemplate.jsp, but what would be the link to the editor?

Is there a better way to do this, or reasons to not do it?

--
Bobman


____________
Virus checked by G DATA AntiVirus
Version: AVF 19.290 dated 06.03.2009