<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wikidot="http://www.wikidot.com/rss-namespace">

	<channel>
		<title>Replicating default edit error behaviour</title>
		<link>http://www.peoplesoftwiki.com/forum/t-102755/replicating-default-edit-error-behaviour</link>
		<description>Posts in the discussion thread &quot;Replicating default edit error behaviour&quot;</description>
				<copyright></copyright>
		<lastBuildDate>Wed, 08 Feb 2012 21:17:28 +0000</lastBuildDate>
		
					<item>
				<guid>http://www.peoplesoftwiki.com/forum/t-102755#post-317283</guid>
				<title>Re: Replicating default edit error behaviour</title>
				<link>http://www.peoplesoftwiki.com/forum/t-102755/replicating-default-edit-error-behaviour#post-317283</link>
				<description></description>
				<pubDate>Mon, 24 Nov 2008 12:34:06 +0000</pubDate>
				<wikidot:authorName>Anonymous</wikidot:authorName>								<content:encoded>
					<![CDATA[
						 <p>Ignore the prvious one…</p> <p>use style sheet 'PSEDITBOX' to to set the stylesheet back so that the errored field is<br /> no longer highlighted in red.</p> <p>Thanks,<br /> Sharmil</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://www.peoplesoftwiki.com/forum/t-102755#post-317282</guid>
				<title>Re: Replicating default edit error behaviour</title>
				<link>http://www.peoplesoftwiki.com/forum/t-102755/replicating-default-edit-error-behaviour#post-317282</link>
				<description></description>
				<pubDate>Mon, 24 Nov 2008 12:32:47 +0000</pubDate>
				<wikidot:authorName>Anonymous</wikidot:authorName>								<content:encoded>
					<![CDATA[
						 <p>use style sheet 'PABOLDTEXT' to to set the stylesheet back so that the errored field is<br /> no longer highlighted in red.</p> <p>Thanks,<br /> Sharmil</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://www.peoplesoftwiki.com/forum/t-102755#post-302083</guid>
				<title>Re: Replicating default edit error behaviour</title>
				<link>http://www.peoplesoftwiki.com/forum/t-102755/replicating-default-edit-error-behaviour#post-302083</link>
				<description></description>
				<pubDate>Thu, 06 Nov 2008 20:32:20 +0000</pubDate>
				<wikidot:authorName>Praj</wikidot:authorName>				<wikidot:authorUserId>52320</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>On seconds thoughts, you probably need to trigger an event on the field again to validate it so you now know that it is no longer in error. However, triggering that error without user interaction is where I'm stuck.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://www.peoplesoftwiki.com/forum/t-102755#post-301600</guid>
				<title>Replicating default edit error behaviour</title>
				<link>http://www.peoplesoftwiki.com/forum/t-102755/replicating-default-edit-error-behaviour#post-301600</link>
				<description></description>
				<pubDate>Thu, 06 Nov 2008 09:26:45 +0000</pubDate>
				<wikidot:authorName>Praj</wikidot:authorName>				<wikidot:authorUserId>52320</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>By default when there's an edit error (e.g. required field missing) the default processing sets the cursor to the appropriate field and highlights it in red. This is how the default component processor works.</p> <p>Is it possible to replicate this behaviour exactly? Users are used to having this occur on errors, and it would be nice to trigger this on all PeopleCode validation.</p> <p>What would be neccessary? My original thoughts were:</p> <ul> <li>Set the cursor to appropriate field with <tt>SetCursorPos</tt> before the error message is displayed.</li> <li>Change the style sheet to <tt>PSERROR</tt></li> </ul> <p>However, after the error is corrected, you need another event to set the stylesheet back so that the <em>errored</em> field is no longer highlighted in red. This seems too complicated - could there be an easier way - e.g. call some JavaScript to this part?</p> <p>Any thoughts or ideas …</p> 
				 	]]>
				</content:encoded>							</item>
				</channel>
</rss>
