HoussemAmara91 / swinghtmltemplate

Automatically exported from code.google.com/p/swinghtmltemplate
0 stars 0 forks source link

context menu #10

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
concept

<input type='text'>
  <contextMenu nested='true'>
     <action name='doOpen'/>
     <action name='doSave'/>
  </contextMenu>
</input>

<contextMenu for='input'>
   <action name='copy'/>
   <action name='cut'/>
   <action name='paste'/>
</contextMenu>

'for' - is selector. it can be like "form > input.canHaveMenu"

without for it will goes for parent tag (input in 1st snuppet)
if 2 or more menus are found for element, they will be concatenated with 
separator.

for this example it will look like:
********
* Open   *
* Save    *
********
* Copy    *
* Cut      *
* Paste   *
********

Original issue reported on code.google.com by Penkov.V...@gmail.com on 23 May 2011 at 11:38

GoogleCodeExporter commented 8 years ago
done in release 0.6

Original comment by Penkov.V...@gmail.com on 25 Jun 2011 at 10:31