[Laszlo-dev] For Review: Change 20080826-bargull-lxD Summary: contextmenu-tag
André Bargull
andre.bargull at udo.edu
Mon Aug 25 16:47:20 PDT 2008
Change 20080826-bargull-lxD by bargull at dell--p4--2-53 on 2008-08-26 00:57:30
in /home/Admin/src/svn/openlaszlo/trunk
for http://svn.openlaszlo.org/openlaszlo/trunk
Summary: contextmenu-tag
New Features: LPP-834
Bugs Fixed: LPP-5306
Technical Reviewer: hminsky
QA Reviewer: ptw
Doc Reviewer: (pending)
Documentation:
Release Notes:
Details:
Added support for a "contextmenu"-tag:
- changed LzContextMenu and LzContextMenuItem to final classes, no need
for users to access the contextmenu-kernel stuff
- added setters for all properties in both classes
- added super-call in constructor, so contextmenu is placed within the
node-hierarchy
- tag contextmenus automcatically try to register themselves as their
parent's contextmenu
- tag contextmenuitems automatically add themselves to their
parent-contextmenu
- changed dhtml-contextmenu separator from line-break to
horizontal-ruler, I suspect this was typo
- changed dhtml-contextmenu minimum-width to 100px to give a prettier
output (doesn't work in IE6 due to the limited css-support, though)
- added contextmenu and contextmenuitem to the schema
- added both to lfc-taglist in ClassModel
Tests:
added a simple testcase at the bugreport
Files:
M WEB-INF/lps/lfc/kernel/dhtml/LzSprite.js
M WEB-INF/lps/lfc/kernel/dhtml/LzContextMenuKernel.lzs
M WEB-INF/lps/lfc/services/LzContextMenu.lzs
M WEB-INF/lps/schema/lfc.lzx
M WEB-INF/lps/server/src/org/openlaszlo/compiler/ClassModel.java
Changeset:
http://svn.openlaszlo.org/openlaszlo/patches/20080826-bargull-lxD.tar
More information about the Laszlo-dev
mailing list