XForms: Workbench


XForms: Workbench

Wens: data type kunnen opgeven met behulp van intellisense bij declaratie van model

user icon Posted by Johan den Ouden on Thursday, October 06, 2011 5:48:35 PM

Bij het opgeven van xsi:types wordt je nu niet geholpen met intellisense.

Mike Perquin - Friday, October 14, 2011 2:58:05 PM

Wordt aan gewerkt (work item 9947). Weet nog niet zeker of het ook voor xsi:type gaat lukken, maar in ieder geval voor type attribute van een xforms:bind element is het mogelijk om intellisense te genereren.

Door een simpleType aan te maken (een union van QName en een pre-defined lijst van xsd+xforms datatypes) en deze te koppelen aan het type attribute van xforms:bind element, zal de Code Editor automatisch een lijst van mogelijke waarden tonen.

De union met QName is nodig, omdat het daarnaast altijd mogelijk moet zijn om eigen types te gebruiken.

Mike Perquin - Thursday, October 20, 2011 9:19:33 AM

Is inmiddels geïmplementeerd, en niet middels een simpleType in het schema maar in de (SXML) Code Editor zelf, die nu dynamisch een lijst van xsd en xforms simple datatypes opbouwt.

Voordeel hiervan is dat altijd de juiste namespace prefix getoond kan worden die in het document zelf wordt gebruikt en dat bijvoorbeeld de xforms datatypes niet worden getoond indien de bijbehorende namespace niet in scope is.

Een tweede voordeel is dat dezelfde lijst gekoppeld kon worden aan xsi:type.

Hiervoor is (dus) wel een nieuwe SXML Editor installatie nodig.

Mike Perquin - Thursday, October 20, 2011 3:30:58 PM

En nu ik toch bezig was: ook intellisense op xforms attributen van het type IDREF.

Voorbeeld: het model attribute op diverse xforms elementen die verwijst naar het id attribute van een xforms:model element. De Code Editor toont nu een lijstje van geldige verwijzingen.

Dit geldt ook voor de volgen attributes (van het type IDREF): bind, submission, repeat, case, control, targetid en instance.

En dan is er ook nog intellisense beschikbaar gekomen op ev:event attribute.

Johan den Ouden - Thursday, March 22, 2012 2:04:35 PM

Hartstikke mooi man!

You are not allowed to post here.
All Forums
SmartInstant
Discussions about SmartInstant. Post your wishes, enhancements, errors and/or problems here.
Smartsite Management Information 2.0
Discussions about Smartsite Management Information 2.0. Post your wishes, enhancements, errors and/or problems here.
Smartsite XForms Server and Workbench
Topics concerning the XForms Engine
Announcements
Announcements from the Smartsite iXperion Crew. Introduction to new features. Everything we like to share with you.
Community Site Features
Here you can drop your wishes for new features within this site.
Community Site Bug Report
Help us the improve this site and report bugs and non-properly working functionality.
Smartsite iXperion Architecture
Discussing the n-tier model of Smartsite iXperion.
New Manager Interface
Forum about the project ""New interface for the Smartsite Manager".
Installation
Intstalling Smartsite iXperion's publication engine, CMS engine and Developers Console.
Site Building
Forum about buidling sites with Smartsite iXperion. How to setup a site's hierarchic structure, use of the different contenttypes and SXML coding.
Migration of existing Smartsite sites
Discussion about migrating existing Smartsite sites for use with the Smartsite iXperion Publication Engine.
Developing new Modules and Vipers
Developing new Macro Modules and Vipers.
ASP.NET integration
Integrating ASP.NET applications within a Smartsite iXperion site.
Database
Smartsite iXperion Database discussions.
New Features
Drop your wishes for new features in Smartsite iXperion.
Bug Report
Found any bugs, misbehaviours or other things? Drop them here.
Empty Site Template Bug Report
This forum can be used to communicate errors and whishes for the new Smartsite iXperion Empty Site Template.
Web Toolkit
Discussing the Web Toolkit

Profile
Latest additions
Smartsite iXperion 1.4 build 6 has been released! locked
Twan Meijerink, 01 May 2012, 14:42
Workbench beta has expired
Hank Brandwijk, 11 January 2012, 16:53
Smartsite iXperion 1.4 build 4 has been released! locked
Twan Meijerink, 02 December 2011, 11:04
The second life of XForms
Marc van Neerven, 04 November 2011, 18:34
How to hide a property in a custom module? locked
Peter van der Waal, 17 October 2011, 09:31
Microsoft Certified Partner Logo