<s:include b:url="controls/forms.xml" /> <s:execute> <s:task b:action="show" /> </s:execute> <s:variable b:name="errorData" b:scope="global" /> <s:variable b:name="requestedError" b:scope="global" /> <s:variable b:name="dataDir" b:scope="global" /> <s:variable b:name="messageData" b:scope="global"/> <s:variable b:name="maxSDKVersion" b:scope="global" /> <s:variable b:name="format" b:scope="global" /> <s:variable b:name="showUS" b:scope="global" /> <s:variable b:name="showCA" b:scope="global" /> <s:variable b:name="showUK" b:scope="global" /> <s:variable b:name="showOE" b:scope="global" /> <s:variable b:name="selSource" b:scope="global" /> <s:variable b:name="selectedMsg" b:scope="global" /> <s:variable b:name="messageDataJSON" b:scope="global" /> <s:variable b:name="renderTarget" b:scope="global" /> <s:variable b:name="initvalue" b:scope="global" /> <s:variable b:name="initIEvalue" b:scope="global" /> <s:variable b:name="initMOZvalue" b:scope="global" /> <s:variable b:name="docroot" b:scope="global" /> <s:variable b:name="msgroot" b:scope="global" /> <s:stylesheet xmlns:b="http://www.backbase.com/bb" xmlns:s="http://www.backbase.com/ss" b:name="errorSheet"> <s:template b:match="/"> <table border="1"> <tr> <th>Error</th> <th>Meaning</th> <th>Explanation</th> </tr> <s:for-each b:select="//error"> <tr> <s:if b:test="position() mod 2 = 1"> <s:attribute b:name="style">background-color:#E9F7FA</s:attribute> </s:if> <td><s:value-of b:select="statusCode" /></td> <td><s:value-of b:select="meaning" /></td> <td><s:value-of b:select="explanation" /></td> </tr> </s:for-each> <s:for-each b:select="//hresult"> <tr> <s:if b:test="position() mod 2 = 1"> <s:attribute b:name="style">background-color:#E9F7FA</s:attribute> </s:if> <td><s:value-of b:select="hex" /></td> <td colspan="2"><s:value-of b:select="meaning" /></td> </tr> </s:for-each> </table> </s:template> </s:stylesheet> <s:behavior b:name="findError"> <s:variable b:name="strtmp" b:scope="local"/> <s:event b:on="command"> <s:variable b:name="errinfo" b:scope="local" /> <s:choose> <s:when b:test="contains($requestedError, '0x')"> <s:task b:action="assign" b:target="$errinfo" b:select="$errorData/errors/hresult[@hresult=$requestedError]"/> </s:when> <s:otherwise> <s:task b:action="assign" b:target="$errinfo" b:select="$errorData/errors/error[@statusCode=$requestedError]"/> </s:otherwise> </s:choose> <s:choose> <s:when b:test="empty($errinfo)"> <s:script><!-- bpc.render('Could not find that error or HRESULT','replacechildren',"id('detailstarget')"); --></s:script> </s:when> <s:otherwise> <s:task b:action="xml2string" b:source="$errinfo" b:variable="$strtmp"/> <s:task b:action="assign" b:target="$strtmp" b:select="concat('&lt;errors&gt;',$strtmp,'&lt;/errors&gt;')"/> <s:task b:action="string2xml" b:source="$strtmp" b:variable="$errinfo" /> <!-- <s:task b:action="alert" b:value="{$strtmp}"/> <s:task b:action="transform" b:stylesheet="$errorSheet" b:datasource="$errinfo" b:destination="$strtmp"/> <s:task b:action="alert" b:value="{$strtmp}"/> --> <s:task b:action="transform" b:stylesheet="$errorSheet" b:datasource="$errinfo" b:destination="id('detailstarget')" b:mode="replacechildren" /> </s:otherwise> </s:choose> <s:task b:action="select" b:target="id('details')"/> </s:event> </s:behavior> <s:behavior b:name="showAllErrors"> <s:event b:on="command"> <s:script><!-- bpc.render('Please wait while we load the error list...', 'replacechildren', "id('errorlist')"); --></s:script> <s:parallel> <s:task b:action="trigger" b:event="open" b:target="id('Errors')"/> <s:task b:action="transform" b:stylesheet="$errorSheet" b:datasource="$errorData" b:destination="id('errorlist')" b:mode="replacechildren" /> </s:parallel> </s:event> </s:behavior> <s:behavior b:name="captureErrorCode"> <s:event b:on="change"> <s:variable b:name="captureTmp" b:scope="local"/> <s:task b:action="assign" b:target="$requestedError" b:select="upper-case(string(@value))" /> <s:if b:test="contains($requestedError, '2147')"> <s:script> <!-- var val = parseInt(_vars['requestedError'][0]); var tmp = val.toString(16); bpc.setVariable('requestedError', "0x" + tmp.substring(1).toUpperCase(), 'global'); --> </s:script> </s:if> <s:if b:test="contains($requestedError, '0X')"> <s:script><!-- bpc.setVariable('requestedError', _vars['requestedError'][0].replace('0X', '0x'), 'global'); --></s:script> </s:if> <s:task b:action="set" b:target="@value" b:value="{$requestedError}" /> <s:task b:action="assign" b:target="$requestedError" b:select="string(@value)" /> </s:event> </s:behavior> <s:behavior b:name="treelistNoRowSelect" b:behavior="b-treelistrow"> <s:state b:on="select" b:normal="b-treelistrow"/> <s:event b:on="rmbdown" b:bubble="false"> </s:event> <s:event b:on="rmbclick" b:bubble="false"> <s:choose> <s:when b:test="@b:imageFile"> <s:task b:action="assign" b:target="$TopLeftX" b:select="string(@b:TopLeftX)"/> <s:task b:action="assign" b:target="$TopLeftY" b:select="string(@b:TopLeftY)"/> <s:task b:action="assign" b:target="$Width" b:select="string(@b:Width)"/> <s:task b:action="assign" b:target="$Height" b:select="string(@b:Height)"/> <s:task b:action="assign" b:target="$imageFile" b:select="string(@b:imageFile)"/> <s:task b:action="trigger" b:event="ShowData" b:target="id('VisualExplorer')" /> </s:when> <s:otherwise> <s:script> <!-- var details = "No UI field map data found for this element" bpc.render(details,'replacechildren',"id('detailstarget')"); --> </s:script> <s:task b:action="select" b:target="id('details')"/> </s:otherwise> </s:choose> </s:event> <s:event b:on="rmbup" b:bubble="false"> </s:event> </s:behavior> <s:behavior b:name="forceDirtyClose"> <s:event b:on="close"> <s:super /> <s:setatt b:dirty="true" /> </s:event> <s:event b:on="open"> <s:super /> <s:setatt b:dirty="true" /> </s:event> </s:behavior> <s:behavior b:name="slide"> <s:event b:on="construct"> <s:super /> <s:choose> <s:when b:test="$bpc_browser='moz'"> <s:setatt b:value="{@b:initMOZvalue}"/> </s:when> <s:otherwise> <s:setatt b:value="{@b:initIEvalue}"/> </s:otherwise> </s:choose> <s:task b:action="set" b:target="../../div//td[@name='sdkVersion']/text()" b:value="{@b:initvalue}" /> <s:task b:action="assign" b:target="$maxSDKVersion" b:select="string(@b:initvalue)" /> </s:event> <s:event b:on="slide"> <s:task b:action="set" b:target="../../div//td[@name='sdkVersion']/text()" b:value="{@b:value}" /> <s:task b:action="assign" b:target="$maxSDKVersion" b:select="string(@b:value)" /> </s:event> <s:event b:on="change"> <s:task b:action="trigger" b:event="populateMsgSelector" b:usebehavior="populateMsgSelector"/> <s:task b:action="trigger" b:event="renderMessageStructure" b:target="id('messageTabs')//b:tab[@b:state='selected']"/> </s:event> </s:behavior> <s:behavior b:name="formatChange"> <s:event b:on="change"> <s:if b:test="@checked = 'checked'"> <s:task b:action="assign" b:target="$format" b:select="string(@value)" /> <s:task b:action="trigger" b:event="renderMessageStructure" b:target="id('messageTabs')//b:tab[@b:state='selected']"/> </s:if> </s:event> </s:behavior> <s:behavior b:name="populateMsgSelector"> <s:event b:on="populateMsgSelector"> <s:script><!-- populateMsgSelector();--></s:script> </s:event> <s:choose> <s:when b:test="$selSource=''"> </s:when> <s:when b:test="$selSource='selectedMessage'"> <s:task b:assign="select" b:target="id('messageSelector')//b:option[@b:value=$selectedMsg]"/> </s:when> <s:when b:test="$selSource='selectedSubscription'"> <s:task b:assign="select" b:target="id('subscriptionSelector')//b:option[@b:value=$selectedMsg]" /> </s:when> </s:choose> </s:behavior> <s:behavior b:name="RenderMessage"> <s:event b:on="select"> <s:super /> <s:task b:action="trigger" b:event="renderMessageStructure"/> </s:event> <s:event b:on="open"> <s:super /> <s:task b:action="trigger" b:event="renderMessageStructure"/> </s:event> <s:event b:on="construct"> <s:super /> <s:setatt b:dirty="true"/> <s:task b:action="trigger" b:event="renderMessageStructure"/> </s:event> <s:event b:on="close"> <s:super /> <s:setatt b:dirty="true"/> </s:event> <s:event b:on="renderMessageStructure"> <s:if b:test="$selectedMsg != ''"> <s:choose> <s:when b:test="@b:label='Request'"> <s:task b:action="load" b:destination="$messageDataJSON" b:url="{concat($dataDir,'json/',$selectedMsg,'Rq.json')}"/> <s:script><!-- renderOSR("id('renderRequest')"); --></s:script> </s:when> <s:when b:test="@b:label='Response'"> <s:task b:action="load" b:destination="$messageDataJSON" b:url="{concat($dataDir,'json/',$selectedMsg,'Rs.json')}"/> <s:script><!-- renderOSR("id('renderResponse')"); --></s:script> </s:when> <s:when b:test="@b:label='XMLOps'"> <s:variable b:name="responseData"/> <s:task b:action="load" b:destination="$messageDataJSON" b:url="{concat($dataDir,'json/',$selectedMsg,'Rq.json')}"/> <s:task b:action="load" b:destination="$responseData" b:url="{concat($dataDir,'json/',$selectedMsg,'Rs.json')}"/> <s:script><!-- renderXMLOps("id('renderOps')"); --></s:script> </s:when> <s:when b:test="@b:label='C#'"> <s:variable b:name="responseData"/> <s:task b:action="load" b:destination="$messageDataJSON" b:url="{concat($dataDir,'json/',$selectedMsg,'Rq.json')}"/> <s:task b:action="load" b:destination="$responseData" b:url="{concat($dataDir,'json/',$selectedMsg,'Rs.json')}"/> <s:choose> <s:when b:test="$format='qbXML'"> <s:script><!-- renderXMLCSharpCode("id('CSharpCode')"); --></s:script> </s:when> <s:otherwise> <s:script><!-- renderFCCSharpCode("id('CSharpCode')"); --></s:script> </s:otherwise> </s:choose> </s:when> <s:when b:test="@b:label='VB.NET'"> <s:variable b:name="responseData"/> <s:task b:action="load" b:destination="$messageDataJSON" b:url="{concat($dataDir,'json/',$selectedMsg,'Rq.json')}"/> <s:task b:action="load" b:destination="$responseData" b:url="{concat($dataDir,'json/',$selectedMsg,'Rs.json')}"/> <s:choose> <s:when b:test="$format='qbXML'"> <s:script><!-- renderXMLVBCode("id('VBCode')"); --></s:script> </s:when> <s:otherwise> <s:script><!-- renderFCVBCode("id('VBCode')"); --></s:script> </s:otherwise> </s:choose> </s:when> <s:otherwise> </s:otherwise> </s:choose> <s:script> <!-- --> </s:script> </s:if> </s:event> </s:behavior> <s:behavior b:name="messageSelect"> <s:event b:on="change"> <s:task b:action="assign" b:target="$selectedMsg" b:select="string(@b:value)"/> <s:task b:action="assign" b:target="$selSource" b:select="@b:name"/> <s:task b:action="trigger" b:event="renderMessageStructure" b:target="id('messageTabs')//b:tab[@b:state='selected']"/> <s:task b:action="trigger" b:event="renderRelated" b:target="id('messageTabs')//b:tab[@b:state='selected']"/> </s:event> </s:behavior> <s:behavior b:name="populateDetails"> <s:event b:on="command"> <s:script> <!-- var details = "No detail data found for this element" bpc.render(details,'replacechildren',"id('detailstarget')"); --> </s:script> <s:variable b:name="detailsdata"/> <s:variable b:name="detailsbody"/> <s:variable b:name="RsDetailsJSON"/> <s:task b:action="load" b:destination="$detailsdata" b:url="{@b:url}" /> <s:task b:action="string2xml" b:variable="$detailsdata"/> <s:task b:action="assign" b:target="$detailsbody" b:select="$detailsdata//body" /> <s:task b:action="xml2string" b:variable="$detailsbody" /> <s:script> <!-- var details = _vars['detailsbody'][0]; if (typeof(details) != "undefined" && details != "undefined") { bpc.render(details.replace(/body/ig, "div"),'replacechildren',"id('detailstarget')"); } --> </s:script> <s:if b:test="../../@b:IsIncludeRetElement='true'"> <s:task b:action="load" b:destination="$RsDetailsJSON" b:url="{concat($dataDir,'json/',$selectedMsg,'Rs.json')}"/> <s:script><!-- showPossibleIncludeRetElements(); --></s:script> </s:if> <!-- <s:task b:action="trigger" b:event="open" b:target="id('details')"/> --> <s:task b:action="select" b:target="id('details')"/> </s:event> </s:behavior> <s:behavior b:name="RenderRelated"> <s:event b:on="select"> <s:super /> <s:task b:action="trigger" b:event="renderRelated"/> </s:event> <s:event b:on="open"> <s:super /> <s:task b:action="trigger" b:event="renderRelated"/> </s:event> <s:event b:on="construct"> <s:super /> <s:setatt b:dirty="true"/> <s:task b:action="trigger" b:event="renderRelated"/> </s:event> <s:event b:on="close"> <s:super /> <s:setatt b:dirty="true"/> </s:event> <s:event b:on="renderRelated"> <s:if b:test="$selectedMsg != ''"> <s:variable b:name="relatedData"/> <s:script> <!-- details = "None found"; bpc.render(details,'replacechildren',"id('relDocs')"); bpc.render(details,'replacechildren',"id('relAlphaGeek')"); bpc.render(details,'replacechildren',"id('relSamples')"); bpc.render(details,'replacechildren',"id('relContrib')"); --> </s:script> <s:task b:action="assign" b:target="$relatedData" b:select="'undefined'"/> <s:task b:action="load" b:destination="$relatedData" b:url="{concat($dataDir,'relDocs/',$selectedMsg, '.xml')}"/> <s:script> <!-- var details = _vars['relatedData'][0]; if (typeof(details) != "undefined" && details != "undefined") { bpc.render(details,'replacechildren',"id('relDocs')"); } --> </s:script> <s:task b:action="assign" b:target="$relatedData" b:select="'undefined'"/> <s:task b:action="load" b:destination="$relatedData" b:url="{concat($dataDir,'relAlphaGeek/',$selectedMsg, '.xml')}"/> <s:script> <!-- var details = _vars['relatedData'][0]; if (typeof(details) != "undefined" && details != "undefined") { bpc.render(details,'replacechildren',"id('relAlphaGeek')"); } --> </s:script> <s:task b:action="assign" b:target="$relatedData" b:select="'undefined'"/> <s:task b:action="load" b:destination="$relatedData" b:url="{concat($dataDir,'relSamples/',$selectedMsg, '.xml')}"/> <s:script> <!-- var details = _vars['relatedData'][0]; if (typeof(details) != "undefined" && details != "undefined") { bpc.render(details,'replacechildren',"id('relSamples')"); } --> </s:script> <s:task b:action="assign" b:target="$relatedData" b:select="'undefined'"/> <s:task b:action="load" b:destination="$relatedData" b:url="{concat($dataDir,'relContrib/',$selectedMsg, '.xml')}"/> <s:script> <!-- var details = _vars['relatedData'][0]; if (typeof(details) != "undefined" && details != "undefined") { bpc.render(details,'replacechildren',"id('relContrib')"); } --> </s:script> </s:if> </s:event> </s:behavior> <s:behavior b:name="accordeonLoad"> <s:event b:on="construct"> <s:variable b:name="panelXml" b:scope="local" /> <s:task b:action="assign" b:target="$panelXml" b:select="'undefined'"/> <s:task b:action="load" b:destination="$panelXml" b:url="{concat(@b:datadir,'/',@b:datadir,'.xml')}"/> <s:choose> <s:when b:test="$panelXml != 'undefined'"> <s:setatt b:url="{concat(@b:datadir,'/',@b:datadir,'.xml')}"/> </s:when> <s:otherwise> <s:setatt b:url="{concat('stubs/',@b:datadir,'/',@b:datadir,'.xml')}"/> </s:otherwise> </s:choose> <s:super /> </s:event> <s:event b:on="close"> <s:super /> <s:setatt b:dirty="true" /> </s:event> <s:event b:on="open"> <s:super /> <s:setatt b:dirty="true" /> </s:event> </s:behavior> <b:windowarea style="height: 100%; width:100%; border:0; overflow:auto;" > <b:window id="VisualExplorer" b:open="false" b:windowbuttons="close"> <s:variable b:name="TopLeftX" b:scope="global"/> <s:variable b:name="TopLeftY" b:scope="global"/> <s:variable b:name="Width" b:scope="global"/> <s:variable b:name="Height" b:scope="global" /> <s:variable b:name="imageFile" b:scope="global" /> <b:windowhead b:icon="image/Ai.png">QB UI Mapping Data provided by ACCOUNTiGRATE.com</b:windowhead> <b:windowbody> <div style="position:relative;"> <div id="image" style="position: absolute; top:0px; left:0px"></div> <div id="highlight" b:zsort="true" style="position: absolute; border: solid; border-width: 3; border-color: #FF0000;"></div> </div> </b:windowbody> <s:event b:on="ShowData"> <s:script><!-- ShowData(); --></s:script> <s:task b:action="trigger" b:event="open" b:target="id('VisualExplorer')"/> <s:task b:action="resize" b:target="id('highlight')" b:height="{$Height}" b:width="{$Width}" b:type="absolute"/> <s:task b:action="position" b:target="id('highlight')" b:left="{$TopLeftX}" b:top="{$TopLeftY}" b:type="absolute" /> </s:event> </b:window> <b:window id="Errors" b:open="false" b:windowbuttons="close"> <b:windowhead>Error List</b:windowhead> <b:windowbody><div id="errorlist"></div></b:windowbody> </b:window> <b:infobox id="details"> <div id="detailstarget">Message Details</div> </b:infobox> <!-- <b:window id="details" b:open="false" b:windowbuttons="close"> <b:windowhead>Details</b:windowhead> <b:windowbody> <div id="detailstarget">Message Details</div> </b:windowbody> </b:window> --> <!-- Main Panelset--> <b:panelset b:rows="52px *"> <!-- Top Panel, masthead and main links--> <b:panelset b:cols="751px *"> <b:panel id="masthead" style="padding: 0 0 0 0"> <h1 id="siteName">Onscreen Reference for Intuit Software Development Kits</h1> </b:panel> <b:panel id="mastheadright" b:width="100%"> </b:panel> </b:panelset> <!-- Middle Panel, control panel and main display area --> <b:panelset b:cols="220px *"> <!-- Column 1: Control Panel --> <b:panel id="sectionLinks"> <b:accordeon id="PanelNav" style="width: 210px;"> <s:event b:on="construct"> <s:super /> <s:task b:action="trigger" b:event="click" b:target="id($bpc_bookmark)"/> </s:event> <b:accordeonhead id="qb" b:datadir="qbsdk"><strong>QuickBooks SDK</strong></b:accordeonhead> <b:accordeonbody b:behavior="accordeonLoad" b:datadir="qbsdk" /> <b:accordeonhead id="qbms" b:datadir="qbmssdk"><strong>QBMS SDK</strong></b:accordeonhead> <b:accordeonbody b:behavior="accordeonLoad" b:datadir="qbmssdk" b:url="qbmssdk/qbmssdk.xml"/> <b:accordeonhead id="pos" b:datadir="qbpossdk"><strong>POS SDK</strong></b:accordeonhead> <b:accordeonbody b:behavior="accordeonLoad" b:datadir="qbpossdk" b:url="qbpossdk/qbpossdk.xml"/> <b:accordeonhead id="qbase" b:datadir="qbasesdk" ><strong>QuickBase SDK</strong></b:accordeonhead> <b:accordeonbody b:behavior="accordeonLoad" b:datadir="qbasesdk" b:url="qbasesdk/qbasesdk.xml"/> </b:accordeon> </b:panel> <!-- end control Panel>--> <!-- Column 2: main display panelset, message selector and display area--> <b:panelset b:rows="80px *"> <!-- row 1: message selector --> <b:panel id="topPanel"> <form> <table> <tr> <td> Select Message:<br /> <b:select b:behavior="messageSelect" b:value="" b:name="selectedMessage" id="messageSelector" b:width="210" /> </td> <td> <div id="SubscriptionSelect"> Select Subscription Message:<br /> <b:select b:behavior="messageSelect" b:value="" b:name="selectedSubscription" id="subscriptionSelector" b:width="200" /> </div> </td> </tr> </table> </form> </b:panel> <!-- End row1: Message Selector --> <!-- row 2: Display area --> <b:panel> <b:tabbox id="messageTabs"> <b:tab b:behavior="RenderMessage" id="RequestTab" b:label="Request"> <div id="renderRequest">Select a message or subscription from the list above</div> </b:tab> <b:tab b:behavior="RenderMessage" id="ResponseTab" b:label="Response"> <div id="renderResponse">Select a message or subscription from the list above</div> </b:tab> <b:tab b:behavior="RenderMessage" id="OpsTab" b:label="XMLOps"> <div id="renderOps" style="color: black">Select a message or subscription from the list above</div> </b:tab> <b:tab b:behavior="RenderMessage" id="CSharpTab" b:label="C#"> <div id="CSharpCode" style="color: black">Select a message or subscription from the list above</div> </b:tab> <b:tab b:behavior="RenderMessage" id="VBTab" b:label="VB.NET"> <div id="VBCode" style="color: black">Select a message or subscription from the list above</div> </b:tab> <b:tab b:behavior="RenderRelated" id="RelatedTab" b:label="Related Info"> <div id="RelatedInfo" style="color: black"> <div id="Documentation"> <b>Related Documentation:</b> </div> <div id="relDocs"> None found </div> <br/> <div id="alphaGeek"> <b><i>Related Alpha Geek Articles:</i></b> </div> <div id="relAlphaGeek"> None found </div> <br/> <div id="sampleLinks"> <b><i>Related Code Samples:</i></b> </div> <div id="relSamples"> None found </div> <br/> <div id="contribCode"> <b><i>Related Developer contributed:</i></b> </div> <div id="relContrib"> None found </div> </div> </b:tab> </b:tabbox> </b:panel> <!-- End Display area --> </b:panelset> <!-- End column 2: main display panel set--> </b:panelset> <!-- End middle panel --> </b:panelset> <!-- End Main panelset --> </b:windowarea>