AnsweredAssumed Answered

Customizing the web-client panels

Question asked by qasimh on Sep 11, 2008
Latest reply on Sep 11, 2008 by qasimh
I'm using Alfresco 2.1 (Tomcat, MySQL, Windows).

I'm trying to modify the web client so that the first view the user sees is the "custom view" (or something like it).
Trying to alter <shared>\web-client-config-custom.xml did not help because the custom view is not an available default. 

   <config evaluator="string-compare" condition="Views">

            <!– allowable values: list|details|icons –>
            <view>details</view>  <!– CUSTOM does not work –>

So, to work around this, I'm trying to shrink the content and space panels by default, (and apply custom view/templates in all major spaces).   I started to modify the alfresco\jsp\browse\browse.jsp file. 
Now, I'm not an JSP/Springs/Struts/tags expert, but I can't seem to make it work…

<h:panelGroup id="content-panel-facets">
<f:facet name="title">
<a:panel id="page-controls2" style="font-size:9px">
<h:outputText value="#{msg.items_per_page}" id="items-txt2"/>
<h:inputText id="content-pages" value="#{BrowseBean.pageSizeContentStr}" style="width:24px;margin-left:4px" maxlength="3" onkeyup="return applySizeContent(event);" />
<div style="display:none"><a:actionLink id="content-apply" value="" actionListener="#{BrowseBean.updateContentPageSize}" /></div>
<a:panel id="content-panel" border="white" bgcolor="white" titleBorder="lbgrey" expandedTitleBorder="dotted" titleBgcolor="white" styleClass="mainSubTitle"
label="#{msg.browse_content}" progressive="true" facetsId="content-panel-facets"
expanded='#{BrowseBean.panels["content-panel"]}' expandedActionListener="#{BrowseBean.expandPanel}">

When testing this out, I can't change
According to the taglib library, the 'expanded' attribute accepts strings, which I assume get's converted to some discrete value like true or false.  I tried adding 'false', 'FALSE', '0', but it didn't work.

I know I'm doing something wrong… any advice?
And, btw, does the '#{}' block indicate the inclusion of some Java code within a tag?