<?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: selectOneRadio selected in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/selectoneradio-selected/m-p/123402#M86906</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You have to set the &lt;/SPAN&gt;&lt;STRONG&gt;value&lt;/STRONG&gt;&lt;SPAN&gt; of the selectOneRadio.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 10 Jan 2008 08:17:14 GMT</pubDate>
    <dc:creator>rivarola</dc:creator>
    <dc:date>2008-01-10T08:17:14Z</dc:date>
    <item>
      <title>selectOneRadio selected</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/selectoneradio-selected/m-p/123401#M86905</link>
      <description>How can we select a selectItem in a selectOneRadio by default?If we write selected="true" there's a mistake that says :"javax.faces.FacesException: /jsp/dialog/advanced-search.jsp(169,0) El atributo selected no es vÃƒÂ¡lido segÃƒÂºn el TLD especificado".Do we have to define the TLD somewhere? Thanks</description>
      <pubDate>Wed, 09 Jan 2008 17:33:35 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/selectoneradio-selected/m-p/123401#M86905</guid>
      <dc:creator>indsev</dc:creator>
      <dc:date>2008-01-09T17:33:35Z</dc:date>
    </item>
    <item>
      <title>Re: selectOneRadio selected</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/selectoneradio-selected/m-p/123402#M86906</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You have to set the &lt;/SPAN&gt;&lt;STRONG&gt;value&lt;/STRONG&gt;&lt;SPAN&gt; of the selectOneRadio.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Jan 2008 08:17:14 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/selectoneradio-selected/m-p/123402#M86906</guid>
      <dc:creator>rivarola</dc:creator>
      <dc:date>2008-01-10T08:17:14Z</dc:date>
    </item>
    <item>
      <title>Re: selectOneRadio selected</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/selectoneradio-selected/m-p/123403#M86907</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for your anwer &lt;img id="smileywink" class="emoticon emoticon-smileywink" src="https://connect.hyland.com/i/smilies/16x16_smiley-wink.png" alt="Smiley Wink" title="Smiley Wink" /&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;We have tried that, but it doesn't work. Our original code is:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;h:selectOneRadio &lt;/SPAN&gt;&lt;STRONG&gt;value="#{AdvancedSearchBeanDef.mode}" &lt;/STRONG&gt;&lt;SPAN&gt;layout="pageDirection" id="radioMode" &amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;f:selectItem itemValue="all" itemLabel="#{msg.all_items}" id="selectAll" /&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;f:selectItem itemValue="files_text" itemLabel="#{msg.file_names_contents}" id="selectFilesText" /&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;f:selectItem itemValue="files" itemLabel="#{msg.file_names}" id="selectFiles"&amp;nbsp; /&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;f:selectItem itemValue="folders" itemLabel="#{msg.space_names}" id="selectFolders" /&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/h:selectOneRadio&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If we write &lt;/SPAN&gt;&lt;STRONG&gt;value="files"&lt;/STRONG&gt;&lt;SPAN&gt;, the search ignores that and continue looking for all items (although in the radio "files" is selected).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;How could we solve this?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Jan 2008 08:30:07 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/selectoneradio-selected/m-p/123403#M86907</guid>
      <dc:creator>indsev</dc:creator>
      <dc:date>2008-01-10T08:30:07Z</dc:date>
    </item>
    <item>
      <title>Re: selectOneRadio selected</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/selectoneradio-selected/m-p/123404#M86908</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Has someone found the solution to select a radiobutton by default?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I would do like this one : &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Exemple from actions/simple-workflow.jsp (&lt;/SPAN&gt;&lt;A href="http://svn.alfresco.com/repos/alfresco-open-mirror/alfresco/HEAD/root/projects/web-client/source/web/jsp/actions/simple-workflow.jsp" rel="nofollow noopener noreferrer"&gt;http://svn.alfresco.com/repos/alfresco-open-mirror/alfresco/HEAD/root/projects/web-client/source/web/jsp/actions/simple-workflow.jsp&lt;/A&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&amp;lt;h:selectOneRadio value="#{WizardManager.bean.actionProperties.approveAction}"&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;f:selectItem itemValue="move" itemLabel="#{msg.move}" /&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;f:selectItem itemValue="copy" itemLabel="#{msg.copy}" /&amp;gt;&lt;BR /&gt;&amp;lt;/h:selectOneRadio&amp;gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;We can not use "&amp;lt;h:selectOneRadio value=…" because the value is use to get the value in the action handler.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;There is also the parameter "require=…" but it makes problems in some situations. I know it is possible to select one by default (it is done in the actions/simple-workflow.jsp). Perhaps set the value of WizardManager.bean.actionProperties.approveAction before this code above. I don't know how to do that….&amp;nbsp;&amp;nbsp; :?:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Oct 2009 13:27:43 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/selectoneradio-selected/m-p/123404#M86908</guid>
      <dc:creator>dranakan</dc:creator>
      <dc:date>2009-10-01T13:27:43Z</dc:date>
    </item>
  </channel>
</rss>

