Condition on objectType
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-13-2007 08:45 AM
Hi there,
I want to custom my wizard with two different ways. So I add this step :
But it seems like the condition don't work. I think it's because of the { caracteres but I'm not sure. In the first step I have this code for the "type" select :
Thanks in advance for your help !
I want to custom my wizard with two different ways. So I add this step :
<step name="content" title-id="enter_content" description-id="create_content_step2_desc"> <condition if="#{CreateContentWizard.objectType == '{my.ref.model}ref'}"> <page path="/jsp/content/create-content-wizard/create-html.jsp" title-id="create_content_step2_title" description-id="create_content_step2_desc" instruction-id="default_instruction" /> </condition> <!– Default to the inline text editor –> <page path="/jsp/content/create-content-wizard/create-text.jsp" title-id="create_content_step2_title" description-id="create_content_step2_desc" instruction-id="default_instruction" /> </step>
But it seems like the condition don't work. I think it's because of the { caracteres but I'm not sure. In the first step I have this code for the "type" select :
<select name="wizard:wizard-body:_id29" size="1"> <option value="{http://www.alfresco.org/model/content/1.0}content">Contenu</option> <option value="{my.ref.model}ref" selected="selected">Reference</option></select>
Thanks in advance for your help !
Labels:
- Labels:
-
Archive
1 REPLY 1

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-16-2007 05:25 AM
You're right, you need to use the prefix form of the namespace i.e. my:ref
