Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

MyFaces CollapsibelPanel Problem  RSS feed

 
Tim Schreiner
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,


there is also one other question 4 postings before. But I want to ask how the navigation rule must be for a collapsibelPanel. When i click on the headerlink, tomcat throws me the listing of the files on the server, and dont show me the not collapsed panel.

My code look so..

<body>
<f:view>
<t:saveState value="#{AnfrageMaskeBean}"/>
<t:saveState value="#{AnfrageBean}"/>
<h:form>
<h :p anelGrid rendered="true" columns="2" id="form1pg">
<h utputText value="Autor:" />
<h:inputText value="#{AnfrageBean.autor}" maxlength="30" />
<h utputText value="Titel:" />
<h:inputText value="#{AnfrageBean.titel}" maxlength="30" />
<h utputText value="Jahr:" />
<h:inputText value="#{AnfrageBean.jahr}" maxlength="20" />
<h utputText value="Stichwort:" />
<h:inputText value="#{AnfrageBean.stichwort}" maxlength="30" />
</h :p anelGrid>

<t:collapsiblePanel id="test2" value="#{AnfrageMaskeBean.collapsed}" title="testTitle"
var="test2collapsed">
<f:facet name="header">
<t iv style="width:300px;background-color:#CCCCCC;">
<h utputText value="Datenquellen Filter"/>
<t:headerLink immediate="true" >
<h utputText value="> Ausw�hlen" rendered="#{test2collapsed}"/>
<h utputText value="v �berblick" rendered="#{!test2collapsed}"/>
</t:headerLink>
</t iv>
</f:facet>
<f:facet name="closedContent">
<h :p anelGroup>
<h utputText value="Use Cache"/>
<h:selectBooleanCheckbox value="#{AnfrageBean.cache}" />
<h utputText value=" "/>
<h:commandButton value="Suchen" action="#{AnfrageBean.abschicken}"/>
</h :p anelGroup>
</f:facet>
<h:selectManyCheckbox rendered="true" required="false" layout="pageDirection">
<f:selectItem itemValue="achilles" itemDescription="Achilles Datenbank" itemLabel="Achilles" itemDisabled="false" />
<f:selectItem itemDescription="ACM Datenbank" itemLabel="ACM" itemValue="ACM" itemDisabled="false" />
<f:selectItem itemDescription="ArXiv" itemLabel="ArXiv" itemValue="arxiv" itemDisabled="false" />
<f:selectItem itemDescription="BibDBIS Datenbank" itemLabel="BibDBIS" itemValue="bibdbis" itemDisabled="false" />
</h:selectManyCheckbox>
<t iv style="width:300px;background-color:#CCCCCC;">
<h :p anelGroup>
<h utputText value="Use Cache"/>
<h:selectBooleanCheckbox value="#{AnfrageBean.cache}" />
<h utputText value=" "/>
<h:commandButton value="Suchen" action="#{AnfrageBean.abschicken}"/>
</h :p anelGroup></t iv>
</t:collapsiblePanel>
</h:form>
</f:view>
</body>


it is annoyingly that the exampele at http://www.irian.at/myfaces/collapsiblePanel.jsp.source dont show more informations about navigations rules

i can�t help my self

sorry for my bad english. i will train it
[ May 17, 2006: Message edited by: Tim Schreiner ]
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!