<?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: Unknown property used in expression: #{bookOrder.validates()} in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/unknown-property-used-in-expression-bookorder-validates/m-p/21590#M9522</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I solved the problem i'm using spring with JSF i declared the beans in my activiti.cfg.xml , the problem i'm facing is that inside the validate method i have bookOrder.getIsbn when i call it it retrieves the value i want &amp;nbsp;but when processing it vial ServiceTask it always retrievs NullPointerException&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;lt;beans xmlns="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.springframework.org/schema/beans" rel="nofollow noopener noreferrer" target="_blank"&gt;http://www.springframework.org/schema/beans&lt;/A&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; xmlns:context="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.springframework.org/schema/context" rel="nofollow noopener noreferrer" target="_blank"&gt;http://www.springframework.org/schema/context&lt;/A&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; xmlns:tx="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.springframework.org/schema/tx" rel="nofollow noopener noreferrer" target="_blank"&gt;http://www.springframework.org/schema/tx&lt;/A&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; xmlns:xsi="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.w3.org/2001/XMLSchema-instance" rel="nofollow noopener noreferrer" target="_blank"&gt;http://www.w3.org/2001/XMLSchema-instance&lt;/A&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; xsi:schemaLocation="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.springframework.org/schema/beans" rel="nofollow noopener noreferrer" target="_blank"&gt;http://www.springframework.org/schema/beans&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.springframework.org/schema/beans/spring-beans.xsd" rel="nofollow noopener noreferrer" target="_blank"&gt;http://www.springframework.org/schema/beans/spring-beans.xsd&lt;/A&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt; "&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;bean id="dataSource" class="org.springframework.jdbc.datasource.SimpleDriverDataSource"&amp;gt;&lt;BR /&gt; &amp;lt;property name="jdbcUrl" value="jdbc:mysql://localhost:3306/activiti_test" /&amp;gt;&lt;BR /&gt; &amp;lt;property name="jdbcDriver" value="com.mysql.jdbc.Driver" /&amp;gt;&lt;BR /&gt; &amp;lt;property name="jdbcUsername" value="root" /&amp;gt;&lt;BR /&gt; &amp;lt;property name="jdbcPassword" value=" " /&amp;gt;&lt;BR /&gt; &amp;lt;property name="databaseSchemaUpdate" value="DB_SCHEMA_UPDATE_TRUE" /&amp;gt;&lt;BR /&gt; &amp;lt;/bean&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;bean id="transactionManager"&lt;BR /&gt; class="org.springframework.jdbc.datasource.DataSourceTransactionManager"&amp;gt;&lt;BR /&gt; &amp;lt;property name="dataSource" ref="dataSource"/&amp;gt;&lt;BR /&gt; &amp;lt;/bean&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;bean id="processEngineConfiguration" class="org.activiti.engine.impl.cfg.StandaloneInMemProcessEngineConfiguration"&amp;gt;&lt;BR /&gt; &amp;lt;property name="jdbcUrl" value="jdbc:h2:mem:activiti;DB_CLOSE_DELAY=1000" /&amp;gt;&lt;BR /&gt; &amp;lt;property name="jdbcDriver" value="org.h2.Driver" /&amp;gt;&lt;BR /&gt; &amp;lt;property name="jdbcUsername" value="sa" /&amp;gt;&lt;BR /&gt; &amp;lt;property name="jdbcPassword" value="" /&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;property name="databaseSchemaUpdate" value="true" /&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;property name="jobExecutorActivate" value="false" /&amp;gt;&lt;BR /&gt; &amp;lt;property name="asyncExecutorEnabled" value="true" /&amp;gt;&lt;BR /&gt; &amp;lt;property name="asyncExecutorActivate" value="false" /&amp;gt;&lt;BR /&gt; &lt;BR /&gt; &amp;lt;/bean&amp;gt;&lt;BR /&gt; &amp;lt;bean id="processEngine" class="org.activiti.spring.ProcessEngineFactoryBean"&amp;gt;&lt;BR /&gt; &amp;lt;property name="processEngineConfiguration" ref="processEngineConfiguration"/&amp;gt;&lt;BR /&gt; &amp;lt;/bean&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;bean id="repositoryService" factory-bean="processEngine"&lt;BR /&gt; factory-method="getRepositoryService"/&amp;gt;&lt;BR /&gt; &amp;lt;bean id="runtimeService" factory-bean="processEngine"&lt;BR /&gt; factory-method="getRuntimeService"/&amp;gt;&lt;BR /&gt; &amp;lt;bean id="taskService" factory-bean="processEngine"&lt;BR /&gt; factory-method="getTaskService"/&amp;gt;&lt;BR /&gt; &amp;lt;bean id="historyService" factory-bean="processEngine"&lt;BR /&gt; factory-method="getHistoryService"/&amp;gt;&lt;BR /&gt; &amp;lt;bean id="managementService" factory-bean="processEngine"&lt;BR /&gt; factory-method="getManagementService"/&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;bean id="bookOrder" class="ma.net.s2m.selectsystem.web.controller.admin.BookOrder"/&amp;gt;&lt;BR /&gt; &amp;lt;bean id="operationController" class="ma.net.s2m.selectsystem.web.controller.admin.OperationController"/&amp;gt;&lt;BR /&gt; &amp;lt;bean id="adminModele" class="ma.net.s2m.selectsystem.web.modele.AdminModele"/&amp;gt;&lt;BR /&gt; &amp;lt;bean id="moduleMenuItem" class="ma.net.s2m.selectsystem.domainmodel.admin.ModuleMenuItem"/&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/beans&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 03 May 2017 11:29:18 GMT</pubDate>
    <dc:creator>ilyass_act</dc:creator>
    <dc:date>2017-05-03T11:29:18Z</dc:date>
    <item>
      <title>Unknown property used in expression: #{bookOrder.validates()}</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/unknown-property-used-in-expression-bookorder-validates/m-p/21588#M9520</link>
      <description>Hi everyone i tried CDI with Activiti but i keep getting this error :Unknown property used in expression: #{bookOrder.validates()}Caused by: org.activiti.engine.impl.javax.el.PropertyNotFoundException: Cannot resolve identifier 'bookOrder'My BookOrder class :&amp;nbsp;@Named("bookOrder")public class BookOrde</description>
      <pubDate>Tue, 02 May 2017 14:23:27 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/unknown-property-used-in-expression-bookorder-validates/m-p/21588#M9520</guid>
      <dc:creator>ilyass_act</dc:creator>
      <dc:date>2017-05-02T14:23:27Z</dc:date>
    </item>
    <item>
      <title>Re: Unknown property used in expression: #{bookOrder.validates()}</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/unknown-property-used-in-expression-bookorder-validates/m-p/21589#M9521</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What platform are you running on?&lt;/P&gt;&lt;P&gt;&lt;A href="https://migration33.stage.lithium.com/t5/tag/bp3/tg-p"&gt;&lt;/A&gt;‌&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 May 2017 16:36:17 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/unknown-property-used-in-expression-bookorder-validates/m-p/21589#M9521</guid>
      <dc:creator>gdharley</dc:creator>
      <dc:date>2017-05-02T16:36:17Z</dc:date>
    </item>
    <item>
      <title>Re: Unknown property used in expression: #{bookOrder.validates()}</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/unknown-property-used-in-expression-bookorder-validates/m-p/21590#M9522</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I solved the problem i'm using spring with JSF i declared the beans in my activiti.cfg.xml , the problem i'm facing is that inside the validate method i have bookOrder.getIsbn when i call it it retrieves the value i want &amp;nbsp;but when processing it vial ServiceTask it always retrievs NullPointerException&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;lt;beans xmlns="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.springframework.org/schema/beans" rel="nofollow noopener noreferrer" target="_blank"&gt;http://www.springframework.org/schema/beans&lt;/A&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; xmlns:context="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.springframework.org/schema/context" rel="nofollow noopener noreferrer" target="_blank"&gt;http://www.springframework.org/schema/context&lt;/A&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; xmlns:tx="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.springframework.org/schema/tx" rel="nofollow noopener noreferrer" target="_blank"&gt;http://www.springframework.org/schema/tx&lt;/A&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; xmlns:xsi="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.w3.org/2001/XMLSchema-instance" rel="nofollow noopener noreferrer" target="_blank"&gt;http://www.w3.org/2001/XMLSchema-instance&lt;/A&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; xsi:schemaLocation="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.springframework.org/schema/beans" rel="nofollow noopener noreferrer" target="_blank"&gt;http://www.springframework.org/schema/beans&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.springframework.org/schema/beans/spring-beans.xsd" rel="nofollow noopener noreferrer" target="_blank"&gt;http://www.springframework.org/schema/beans/spring-beans.xsd&lt;/A&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt; "&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;bean id="dataSource" class="org.springframework.jdbc.datasource.SimpleDriverDataSource"&amp;gt;&lt;BR /&gt; &amp;lt;property name="jdbcUrl" value="jdbc:mysql://localhost:3306/activiti_test" /&amp;gt;&lt;BR /&gt; &amp;lt;property name="jdbcDriver" value="com.mysql.jdbc.Driver" /&amp;gt;&lt;BR /&gt; &amp;lt;property name="jdbcUsername" value="root" /&amp;gt;&lt;BR /&gt; &amp;lt;property name="jdbcPassword" value=" " /&amp;gt;&lt;BR /&gt; &amp;lt;property name="databaseSchemaUpdate" value="DB_SCHEMA_UPDATE_TRUE" /&amp;gt;&lt;BR /&gt; &amp;lt;/bean&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;bean id="transactionManager"&lt;BR /&gt; class="org.springframework.jdbc.datasource.DataSourceTransactionManager"&amp;gt;&lt;BR /&gt; &amp;lt;property name="dataSource" ref="dataSource"/&amp;gt;&lt;BR /&gt; &amp;lt;/bean&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;bean id="processEngineConfiguration" class="org.activiti.engine.impl.cfg.StandaloneInMemProcessEngineConfiguration"&amp;gt;&lt;BR /&gt; &amp;lt;property name="jdbcUrl" value="jdbc:h2:mem:activiti;DB_CLOSE_DELAY=1000" /&amp;gt;&lt;BR /&gt; &amp;lt;property name="jdbcDriver" value="org.h2.Driver" /&amp;gt;&lt;BR /&gt; &amp;lt;property name="jdbcUsername" value="sa" /&amp;gt;&lt;BR /&gt; &amp;lt;property name="jdbcPassword" value="" /&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;property name="databaseSchemaUpdate" value="true" /&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;property name="jobExecutorActivate" value="false" /&amp;gt;&lt;BR /&gt; &amp;lt;property name="asyncExecutorEnabled" value="true" /&amp;gt;&lt;BR /&gt; &amp;lt;property name="asyncExecutorActivate" value="false" /&amp;gt;&lt;BR /&gt; &lt;BR /&gt; &amp;lt;/bean&amp;gt;&lt;BR /&gt; &amp;lt;bean id="processEngine" class="org.activiti.spring.ProcessEngineFactoryBean"&amp;gt;&lt;BR /&gt; &amp;lt;property name="processEngineConfiguration" ref="processEngineConfiguration"/&amp;gt;&lt;BR /&gt; &amp;lt;/bean&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;bean id="repositoryService" factory-bean="processEngine"&lt;BR /&gt; factory-method="getRepositoryService"/&amp;gt;&lt;BR /&gt; &amp;lt;bean id="runtimeService" factory-bean="processEngine"&lt;BR /&gt; factory-method="getRuntimeService"/&amp;gt;&lt;BR /&gt; &amp;lt;bean id="taskService" factory-bean="processEngine"&lt;BR /&gt; factory-method="getTaskService"/&amp;gt;&lt;BR /&gt; &amp;lt;bean id="historyService" factory-bean="processEngine"&lt;BR /&gt; factory-method="getHistoryService"/&amp;gt;&lt;BR /&gt; &amp;lt;bean id="managementService" factory-bean="processEngine"&lt;BR /&gt; factory-method="getManagementService"/&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;bean id="bookOrder" class="ma.net.s2m.selectsystem.web.controller.admin.BookOrder"/&amp;gt;&lt;BR /&gt; &amp;lt;bean id="operationController" class="ma.net.s2m.selectsystem.web.controller.admin.OperationController"/&amp;gt;&lt;BR /&gt; &amp;lt;bean id="adminModele" class="ma.net.s2m.selectsystem.web.modele.AdminModele"/&amp;gt;&lt;BR /&gt; &amp;lt;bean id="moduleMenuItem" class="ma.net.s2m.selectsystem.domainmodel.admin.ModuleMenuItem"/&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/beans&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 May 2017 11:29:18 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/unknown-property-used-in-expression-bookorder-validates/m-p/21590#M9522</guid>
      <dc:creator>ilyass_act</dc:creator>
      <dc:date>2017-05-03T11:29:18Z</dc:date>
    </item>
  </channel>
</rss>

