<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>WorkingScripts &#187; GUI</title>
	<atom:link href="http://workingscripts.com/tag/gui/feed/" rel="self" type="application/rss+xml" />
	<link>http://workingscripts.com</link>
	<description>The Stuff that Just Works</description>
	<lastBuildDate>Mon, 07 Jun 2010 20:06:34 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>What Environment Am I in?</title>
		<link>http://workingscripts.com/2009/07/what-environment-am-i-in/</link>
		<comments>http://workingscripts.com/2009/07/what-environment-am-i-in/#comments</comments>
		<pubDate>Sat, 11 Jul 2009 03:44:00 +0000</pubDate>
		<dc:creator>Iouri Chadour</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[PeopleSoft]]></category>
		<category><![CDATA[PeopleTools]]></category>
		<category><![CDATA[GUI]]></category>
		<category><![CDATA[Tips]]></category>

		<guid isPermaLink="false">http://workingscripts.com/2009/07/what-environment-am-i-in/</guid>
		<description><![CDATA[As I was going through some of the sessions on the QUEST NORTHEAST CONFERENCE I noticed on of the presenters mentioning customizing Test environments Main PeopleSoft CSS PSSTYLEDEF so that the users are always able to distinguish between environments.
The solution that I have employ to solve this problem is to modify the PT_BRANDING:BrandingBase class to [...]]]></description>
			<content:encoded><![CDATA[<p align="left">As I was going through some of the sessions on the <a title="QUEST NORTHEAST CONFERENCE" href="http://www.questdirect.org/QuestDirect/Events/Quest+Northeast/" target="_blank">QUEST NORTHEAST CONFERENCE</a> I noticed on of the presenters mentioning customizing Test environments Main PeopleSoft CSS PSSTYLEDEF so that the users are always able to distinguish between environments.</p>
<p align="left">The solution that I have employ to solve this problem is to modify the PT_BRANDING:BrandingBase class to dynamically display environment name based on the URL, like this:</p>
<p align="left"><a href="http://workingscripts.com/wp-content/uploads/2009/07/captured_Image.png.jpg"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="captured_Image.png" src="http://workingscripts.com/wp-content/uploads/2009/07/captured_Image.png_thumb.jpg" border="0" alt="captured_Image.png" width="244" height="73" /></a></p>
<p align="left">PT_BRANDING Application package was meant to be used to dynamically customize the look and feel of you application and of course you can do a lot more with this but this is just a very simple example of how easy this can be done.</p>
<p align="left">In order to achieve the above effect all you need is to add code to 2 methods in the class PT_BRANDING:BrandingBase</p>
<div>
<pre class="csharpcode">method GetUniHeaderHTML
method GetUniHeaderHTML_PIA</pre>
</div>
<p align="left">
<p><!--.csharpcode, .csharpcode pre { 	font-size: small; 	color: black; 	font-family: consolas, "Courier New", courier, monospace; 	background-color: #ffffff; 	/*white-space: pre;*/ } .csharpcode pre { margin: 0em; } .csharpcode .rem { color: #008000; } .csharpcode .kwrd { color: #0000ff; } .csharpcode .str { color: #006080; } .csharpcode .op { color: #0000c0; } .csharpcode .preproc { color: #cc6633; } .csharpcode .asp { background-color: #ffff00; } .csharpcode .html { color: #800000; } .csharpcode .attr { color: #ff0000; } .csharpcode .alt  { 	background-color: #f4f4f4; 	width: 100%; 	margin: 0em; } .csharpcode .lnum { color: #606060; } --></p>
<p align="left">These methods, as the name suggests are responsible for rendering you Application Portal Header.</p>
<div>
<div id="codeSnippetWrapper" style="border: 1px solid silver; margin: 20px 0px 10px; padding: 4px; overflow: auto; text-align: left; line-height: 12pt; background-color: #f4f4f4; width: 97.88%; font-family: 'Courier New',courier,monospace; direction: ltr; height: 210px; max-height: 200px; font-size: 8pt; cursor: text;">
<pre id="codeSnippet" style="border-style: none; margin: 0em; padding: 0px; overflow: visible; text-align: left; line-height: 12pt; background-color: #f4f4f4; width: 100%; font-family: 'Courier New',courier,monospace; direction: ltr; color: black; font-size: 8pt;"><span style="color: #008000">/*Iouri Chadour - Added to put Test Environment notification in the header</span><span style="color: #008000">&amp;Request.ContentURI - returns your portal URL in form http://server:port/psp/PSPRC/</span><span style="color: #008000">Left(Right(&amp;Request.ContentURI, 4), 3) - extracts the significant piece to display</span><span style="color: #008000">on the header*/</span>
&amp;zEnvName = Left(Right(&amp;Request.ContentURI, 4), 3);
&amp;Greeting = &amp;zEnvName | " Environment " | ", UserID:" | <span style="color: #0000ff;">%UserId </span>| ", Name: " | <span style="color: #0000ff;">%UserDescription</span>;
<span style="color: #008000">/* End Mod */</span>

<span style="color: #008000">/* This code below is delivered checks for client browser to ensure that</span><span style="color: #008000"> Header is displayed correctly */</span>

If &amp;navTheme.isNS4x() Then    &amp;UniHeaderHTMLPIA = GetHTMLText(HTML.PORTAL_UNI_HEADER_NS4X, &amp;Response.GetImageURL(Image.NEW_PS_LOGO), &amp;Response.GetImageURL(Image.NEW_PORTAL_HDR_TBRCRV), <span style="color: #006080">" "</span>, <span style="color: #006080">" "</span>, &amp;FavoritesHTML, &amp;AddToFavoritesHTML, &amp;HelpHTML, <span style="color: #006080">""</span>, &amp;Response.GetImageURL(Image.NEW_PORTAL_HDR_CRV), &amp;Response.GetImageURL(Image.NEW_PORTAL_HDR_BG), &amp;Response.GetImageURL(Image.NEW_PORTAL_HDR_BG), &amp;Response.GetImageURL(Image.NEW_PORTAL_HDR_TBRCRV), &amp;Response.GetImageURL(Image.NEW_PORTAL_HDR_SHD), &amp;Response.GetImageURL(Image.NEW_PORTAL_HDR_TBR), &amp;styleSheet, &amp;homeURL, &amp;startURL, &amp;AddToFavFormHTML, &amp;LogoutURL, MsgGetText(95, 400, <span style="color: #006080">"Return Home"</span>), <span style="color: #008000">/*20*/</span>MsgGetText(95, 401, <span style="color: #006080">"Home"</span>), MsgGetText(95, 402, <span style="color: #006080">"Return to Menu"</span>), MsgGetText(95, 403, <span style="color: #006080">"Menu"</span>), MsgGetText(95, 408, <span style="color: #006080">"Sign out"</span>), &amp;Greeting, &amp;SearchHTML, &amp;ColSpanHTML, &amp;PersonalizeHTML, <span style="color: #006080">""</span>, <span style="color: #006080">""</span>, &amp;HelpJSHTML, &amp;homepageJS, <span style="color: #006080">""</span>, &amp;TabHTML, &amp;WLHTML, &amp;domainScript, &amp;Response.GetJavaScriptURL(HTML.PT_SAVEWARNINGSCRIPT), <span style="color: #006080">""</span>, &amp;SaveWarnCrossDomainScript, &amp;Response.GetImageURL(Image.PT_HOME_TAB_ACTIVE_CENTER), &amp;Response.GetImageURL(Image.PT_HOME_TAB_INACTIVE_CENTER), <span style="color: #008000">/*40*/</span>&amp;Response.GetImageURL(Image.PT_HOME_TAB_LINE), %Request.ExpireMeta, &amp;CTIHTML, &amp;MCFHTML, &amp;PPMHTML, &amp;Charset);ElseElse    &amp;UniHeaderHTMLPIA = GetHTMLText(HTML.PORTAL_UNI_HEADER_NNS, &amp;Response.GetImageURL(Image.NEW_PS_LOGO), &amp;Response.GetImageURL(Image.NEW_PORTAL_HDR_TBRCRV), <span style="color: #006080">""</span>, <span style="color: #006080">""</span>, &amp;FavoritesHTML, &amp;AddToFavoritesHTML, &amp;HelpHTML, <span style="color: #006080">""</span>, &amp;Response.GetImageURL(Image.NEW_PORTAL_HDR_CRV), &amp;Response.GetImageURL(Image.NEW_PORTAL_HDR_BG), &amp;Response.GetImageURL(Image.NEW_PORTAL_HDR_BG), &amp;Response.GetImageURL(Image.NEW_PORTAL_HDR_TBRCRV), &amp;Response.GetImageURL(Image.NEW_PORTAL_HDR_SHD), &amp;Response.GetImageURL(Image.NEW_PORTAL_HDR_TBR), &amp;styleSheet, &amp;homeURL, &amp;startURL, &amp;AddToFavFormHTML, &amp;LogoutURL, MsgGetText(95, 400, <span style="color: #006080">"Return Home"</span>), <span style="color: #008000">/*20*/</span>MsgGetText(95, 401, <span style="color: #006080">"Home"</span>), MsgGetText(95, 402, <span style="color: #006080">"Return to Menu"</span>), MsgGetText(95, 403, <span style="color: #006080">"Menu"</span>), MsgGetText(95, 408, <span style="color: #006080">"Sign out"</span>), &amp;Greeting, &amp;SearchHTML, &amp;ColSpanHTML, &amp;PersonalizeHTML, <span style="color: #006080">""</span>, <span style="color: #006080">""</span>, &amp;HelpJSHTML, &amp;homepageJS, MsgGetText(95, 138, <span style="color: #006080">"Tool Bar Header"</span>), &amp;TabHTML, &amp;WLHTML, &amp;domainScript, &amp;Response.GetJavaScriptURL(HTML.PT_SAVEWARNINGSCRIPT), <span style="color: #006080">""</span>, &amp;SaveWarnCrossDomainScript, &amp;Response.GetImageURL(Image.PT_HOME_TAB_ACTIVE_CENTER), &amp;Response.GetImageURL(Image.PT_HOME_TAB_INACTIVE_CENTER), <span style="color: #008000">/*40*/</span>&amp;Response.GetImageURL(Image.PT_HOME_TAB_LINE), %Request.ExpireMeta, &amp;CTIHTML, &amp;MCFHTML, &amp;PPMHTML, &amp;Charset); End-If;</pre>
</div>
</div>
]]></content:encoded>
			<wfw:commentRss>http://workingscripts.com/2009/07/what-environment-am-i-in/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>PeopleSoft GUI Tips &amp; Tricks</title>
		<link>http://workingscripts.com/2008/08/peoplesoft-gui-tips-tricks/</link>
		<comments>http://workingscripts.com/2008/08/peoplesoft-gui-tips-tricks/#comments</comments>
		<pubDate>Tue, 12 Aug 2008 23:29:00 +0000</pubDate>
		<dc:creator>Iouri Chadour</dc:creator>
				<category><![CDATA[PeopleSoft]]></category>
		<category><![CDATA[PeopleTools]]></category>
		<category><![CDATA[GUI]]></category>
		<category><![CDATA[PeopleBooks]]></category>

		<guid isPermaLink="false">http://workingscripts.com/?p=56</guid>
		<description><![CDATA[Again I would like to post a link to an Oracle Red Book written by Hsing Huang and Maria Gummerson. It outlines how to properly customize your application GUI &#38; Branding. PeopleSoft has special tools that support lots of branding customizations without having to impact the whole application. Here is an excerpt:
“Branding code resides in [...]]]></description>
			<content:encoded><![CDATA[<p>Again I would like to post a link to an Oracle Red Book written by Hsing Huang and Maria Gummerson. It outlines how to properly customize your application GUI &amp; Branding. PeopleSoft has special tools that support lots of branding customizations without having to impact the whole application. Here is an excerpt:</p>
<blockquote><p>“Branding code resides in two different application packages/classes. For standard PeopleSoft Branding, it’s PT_BRANDING:BrandingBase.”</p>
</blockquote>
<p>Enjoy and let me know if you have any questions.</p>
<p><a class="snap_shots" title="http://www.scribd.com/doc/16058292/PeopleSoft-GUI-Tips-Tricks" href="http://www.scribd.com/doc/16058292/PeopleSoft-GUI-Tips-Tricks" target="_blank">http://www.scribd.com/doc/16058292/PeopleSoft-GUI-Tips-Tricks</a></p>
]]></content:encoded>
			<wfw:commentRss>http://workingscripts.com/2008/08/peoplesoft-gui-tips-tricks/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
