12-04-2009 04:42 AM
<r:actions id="acts_geda_approve_doc" value="geda_approve_doc" context="#{BrowseBean.document}" />
avec comme déclaration de l'action group : <!– Action approve –>
<action-group id="geda_approve_doc">
<action idref="approve_doc" />
<action idref="approve_doc_details"/>
</action-group>
<h:outputText value='#{BrowseBean.document.id}' id='msgGEDA22' />
Il m'affiche bien l'uid de l'espace courant<r:actions id="acts_geda_approve_doc" value="geda_approve_doc" context="#{NavigationBean.currentNode}" />
Ici, si je test avec : <h:outputText value='#{NavigationBean.currentNode.id}' id='msgGEDA22' />
J'ai bien l'uid des espaces qui ne contiennent aucun wf qui s'affiche, mais lorsque je rentre dans un espace avec ws, j'ai cette stack :javax.faces.FacesException: javax.faces.el.PropertyNotFoundException: Bean: org.alfresco.web.bean.repository.Node, property: app:approveStep
at org.apache.myfaces.context.servlet.ServletExternalContextImpl.dispatch(ServletExternalContextImpl.java:425)
at org.apache.myfaces.application.jsp.JspViewHandlerImpl.renderView(JspViewHandlerImpl.java:211)
at org.apache.myfaces.lifecycle.RenderResponseExecutor.execute(RenderResponseExecutor.java:41)
at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:132)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:140)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.alfresco.web.app.servlet.AuthenticationFilter.doFilter(AuthenticationFilter.java:110)
at sun.reflect.GeneratedMethodAccessor434.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.alfresco.repo.management.subsystems.ChainingSubsystemProxyFactory$1.invoke(ChainingSubsystemProxyFactory.java:122)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
at $Proxy191.doFilter(Unknown Source)
at org.alfresco.repo.web.filter.beans.Bean
12-04-2009 09:45 AM
<%– creation d une demande directe –%>
<td style="padding-left:4px; white-space:nowrap" align="right">
<%– Quick upload action –%>
<r:actions id="acts_geda_create_space" value="geda_create_space" context="#{NavigationBean.currentNode}" showLink="true" />
</td>
<!– Actions creer une demande –>
<action-group id="geda_create_space">
<action idref="create_space" />
</action-group>
12-08-2009 08:40 AM
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.