From: Francois P. <fx....@gm...> - 2015-03-23 10:49:42
|
2015-03-23 11:41 GMT+01:00 María Arias de Reyna <de...@gm...>: > Hi, > > I am trying to find the config-editor.xsd file but I cannot find it on the > repository. Maybe it is hosted somewhere else? Or maybe there is no xsd... > Looks to have been dropped at some point between ? commit 5353d73daa0ff4e25de31bec77353f6ceaff60ce Author: Jesse Eichar <jes...@ca...> ...skipping... commit 679a6a38c80b53915f9bd04ab7125e0e1996087e Author: François Prunayre <fxp...@gm...> Not sure why ? We should restore it from https://github.com/geonetwork/core-geonetwork/blob/2.11.x/web/src/main/webapp/WEB-INF/data/config/schema_plugins/config-editor.xsd Francois > > Thanks, > María. > > > On Mon, Mar 23, 2015 at 10:10 AM, María Arias de Reyna <de...@gm...> > wrote: > >> >> >> On Mon, Mar 23, 2015 at 10:06 AM, Francois Prunayre < >> fx....@gm...> wrote: >> >>> Hola Maria, >>> >>> >>> 2015-03-23 9:48 GMT+01:00 María Arias de Reyna <de...@gm...>: >>> >>>> Hi, >>>> >>>> I continue with my digression about wizards. If someone has any kind of >>>> comment, good or bad, please let me know. >>>> >>>> So, my plan is: >>>> * Define a basic language based on XPDL or similar to describe wizards >>>> * Create a basic engine to run this wizards (on a different maven >>>> project) >>>> * Document and write some examples >>>> * Test >>>> * Define the admin UI to create wizards. Maybe on iterations, because >>>> we can still create the wizards with xml files >>>> * Iterate improving the admin UI and iterate improving the type of >>>> actions and views the wizards support >>>> >>>> I will try to follow the above requirements. If anyone knows some >>>> framework that can be useful here, this is the time and place to say so. I >>>> quickly overviewed some workflows and wizards frameworks and couldn't find >>>> one that fitted with our usecase, so I was thinking on creating a new one >>>> ¿based on angular?. >>>> >>>> >>> Just some thoughts, an option would be to extend what is already there. >>> >>> From the editor configuration : >>> >>> https://github.com/geonetwork/core-geonetwork/blob/develop/schemas/iso19139/src/main/plugin/iso19139/layout/config-editor.xml#L232 >>> >>> Instead of <tab ... >>> Add the concept of <step ... >>> Which could have >>> * a completeness indicator expression >>> * a set of fields (existing of custom) >>> >>> eg. >>> ``` >>> <view name="myWizard"> >>> <step id="what" >>> completeIf="//identificationInfo/gmd:title != '' >>> and //identificationInfo/gmd:abstract != ''" >>> progressIndicator="(count(//identificationInfo/gmd:title != >>> '') + count(//identificationInfo/gmd:abstract != ''")) / 2"> >>> <field xpath="//identificationInfo/gmd:title"/> >>> <field xpath="//identificationInfo/gmd:abstract"/> >>> </step> >>> <step id="when">... >>> <step id="where">... >>> ``` >>> >>> >> Like it. Thanks. >> >> Also, we need decision trees to decide to what step you jump (maybe there >> is some optional step depending on previous values) and XSLT actions >> between steps. >> >> >>> completeIf expression could be used to point to a specific step (from >>> the completeness indicator). >>> >>> Then for sure a set of new directives would be required for customizing >>> fields but that could be built on top of what is there. >>> >>> BTW, I've no idea of what XPDL does ... long time ago, we also had a >>> look to XForms >>> eg. >>> http://demo.orbeon.com/orbeon/fr/orbeon/w9/edit/4a83b4cf2b905fbe105d7e57ddc5597b5e78c0a3 >>> >> >> It is very similar to what you described. >> >> >>> >>> >>> Cheers. >>> >>> Francois >>> >>> >>> >>> >>> >>>> Regards, >>>> María. >>>> >>>> >>>> ------------------------------------------------------------------------------ >>>> Dive into the World of Parallel Programming The Go Parallel Website, >>>> sponsored >>>> by Intel and developed in partnership with Slashdot Media, is your hub >>>> for all >>>> things parallel software development, from weekly thought leadership >>>> blogs to >>>> news, videos, case studies, tutorials and more. Take a look and join the >>>> conversation now. http://goparallel.sourceforge.net/ >>>> _______________________________________________ >>>> GeoNetwork-devel mailing list >>>> Geo...@li... >>>> https://lists.sourceforge.net/lists/listinfo/geonetwork-devel >>>> GeoNetwork OpenSource is maintained at >>>> http://sourceforge.net/projects/geonetwork >>>> >>> >>> >> > |