incubator-hise-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r.@apache.org
Subject svn commit: r982961 - /incubator/hise/trunk/hise-docs/src/main/resources/presentation.xml
Date Fri, 06 Aug 2010 13:50:18 GMT
Author: rr
Date: Fri Aug  6 13:50:17 2010
New Revision: 982961

URL: http://svn.apache.org/viewvc?rev=982961&view=rev
Log:
HISE-65: documentation 3rd update (Thanks to PaweĊ‚ Byszewski)

Added:
    incubator/hise/trunk/hise-docs/src/main/resources/presentation.xml

Added: incubator/hise/trunk/hise-docs/src/main/resources/presentation.xml
URL: http://svn.apache.org/viewvc/incubator/hise/trunk/hise-docs/src/main/resources/presentation.xml?rev=982961&view=auto
==============================================================================
--- incubator/hise/trunk/hise-docs/src/main/resources/presentation.xml (added)
+++ incubator/hise/trunk/hise-docs/src/main/resources/presentation.xml Fri Aug  6 13:50:17
2010
@@ -0,0 +1,64 @@
+<sect1 id="presentationElements">
+<title>Presentation elements</title>
+<para>Information about tasks or notification should be available in a human-readable
way to allow users deadlining with their tasks and notofications via a user inerface.
+For example, a user queries for his
+tasks, getting a list of tasks he should work on, displaying a short description of
+each task. Upon selection of one of the tasks, more complete information about the
+task is displayed by the user interface.
+</para>
+
+<para>Definition of presemttiom consist:</para>
+
+<itemizedlist>
+<listitem><para><code>name</code> - some kind of task title </para></listitem>
+<listitem><para><code>presentation parameters</code> -  this element
specifies parameters used in two others presentation parameters: 
+<code>subject</code> and <code>description</code>. This attribute
is optional and see
+<link linkend="presentationExample">example</link> for details</para></listitem>
+<listitem><para>
+<code>subject</code> - brief task/notification description 
+</para></listitem>
+<listitem><para>
+<code>description</code> - long description of the task
+</para></listitem>
+</itemizedlist>
+<para>Example of the definition od presentation</para>
+
+<programlisting id="presentationExample">
+	
+           &lt;htd:presentationElements&gt;
+                
+               &lt;htd:name xml:lang=&quot;en-US&quot;&gt; Approve Claim&lt;/htd:name&gt;
+                
+               &lt;htd:presentationParameters&gt;
+                    
+                   &lt;htd:presentationParameter name=&quot;firstname&quot; type=&quot;xsd:string&quot;&gt;
+declare namespace cla=&quot;http://www.insurance.example.com/claims&quot;;
+declare namespace htd=&quot;http://www.example.org/WS-HT&quot;;
+xs:string(htd:getInput(&quot;ClaimApprovalRequest&quot;)/cla:cust/cla:firstname)
+&lt;/htd:presentationParameter&gt;
+                    
+                   &lt;htd:presentationParameter name=&quot;lastname&quot; type=&quot;xsd:string&quot;&gt;
+declare namespace cla=&quot;http://www.insurance.example.com/claims&quot;;
+declare namespace htd=&quot;http://www.example.org/WS-HT&quot;;
+xs:string(htd:getInput(&quot;ClaimApprovalRequest&quot;)/cla:cust/cla:lastname)
+&lt;/htd:presentationParameter&gt;
+                    
+                   &lt;htd:presentationParameter name=&quot;euroAmount&quot;
type=&quot;xsd:double&quot;&gt;
+declare namespace cla=&quot;http://www.insurance.example.com/claims&quot;;
+declare namespace htd=&quot;http://www.example.org/WS-HT&quot;;
+xs:double(htd:getInput(&quot;ClaimApprovalRequest&quot;)/cla:amount)
+&lt;/htd:presentationParameter&gt;
+                        
+               &lt;/htd:presentationParameters&gt;
+                
+&lt;htd:subject xml:lang=&quot;en-US&quot;&gt; Approve the insurance claim
for PLN {$euroAmount} on behalf of {$firstname} {$lastname}&lt;/htd:subject&gt;
+
+               &lt;htd:description xml:lang=&quot;en-US&quot; contentType=&quot;text/plain&quot;&gt;
Approve this claim following corporate guideline #4711.0815/7 for {$firstname} {$lastname}&lt;/htd:description&gt;
+
+            &lt;/htd:presentationElements&gt;
+
+</programlisting>
+
+
+
+</sect1>
\ No newline at end of file



Mime
View raw message