Difference between revisions of "Web Screen Painter"
From SDU
m (New page: This articles provides an under-the-hood explanation of the Web Screen Painter (WSP) and the Schema Designer introduced in r11.x. == Web Screen Painter == WSP Facts: *Located on the Prim...) |
m (Reverted edits by Agegeleruvy (Talk); changed back to last version by NeronLeVelu) |
||
| (9 intermediate revisions by 3 users not shown) | |||
| Line 1: | Line 1: | ||
| + | __NOTOC__ | ||
| + | [[Category:Customizations]] | ||
| + | [[Category:r11]] | ||
| + | {{Global Header}} | ||
| + | {{Global Announcement}} | ||
| + | |||
| + | == Overview == | ||
This articles provides an under-the-hood explanation of the Web Screen Painter (WSP) and the Schema Designer introduced in r11.x. | This articles provides an under-the-hood explanation of the Web Screen Painter (WSP) and the Schema Designer introduced in r11.x. | ||
| Line 6: | Line 13: | ||
*Uses Tomcat exclusively. | *Uses Tomcat exclusively. | ||
*All published changes are automatically exported to all Secondary Servers. | *All published changes are automatically exported to all Secondary Servers. | ||
| − | |||
=== On Save === | === On Save === | ||
| Line 12: | Line 18: | ||
* The [[$NX_ROOT]]\site\mods\wsp\project directory is created if it does not already exist. | * The [[$NX_ROOT]]\site\mods\wsp\project directory is created if it does not already exist. | ||
| − | * A new or modified file is stored within the [[$NX_ROOT]]\site\mods\wsp\project\... directory which has a structure that mimics the location of the default version of the file. <br>''For example: If editing the bin_form_np.htmpl used by the Analyst Interface which originally resides in [[$NX_ROOT]]\bopcfg\www\htmpl\web\analyst, a saved copy will be placed in [[$NX_ROOT]]\site\mods\wsp\project\www\htmpl\web\analyst.'' | + | * A new or modified file is stored within the [[$NX_ROOT]]\site\mods\wsp\project\... directory which has a structure that mimics the location of the default version of the file. <br>''For example: If editing the bin_form_np.htmpl used by the Analyst Interface which originally resides in [[$NX_ROOT]]\bopcfg\www\htmpl\web\analyst, a saved copy will be placed in [[$NX_ROOT]]\site\mods\wsp\project\www\htmpl\web\analyst.'' |
| + | * Do not forget that also 2 tables are updated by web screen painter to "remind" the modification. It is possible that some change (made manually for example) are not know by the WSP with all the side effect that can result in case of modification. | ||
=== On Publish === | === On Publish === | ||
| Line 24: | Line 31: | ||
* The [[pdm_webcache]] command is automatically initiate which clears the cache on the Primary and all Secondary Servers. | * The [[pdm_webcache]] command is automatically initiate which clears the cache on the Primary and all Secondary Servers. | ||
| − | |||
=== Backing out === | === Backing out === | ||
| Line 32: | Line 38: | ||
*For published files, navigate through the [[$NX_ROOT]]\site\mods\... directory on the Primary and all Secondary Servers, delete your file from all servers, and run the [[pdm_webcache]] from the Primary Server. | *For published files, navigate through the [[$NX_ROOT]]\site\mods\... directory on the Primary and all Secondary Servers, delete your file from all servers, and run the [[pdm_webcache]] from the Primary Server. | ||
| − | + | == See Also == | |
| − | + | [[Schema Designer]] | |
| − | == | + | |
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
Latest revision as of 05:24, 30 November 2010
To make corrections or additions to this article, select the edit tab above.
To discuss or ask questions about this article, select the discussion tab above.
To discuss or ask questions about this article, select the discussion tab above.
Overview
This articles provides an under-the-hood explanation of the Web Screen Painter (WSP) and the Schema Designer introduced in r11.x.
Web Screen Painter
WSP Facts:
- Located on the Primary Server.
- Uses Tomcat exclusively.
- All published changes are automatically exported to all Secondary Servers.
On Save
When initiating a save (File > Save) the following occurs:
- The $NX_ROOT\site\mods\wsp\project directory is created if it does not already exist.
- A new or modified file is stored within the $NX_ROOT\site\mods\wsp\project\... directory which has a structure that mimics the location of the default version of the file.
For example: If editing the bin_form_np.htmpl used by the Analyst Interface which originally resides in $NX_ROOT\bopcfg\www\htmpl\web\analyst, a saved copy will be placed in $NX_ROOT\site\mods\wsp\project\www\htmpl\web\analyst.
- Do not forget that also 2 tables are updated by web screen painter to "remind" the modification. It is possible that some change (made manually for example) are not know by the WSP with all the side effect that can result in case of modification.
On Publish
When initiating a publish (File > Publish) the following occurs:
- Any saved versions of the files being published that reside within $NX_ROOT\site\mods\wsp\project\... are removed.
- A new or modified file will be stored on the Primary and all Secondary Servers within the $NX_ROOT\site\mods\... directory which has a structure that mimics the location of the default version of the file.
For example: If editing the bin_form_np.htmpl used by the Analyst Interface which originally resides in $NX_ROOT\bopcfg\www\htmpl\web\analyst, a saved copy will be placed in $NX_ROOT\site\mods\www\htmpl\web\analyst. CA ensures that the default files are never altered by your customizations by saving custom files in a dedicated location.
- A deleted file will be removed from the Primary and all Secondary Servers.
- The pdm_webcache command is automatically initiate which clears the cache on the Primary and all Secondary Servers.
Backing out
Both published and unpublished forms can be deleted via the WSP. However, you can also navigate through the directory structure and delete the file.
- For saved but unpublished, navigate through the $NX_ROOT\site\mods\wsp\project\... directory and remove the target file.
- For published files, navigate through the $NX_ROOT\site\mods\... directory on the Primary and all Secondary Servers, delete your file from all servers, and run the pdm_webcache from the Primary Server.