AnsweredAssumed Answered

Using JSF tags in presentation template

Question asked by cybermakoki on Feb 1, 2010
Latest reply on May 5, 2010 by iblanco
Good Morning all,

I'm actually trying to use some jsf tags in a presentation template (email.ftl).

I'd like to use the email.ftl in a custom space, the problem is that i want to show the same actions tha appear in the details view.

In browse.jsp, the code that shows the actions is the following:

   <%– Content Actions column –%>
                           <a:column id="col18" actions="true" style="text-align:left">
                              
                              <f:facet name="header">
                                 <h:outputText id="col18-txt" value="#{msg.actions}" />
                              </f:facet>
                              <%– actions are configured in web-client-config-actions.xml –%>
                              <r:actions id="col18-acts1" value="document_browse"
                                 context="#{r}" showLink="false" styleClass="inlineAction" />

                              <%– More actions menu –%>
                              <a:menu id="content-more-menu" itemSpacing="4"
                                 image="/images/icons/more.gif" tooltip="#{msg.more_actions}"
                                 menuStyleClass="moreActionsMenu">
                                 <r:actions id="col18-acts2" value="document_browse_menu"
                                    context="#{r}" />
                              </a:menu>
                           </a:column>

I want to show the same in my ftl file :)

Any help would be appreciated

Outcomes