OW2 Consortium
Search OW2 Mail Archive: 

Advanced Search - Powered by Google


Mail Archive Home | exo-portal List | March 2007 Index

<--  Date Index  --> <--  Thread Index  -->

Re: [exo-portal] problem adding portlets


Hi Kito,
 
I'm providing below the Velocity code in charge of displaying the "+" icon (exo-portal.portal.jsf-1.1.3.jar:org\exoplatform\portal\faces\renderer\html\container\UIContainer.vm) :
 
############################START  TEMPLATE #########################################
##check  container edit mode
#if($mode == "edit")
 <div class="customizable-block" blockType="container" id="${componentId}-customizable-block">
    <div class="info-bar" blockType="info-bar" id="${componentId}-info-bar" style="height: auto">
      <div style="float: left" class="dragable">#res("global.html.icon.container")Container: $!uicomponent.getDisplayTitle()</div>
      <div style="float:  right; width: 150px; text-align: right">
        #jsfLink("@UIContainer.button.add-portlet" $addPortletParams)
        #jsfLink("@UIContainer.button.add-container" $addContainerParams)
        #jsfLink("@UIContainer.button.edit-container" $editParams)
        #jsfLink("@UIContainer.button.remove-container" $deleteParams)
     #if($float == "bottom")
          #jsfLink("@UIContainer.button.move-up" $moveUpParams)
          #jsfLink("@UIContainer.button.move-down" $moveDownParams)
        #else
          #jsfLink("@UIContainer.button.move-left" $moveLeftParams)
          #jsfLink("@UIContainer.button.move-right" $moveRightParams)
        #end
        #ifNotNull($placeBodyParams)
         #jsfLink("@UIContainer.button.place-body" $placeBodyParams)
        #end
      </div>
    </div>
    #renderChildren()
  </div>
#else
 #renderChildren()
#end
#################### END  TEMPLATE ######################################################
This is weird because the icon is added in all cases. Perhaps trying to edit this template within the jar (eg: change the resource bundle, add a trace etc) and then restart Tomcat could help diagnose the issue.

-Brice.

--
Brice REVENANT
Bull, Architect of an Open World TM 
phone: +33 (0)4 76 29 74 22
http://www.bull.com

This e-mail contains material that is confidential for the sole use of the intended recipient. Any review, reliance or distribution by others or forwarding without express permission is strictly prohibited. If you are not the intended recipient, please contact the sender and delete all copies.


-----"Kito D. Mann" <kmann@xxxxxxxxxx> wrote: -----

To: <exo-portal@xxxxxxxxxxxxx>
From: "Kito D. Mann" <kmann@xxxxxxxxxx>
Date: 15/03/2007 04:30PM
Subject: [exo-portal] problem adding portlets

Hello,
 
One of my developers is having trouble adding new portlets. Whenever he goes into Page Edit mode, either with the default exoadmin or exo accounts, he doesn't see the plus icon for adding new portlets. He's tried re-installing the portlet repeatedly, and is still having this problem. (This is with the exo-tomcat 1.1.3 bundle on Windows XP). Any ideas?
 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Kito D. Mann - Author, JavaServer Faces in Action
http://www.JSFCentral.com - JavaServer Faces FAQ, news, and info

* Sign up for the JSF Central newsletter! http://oi.vresp.com/?fid=ac048d0e17 *


 
--You receive this message as a subscriber of the exo-portal@xxxxxxxxxxxxx mailing list.To unsubscribe: mailto:exo-portal-unsubscribe@xxxxxxxxxxxxxFor general help: mailto:sympa@xxxxxxxxxxxxx?subject=helpObjectWeb mailing lists service home page: http://www.objectweb.org/wws


<--  Date Index  --> <--  Thread Index  -->

Reply via email to:

Powered by MHonArc.

Copyright © 2006-2007, OW2 Consortium | contact | webmaster.