Where would the action lines xml code be published to once compiled.
In design its found in the message_pool folder of the project with the name oc calling_myaction_action.xml.
Does it finally get wrapped up in the page_painter folder in the calling forms xml or is it somewhere else?[hr][/hr]
To answer my own question the XML fragment does indeed end up in the page_painter folder of the calling forms xml file.
In design its found in the message_pool folder of the project with the name oc calling_myaction_action.xml.
Does it finally get wrapped up in the page_painter folder in the calling forms xml or is it somewhere else?[hr][/hr]
To answer my own question the XML fragment does indeed end up in the page_painter folder of the calling forms xml file.
RE: Publishing Action Lines
WebMaker uses the xml structure files during design to enable you to test your pages using static data. You can directly edit these files to test the behaviour of each page within the Data Bindings tab. As you've mentioned, these files are located within the message_pool folder. Files starting to_... are used during design only to show how your pages might render when published, but they are not used during runtime.
Static submission binding structure files typically start with calling_... within the design repository. When deployed locally or published to your target environment, these files are incorporated within the page XSLs, which are located within the Page_Painter folder. For dynamic bindings, where the binding structure cannot be determined during design, you tell WebMaker where to locate the binding structures by using the Action Configuration tab within Data Bindings. WebMaker then locates these binding structures during runtime and binds your page data after submission.
You shouldn't need to worry about any of this because it's all handled for you. WebMaker doesn't actually compile anything. During design you have a collection of assets organised in pools, including XML, XSL, XSD, CSS, etc., which you can use to design applications. When you publish a particular application, WebMaker knows the assets that are used and selects these assets to copy across to the target environment.
I'm assuming this is just curiosity, but please let us know if you have other reasons for asking. :)
RE: Publishing Action Lines
The namespace of one of the XML elements was wrong in the source BUT as the the source was in version 3.1.1 and I'm running 3.1.2 I didn't want the pain of addressing the other upgrade changes just to fix the namespace. ;)