<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <title>StudioWorks - Version 2010-05-30</title> <meta name="keywords" content="omnis studio, raining data, studioworks documentation" /> <link rel="stylesheet" type="text/css" href="http://www.studiotips.net/css/codedoc.css" /> <link rel="stylesheet" type="text/css" href="http://www.studioworks-dev.net/css/codedoc.css" /> </head> <body> <div id="container"> <p><a href = ../index.html > Sw4 </a> &nbsp &gt; &nbsp <a href = index.html > About </a> &nbsp &gt; &nbsp Version 2010-05-30</p> <a name="version20100530" /> <h2>Version 2010-05-30</h2> <p>This is a minor release with various bug fixes and minor enhancements.</p> <ol> <li><span class="nav">DB Inserts &amp; Updates</span> - Check to see if an admin column in a query is already specified for each admin column present before assigning vars. This results in the first instance of the admin column being chosen for each query rather than the last one.</li> <li><span class="nav">SQL MetaData</span> - For queries with custom string tables, default the stbname for each column to the stbname from the query class rather than that of the schema class.</li> <li><span class="nav">Window Active Commands</span> - Added a case for view if edit is in the list as 'view' isn't enabled if the user doesn't have edit abilities.</li> <li><span class="nav">Container Windows Toolbar</span> - Allow the toolbar to be visible if it only has Menus on it, same as wBase_Toolbar_Titlebar_abstract.</li> <li><span class="nav">Lookup Edit Subwindows</span> - Let the user change tabs, prompt to save if closing modified tabs this is changed from not allowing the user to change tabs.</li> <li><span class="nav">Languages</span> - Adding and Deleting Languages now written and tested.</li> </ol> <p>To update to this new release:</p> <ol> <li>Quit Omnis Studio.</li> <li>Backup your application! </li> <li>Replace the <span class="file">studioworks</span> folder.</li> <li>Open your application and test.</li> <li>If you hit any snags, email me a zip of your application with instructions on when and where you are running into problems.</li> </ol>Each library and the modifications in the release are listed below. The modifications are compiled from the <span class="code">@MOD</span> tag comments found in the methods of the classes in the library. <a name="swbase4" /> <h3>swBase4</h3> <p><span class="code">oConstants/$:WebAppCSSFolderURL</span> <span class="moddateby">(2009-10-26 Doug K. per Andy H.)</span><br /> Change from <span class="code">pos('http://')</span> to <span class="code">mid(...1,4)</span> to handle http &amp;amp; https.</p> <p><span class="code">oConstants/$:WebAppJavaScriptFolderURL</span> <span class="moddateby">(2009-10-26 Doug K. per Andy H.)</span><br /> Change from <span class="code">pos('http://')</span> to <span class="code">mid(...1,4)</span> to handle http &amp;amp; https.</p> <p><span class="code">oConstants/$:WebAppServerCGI</span> <span class="moddateby">(2009-10-26 Doug K. per Andy H.)</span><br /> Change from <span class="code">pos('http://')</span> to <span class="code">mid(...1,4)</span> to handle http &amp;amp; https.</p> <p><span class="code">oDBAdminMethods_abstract/$_logError</span> <span class="moddateby">(2010-05-12 Josh L.)</span><br /> Commented out and removed the <span class="code">errhndler.$logError</span>... as that prompts the developer in the middle of the sync.</p> <p><span class="code">oMetaDataDefaultProperties/$getQueryColsDefaultsRow</span> <span class="moddateby">(2010-05-12 Josh L.)</span><br /> Default the stbname to the stbname from the query class rather than that of the schema class. Added the pfQueryColsDataList parameter as well.</p> <p><span class="code">oMetaDataQueryCol_Model/$loadData</span> <span class="moddateby">(2010-05-12 Josh L.)</span><br /> Added the QueryClassDataList so we can default the stbname to the one from the columns Query if it is entered.</p> <p><span class="code">oMetaDataQueryCol_Model/syncColumnsForSQLClass_full</span> <span class="moddateby">(2010-05-12 Josh L.)</span><br /> Added the QueryClassDataList so we can default the stbname to the one from the columns Query if it is entered.</p> <p><span class="code">oMetaDataQueryCol_Model/syncColumnsForSQLClass_revert</span> <span class="moddateby">(2010-05-12 Josh L.)</span><br /> Added the QueryClassDataList so we can default the stbname to the one from the columns Query if it is entered.</p> <p><span class="code">oObject_template/$ping</span> <span class="moddateby">(2009-11-03 Doug K per Birger R &amp; Chuck M)</span><br /> Modifed $ping message to be able to send $ping to various possible subwindows for use by the developer.</p> <p><span class="code">oSecurity_DBAccessor_abstract/$_retSecurityUserRowFromDBUserRow</span> <span class="moddateby">(2010-05-11 Josh L as per Andy H.)</span><br /> Added initialization for iSecurityUsersList and iSecurityInfoRow which aren't initialized when doing an initial db sync.</p> <p><span class="code">oStringTables/$rebuildStringTables</span> <span class="moddateby">(2010-05-11 Doug K)</span><br /> Added method to rebuild string table table (copied and modified from the Programmer Menu) for use by the string tables editor/model objects.</p> <p><span class="code">oStringTablesEditor_Model/$addLanguage</span> <span class="moddateby">(2010-05-11 Doug K.)</span><br /> Test and complete the $addLanguage method code.</p> <p><span class="code">oStringTablesEditor_Model/$deleteLanguage</span> <span class="moddateby">(2010-05-11 Doug K.)</span><br /> Test and complete the $deleteLanguage method code.</p> <p><span class="code">oStringTablesEditor_Model/$exportStringTables</span> <span class="moddateby">(2010-05-11 Doug K.)</span><br /> Write and test the $exportStringTables method code.</p> <p><span class="code">oTableClassMethods_base/$:FetchAllWhereRow</span> <span class="moddateby">(2010-05-11 Josh L.)</span><br /> Added the functionality to use Omnis Date manipulations in the FetchAll where text with guidance from Andy H.</p> <p><span class="code">oTableClassMethods_base/$_initialize_SpecialCols</span> <span class="moddateby">(2010-05-12 Josh L as per Will Adkin)</span><br /> Check to see if an admin column is already specified for each admin column before assigning vars. This results in the first instance of the admin column being chosen rather than the last one.</p> <p><span class="code">wDBAdminTables/buildTablesList</span> <span class="moddateby">(2010-05-11 Josh L.)</span><br /> Add a sort for the tables list so we don't rely on the database returning them in any kind of order.</p> <span class="code">wStringTablesSchemasEditor_View/$addChildNodes</span> <span class="moddateby">(2010-05-11 Josh L. as per Andy H.)</span><br /> Added a sort (by schemaname) to the classes (nodes under the libraries) of the treelist. <a name="swdocs4" /> <h3>swDocs4</h3> No modifications <a name="swgui4" /> <h3>swGui4</h3> <p><span class="code">oConcretizer/addProgrammerDebugButton</span> <span class="moddateby">(2009-11-10 Doug K per Chuck M.)</span><br /> Add extra <span class="code">$ping</span> calls to other possible subwindow in the ProgrammerDebugButton method. Created _ProgrammerDebugButton_template method to copy the <span class="code">$methodtext</span> from.</p> <p><span class="code">oConcretizer/setTextAndTooltipProperties</span> <span class="moddateby">(2010-05-11 Josh L. as per Andy H.)</span><br /> updated the string table translation to use both stbname and servertablename if they are different.</p> <p><span class="code">oMenus/$retWindowMenusList</span> <span class="moddateby">(2009-10-22 Doug K.)</span><br /> Deleted unused parameter, pMenuID.</p> <p><span class="code">oPrompts/$promptInputVars</span> <span class="moddateby">(2010-05-11 Josh L.)</span><br /> Changed the Input1 - 4 parameters to 100000000 length characters (up from 100).</p> <p><span class="code">oWindowInstancesListEditor_Controller/$connectView</span> <span class="moddateby">(2009-10-20 Doug K.)</span><br /> Modified the controller to initialize the contained window instances list subwindow.</p> <p><span class="code">oWindowInstancesListEditor_Controller/$setandsaveContainedWinInstsList</span> <span class="moddateby">(2009-10-22 Doug K.)</span><br /> Added method to set and save the containedwininstslist for container windows.</p> <p><span class="code">oWindowInstances_Model/$:About Window Instances Model</span> <span class="moddateby">(2009-10-20 Doug K.)</span><br /> Added 'containedwininstslist' properties to sWindows_listdef. This properties allow the developer to specify generic patterns for container windows. This prepares the way for extending StudioWorks to autoconfig container windows, and generate them for HTML and remote forms.</p> <p><span class="code">oWindowInstances_Model/$:containedwininstslist</span> <span class="moddateby">(2009-10-20 Doug K.)</span><br /> Added setter and getter methods for 'containedwinintslist' property.</p> <p><span class="code">oWindowInstances_Model/$initialize</span> <span class="moddateby">(2009-10-20 Doug K.)</span><br /> Modified method to instantiate and initialize the contained window instances model object.</p> <p><span class="code">oWindowInstances_Model/$setandsaveContainedWinInstsList</span> <span class="moddateby">(2009-10-22 Doug K.)</span><br /> Added method to set and save the containedwininstslist for container windows.</p> <p><span class="code">oWindowInstances_Model/initializeContainedWinInstsListModel</span> <span class="moddateby">(2009-10-20 Doug K.)</span><br /> Added method to initialize the contained window instances model object.</p> <p><span class="code">oWindowInstances_Model/instantiateContainedWinInstsListModel</span> <span class="moddateby">(2009-10-20 Doug K.)</span><br /> Added method to instantiate the contained window instances model object.</p> <p><span class="code">oWindowInstances_Model_ContainedWinInstsList/$#About ContainedWinInstsList</span> <span class="moddateby">(2009-10-20 Doug K.)</span><br /> Added new object class to model the containedwininstslist property.</p> <p><span class="code">oWindowInstances_Tool/$retDefinedContainedWinInstsList</span> <span class="moddateby">(2009-10-20 Doug K.)</span><br /> Added a method that returns a defined containedwininstslist.</p> <p><span class="code">oWindowInstances_Tool/$retWinTypesList</span> <span class="moddateby">(2009-10-20 Doug K.)</span><br /> Added wintypes: container_horzsplit, container_tabsplit, container_vertsplit These are new wintypes for describing the patterns of different generic container window instances. Also added wintype 'grid' for describing an autoconfig complex grid with list/edit capabilities.</p> <p><span class="code">oWindowInstances_Tool/retDefinedContainedWinInstsList</span> <span class="moddateby">(2009-10-20 Doug K.)</span><br /> Added a method that returns a defined containedwininstslist.</p> <p><span class="code">wBase_ToolbarTitlebar_abstract/$_constructToolbar</span> <span class="moddateby">(2010-05-10 Josh L.)</span><br /> Took out the final <span class="code">else calculate toolbar.$visible as kfalse</span> because it is no longer needed.</p> <p><span class="code">wBase_abstract/$_retActiveCmndsList_winslist</span> <span class="moddateby">(2010-04-23 Josh L.)</span><br /> Added a case for view if edit is in the list as 'view' isn't enabled if the user doesn't have edit abilities.</p> <p><span class="code">wContainer_Edit_ListChildren_abstract/$viewRecord</span> <span class="moddateby">(2010-05-10 Josh L.)</span><br /> Added <span class="code">Quit method FlagOK</span> so this method can actually be used without producing an error</p> <p><span class="code">wContainer_abstract/$_constructToolbar</span> <span class="moddateby">(2010-04-08 Josh L.)</span><br /> Copied this method from wBase_Toolbar_Titlebar_abstract which works much better. The OldCode at the bottom is this window's initial method.</p> <p><span class="code">wLookupList/setSize</span> <span class="moddateby">(2010-05-07 Josh L as per Andy H.)</span><br /> Show the column headers if there are multiple columns.</p> <p><span class="code">wPromptFindMultiCriteria/$initialize</span> <span class="moddateby">(2010-05-11 Josh L.)</span><br /> Updated the string table translation to use both stbname and servertablename if they are different</p> <p><span class="code">wPromptInput/addFieldsAndLabels</span> <span class="moddateby">(2010-05-11 Josh L.)</span><br /> Updated this method to only calculate the left part of the label for Radio button Strings.</p> <p><span class="code">wPromptInput/addFieldsAndLabels</span> <span class="moddateby">(2010-05-11 Josh L.)</span><br /> Workaround for Mac and Omnis &lt;5 to use Arial 11pt font to calculate the size.</p> <p><span class="code">wSearchbar_abstract/$initialize</span> <span class="moddateby">(2010-05-11 Josh L. as per Andy H.)</span><br /> updated the string table translation to use both stbname and servertablename if they are different.</p> <p><span class="code">wShell_Lookup/$event</span> <span class="moddateby">(2010-05-07 Josh L.)</span><br /> Let the user change tabs, prompt to save if closing modified tabs.</p> <p><span class="code">wWindowInstancesListEditor_View/$#About Window Instances List Editor</span> <span class="moddateby">(2009-10-20 Doug K.)</span><br /> Added tab pane object and a second tab with a subwindow for editing the containedwininstslist.</p> <span class="code">wWindowInstancesListEditor_View/$#About Window Instances List Editor</span> <span class="moddateby">(2010-05-12 Josh L.)</span><br /> Changed the <span class="nav">devclassname</span> listheight to 30 from 50. <a name="swicons4" /> <h3>swIcons4</h3> No modifications <a name="swrefs4" /> <h3>swRefs4</h3> No modifications <a name="swreports4" /> <h3>swReports4</h3> <span class="code">oReportInstsList_Model/saveChangedData</span> <span class="moddateby">(2009-11-26 Doug K.)</span><br /> Bug fix. Change <span class="code">$search</span> from sqlclassname to reportinstid <a name="swweb4" /> <h3>swWeb4</h3> No modifications <p class="footer">StudioWorks Documentation - Copyright 2005 Vencor Software </p></div> </body> </html>