Cameron, I was under the impression that the people from LisaSoft would only work in the sandbox, and until approved would not commit on trunk? I also don't see a JIRA issue or any other discussion related to this change. Furthermore, we were told to hold off the commits for the release.
As always, you quality manager, -- -- Gertjan van Oosten, [EMAIL PROTECTED], West Consulting B.V., +31 15 2191 600
--- Begin Message --- Title: [3132] trunk/mapbuilder/mapbuilder/lib/widget/EditButtonBase.js: Updated to using lastest Openlayers integration and added some of my own code to change the gml from its default.
- Revision
- 3132
- Author
- elam
- Date
- 2007-08-16 00:21:13 -0500 (Thu, 16 Aug 2007)
Log Message
Updated to using lastest Openlayers integration and added some of my own code to change the gml from its default.Modified Paths
Diff
Modified: trunk/mapbuilder/mapbuilder/lib/widget/EditButtonBase.js (3131 => 3132)
--- trunk/mapbuilder/mapbuilder/lib/widget/EditButtonBase.js 2007-08-16 05:17:02 UTC (rev 3131) +++ trunk/mapbuilder/mapbuilder/lib/widget/EditButtonBase.js 2007-08-16 05:21:13 UTC (rev 3132) @@ -31,6 +31,10 @@ /** Reference to GML node to update when a feature is added. */ this.featureXpath=widgetNode.selectSingleNode("mb:featureXpath").firstChild.nodeValue; + /** @author Mvivian + * Xsl Document that will transform the features collection into another type */ + this.gmlTransform = new XslProcessor(widgetNode.selectSingleNode("mb:gmlTransform").firstChild.nodeValue) + /** * If tool is selected and the Edit Tool has changed (eg, changed from * LineEdit to PointEdit) then load new default feature. @@ -46,12 +50,16 @@ // Load default feature. if (objRef.enabled && selected && objRef.targetModel.url!=objRef.defaultModelUrl){ objRef.loadDefaultModel(objRef); + + //MVIVIAN: This is what we really want + objRef.gmlTransform.transformNodeToObject(objRef.targetModel.doc); } // Remove the transactionResponseModel (and result of last transaction) // when a transaction button is deselected if(!selected && objRef.transactionResponseModel){ objRef.transactionResponseModel.setModel(objRef.transactionResponseModel,null); } + } /**
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email
--- End Message ---
------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________ mapbuilder-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mapbuilder-devel
