AnsweredAssumed Answered

[SOLVED]Page of wizard not shown

Question asked by libman on Oct 27, 2008
Latest reply on Nov 27, 2008 by libman
I have a wizard, I changed it from the example wizard project found in the SDK.

When going in the wizard, it shows there are 2 steps (correct), but there is no form shown. So no field to input text in my case. When I change the name of the file to a name that doesn't exists, it gives the same result. No warning on Alfresco console.

My configuration:
Web-client-configµwizards:
<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>

In web-client-config-actions:
<!– 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>

.jsp file:

<%@ 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>

Thanks

Outcomes