<?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: Where does the jsp to bean attribute mapping occur? in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/where-does-the-jsp-to-bean-attribute-mapping-occur/m-p/36065#M18989</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The mapping you are talking about is the standard Java Bean property/method mapping syntax. Both JavaServerFaces (the underlying technology we use for our web-client UI) and most other Java frameworks (such as Spring, Struts etc.) use the Java Bean property syntax for referencing values and methods on an Java object. Internally the mapping is converting say the syntax:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;"bean.value"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;into a Java method call:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;bean.getValue()&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The call is executed via the Java Reflection API.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So pretty much as you guessed &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;There is a file in the web-client called faces-config-beans.xml that contains the bean name mappings to actual Java class file implementations. If you take a look in that file you'll see what i mean.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The return type can be any Java object supported by the component that you are binding the value into. Mostly this will be String, as that's what most UI components deal with, but it can be any object type.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope this helps,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Kevin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 10 Feb 2006 18:18:20 GMT</pubDate>
    <dc:creator>kevinr</dc:creator>
    <dc:date>2006-02-10T18:18:20Z</dc:date>
    <item>
      <title>Where does the jsp to bean attribute mapping occur?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/where-does-the-jsp-to-bean-attribute-mapping-occur/m-p/36064#M18988</link>
      <description>I apologize in advance for asking what may turn out to be a rudimentary question, but I've done a lot of searchiing around and though I have some hunches, I don't have a definitive answer.What I'm wondering is, is where the mapping occurs when a JSP calls an attribute of a given bean.&amp;nbsp; For example,</description>
      <pubDate>Fri, 10 Feb 2006 16:14:30 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/where-does-the-jsp-to-bean-attribute-mapping-occur/m-p/36064#M18988</guid>
      <dc:creator>davewhit</dc:creator>
      <dc:date>2006-02-10T16:14:30Z</dc:date>
    </item>
    <item>
      <title>Re: Where does the jsp to bean attribute mapping occur?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/where-does-the-jsp-to-bean-attribute-mapping-occur/m-p/36065#M18989</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The mapping you are talking about is the standard Java Bean property/method mapping syntax. Both JavaServerFaces (the underlying technology we use for our web-client UI) and most other Java frameworks (such as Spring, Struts etc.) use the Java Bean property syntax for referencing values and methods on an Java object. Internally the mapping is converting say the syntax:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;"bean.value"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;into a Java method call:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;bean.getValue()&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The call is executed via the Java Reflection API.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So pretty much as you guessed &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;There is a file in the web-client called faces-config-beans.xml that contains the bean name mappings to actual Java class file implementations. If you take a look in that file you'll see what i mean.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The return type can be any Java object supported by the component that you are binding the value into. Mostly this will be String, as that's what most UI components deal with, but it can be any object type.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope this helps,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Kevin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Feb 2006 18:18:20 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/where-does-the-jsp-to-bean-attribute-mapping-occur/m-p/36065#M18989</guid>
      <dc:creator>kevinr</dc:creator>
      <dc:date>2006-02-10T18:18:20Z</dc:date>
    </item>
  </channel>
</rss>

