<?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: How to use UIGenericPicker ? in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/how-to-use-uigenericpicker/m-p/106975#M74883</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks Denis,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This is exactly the&amp;nbsp; point. I have created a component generator. In view mode, I have created an UIOutputText component. But for edit mode, I need to select the data from a set of data.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thus I believe I need to use a UIGenericPicker. What I think is to create an UIOutputText to display the data, and an UIGenericPicker to select the correct value in the list.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have two issues here:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1/ I have no idea how to make the both component displayed&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Either the UIOutputText (which is not updatable by the user), or the GenericPicker (which I was not able to figure out how to update the value) is displayed, not both.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;2/ I have no idea how to update the UIOutputText when the user click on the [Add] button from the UIGenerickPicker.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I believe I need to call the UIGenericPicker.addActionListener(Arg0), but I have no idea how to retreive the ActionListener awaited by the method.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks and regards.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Eric.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 23 Aug 2007 12:40:55 GMT</pubDate>
    <dc:creator>tico</dc:creator>
    <dc:date>2007-08-23T12:40:55Z</dc:date>
    <item>
      <title>How to use UIGenericPicker ?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-use-uigenericpicker/m-p/106973#M74881</link>
      <description>Hello you all,I'd like to update a property from an aspect with external data. The idea is to use the UIGenericPicker to select the data in a filtered list.I have created the aspect, and that worked fine,I have created a generator class, extending BaseComponentGenerator. What I would like to do is,</description>
      <pubDate>Wed, 22 Aug 2007 09:28:48 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-use-uigenericpicker/m-p/106973#M74881</guid>
      <dc:creator>tico</dc:creator>
      <dc:date>2007-08-22T09:28:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to use UIGenericPicker ?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-use-uigenericpicker/m-p/106974#M74882</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I did not quite understand the requirements you have but it seems to me that you will have to write a custom component which will than be generated by component generator. The best possible examples of different components can be found within the source code of Web Client project&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Kind regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Denis&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Aug 2007 11:28:39 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-use-uigenericpicker/m-p/106974#M74882</guid>
      <dc:creator>dhalupa</dc:creator>
      <dc:date>2007-08-23T11:28:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to use UIGenericPicker ?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-use-uigenericpicker/m-p/106975#M74883</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks Denis,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This is exactly the&amp;nbsp; point. I have created a component generator. In view mode, I have created an UIOutputText component. But for edit mode, I need to select the data from a set of data.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thus I believe I need to use a UIGenericPicker. What I think is to create an UIOutputText to display the data, and an UIGenericPicker to select the correct value in the list.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have two issues here:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1/ I have no idea how to make the both component displayed&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Either the UIOutputText (which is not updatable by the user), or the GenericPicker (which I was not able to figure out how to update the value) is displayed, not both.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;2/ I have no idea how to update the UIOutputText when the user click on the [Add] button from the UIGenerickPicker.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I believe I need to call the UIGenericPicker.addActionListener(Arg0), but I have no idea how to retreive the ActionListener awaited by the method.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks and regards.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Eric.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Aug 2007 12:40:55 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-use-uigenericpicker/m-p/106975#M74883</guid>
      <dc:creator>tico</dc:creator>
      <dc:date>2007-08-23T12:40:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to use UIGenericPicker ?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-use-uigenericpicker/m-p/106976#M74884</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Well, component generator will allways return the same component. The difference is that, when property is in readonly mode the "disabled" attribute of the component returned will be set to true. Now you can play and render different user interface depending on the value of that attribute. For other questions I would suggest that you try to google for "JSF custom components", go through few articles, and try to understand the basics of JSF component creation. After that, take a look at the source code for examples.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Sorry for not being more helpfull but you have to do the homework first &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://connect.hyland.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Denis&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Aug 2007 13:39:36 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-use-uigenericpicker/m-p/106976#M74884</guid>
      <dc:creator>dhalupa</dc:creator>
      <dc:date>2007-08-23T13:39:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to use UIGenericPicker ?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-use-uigenericpicker/m-p/106977#M74885</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you Denis, here is a good starter !!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Nevertheless, I'll follow your advices, it will just take a bit longer to find the glue.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks &amp;amp; regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Eric.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Aug 2007 14:00:22 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-use-uigenericpicker/m-p/106977#M74885</guid>
      <dc:creator>tico</dc:creator>
      <dc:date>2007-08-23T14:00:22Z</dc:date>
    </item>
  </channel>
</rss>

