<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Can we include Javascripts within XSDs? in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/can-we-include-javascripts-within-xsds/m-p/92924#M63562</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;This is currently not supported.&amp;nbsp; However, we are looking into adding support for dynamic content elements.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You can track this issue here:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://issues.alfresco.com/browse/WCM-376" rel="nofollow noopener noreferrer"&gt;http://issues.alfresco.com/browse/WCM-376&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Please feel free to add comments and specify what types of scenarios you would like supported.&amp;nbsp; We will be evaluating for our next release.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Kevin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 24 Jul 2007 09:46:20 GMT</pubDate>
    <dc:creator>kvc</dc:creator>
    <dc:date>2007-07-24T09:46:20Z</dc:date>
    <item>
      <title>Can we include Javascripts within XSDs?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/can-we-include-javascripts-within-xsds/m-p/92923#M63561</link>
      <description>HiCan we include javascripts within XSds?I desire to have a condition wherein i can automatically populate elements within the form based on some other particular element that the user populates.for eg:, if a user clicks on a checkbox YES, then a portlet/element appears, or it dissappears or some va</description>
      <pubDate>Tue, 24 Jul 2007 05:55:18 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/can-we-include-javascripts-within-xsds/m-p/92923#M63561</guid>
      <dc:creator>nikhil</dc:creator>
      <dc:date>2007-07-24T05:55:18Z</dc:date>
    </item>
    <item>
      <title>Re: Can we include Javascripts within XSDs?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/can-we-include-javascripts-within-xsds/m-p/92924#M63562</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;This is currently not supported.&amp;nbsp; However, we are looking into adding support for dynamic content elements.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You can track this issue here:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://issues.alfresco.com/browse/WCM-376" rel="nofollow noopener noreferrer"&gt;http://issues.alfresco.com/browse/WCM-376&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Please feel free to add comments and specify what types of scenarios you would like supported.&amp;nbsp; We will be evaluating for our next release.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Kevin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jul 2007 09:46:20 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/can-we-include-javascripts-within-xsds/m-p/92924#M63562</guid>
      <dc:creator>kvc</dc:creator>
      <dc:date>2007-07-24T09:46:20Z</dc:date>
    </item>
    <item>
      <title>Re: Can we include Javascripts within XSDs?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/can-we-include-javascripts-within-xsds/m-p/92925#M63563</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If not javascripts, Can we include any scripting language within XSDs?.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there any method by which we can introduce a conditional aspect in the forms?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;for eg: &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Suppose i have a drop down box containing 5 values (1,2,3,4,5)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Suppose i have a textbox, the value of which depends on what the user clicks in the drop down&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Suppose i want to create a condition wherein if i select any enumeration value &amp;gt;3, the text box automatically gets a fixed value (VERY HIGH) and if i select a value &lt;span class="lia-unicode-emoji" title=":red_heart:"&gt;❤️&lt;/span&gt; it automatically gets populated with the value (MODERATE)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Now these two values can be hardcoded in the xsd as fixed values of elements of type xs:normalizedString (ie the text box).&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So all we would need is a conditional statement that would read the values selected by the user from the drop down menus&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So my question to you is, is there any method by which we can incorporate a conditional statement within the xsd itself ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Some thing to the tune of&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;xs:if (value==x) xs:then (consequence)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Please guide me &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Warm Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Nikhil Sharma&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jul 2007 14:38:16 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/can-we-include-javascripts-within-xsds/m-p/92925#M63563</guid>
      <dc:creator>nikhil</dc:creator>
      <dc:date>2007-07-24T14:38:16Z</dc:date>
    </item>
  </channel>
</rss>

