10-27-2008 06:29 AM
<wizard name="createMyProject" managed-bean="CreateMyProject"
title-id="create_my_project_title" description-id="create_my_project_desc"
icon="/images/icons/new_content_large.gif">
<property name="serviceRegitry">
<ref bean="ServiceRegistry" />
</property>
<step name="details" title-id="details" description-id="create_my_project_step1_desc">
[b]<page path="/jsp/extention/create_my_project_step1.jsp"
title-id="create_my_project_step1_title" description-id="create_my_project_step1_desc"
instruction-id="default_instruction" />[/b]
</step>
<step name="summary" title-id="summary" description-id="summary_step_description">
<page path="/jsp/extention/create_my_project_step2.jsp" title-id="summary"
description-id="summary_desc" instruction-id="content_finish_instruction" />
</step>
</wizard><!– Create My Project –>
<action id="create_my_project">
<permissions>
<permission allow="true">CreateChildren</permission>
</permissions>
<label-id>create_my_project</label-id>
<image>/images/icons/new_content.gif</image>
<action>wizard:createMyProject</action>
</action><!– Actions Menu for Create in Browse screen –>
<action-group id="browse_create_menu">
<action idref="create_content" />
<action idref="create_form" />
<action idref="create_website_wizard" />
<action idref="create_space" />
<action idref="create_space_wizard" />
[b]<action idref="create_my_project" />[/b]
</action-group>
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
<%@ taglib uri="/WEB-INF/alfresco.tld" prefix="a" %>
<%@ taglib uri="/WEB-INF/repo.tld" prefix="r" %>
<h:outputText value="#{msg.title}: " />
Testing…<h:inputText id="title"></h:inputText><br>
10-28-2008 03:38 AM
javax.faces.el.PropertyNotFoundException: Bean: org.alfresco.sample.CreateMyProjectWizard, property: contentService
Hide Details
javax.faces.el.PropertyNotFoundException: Bean: org.alfresco.sample.CreateMyProjectWizard, property: contentService
at org.apache.myfaces.el.PropertyResolverImpl.getPropertyDescriptor(PropertyResolverImpl.java:445)
at org.apache.myfaces.el.PropertyResolverImpl.getPropertyDescriptor(PropertyResolverImpl.java:416)
at org.apache.myfaces.el.PropertyResolverImpl.getType(PropertyResolverImpl.java:284)
at org.apache.myfaces.config.ManagedBeanBuilder.initializeProperties(ManagedBeanBuilder.java:164)
at org.apache.myfaces.config.ManagedBeanBuilder.buildManagedBean(ManagedBeanBuilder.java:55)
at org.apache.myfaces.el.VariableResolverImpl.resolveVariable(VariableResolverImpl.java:311)
at org.springframework.web.jsf.DelegatingVariableResolver.resolveVariable(DelegatingVariableResolver.java:110)
at org.alfresco.web.app.AlfrescoVariableResolver.resolveVariable(AlfrescoVariableResolver.java:91)
at org.apache.myfaces.el.ValueBindingImpl$ELVariableResolver.resolveVariable(ValueBindingImpl.java:569)
at org.apache.commons.el.NamedValue.evaluate(NamedValue.java:124)
at org.apache.myfaces.el.ValueBindingImpl.getValue(ValueBindingImpl.java:378)
at org.alfresco.web.app.servlet.FacesHelper.getManagedBean(FacesHelper.java:132)
at org.alfresco.web.bean.wizard.WizardManager.setCurrentWizard(WizardManager.java:96)
at org.alfresco.web.app.AlfrescoNavigationHandler.handleWizardOpen(AlfrescoNavigationHandler.java:575)
at org.alfresco.web.app.AlfrescoNavigationHandler.handleNavigation(AlfrescoNavigationHandler.java:115)
at org.apache.myfaces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:84)
at javax.faces.component.UICommand.broadcast(UICommand.java:106)
at javax.faces.component.UIViewRoot._broadcastForPhase(UIViewRoot.java:90)
at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:164)
at org.apache.myfaces.lifecycle.LifecycleImpl.invokeApplication(LifecycleImpl.java:316)
at org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:86)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:105)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.alfresco.web.app.servlet.AuthenticationFilter.doFilter(AuthenticationFilter.java:81)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:595)
public class CreateMyProjectWizard extends AbstractWizardBean {
public String getAspect() {
return aspect;
}
public void setAspect(String aspect) {
this.aspect = aspect;
}
protected List<SelectItem> aspects;
public List<SelectItem> getAspects() {
List<SelectItem> lists = new ArrayList<SelectItem>();
lists.add(new SelectItem("Test", "Test1"));
lists.add(new SelectItem("Test", "Test2"));
lists.add(new SelectItem("Test", "Test3"));
return aspects;
}
protected String aspect;
public String getTitle() {
return title;
}
public void setTitle(String title) {
this.title = title;
}
String title;
List<SelectItem> templates;
// ——————————————————————————
// Wizard implementation
private ServiceRegistry serviceRegistry;
public void setServiceRegistry(ServiceRegistry serviceRegistry) {
this.serviceRegistry = serviceRegistry;
}
protected String finishImpl(FacesContext context, String outcome)
throws Exception {
// super.finishImpl(context, outcome);
return outcome;
}
@Override
protected String determineOutcomeForStep(int arg0) {
// TODO Auto-generated method stub
return null;
}
@Override
public String finish() {
// TODO Auto-generated method stub
return null;
}
@Override
public String getStepDescription() {
// TODO Auto-generated method stub
return null;
}
@Override
public String getStepInstructions() {
// TODO Auto-generated method stub
return null;
}
@Override
public String getStepTitle() {
// TODO Auto-generated method stub
return null;
}
@Override
public String getWizardDescription() {
// TODO Auto-generated method stub
return null;
}
@Override
public String getWizardTitle() {
// TODO Auto-generated method stub
return null;
}
}
10-28-2008 04:24 AM
10-28-2008 10:10 AM
11-04-2008 06:03 AM
11-27-2008 03:45 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.