<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/">
	<channel>
		<title><![CDATA[APS Standard Community - All Forums]]></title>
		<link>http://community.apsstandard.org/</link>
		<description><![CDATA[APS Standard Community - http://community.apsstandard.org]]></description>
		<pubDate>Thu, 09 Sep 2010 08:07:10 -0400</pubDate>
		<generator>MyBB</generator>
		<item>
			<title><![CDATA[APS Controller Implementation in PHP]]></title>
			<link>http://community.apsstandard.org/showthread.php?tid=29</link>
			<pubDate>Wed, 28 Jul 2010 09:35:11 -0400</pubDate>
			<guid isPermaLink="false">http://community.apsstandard.org/showthread.php?tid=29</guid>
			<description><![CDATA[Great!! First post here!!<br />
<br />
I love the idea of the standard but there are any APS Controller implementations in PHP as I know. I already google it but I didn't fine nothing in concrete. Did somebody know if there is a controller over the net? Or maybe in other programming language? so I can do the port.]]></description>
			<content:encoded><![CDATA[Great!! First post here!!<br />
<br />
I love the idea of the standard but there are any APS Controller implementations in PHP as I know. I already google it but I didn't fine nothing in concrete. Did somebody know if there is a controller over the net? Or maybe in other programming language? so I can do the port.]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Looking for an APS development resource]]></title>
			<link>http://community.apsstandard.org/showthread.php?tid=28</link>
			<pubDate>Thu, 22 Jul 2010 16:14:50 -0400</pubDate>
			<guid isPermaLink="false">http://community.apsstandard.org/showthread.php?tid=28</guid>
			<description><![CDATA[I'm looking for an APS development resource. Can anyone recommend a company or individual? Thanks.]]></description>
			<content:encoded><![CDATA[I'm looking for an APS development resource. Can anyone recommend a company or individual? Thanks.]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[resource script]]></title>
			<link>http://community.apsstandard.org/showthread.php?tid=27</link>
			<pubDate>Mon, 14 Jun 2010 03:44:40 -0400</pubDate>
			<guid isPermaLink="false">http://community.apsstandard.org/showthread.php?tid=27</guid>
			<description><![CDATA[Can I see the resource script output?<br />
I've added resources and resource-script in app-meta.xml and I've created a resource.php in scripts with the code:<br />
<div class="codeblock phpcodeblock"><div class="title">PHP Code:<br />
</div><div class="body"><div dir="ltr"><code><span style="color: #007700">require_once(</span><span style="color: #DD0000">"configure.php"</span><span style="color: #007700">);<br /></span><span style="color: #FF8000">//initSoap()&nbsp;is&nbsp;a&nbsp;function&nbsp;in&nbsp;configure.php&nbsp;and&nbsp;it&nbsp;uses&nbsp;getenv('SETTINGS_global_setting');<br /></span><span style="color: #0000BB">&#36;soap&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">initSoap</span><span style="color: #007700">();<br /></span><span style="color: #0000BB">&#36;result&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">&#36;soap</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">Users</span><span style="color: #007700">();<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">&#36;xw</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">openMemory</span><span style="color: #007700">();<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">&#36;xw</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">setIndent</span><span style="color: #007700">(</span><span style="color: #0000BB">true</span><span style="color: #007700">);<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">&#36;xw</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">setIndentString</span><span style="color: #007700">(</span><span style="color: #DD0000">'&nbsp;'</span><span style="color: #007700">);&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">&#36;xw</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">startDocument</span><span style="color: #007700">(&nbsp;</span><span style="color: #DD0000">'1.0'</span><span style="color: #007700">);<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">&#36;xw</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">startElement</span><span style="color: #007700">(</span><span style="color: #DD0000">'resources'</span><span style="color: #007700">);<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">&#36;xw</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">writeAttribute</span><span style="color: #007700">(</span><span style="color: #DD0000">'xmlns'</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">'http://apstandard.com/ns/1/resource-output'</span><span style="color: #007700">);<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">&#36;xw</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">startElement</span><span style="color: #007700">(</span><span style="color: #DD0000">'resource'</span><span style="color: #007700">);<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">&#36;xw</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">writeAttribute</span><span style="color: #007700">(</span><span style="color: #DD0000">'id'</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">'users'</span><span style="color: #007700">);<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">&#36;xw</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">writeAttribute</span><span style="color: #007700">(</span><span style="color: #DD0000">'value'</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">&#36;result</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">users</span><span style="color: #007700">);<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">&#36;xw</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">endElement</span><span style="color: #007700">();<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">&#36;xw</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">endElement</span><span style="color: #007700">();<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">&#36;xw</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">endDocument</span><span style="color: #007700">();<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;echo&nbsp;</span><span style="color: #0000BB">&#36;xw</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">outputMemory</span><span style="color: #007700">();&nbsp;<br /></span></code></div></div></div>
I've created a new resource with class Application Resource, but I can't see the xml with users, why?]]></description>
			<content:encoded><![CDATA[Can I see the resource script output?<br />
I've added resources and resource-script in app-meta.xml and I've created a resource.php in scripts with the code:<br />
<div class="codeblock phpcodeblock"><div class="title">PHP Code:<br />
</div><div class="body"><div dir="ltr"><code><span style="color: #007700">require_once(</span><span style="color: #DD0000">"configure.php"</span><span style="color: #007700">);<br /></span><span style="color: #FF8000">//initSoap()&nbsp;is&nbsp;a&nbsp;function&nbsp;in&nbsp;configure.php&nbsp;and&nbsp;it&nbsp;uses&nbsp;getenv('SETTINGS_global_setting');<br /></span><span style="color: #0000BB">&#36;soap&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">initSoap</span><span style="color: #007700">();<br /></span><span style="color: #0000BB">&#36;result&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">&#36;soap</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">Users</span><span style="color: #007700">();<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">&#36;xw</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">openMemory</span><span style="color: #007700">();<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">&#36;xw</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">setIndent</span><span style="color: #007700">(</span><span style="color: #0000BB">true</span><span style="color: #007700">);<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">&#36;xw</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">setIndentString</span><span style="color: #007700">(</span><span style="color: #DD0000">'&nbsp;'</span><span style="color: #007700">);&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">&#36;xw</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">startDocument</span><span style="color: #007700">(&nbsp;</span><span style="color: #DD0000">'1.0'</span><span style="color: #007700">);<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">&#36;xw</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">startElement</span><span style="color: #007700">(</span><span style="color: #DD0000">'resources'</span><span style="color: #007700">);<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">&#36;xw</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">writeAttribute</span><span style="color: #007700">(</span><span style="color: #DD0000">'xmlns'</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">'http://apstandard.com/ns/1/resource-output'</span><span style="color: #007700">);<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">&#36;xw</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">startElement</span><span style="color: #007700">(</span><span style="color: #DD0000">'resource'</span><span style="color: #007700">);<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">&#36;xw</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">writeAttribute</span><span style="color: #007700">(</span><span style="color: #DD0000">'id'</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">'users'</span><span style="color: #007700">);<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">&#36;xw</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">writeAttribute</span><span style="color: #007700">(</span><span style="color: #DD0000">'value'</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">&#36;result</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">users</span><span style="color: #007700">);<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">&#36;xw</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">endElement</span><span style="color: #007700">();<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">&#36;xw</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">endElement</span><span style="color: #007700">();<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">&#36;xw</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">endDocument</span><span style="color: #007700">();<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;echo&nbsp;</span><span style="color: #0000BB">&#36;xw</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">outputMemory</span><span style="color: #007700">();&nbsp;<br /></span></code></div></div></div>
I've created a new resource with class Application Resource, but I can't see the xml with users, why?]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Settings order]]></title>
			<link>http://community.apsstandard.org/showthread.php?tid=26</link>
			<pubDate>Wed, 09 Jun 2010 04:10:19 -0400</pubDate>
			<guid isPermaLink="false">http://community.apsstandard.org/showthread.php?tid=26</guid>
			<description><![CDATA[How can I put settings in order? I can see in admin interface and user interface that settings appear in a random order, no visible connection with the order from APP-META.xml<br />
Note: I don't use lists; so I haven't tried the order attribute]]></description>
			<content:encoded><![CDATA[How can I put settings in order? I can see in admin interface and user interface that settings appear in a random order, no visible connection with the order from APP-META.xml<br />
Note: I don't use lists; so I haven't tried the order attribute]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[errors 095 and 096]]></title>
			<link>http://community.apsstandard.org/showthread.php?tid=25</link>
			<pubDate>Thu, 03 Jun 2010 07:17:40 -0400</pubDate>
			<guid isPermaLink="false">http://community.apsstandard.org/showthread.php?tid=25</guid>
			<description><![CDATA[Error aps:095 setting with value-of-setting could not refer to itself.<br />
Error aps:096 setting with value-of-setting refers to undefined setting.<br />
<br />
This from an example package with no errors<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>&lt;service id="account" class="account"&gt;<br />
&nbsp;&nbsp;...<br />
&nbsp;&nbsp;&nbsp;&nbsp;&lt;settings&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;...<br />
&nbsp;&nbsp;&nbsp;&nbsp;&lt;setting id="admin_login" type="string" visibility="hidden" value-of-setting="admin_login"/&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;...<br />
&nbsp;&nbsp;&nbsp;&nbsp;&lt;/settings&gt;<br />
&nbsp;&nbsp;...<br />
&lt;/service&gt;</code></div></div>
<br />
I did put default-value for those settings, what should I do?]]></description>
			<content:encoded><![CDATA[Error aps:095 setting with value-of-setting could not refer to itself.<br />
Error aps:096 setting with value-of-setting refers to undefined setting.<br />
<br />
This from an example package with no errors<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>&lt;service id="account" class="account"&gt;<br />
&nbsp;&nbsp;...<br />
&nbsp;&nbsp;&nbsp;&nbsp;&lt;settings&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;...<br />
&nbsp;&nbsp;&nbsp;&nbsp;&lt;setting id="admin_login" type="string" visibility="hidden" value-of-setting="admin_login"/&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;...<br />
&nbsp;&nbsp;&nbsp;&nbsp;&lt;/settings&gt;<br />
&nbsp;&nbsp;...<br />
&lt;/service&gt;</code></div></div>
<br />
I did put default-value for those settings, what should I do?]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[APS plug-in for Eclipse IDE is here!]]></title>
			<link>http://community.apsstandard.org/showthread.php?tid=24</link>
			<pubDate>Thu, 03 Jun 2010 02:37:06 -0400</pubDate>
			<guid isPermaLink="false">http://community.apsstandard.org/showthread.php?tid=24</guid>
			<description><![CDATA[<a href="http://www.apsstandard.org/r/doc/aps-eclipse-plugin-release-notes-1.1.0/index.htm" target="_blank">APS plug-in for Eclipse</a> allows software developers to package their application without leaving Eclipse IDE. APS plug-in provides GUI interface for editing application metadata and the content of the APS package.<br />
<br />
Feel free to send your feedback right here!<br />
<br />
<a href="http://www.apsstandard.org/r/doc/aps-eclipse-plugin-release-notes-1.1.0/index.htm" target="_blank">Release Notes</a>]]></description>
			<content:encoded><![CDATA[<a href="http://www.apsstandard.org/r/doc/aps-eclipse-plugin-release-notes-1.1.0/index.htm" target="_blank">APS plug-in for Eclipse</a> allows software developers to package their application without leaving Eclipse IDE. APS plug-in provides GUI interface for editing application metadata and the content of the APS package.<br />
<br />
Feel free to send your feedback right here!<br />
<br />
<a href="http://www.apsstandard.org/r/doc/aps-eclipse-plugin-release-notes-1.1.0/index.htm" target="_blank">Release Notes</a>]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[How to use output of configuration script]]></title>
			<link>http://community.apsstandard.org/showthread.php?tid=23</link>
			<pubDate>Tue, 01 Jun 2010 09:03:05 -0400</pubDate>
			<guid isPermaLink="false">http://community.apsstandard.org/showthread.php?tid=23</guid>
			<description><![CDATA[From what I understaind this:<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>&lt;configuration-script name="configure.php"&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;script-language&gt;php&lt;/script-language&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;structured-output/&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;status-control/&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;/configuration-script&gt;</code></div></div>
should turn on the output for configuration.php<br />
<br />
How do I show the errors to the user?<br />
<br />
<div class="codeblock phpcodeblock"><div class="title">PHP Code:<br />
</div><div class="body"><div dir="ltr"><code><span style="color: #007700">if(</span><span style="color: #0000BB">&#36;command&nbsp;</span><span style="color: #007700">==&nbsp;</span><span style="color: #DD0000">"install"</span><span style="color: #007700">){<br />&nbsp;&nbsp;&nbsp;&nbsp;if(</span><span style="color: #0000BB">install</span><span style="color: #007700">()){<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;exit(</span><span style="color: #0000BB">0</span><span style="color: #007700">);<br />&nbsp;&nbsp;&nbsp;&nbsp;}else{<br />&nbsp;&nbsp;&nbsp;&nbsp;exit(</span><span style="color: #0000BB">1</span><span style="color: #007700">);<br />}&nbsp;<br /></span></code></div></div></div>
From what I know exit(1) is notifying the controller that an error took place.<br />
But where do I need to put this code to show the errors? APP-META.xml? configure.php?<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>&lt;output xmlns="http://apstandard.com/ns/1/configure-output"&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&lt;errors&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;error id="1093" setting-id="login"&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;message&gt;Login name 'jsmith' already exists.&lt;/message&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;system&gt;login 'jsmith' is duplications with record id=12384&lt;/system&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;/error&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;error id="1123" setting-id="password"&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;message&gt;Password matches dictionary word&lt;/message&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;system&gt;login 'jsmith' password strength too low rate=0.02&lt;/system&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;/error&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&lt;/errors&gt;<br />
&lt;/output&gt;</code></div></div>
And if I put it in APP-META.xml how do I show the right error?<br />
Does output work in POA?[/code&#93;]]></description>
			<content:encoded><![CDATA[From what I understaind this:<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>&lt;configuration-script name="configure.php"&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;script-language&gt;php&lt;/script-language&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;structured-output/&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;status-control/&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;/configuration-script&gt;</code></div></div>
should turn on the output for configuration.php<br />
<br />
How do I show the errors to the user?<br />
<br />
<div class="codeblock phpcodeblock"><div class="title">PHP Code:<br />
</div><div class="body"><div dir="ltr"><code><span style="color: #007700">if(</span><span style="color: #0000BB">&#36;command&nbsp;</span><span style="color: #007700">==&nbsp;</span><span style="color: #DD0000">"install"</span><span style="color: #007700">){<br />&nbsp;&nbsp;&nbsp;&nbsp;if(</span><span style="color: #0000BB">install</span><span style="color: #007700">()){<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;exit(</span><span style="color: #0000BB">0</span><span style="color: #007700">);<br />&nbsp;&nbsp;&nbsp;&nbsp;}else{<br />&nbsp;&nbsp;&nbsp;&nbsp;exit(</span><span style="color: #0000BB">1</span><span style="color: #007700">);<br />}&nbsp;<br /></span></code></div></div></div>
From what I know exit(1) is notifying the controller that an error took place.<br />
But where do I need to put this code to show the errors? APP-META.xml? configure.php?<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>&lt;output xmlns="http://apstandard.com/ns/1/configure-output"&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&lt;errors&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;error id="1093" setting-id="login"&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;message&gt;Login name 'jsmith' already exists.&lt;/message&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;system&gt;login 'jsmith' is duplications with record id=12384&lt;/system&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;/error&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;error id="1123" setting-id="password"&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;message&gt;Password matches dictionary word&lt;/message&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;system&gt;login 'jsmith' password strength too low rate=0.02&lt;/system&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;/error&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&lt;/errors&gt;<br />
&lt;/output&gt;</code></div></div>
And if I put it in APP-META.xml how do I show the right error?<br />
Does output work in POA?[/code]]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[optional vs type]]></title>
			<link>http://community.apsstandard.org/showthread.php?tid=22</link>
			<pubDate>Mon, 31 May 2010 09:08:07 -0400</pubDate>
			<guid isPermaLink="false">http://community.apsstandard.org/showthread.php?tid=22</guid>
			<description><![CDATA[<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>&lt;setting id="account_email" class="value" type="email" optional="true"&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;name&gt;Email&lt;/name&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;/setting&gt;</code></div></div>
Using this requires a user to complete the field with a valid email, but I actually want <br />
1. empty field - optional<br />
2. if the field is completed, it should be with a valid email<br />
<br />
LE: tweaked a little my APP-META and seems to work.]]></description>
			<content:encoded><![CDATA[<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>&lt;setting id="account_email" class="value" type="email" optional="true"&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;name&gt;Email&lt;/name&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;/setting&gt;</code></div></div>
Using this requires a user to complete the field with a valid email, but I actually want <br />
1. empty field - optional<br />
2. if the field is completed, it should be with a valid email<br />
<br />
LE: tweaked a little my APP-META and seems to work.]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[App name vs Resource name]]></title>
			<link>http://community.apsstandard.org/showthread.php?tid=21</link>
			<pubDate>Mon, 31 May 2010 08:56:59 -0400</pubDate>
			<guid isPermaLink="false">http://community.apsstandard.org/showthread.php?tid=21</guid>
			<description><![CDATA[Since the application name is set by the developer in APP-META.xml and resource name is set by POA admin, is it possibile to show in the Hosting CP the resource name instead of the app name?]]></description>
			<content:encoded><![CDATA[Since the application name is set by the developer in APP-META.xml and resource name is set by POA admin, is it possibile to show in the Hosting CP the resource name instead of the app name?]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[interface display services]]></title>
			<link>http://community.apsstandard.org/showthread.php?tid=20</link>
			<pubDate>Mon, 31 May 2010 05:54:19 -0400</pubDate>
			<guid isPermaLink="false">http://community.apsstandard.org/showthread.php?tid=20</guid>
			<description><![CDATA[Hello I'm using 3 services and I would like to show 2 on admin interface and 1 in the hosting CP, in the admin interface they all apear ok, but in the hosting CP I get 1 service from the admin interface and the service that should be there. What are the right settings to display services in the right interface? I'm using services, settings, group, setting and global-settings.]]></description>
			<content:encoded><![CDATA[Hello I'm using 3 services and I would like to show 2 on admin interface and 1 in the hosting CP, in the admin interface they all apear ok, but in the hosting CP I get 1 service from the admin interface and the service that should be there. What are the right settings to display services in the right interface? I'm using services, settings, group, setting and global-settings.]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[configuration-script]]></title>
			<link>http://community.apsstandard.org/showthread.php?tid=19</link>
			<pubDate>Fri, 07 May 2010 03:48:40 -0400</pubDate>
			<guid isPermaLink="false">http://community.apsstandard.org/showthread.php?tid=19</guid>
			<description><![CDATA[Hello,<br />
I'm trying to package a PHP app.<br />
<br />
My APP-META.xml looks something like this:<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>&lt;application&gt;<br />
...<br />
&nbsp;&nbsp;&lt;service id="context" class="service"&gt;<br />
&nbsp;&nbsp;...<br />
&nbsp;&nbsp;&nbsp;&nbsp;&lt;provision&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;configuration-script name="configure.php"&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;script-language&gt;php&lt;/script-language&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;status-control /&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;/configuration-script&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;...<br />
&nbsp;&nbsp;&nbsp;&nbsp;&lt;/provision&gt;<br />
&nbsp;&nbsp;&lt;/service&gt;<br />
&lt;application&gt;</code></div></div>
In scripts/configure.php I have a function that should be called but nothing happens, not even echo('message') or die('message').<br />
I use APSlint to check the package and is good for silver cert. And I'm using Parallels 2.9]]></description>
			<content:encoded><![CDATA[Hello,<br />
I'm trying to package a PHP app.<br />
<br />
My APP-META.xml looks something like this:<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>&lt;application&gt;<br />
...<br />
&nbsp;&nbsp;&lt;service id="context" class="service"&gt;<br />
&nbsp;&nbsp;...<br />
&nbsp;&nbsp;&nbsp;&nbsp;&lt;provision&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;configuration-script name="configure.php"&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;script-language&gt;php&lt;/script-language&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;status-control /&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;/configuration-script&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;...<br />
&nbsp;&nbsp;&nbsp;&nbsp;&lt;/provision&gt;<br />
&nbsp;&nbsp;&lt;/service&gt;<br />
&lt;application&gt;</code></div></div>
In scripts/configure.php I have a function that should be called but nothing happens, not even echo('message') or die('message').<br />
I use APSlint to check the package and is good for silver cert. And I'm using Parallels 2.9]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[JEE applications as APS]]></title>
			<link>http://community.apsstandard.org/showthread.php?tid=18</link>
			<pubDate>Thu, 04 Feb 2010 01:21:24 -0500</pubDate>
			<guid isPermaLink="false">http://community.apsstandard.org/showthread.php?tid=18</guid>
			<description><![CDATA[Hi!<br />
<br />
Is there a way to make a JEE application APS-friendly? We use PostgreSQL+JRE+JBoss as platform and won't ever port our solution to PHP.<br />
<br />
We provide our CRM as a service following way actually: each client gets one completely tuned virtual server with JVM, PostgreSQL etc up an running. So we'll appreciate if APS would provide some way of deploying an VM image as an application, or standard way of customising reference VM images or such.]]></description>
			<content:encoded><![CDATA[Hi!<br />
<br />
Is there a way to make a JEE application APS-friendly? We use PostgreSQL+JRE+JBoss as platform and won't ever port our solution to PHP.<br />
<br />
We provide our CRM as a service following way actually: each client gets one completely tuned virtual server with JVM, PostgreSQL etc up an running. So we'll appreciate if APS would provide some way of deploying an VM image as an application, or standard way of customising reference VM images or such.]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[What about APS &#x26; rails]]></title>
			<link>http://community.apsstandard.org/showthread.php?tid=17</link>
			<pubDate>Thu, 28 Jan 2010 06:22:26 -0500</pubDate>
			<guid isPermaLink="false">http://community.apsstandard.org/showthread.php?tid=17</guid>
			<description><![CDATA[Hi.<br />
Is it possible to use APS-standart for development on Rails?]]></description>
			<content:encoded><![CDATA[Hi.<br />
Is it possible to use APS-standart for development on Rails?]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Welcome to APS Community!]]></title>
			<link>http://community.apsstandard.org/showthread.php?tid=16</link>
			<pubDate>Wed, 27 Jan 2010 02:29:45 -0500</pubDate>
			<guid isPermaLink="false">http://community.apsstandard.org/showthread.php?tid=16</guid>
			<description><![CDATA[Dear Users!<br />
<br />
Welcome to APS Standard Community Forums! This site is aimed to provide assistance and exchange experience on packaging SaaS applications into APS format and on implemeting APS-compatible hosting platforms.<br />
<br />
Through the forums we are building strong user community to elaborate and evolve APS as open and wide-used format to meet needs of application vendors and hosting providers who are targeting to jump into cloud computing environments.<br />
<br />
APS Team]]></description>
			<content:encoded><![CDATA[Dear Users!<br />
<br />
Welcome to APS Standard Community Forums! This site is aimed to provide assistance and exchange experience on packaging SaaS applications into APS format and on implemeting APS-compatible hosting platforms.<br />
<br />
Through the forums we are building strong user community to elaborate and evolve APS as open and wide-used format to meet needs of application vendors and hosting providers who are targeting to jump into cloud computing environments.<br />
<br />
APS Team]]></content:encoded>
		</item>
	</channel>
</rss>