I am using Appfuse 1.9.4/Mysql/JSF.
I tried to integrate jbpm to my appfuse-based the application. I followed the instruction at http://raibledesigns.com/wiki/Wiki.jsp?page=IntegratingJBPMIntoAppFuse. 1. I created jbpm tables in my application database (mysql); 2. I reused the "datasource" and "sessionFactory" beans in hibernate configuration for the jbpmConfig bean; 3. I added to sessionFactory bean the following: <property name="mappingLocations"> <value>classpath*:/org/jbpm/**/*.hbm.xml</value> </property> 4. my jbpmConfig bean: <bean id="testProcess" class="org.springmodules.workflow.jbpm31.definition.ProcessDefinitionFac toryBean"> <property name="definitionLocation" value="classpath:testprocess.xml"/> </bean> <bean id="jbpmConfig" class="org.springmodules.workflow.jbpm31.LocalJbpmConfigurationFactoryBe an"> <!-- pass in existing sessionFactory --> <property name="sessionFactory" ref="sessionFactory"/> <property name="configuration" value="classpath:jbpm.cfg.xml"/> <property name="processDefinitions"> <list> <ref local="testProcess"/> </list> </property> <property name="createSchema" value="false"/> </bean> 5. I put both jbpm.cfg.xml and testprocess.xml to the classpath (web-inf/classes); 6. I ran the test The error I got is: [junit] Error creating bean with name 'jbpmConfig' defined in file [C:\my to ols\cwr\build\dao\gen\META-INF\applicationContext-hibernate.xml]: Invocation of init method failed; nested exception is org.jbpm.configuration.ConfigurationExce ption: name 'default.jbpm.context' is not defined in the configuration. configur ed names: [] Please advise. Thank you very much. QD ________________________________ From: Michael Horwitz [mailto:[EMAIL PROTECTED] Sent: Friday, February 22, 2008 7:54 AM To: [email protected] Subject: Re: [appfuse-user] Display tag link problem On 22/02/2008, Sanath <[EMAIL PROTECTED]> wrote: I have a displaytag that needs to have 3 columns and I have applied a URL attribute to the first column of the display tag. Other 2 columns doesn't have a url attribute. MY PROBLEM IS THAT WITH DISPLAYTAG 1.1.1, WHEN I CLICK AND COLUMN, IT GOES TO THAT GIVEN URL. I HAVE THE APPFUSE LIGHT (EQUINOX) project which uses display tag 1.0 and in that display tag, only the columns given with the url attribute are clickable. What is the approach that needs to be taken to achieve the same with using the displaytag 1.1.1 YOUR HELP is highly appriciated. THNX.... Towards the bottom of the page (or somewhere on the page) you should have code of the form: <script type="text/javascript"> highlightTableRows("table_id"); </script> This is the code that makes the entire row clickable. Remove it and just the cell should be clickable. Mike. MY JSP code for the display tag <display:column property="id" sort="true" href="editUser.html" paramId="id" paramProperty="id" titleKey="user.id"/> <display:column property="lastName" sort="true" titleKey="user.lastName" /> <display:column property="address" sort="true" titleKey="user.address" /> -- View this message in context: http://www.nabble.com/Display-tag-link-problem-tp15633385s2369p15633385. html Sent from the AppFuse - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
