CollapsiblePanel and datasetProblem

I have a form wich supposed to interact the collapsible
panels. The first option add category is working , however the
second one does not. should I create a form for separate
CollapsiblePanel.
<cffunction name="GenerateAdmissionsWizardText">
<cfsavecontent variable="output">
<cfoutput>
<script type="text/javascript"
src="/spry/includes/xpath.js"></script>
<script type="text/javascript"
src="/spry/includes/SpryData.js"></script>
<script type="text/javascript"
src="/spry/includes/SpryNestedXMLDataSet.js"></script>
<script type="text/javascript"
src="/spry/widgets/accordion/SpryAccordion.js"></script>
<link
href="/spry/widgets/collapsiblepanel/SpryCollapsiblePanel.css"
rel="stylesheet" type="text/css" />
<script type="text/javascript"
src="/spry/includes/Effect.js"></script>
<script type="text/javascript"
src="/spry/widgets/collapsiblepanel/SpryCollapsiblePanel.js"></script>
<link href="/spry/widgets/accordion/SpryAccordion.css"
rel="stylesheet" type="text/css" />
<script type="text/javascript"
src="/spry/includes/tmt_core.js"></script>
<script type="text/javascript"
src="/spry/includes/tmt_net.js"></script>
<script type="text/javascript"
src="/spry/includes/tmt_form.js"></script>
<script type="text/javascript"
src="/spry/includes/tmt_ajaxform.js"></script>
<script type="text/javascript">
var dsProducts = new
Spry.Data.XMLDataSet("category.cfm","categories/category",{
useCache: false});
var dsProductFeatures = new
Spry.Data.NestedXMLDataSet(dsProducts, "features/feature");
</script>
<script type="text/javascript">
function dsRefresh(){
dsProducts.loadData();
</script>
<cfparam name="form.school" default="">
<cfset session.schoolcode=form.school>
<div id="Addcategories">
<cfif session.schoolcode eq "psl">
<h2>Step 1: Select Your Program</h2>
<cfelse>
<h2>Step 1: Select Your Area of Interest</h2>
</cfif>
<p>Thank you for choosing the #session.schoolname#.
<cfif session.schoolcode eq "business">
<strong>Please note that all applications to the Carey
Business School should be submitted via the Web using the online
application. Paper applications are no longer
accepted.</strong>
</cfif>
The information and steps that follow should help you easily
navigate the online admissions process. If you have additional
questions, please don't hesitate to contact us at
#session.appphonenumber# or email <a
href="mailto:#session.appemail#">#session.appemail#</a></p>
<form action="insertcategory.cfm" method="post"
tmt:ajaxform="true" tmt:ajaxformcallback="dsRefresh"
name="category" >
<input type="hidden" value="#session.schoolcode#"
name="school">
<cfoutput> <input type="hidden"
Name="FieldsSave"></cfoutput>
<input type="submit" value="Submit" name="btnsubmit2"
id="btnsubmit2" >
<div spry:region="dsProducts" id="content">
<select spry:repeatchildren="dsProducts"
name="programlist" id="programlist" size="15"
dsProducts.setCurrentRowNumber(this.selectedIndex)">
<option spry:if="{ds_RowNumber} == {ds_CurrentRowNumber}"
value="{id}" selected="selected">{categoryname}</option>
<option spry:if="{ds_RowNumber} != {ds_CurrentRowNumber}"
value="{id}">{categoryname}</option>
</select>
<div id="upDown">
<input type="button" id="moveUp" name="moveUp"
value="MoveUp"
onclick="javascript:Field_up(document.category.programlist);"/>
<input type="button" id="moveDown" name="moveDown"
value="moveDown"
onclick="javascript:Field_down(document.category.programlist);"/>
</div>
<div id="CollapsiblePanel1" class="CollapsiblePanel">
<div class="CollapsiblePanelTab" tabindex="0">ADD
CATEGORY</div>
<div class="AccordionPanelContent"
style="width:300px;">
<label for="categoryname">Category Name</label>
<input type="text" name="categoryname" id="categoryname"
/>
<label id="label"
for="hidden">Show/Hide:</label>
<label for="hidden1">Yes</label>
<span class="schoolcode1"><input type="radio"
id="hidden1" name="hidden" value="0" >
<label for="hidden">No</label>
<input type="radio" id="hidden2" name="hidden"
value="1"></span>
<div><input type="submit" value="Save data"
class="submit" /></div>
<input name="prod_id" type="hidden" value="{id}" />
</div>
</div>
<div id="CollapsiblePanel2" class="CollapsiblePanel">
<div class="CollapsiblePanelTab" tabindex="1">ADD
SUBCATEGORY</div>
<div class="CollapsiblePanelContent"
style="width:300px;">
<label for="subcategoryname">SubCat
Name:</label>
<input type="text" name="subcategoryname"
id="subcategoryname" />
<label id="label"
for="hidden">Show/Hide:</label>
<label for="hidden1">Yes</label>
<span class="schoolcode1"><input type="radio"
id="hidden1" name="hidden" value="0" >
<label for="hidden">No</label>
<input type="radio" id="hidden2" name="hidden"
value="1"></span>
<input type="submit" value="Save data" class="submit"
name="btnsubmit2"/>
<input name="prod_id" type="hidden" value="{id}" />
</div>
</div>
<div id="CollapsiblePanel3" class="CollapsiblePanel">
<div class="CollapsiblePanelTab" tabindex="1">Sort
Category</div>
<div class="CollapsiblePanelContent"
style="width:300px;">
<div id="upDown">
<input type="button" id="moveUp" name="moveUp"
value="MoveUp"
onclick="javascript:Field_up(document.category.programlist);"/>
<input type="button" id="moveDown" name="moveDown"
value="moveDown"
onclick="javascript:Field_down(document.category.programlist);"/>
</div>
<input type="submit" value="Save data" class="submit"
name="btnsubmit2"/>
<input name="prod_id" type="hidden" value="{id}" />
</div>
</div>
<script type="text/javascript">
var acc1=new
Spry.Widget.CollapsiblePanel("CollapsiblePanel1",{enableAnimation:
false,contentIsOpen: false });
var acc2=new
Spry.Widget.CollapsiblePanel("CollapsiblePanel2",{enableAnimation:
false,contentIsOpen: false });
var acc3=new
Spry.Widget.CollapsiblePanel("CollapsiblePanel3",{enableAnimation:
false,contentIsOpen: false });
</script>
</form>
</div>
<cfdump var=#form#>
</cfoutput>
</cfsavecontent>
<cfreturn output>
</cffunction>

You have a loadInterval of 10 seconds specified on your data
set. This means that every 10 seconds your data set will reload
data from the server and as a result of that your region is going
to be re-created.
Do you really need the loadInterval? If so, then you're going
to have to add code to track what the last record was that was
selected, and then re-select that same record in your data set
after the data is loaded again.
--== Kin ==--

Similar Messages

  • Collapsible panel not working

    Hi,
    I am facing a problem with Collapsible panel provided by tomahawk.
    The action method of the command link in the <f:facet> is not invoked.* This method is used for toggling the value of the boolean variable assigned to value attribute of <t:collapsiblePanel> and because this method is not invoked the panel doesnt display the contents
    <t:collapsiblePanel id="RequirementInformationPanel" value="#{RgsViewRequirementBB.collapseReqPanel}">
              <f:facet name="header">
                   <h:commandLink id="toggle" action="#{RgsViewRequirementBB.renderPanel}" value="#{bundle['rgs.label.requirementRelatedInfo']}" />          </f:facet>
              <h:panelGrid styleClass="panelBorder">
                        <h:panelGrid columns="4" >
                             <h:outputText value="#{bundle['rgs.label.RequirementId']}" style="width : 150px" styleClass="screenLabelBold" />
                             <h:outputText value="#{bundle['rgs.label.RequestId']}" style="width : 150px" styleClass="screenLabelBold" />
                             <h:outputText value="#{bundle['rgs.label.Exop']}" style="width : 150px" styleClass="screenLabelBold" rendered="#{!RgsViewRequirementBB.displayCandidateView && RgsViewRequirementBB.exop=='true'}"/>
                             <h:outputText value="#{bundle['rgsView.RejectedCandidates']}" style="width : 150px" styleClass="screenLabelBold" rendered="#{RgsViewRequirementBB.displayCandidateView}"/>
                        </h:panelGrid>
                        <h:panelGrid columns="4" >
                             <h:outputText value="#{RgsViewRequirementBB.requirementId}" style="width : 150px" id="RequirementId" styleClass="screenLabel"/>
                             <h:outputText value="#{RgsViewRequirementBB.requestId}" style="width : 150px" id="RequestId" styleClass="screenLabel"/>
                             <h:graphicImage rendered="#{!RgsViewRequirementBB.displayCandidateView && RgsViewRequirementBB.exop=='true'}" value="../images/flag1.gif"/>
                             <h:outputLink onclick="rejectedCandidatePopupFromDetailsScreen(this,this.form);return false;" rendered="#{RgsViewRequirementBB.displayCandidateView}" id="RejectedCandidateLink">
                                  <h:outputText value="Rejected Candidates" style="width : 150px"/>
                             </h:outputLink>
                        </h:panelGrid>
              </h:panelGrid>
         </t:collapsiblePanel>In the backing bean I am having collapseReqPanel as a boolean variable which is initialized to true along with its getter and setter methods and the renderPanel (action method for command link inside the facet tag of collapsible panel) method is:
    public String renderPanel(){
        System.out.println("Inside Render panel");
         collapseReqPanel=!collapseReqPanel;
         return null;
    }What is wrong in the above code?

    Is your bean request or session scoped? If request scoped, try session scope. If it works and you want to keep it request scoped, you'll have to pass the collapseReqPanel booleanvalue to the next request using h:inputHidden or requestMap so that it retains in the next request.

  • Spry Collapsible content working only on one instance

    Hoping someone can give me some direction on how to fix this issue. I am using the Spry Collapsible to hide job requirements on my employment page. My employment page gets its data from my database. It can have 0 to 25 entries showing at any given time. I am using the collapsible to save on space. With in each collapsible is also grabbing information from my database. The very first widget that appears comes up just fine. The rest all stay open. I was trying to insert my code for viewing, but it kept coming up showing the table instead of the code. Thanks in advance for any help you can give me.

    If you have a look at this example, you will notice that there are 6 collapsible panels each with a unique ID, and there are also 6 constructors, one for each panel.
    This is in contrast to what you have got where you have given the same ID to each of your panels as in
    <div id="CollapsiblePanel1" class="CollapsiblePanel">
    and have a twice repeated constructor as in
    var CollapsiblePanel1 = new Spry.Widget.CollapsiblePanel("CollapsiblePanel1", {contentIsOpen:false, enableAnimation:false});
    What the constructor does in this instance is target the first occurrance of CollapsiblePanel1
    Judging form a repeated error in your markup, I assume that you have a repeat area driven by data from a database of sorts.We need to assign each reapeated area a unique ID with matching constructors.
    Within the repeated region, the markup will look like
    <div id="CollapsiblePanel<?php echo $recordID; ?>" class="CollapsiblePanel">
    where $recordID is the field name of the unique ID of the database record.
    The constructors will need to be placed at the bottom of (but within) each repeated region and will look like
    var CollapsiblePanel1 = new Spry.Widget.CollapsiblePanel("CollapsiblePanel<?php echo $recordID; ?>", {contentIsOpen:false, enableAnimation:false});
    The repeated error is the non-closure of the TD element as in
    </tr>
          <td rowspan="6" align="left" valign="top" class="supertext">
    </tr>
    Being an empty element, you could probably delete all of the above.

  • CollapsiblePanel, z-index and css

    Hi all
    hi have a problem with this link
    http://www.aubryhijazi.com/assurancex.htm
    on the left side panel I have a spy CollapsiblePanel. It work
    fine in IE
    but not with Safari, Opera or Firework.
    Thank you for the help

    Hello MargaritaQueen
    It's frustrating when you post and nothing happens, isn't it!
    I'm a novice but I'll give you a couple of suggestions here.
    First, try validating your page with an online validator. That will
    give you a clue to see if there are problems in your code. If the
    advice there is too technical come back here and ask the question.
    Second, I think that you might have some trouble with the Box
    Model. a box element has a width and IE calculates the width
    differently to others. This can cause problems when content gets
    bigger that it's container and causes floated elements to not sit
    where you want them. If you google "css box model" you'll get loads
    of information on it. I might not have expressed it accurately but
    it's my paraphrase.
    Next, it looks like you have used a web template thing for
    your design which to me, makes the code look much more complex than
    it needs to. At the same time, I don't think that your page is very
    complicated and I recommend that you have a go at coding it
    yourself.
    I like your web site and can see why you are pleased with it.
    I',m not so keen on the colour and though I think the background
    logo looks good (woman at desk), I also think it confuses some of
    the content that gets overlaid on it.
    Wish I could fix your problem.
    Kind regards
    Martin

  • Accordion and CollapsiblePanel problem with IE 7

    Hello,
    Acordeon and CollapsiblePanel don't work correctly in
    Internet Explorer when they are integrated into my template.
    Exemple:
    http://www.swisspanel.ch/test.php
    (Acordeon)
    http://www.swisspanel.ch/net/conference.php
    (for the CollapsiblePanel)
    But when they are not integrated in my template it's ok.
    Exemple:
    http://www.swisspanel.ch/test/spry/test.php
    Do you now what is the problem? In my template, I have juste
    some tables... it's strange.

    with this workaround, it's work:
    1. I create a CollapsiblePanel in a blank page (here
    test02.php):
    <html>
    <head>
    <script src="../../SpryAssets/SpryCollapsiblePanel.js"
    type="text/javascript"></script>
    <link href="../../SpryAssets/SpryCollapsiblePanel.css"
    rel="stylesheet" type="text/css" />
    </head>
    <body>
    <div id="CollapsiblePanel1" class="CollapsiblePanel">
    <div class="CollapsiblePanelTab"
    tabindex="0">Onglet</div>
    <div
    class="CollapsiblePanelContent">Contenu</div>
    </div>
    <script type="text/javascript">
    <!--
    var CollapsiblePanel1 = new
    Spry.Widget.CollapsiblePanel("CollapsiblePanel1");
    //-->
    </script>
    </body>
    </html>
    2. In my website page (create with my templage), I integrated
    my CollapsiblePanel in a iframe:
    <iframe src="test02.php" width="470" height="500"
    frameborder="0"></iframe>
    ...

  • Can Spy CollapsiblePanel work smoothly and remain closed on page load?

    Hi there,
    I've seen a lot of discussion on this topic but no solutions still.
    - Spy CollapsiblePanel animation is jerky on close (it extends for a split second, and also jumps just as it's about to close).
    Only solution I have is to turn off animation.
    - On page load in FF and IE all of the panels are open for a split second before closing.
    // SpryCollapsiblePanel.js - version 0.8 - Spry Pre-Release 1.6.1

    Hi there... your right..!
    Well here's an example of my code - no changes to the js:
    html:
                <div id="CollapsiblePanel5" class="CollapsiblePanel">
                  <div class="CollapsiblePanelTab" tabindex="0">100% finance</div>
                  <div class="CollapsiblePanelContent"> Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse scelerisque urna in sapien blandit dictum.</div>
                </div>
    <script type="text/javascript">
    var CollapsiblePanel5 = new Spry.Widget.CollapsiblePanel("CollapsiblePanel5", {contentIsOpen:false});
    </script>
    css:
    .CollapsiblePanel {
    margin: 0px;
    padding: 0px;
    border-bottom: solid 1px #AACCEE;
    border-right: solid 1px #AACCEE;
    border-left: solid 1px #AACCEE;
    .CollapsiblePanelTab {
    font-size: 13px;
    line-height: 28px;
    background-color:#EBF3FB;
    border-bottom: solid 1px #AACCEE;
    margin-bottom: 0px;
    padding-left: 26px;
    cursor: pointer;
    -moz-user-select: none;
    -khtml-user-select: none;
    background: url(../images/sprydown.png) no-repeat 10px 10px;
    text-transform:uppercase;
    .CollapsiblePanelContent {
    margin: 0px;
    padding: 10px 15px 10px 15px;

  • Custom openAll and closeAll function for nested CollapsiblePanels

    Custom openAll and closeAll function for nested
    CollapsiblePanels:
    As a result of CollapsiblePanelGroup openAll() not working (
    see
    post here
    ) I attempted to create my own functions. Unfortunately this
    has brought two problems; 1) IE completely none responsive, and 2)
    custom openAll function opens some but not all CollapsiblePanels.
    I suspect that I have not put something somewhere that would
    inform CollapsiblePanelGroup that there is nesting. Can anyone
    please have a look (
    sample
    page here
    ) and offer suggestions.
    Happy Thanksgiving to all!

    I posted a working version of your sample in your original
    post
    here.
    --== Kin ==--

  • Accordion-Toggle Open and Close

    I apologize if this has been covered before, but I checked
    and couldn't find a solution. I'd like the accordion to toggle
    between open and close the same panel. Right now, when I click on
    it, it opens, but it doesn't close when I click on the same panel
    again. Is there any way that can be achieved?

    Don't you just want the :
    http://labs.adobe.com/technologies/spry/samples/collapsiblepanel/collapsible_panel_sample. htm
    http://labs.adobe.com/technologies/spry/samples/collapsiblepanel/collapsible_panel_sample. htm

  • Collapsible Panels - Links to open one, and close others

    Hi,
    I am new to Dreamweaver and have been creating my site by
    learning as I go along. I have already read through all the other
    related topics associated with Collapsible Panels on this blog and
    have still not found an answer. I have been able to open and close
    Collapsible Panels by using links - but unfortunately, I need more
    than just opening and closing.
    On my site i have approximately 5 pages, all with the same
    header and Menu bar. The Information (that i have presented in
    numerous Collapsible Panels) does however vary from page to page.
    What I need to try and figure out is:
    How can I open one collapsible panel and close all others? I
    have seen the one example which leads to my next question:
    How can I group Panels? Some examples of how to open one and
    close all others use this grouping. Is there any other way of
    opening one and closing all others without grouping?
    Lastly, is it possible to set up a link that can be viewed on
    one page which when clicked opens the relevant page and collapsible
    panel? i.e. on my About Us page there is a link (using the Menu
    bar) for one of my several services on the services drop down menu
    (but services is on a different page with the same setup). When a
    viewer clicks on the specific service, is it possible to get the
    site to open the services page, and open the relevant collapsible
    panel (with all other Panels closed)?
    Any assistance would be greatly appreciated - I have been
    searching for days now and cannot seem to find any
    answers/directions in laymans terms.
    Kind regards,
    John

    wlsjoh013 wrote:
    > Hi,
    >
    > I am new to Dreamweaver and have been creating my site
    by learning as I go
    > along. I have already read through all the other related
    topics associated
    > with Collapsible Panels on this blog and have still not
    found an answer. I
    > have been able to open and close Collapsible Panels by
    using links - but
    > unfortunately, I need more than just opening and
    closing.
    >
    > On my site i have approximately 5 pages, all with the
    same header and Menu
    > bar. The Information (that i have presented in numerous
    Collapsible Panels)
    > does however vary from page to page. What I need to try
    and figure out is:
    >
    > How can I open one collapsible panel and close all
    others? I have seen the one
    > example which leads to my next question:
    This page has an example that has a link that can open and
    close a panel:
    http://labs.adobe.com/technologies/spry/samples/collapsiblepanel/collapsible_panel_sample. htm
    One way to do this would be to have a single link that would
    open one of your panels using the code, but then add to it code
    that closes each of the other panels, for example:
    <a href="#"
    onclick="CollapsiblePanel4.open();CollapsiblePanel5.close();CollapsiblePanel6.close();">O pen
    4, close 5 and 6</a>
    To make this work, you'll need to look that the panel
    constructors at the bottom of your page and make sure to match up
    the panel variable names i.e. "var CollapsiblePanel1 =...." the
    variable is CollapsiblePanel1.
    You could also write a function that gathers together the
    various panels you have on the page and then pass to it only the
    panel that you want kept open. For now, though, it might be best to
    use the above method, given your expertise. And taking that even
    further, you could apply the function call unobtrusively. Both the
    function call and the unobtrusive part you can work on later to get
    this working for now.
    > How can I group Panels? Some examples of how to open one
    and close all others
    > use this grouping. Is there any other way of opening one
    and closing all
    > others without grouping?
    This is a little confusing, on one hand you ask about how to
    group, but then ask how not to group. There is a concept of a
    collapsible panel group:
    http://labs.adobe.com/technologies/spry/samples/collapsiblepanel/CollapsiblePanelGroupSamp le.html
    But there is another type of group, that may be more what
    you're looking for, and that's an Accordion panel, which is similar
    to the collapsible panel group, with the exception that it can only
    have one panel open at a time.
    > Lastly, is it possible to set up a link that can be
    viewed on one page which
    > when clicked opens the relevant page and collapsible
    panel? i.e. on my About Us
    > page there is a link (using the Menu bar) for one of my
    several services on the
    > services drop down menu (but services is on a different
    page with the same
    > setup). When a viewer clicks on the specific service, is
    it possible to get
    > the site to open the services page, and open the
    relevant collapsible panel
    > (with all other Panels closed)?
    Probably the easiest way to do this particular one would be
    to make sure that you have all of the panels set to be closed when
    the page loads, and then take a look at the code for the last
    example on this page:
    http://labs.adobe.com/technologies/spry/samples/utils/URLUtilsSample.html
    That example uses a tabbed panel, but the concept is the
    same, use a URL parameter to determine what to show. You'll need to
    link in the SpryURLUtils file in the Spry download package (look in
    the includes folder):
    http://labs.adobe.com/technologies/spry/home.html
    Essentially, your link will look similar to:
    sample.html?panel=1
    Then your code could look something like:
    var params = Spry.Utils.getLocationParamsAsObject();
    var CollapsiblePanel1 = new
    Spry.Widget.CollapsiblePanel("CollapsiblePanel1",
    {contentIsOpen:(params.panel==1 )} );
    var CollapsiblePanel2 = new
    Spry.Widget.CollapsiblePanel("CollapsiblePanel2",
    {contentIsOpen:(params.panel==2 )} );
    Basically what this is doing is creating an object from the
    URL parameters. Then for each of the panels the constructor has
    code that determines whether or not to expand the panel when the
    page loads. So it checks the value of params.panel to see if it
    matches 1 (for the first one), if it does, then that means that
    contentIsOpen is set to true, if it is some other number or is not
    present at all, then that means that the panel is closed. This
    would then be repeated down the line for how ever many panels you
    want to operate like that.
    Danilo Celic
    |
    http://blog.extensioneering.com/
    | WebAssist Extensioneer
    | Adobe Community Expert

  • Globally open and close all accordion panels

    Is there a way to globally open and close all accordion
    panels? For example, it would be nice to have an "Expand all" and
    "Collapse all" link at the top of the page, before the accordion,
    that has this functionality.

    Hi FM_n_DC,
    Accordions can only ever have a single panel open. If you
    want individual control over which panels are open you probably
    want to use a CollapsiblePanelGroup. This sample shows how to open
    all and close all of the panels of the CollapsiblePanelGroup:
    http://labs.adobe.com/technologies/spry/samples/collapsiblepanel/CollapsiblePanelGroupSamp le.html
    --== Kin ==--

  • Spry Collapsible panel works in Safari, Firefox but not in IE 7 and 8

    Revising a page and wish to have the Spry Collapsible Panel load "closed". Never used Spry before but is works ok as mentioned but when page is opened in IE the panel is open and stays open. Clicking does not close it.
    The panel tab reads "CLICK To See Matched Rail & Stile Set-Up Blocks".
    Did I mention I am not a programmer? Thanks for the help.
    http://www.mlcswoodworking.com/shopsite_sc/store/html/smarthtml/pages/set_3pc_roundover_co ve.htm

    jonholcombe wrote:
    Did I mention I am not a programmer? Thanks for the help.
    Jon,
    Not a good way to start. You need to have some basic skills to work on websites. OK, if you want to build a bridge for your toy cars to cross a model railway line, you could probably cope, but to build a bridge in the real world, you need  real knowledge.
    Having said that, I have pulled all of the relevant code from your page to re-construct the collapsible panel and, although the markup would not be the one I would have gone for, the widget works in all browsers, see the code below. This means that the problem lies elsewhere.
    <!DOCTYPE HTML>
    <html>
    <head>
    <meta charset="utf-8">
    <title>Untitled Document</title>
    <script src="http://www.mlcswoodworking.com/SpryAssets/SpryCollapsiblePanel.js" type="text/javascript"></script>
    <link href="http://www.mlcswoodworking.com/SpryAssets/SpryCollapsiblePanel.css" rel="stylesheet" type="text/css">
    <style>
    #collapsiblepaneltab {
         font-family: Arial, Helvetica, sans-serif;
         font-size: 13px;
         height: 18px;
         width: 645px;
         color: #512b05;
         text-align: center;
         margin-top: 0px;
         padding-top: 0px;
         line-height: 21px;
         font-weight: normal;
    </style>
    </head>
    <body>
    <table width="645" border="0">
    <tr>
        <td><div id="CollapsiblePanel3pcset" class="CollapsiblePanel">
      <div class="CollapsiblePanelTab" id="collapsiblepaneltab" tabindex="0"><img src="http://www.mlcswoodworking.com/shopsite_sc/store/html/smarthtml/graphics4/collapsiblepanelarrow102.gif" alt="" width="8" height="8" border="0" /> CLICK To See Matched Rail &amp; Stile Set-Up Blocks</div>
      <div class="CollapsiblePanelContent"><table border="1" cellpadding="0" cellspacing="0" width="645">
      <tr>
        <td colspan="4" align="center" valign="middle" bgcolor=""><font size="1"><font face="Arial,Helvetica,Geneva,Swiss,SunSans-Regular" size="2" color="black"><strong>SET-UP BLOCKS FOR MATCHED RAIL AND STILE BITS</strong></font></td>
      </tr>
      <tr>
        <td align="center" valign="middle" bgcolor="#cccc99" width="55"><font size="1"><font face="Arial,Helvetica,Geneva,Swiss,SunSans-Regular"><font color="black"><strong>Item</strong></font></font></font></td>
        <td align="center" valign="middle" bgcolor="#cccc99"><font size="1"><font face="Arial,Helvetica,Geneva,Swiss,SunSans-Regular"><font size="2" color="black"><strong>Set-Up Block Profile</strong></font></font></font></td>
        <td align="center" valign="middle" bgcolor="#cccc99" width="55"><font size="1"><font face="Arial,Helvetica,Geneva,Swiss,SunSans-Regular"><font color="black"><strong>Price</strong></font></font></font></td>
        <td align="center" valign="middle" bgcolor="#cccc99" width="58"></td>
      </tr>
      <tr>
        <td align="center" valign="middle" width="55"><font size="1"><font size="2" face="Arial,Helvetica,Geneva,Swiss,SunSans-Regular" color="black"><strong>#9745</strong></font></font></td>
        <td align="center" valign="middle"><font size="2" face="Arial,Helvetica,Geneva,Swiss,SunSans-Regular">Set-Up Block for round over matched rail &amp; stile  bits</font></td>
        <td align="center" valign="middle" width="55"><font size="1"><font size="2" face="Arial,Helvetica,Geneva,Swiss,SunSans-Regular" color="black"><strong>$9.95</strong></font></font></td>
        <td align="center" valign="middle" width="58"><a href="http://www.mlcswoodworking.com/cgi-mlcswoodworking/sb/order.cgi?storeid=*16f8a8beab2fd058071ebc4eb5&amp;dbname=products&amp;sku=%239745&amp;function=add"><font size="2"><img src="../graphics/orderbut.gif" alt="" width="58" height="17" border="0" /></font></a></td>
      </tr>
    </table>
    <script type="text/javascript">
    var CollapsiblePanel1 = new Spry.Widget.CollapsiblePanel("CollapsiblePanel3pcset", {contentIsOpen:false});
    </script>
    </body>
    </html>
    To help you any further would take me way outside the scope of this forum, but if you were to employ me to untangle the mess, I would start afresh.
    Gramps

  • Accordion click to open and close bar

    Is there a way to click the bar and have the accordion close
    it? IOW, I'm looking for a way to close all bars once a bar is
    open. Thanks in advance.

    Hi Rixon,
    The feature you ask is already implemented for the next spry
    release. On spry 1.4 this behavior is not working, but it will be
    available soon on the 1.5 spry release.
    If you want, you can try also the Collapsible Panel Group
    widget from here:
    http://labs.adobe.com/technologies/spry/preview/samples/collapsiblepanel/CollapsiblePanelG roupSample.html
    Maybe the implementation of this widget fits with your needs
    until you have the latest Accordion.js file
    Diana

  • CollapsiblePanel with XML data source

    I've been working with the CollapsiblePanel for the past two
    nights. I can't make the panel collapse at runtime when I have XML
    data attached.
    I validated by downloading one of the Adobe Lab
    CollapsiblePanel samples. I validated that I could make the sample
    work from my Dreamweaver CS3 environment. Then, I added an XML data
    source and retested. The panel would not collapse. Then, I took out
    the XML dataset and retested the CollapsiblePanel. It worked.
    Is this a design feature? I can't imagine this was designed
    to work this way. I'm trying to create a scrollable div that can
    collapse. I have everything working except the collapse feature.
    (BTW: I tried defining a spry:region and spry:detailregion, it
    didn't seem to matter.)
    CODE SNIPIT
    <div id="CollapsiblePanel1" class="CollapsiblePanel"
    spry:region="dsWeek">
    <div class="CollapsiblePanelTab">Standard Collapsible
    Panel</div>
    <div class="CollapsiblePanelContent">
    <p>{feature}</p>
    </div>
    </div>

    How does the xml data look like? in GML?
    If the xml data set is not too large, maybe you can add them (after your application has parsed them) as additional MapViewer GeoFeatures in a map request.
    Currently MapViewer (preview or production release of 9.0.4) does not support xml-only datasource.
    We will look into incorporating GML or other standard-based xml datasource for a future release of MapViewer.

  • DW CS5: CollapsiblePanels are not well in IE

    Hi NG,
    i have some CollapsiblePanel on my side. It is working perfect under FF or Safari.
    But under IE - 6 or 8 or 9 - i can ope  a panel. But than if i open a other one, it flashed me all the time some other panel too. It looks like a freak show!
    Is there any idea?
    To explain the error:
    After i press a button to open a panel or close, it is closing and for some second it flashes the whole panel again. all of them.....
    Here some Code:
    <div id="CollapsiblePanel_1" class="CollapsiblePanel">
                    <div class="CollapsiblePanelTab" tabindex="0">
                  <table width="185" border="0" cellspacing="0" cellpadding="0">
                    <tr>
                      <td height="27"><img src="includes/languages/<?php echo $ordner; ?>/images/buttons/products_a.gif" name="products" width="185" height="27" border="0" id="products" onClick="cpg.closeAllPanels();cpg_2.close();" onMouseOver="MM_swapImage('products','','includes/languages/<?php echo $ordner; ?>/images/buttons/products_b.gif',1)" onMouseOut="MM_swapImgRestore()"/></td>
                    </tr>
                </table>
                </div>
                <div class="CollapsiblePanel">
              <div class="CollapsiblePanelTab" tabindex="0">
                <table width="185" border="0" cellspacing="0" cellpadding="0">
                  <tr>
                    <td height="27"><a href="<?php echo LINK_SITE_PROD_DD ?>"><img src="includes/languages/<?php echo $ordner; ?>/images/buttons/prod_roofing_a.gif" alt="" name="prod_roofing" width="185" height="24" border="0" id="prod_roofing"  onclick="cpg.closeAllPanels();" onMouseOver="MM_swapImage('prod_roofing','','includes/languages/<?php echo $ordner; ?>/images/buttons/prod_roofing_b.gif','kugel_8','','images/balls/balls_b_09.png',1)" onMouseOut="MM_swapImgRestore()"/></a></td>
                    </tr>
                  </table>
              </div>
              <div class="CollapsiblePanelContent">
                <table width="185" border="0" cellspacing="0" cellpadding="0">
                  <tr>
                    <td height="27"><a href="<?php echo LINK_SITE_PROD_DW ?>"><img src="includes/languages/<?php echo $ordner; ?>/images/buttons/prod_roofdeck_service_a.gif" alt="" name="prod_roof_service" width="185" height="24" border="0" id="prod_roof_service" onMouseOver="MM_swapImage('prod_roof_service','','includes/languages/<?php echo $ordner; ?>/images/buttons/prod_roofdeck_service_b.gif','kugel_8','','images/balls/balls_b_09.png',1)" onMouseOut="MM_swapImgRestore()" /></a></td>
                    </tr>
                  </table>
                <table width="185" border="0" cellspacing="0" cellpadding="0">
                  <tr>
                    <td height="27"><a href="<?php echo LINK_SITE_PROD_DK ?>"><img src="includes/languages/<?php echo $ordner; ?>/images/buttons/prod_roofdeck_konfig_a.gif" alt="" name="prod_roof_konfig" width="185" height="24" border="0" id="prod_roof_konfig" onMouseOver="MM_swapImage('prod_roof_konfig','','includes/languages/<?php echo $ordner; ?>/images/buttons/prod_roofdeck_konfig_b.gif','kugel_8','','images/balls/balls_b_09.png',1)" onMouseOut="MM_swapImgRestore()" /></a></td>
                    </tr>
                  </table>
            </div>
         </div>
         <div class="CollapsiblePanel">
              <div class="CollapsiblePanelTab" tabindex="0">
                <table width="185" border="0" cellspacing="0" cellpadding="0">
                  <tr>
                    <td height="27"><a href="<?php echo LINK_SITE_PROD_K ?>"><img src="includes/languages/<?php echo $ordner; ?>/images/buttons/prod_roofklempnerei_a.gif" alt="" name="prod_klempner" width="185" height="24" border="0" id="prod_klempner"  onclick="cpg.closeAllPanels();" onMouseOver="MM_swapImage('prod_klempner','','includes/languages/<?php echo $ordner; ?>/images/buttons/prod_roofklempnerei_b.gif','kugel_4','','images/balls/balls_b_10.png',1)" onMouseOut="MM_swapImgRestore()"/></a></td>
                    </tr>
                  </table>
              </div>
              <div class="CollapsiblePanelContent">
                <table width="185" border="0" cellspacing="0" cellpadding="0">
                  <tr>
                    <td height="27"><a href="<?php echo LINK_SITE_PROD_KK ?>"><img src="includes/languages/<?php echo $ordner; ?>/images/buttons/prod_roofklemp_konfig_a.gif" alt="" name="prod_klemptner_konfig" width="185" height="24" border="0" id="prod_klemptner_konfig" onMouseOver="MM_swapImage('prod_klemptner_konfig','','includes/languages/<?php echo $ordner; ?>/images/buttons/prod_roofklemp_konfig_b.gif','kugel_4','','images/balls/balls_b_10.png',1)" onMouseOut="MM_swapImgRestore()" /></a></td>
                    </tr>
                  </table>
              </div>
         </div>
    </div>
    <div id="CollapsiblePanel_2" class="CollapsiblePanel">
                    <div class="CollapsiblePanelTab" tabindex="0">
                      <table width="185" border="0" cellspacing="0" cellpadding="0">
                        <tr>
                          <td height="27"><img src="includes/languages/<?php echo $ordner; ?>/images/buttons/contact_a.gif" name="contact" width="185" height="27" border="0" id="contact" onClick="cpg.closeAllPanels();cpg_1.close();cpg_2.close();" onMouseOver="MM_swapImage('contact','','includes/languages/<?php echo $ordner; ?>/images/buttons/contact_b.gif',1)" onMouseOut="MM_swapImgRestore()"/></td>
                        </tr>
                      </table>
                    </div>
                    <div class="CollapsiblePanelContent">
                      <table width="185" border="0" cellspacing="0" cellpadding="0">
                        <tr>
                          <td height="27"><a href="<?php echo LINK_SITE_CONTACT_T ?>"><img src="includes/languages/<?php echo $ordner; ?>/images/buttons/contact_telefon_a.gif" alt="" name="contacte_fon" width="185" height="24" border="0" id="contacte_fon" onMouseOver="MM_swapImage('contacte_fon','','includes/languages/<?php echo $ordner; ?>/images/buttons/contact_telefon_b.gif',1)" onMouseOut="MM_swapImgRestore()" /></a></td>
                        </tr>
                      </table>
                      <table width="185" border="0" cellspacing="0" cellpadding="0">
                        <tr>
                          <td height="27"><a href="<?php echo LINK_SITE_CONTACT_F ?>"><img src="includes/languages/<?php echo $ordner; ?>/images/buttons/contact_formular_a.gif" alt="" name="contact_form" width="185" height="24" border="0" id="contact_form" onMouseOver="MM_swapImage('contact_form','','includes/languages/<?php echo $ordner; ?>/images/buttons/contact_formular_b.gif',1)" onMouseOut="MM_swapImgRestore()" /></a></td>
                        </tr>
                      </table>
                    <table width="185" border="0" cellspacing="0" cellpadding="0">
                        <tr>
                          <td height="27"><a href="<?php echo LINK_SITE_CONTACT_A ?>"><img src="includes/languages/<?php echo $ordner; ?>/images/buttons/contact_map_a.gif" alt="" name="contact_map" width="185" height="24" border="0" id="contact_map" onMouseOver="MM_swapImage('contact_map','','includes/languages/<?php echo $ordner; ?>/images/buttons/contact_map_b.gif',1)" onMouseOut="MM_swapImgRestore()" /></a></td>
                      </tr>
                      </table>
                    </div>
                </div>
    <script type="text/javascript">
    var cpg = new Spry.Widget.CollapsiblePanelGroup("CollapsiblePanelGroup", { contentIsOpen: false });
    var cpg_1 = new Spry.Widget.CollapsiblePanel("CollapsiblePanel_1", {contentIsOpen:false});
    var cpg_2 = new Spry.Widget.CollapsiblePanel("CollapsiblePanel_2", {contentIsOpen:false});
      </script>
    Tanks for help
    TELLO
    Message was edited by: TELLO_DE

    It works without animation fine. On FF or Safari also with animation.
    But in IE it is open all the panels for short second when i click on something.... mmmmmm
    // and i was not correctly copy&paste the code. I have the group there too.
    This is now the original code:
    <table width="185" border="0" cellspacing="0" cellpadding="0">
                  <div id="navi_aktuelles"><a href="<?php echo LINK_SITE_AKTUELLES ?>"><img src="includes/languages/<?php echo $ordner; ?>/images/buttons/aktuelles_a.gif" name="aktuelles" width="185" height="27" border="0" id="aktuelles" onClick="cpg.closeAllPanels();cpg_1.close();cpg_2.close();" onMouseOver="MM_swapImage('aktuelles','','includes/languages/<?php echo $ordner; ?>/images/buttons/aktuelles_b.gif',1)" onMouseOut="MM_swapImgRestore()" /></a></div>
                  <div id="navi_unternehmen"><a href="<?php echo LINK_SITE_UNTERNEHMEN ?>"><img src="includes/languages/<?php echo $ordner; ?>/images/buttons/unternehmen_a.gif" name="unternehmen" width="185" height="27" border="0" id="unternehmen" onClick="cpg.closeAllPanels();cpg_1.close();cpg_2.close();" onMouseOver="MM_swapImage('unternehmen','','includes/languages/<?php echo $ordner; ?>/images/buttons/unternehmen_b.gif',1)" onMouseOut="MM_swapImgRestore()" /></a></div>
                  <div id="navi_konfigurator"><a href="<?php echo LINK_SITE_KONFIGURATOR ?>"><img src="includes/languages/<?php echo $ordner; ?>/images/buttons/konfigurator_a.gif" name="konfigurator" width="185" height="27" border="0" id="konfigurator" onClick="cpg.closeAllPanels();cpg_1.close();cpg_2.close();" onMouseOver="MM_swapImage('konfigurator','','includes/languages/<?php echo $ordner; ?>/images/buttons/konfigurator_b.gif',1)" onMouseOut="MM_swapImgRestore()" /></a></div>
    <div id="CollapsiblePanel_1" class="CollapsiblePanel">
                    <div class="CollapsiblePanelTab" tabindex="0">
                  <div id="navi_produkte"><img src="includes/languages/<?php echo $ordner; ?>/images/buttons/produkte_a.gif" name="produkte" width="185" height="27" border="0" id="produkte" onClick="cpg.closeAllPanels();cpg_2.close();" onMouseOver="MM_swapImage('produkte','','includes/languages/<?php echo $ordner; ?>/images/buttons/produkte_b.gif',1)" onMouseOut="MM_swapImgRestore()"/></div>
                </div>
                  <div class="CollapsiblePanelContent">
                  <div id="CollapsiblePanelGroup" class="CollapsiblePanelGroup">
                <div id="navi_abdichtungen"><a href="<?php echo LINK_SITE_PROD_ABDICHTUNGEN ?>"><img src="includes/languages/<?php echo $ordner; ?>/images/buttons/prod_abdichtung_a.gif" alt="" name="prod_abdichtung" width="185" height="24" border="0" id="prod_abdichtung" onClick="cpg.closeAllPanels();" onMouseOver="MM_swapImage('prod_abdichtung','','includes/languages/<?php echo $ordner; ?>/images/buttons/prod_abdichtung_b.gif','kugel_12','','images/kugeln/kugeln_b_02.png',1)" onMouseOut="MM_swapImgRestore()"/></a></div>
                <div id="navi_asbest"><a href="<?php echo LINK_SITE_PROD_ASBEST ?>"><img src="includes/languages/<?php echo $ordner; ?>/images/buttons/prod_asbest_a.gif" alt="" name="prod_asbest" width="185" height="24" border="0" id="prod_asbest"  onclick="cpg.closeAllPanels();" onMouseOver="MM_swapImage('prod_asbest','','includes/languages/<?php echo $ordner; ?>/images/buttons/prod_asbest_b.gif','kugel_9','','images/kugeln/kugeln_b_08.png',1)" onMouseOut="MM_swapImgRestore()"/></a></div>
                <div class="CollapsiblePanel">
              <div class="CollapsiblePanelTab" tabindex="0">
                <div id="navi_dachdeckerei"><a href="<?php echo LINK_SITE_PROD_DACHDECKEREI ?>"><img src="includes/languages/<?php echo $ordner; ?>/images/buttons/prod_dachdeckerei_a.gif" alt="" name="prod_dachdeckerei" width="185" height="24" border="0" id="prod_dachdeckerei"  onclick="cpg.closeAllPanels();" onMouseOver="MM_swapImage('prod_dachdeckerei','','includes/languages/<?php echo $ordner; ?>/images/buttons/prod_dachdeckerei_b.gif','kugel_8','','images/kugeln/kugeln_b_09.png',1)" onMouseOut="MM_swapImgRestore()"/></a></div>
              </div>
              <div class="CollapsiblePanelContent">
                <div id="navi_dachwartung"><a href="<?php echo LINK_SITE_PROD_DACH_WARTUNG ?>"><img src="includes/languages/<?php echo $ordner; ?>/images/buttons/prod_dachdeck_wartung_a.gif" alt="" name="prod_dach_wartung" width="185" height="24" border="0" id="prod_dach_wartung" onMouseOver="MM_swapImage('prod_dach_wartung','','includes/languages/<?php echo $ordner; ?>/images/buttons/prod_dachdeck_wartung_b.gif','kugel_8','','images/kugeln/kugeln_b_09.png',1)" onMouseOut="MM_swapImgRestore()" /></a></div>
                <div id="navi_dachkonfig"><a href="<?php echo LINK_SITE_PROD_DACH_KONFIG ?>"><img src="includes/languages/<?php echo $ordner; ?>/images/buttons/prod_dachdeck_konfig_a.gif" alt="" name="prod_dach_konfig" width="185" height="24" border="0" id="prod_dach_konfig" onMouseOver="MM_swapImage('prod_dach_konfig','','includes/languages/<?php echo $ordner; ?>/images/buttons/prod_dachdeck_konfig_b.gif','kugel_8','','images/kugeln/kugeln_b_09.png',1)" onMouseOut="MM_swapImgRestore()" /></a></div>
            </div>
         </div>
         <div class="CollapsiblePanel">
              <div class="CollapsiblePanelTab" tabindex="0">
                <div id="navi_prodklempner"><a href="<?php echo LINK_SITE_PROD_KLEMPNER ?>"><img src="includes/languages/<?php echo $ordner; ?>/images/buttons/prod_dachklempnerei_a.gif" alt="" name="prod_klempner" width="185" height="24" border="0" id="prod_klempner"  onclick="cpg.closeAllPanels();" onMouseOver="MM_swapImage('prod_klempner','','includes/languages/<?php echo $ordner; ?>/images/buttons/prod_dachklempnerei_b.gif','kugel_4','','images/kugeln/kugeln_b_10.png',1)" onMouseOut="MM_swapImgRestore()"/></a></div>
              </div>
              <div class="CollapsiblePanelContent">
               <div id="navi_proklempkonfig"><a href="<?php echo LINK_SITE_PROD_KLEMPNER_KONFIG ?>"><img src="includes/languages/<?php echo $ordner; ?>/images/buttons/prod_dachklemp_konfig_a.gif" alt="" name="prod_klemptner_konfig" width="185" height="24" border="0" id="prod_klemptner_konfig" onMouseOver="MM_swapImage('prod_klemptner_konfig','','includes/languages/<?php echo $ordner; ?>/images/buttons/prod_dachklemp_konfig_b.gif','kugel_4','','images/kugeln/kugeln_b_10.png',1)" onMouseOut="MM_swapImgRestore()" /></a></div>
              </div>
         </div>
         <div class="CollapsiblePanel">
              <div class="CollapsiblePanelTab" tabindex="0">
               <div id="navi_progeruestbau"><a href="<?php echo LINK_SITE_PROD_GERUESTBAU ?>"><img src="includes/languages/<?php echo $ordner; ?>/images/buttons/prod_geruestbau_a.gif" alt="" name="prod_geruestbau" width="185" height="24" border="0" id="prod_geruestbau"  onclick="cpg.closeAllPanels();" onMouseOver="MM_swapImage('prod_geruestbau','','includes/languages/<?php echo $ordner; ?>/images/buttons/prod_geruestbau_b.gif','kugel_3','','images/kugeln/kugeln_b_07.png',1)" onMouseOut="MM_swapImgRestore()"/></a></div>
              </div>
              <div class="CollapsiblePanelContent">
               <div id="navi_progeruestkonfig"><a href="<?php echo LINK_SITE_PROD_GERUEST_KONFIG ?>"><img src="includes/languages/<?php echo $ordner; ?>/images/buttons/prod_geruest_konfig_a.gif" alt="" name="prod_geruest_konf" width="185" height="24" border="0" id="prod_geruest_konf" onMouseOver="MM_swapImage('prod_geruest_konf','','includes/languages/<?php echo $ordner; ?>/images/buttons/prod_geruest_konfig_b.gif','kugel_3','','images/kugeln/kugeln_b_07.png',1)" onMouseOut="MM_swapImgRestore()" /></a></div>
              </div>
         </div>
                <div id="navi_prosolar"><a href="<?php echo LINK_SITE_PROD_SOLAR ?>"><img src="includes/languages/<?php echo $ordner; ?>/images/buttons/prod_solar_a.gif" alt="" name="prod_solar" width="185" height="24" border="0" id="prod_solar"  onclick="cpg.closeAllPanels();cpg_2.closeAllPanels();" onMouseOver="MM_swapImage('prod_solar','','includes/languages/<?php echo $ordner; ?>/images/buttons/prod_solar_b.gif','kugel_12','','images/kugeln/kugeln_b_02.png',1)" onMouseOut="MM_swapImgRestore()"/></a></div>
                <div id="navi_prozimmerei"><a href="<?php echo LINK_SITE_PROD_ZIMMEREI ?>"><img src="includes/languages/<?php echo $ordner; ?>/images/buttons/prod_zimmerei_a.gif" alt="" name="prod_zimmerei" width="185" height="24" border="0" id="prod_zimmerei"  onclick="cpg.closeAllPanels();cpg_2.closeAllPanels();" onMouseOver="MM_swapImage('prod_zimmerei','','includes/languages/<?php echo $ordner; ?>/images/buttons/prod_zimmerei_b.gif','kugel_9','','images/kugeln/kugeln_b_08.png',1)" onMouseOut="MM_swapImgRestore()"/></a></div>
                    </div>
                   </div>
                  </div>
                  <div id="navi_referenzen"><a href="<?php echo LINK_SITE_REFERENZEN ?>"><img src="includes/languages/<?php echo $ordner; ?>/images/buttons/referenzen_a.gif" name="referenzen" width="185" height="27" border="0" id="referenzen" onClick="cpg.closeAllPanels();cpg_1.close();cpg_2.close();" onMouseOver="MM_swapImage('referenzen','','includes/languages/<?php echo $ordner; ?>/images/buttons/referenzen_b.gif',1)" onMouseOut="MM_swapImgRestore()" /></a></div>
                 <div id="navi_galerie"><a href="<?php echo LINK_SITE_GALERIE ?>"><img src="includes/languages/<?php echo $ordner; ?>/images/buttons/galerie_a.gif" name="galerie" width="185" height="27" border="0" id="galerie" onClick="cpg.closeAllPanels();cpg_1.close();cpg_2.close();" onMouseOver="MM_swapImage('galerie','','includes/languages/<?php echo $ordner; ?>/images/buttons/galerie_b.gif',1)" onMouseOut="MM_swapImgRestore()" /></a></div>
                  <div id="navi_jobs"><a href="<?php echo LINK_SITE_JOBS ?>"><img src="includes/languages/<?php echo $ordner; ?>/images/buttons/jobs_a.gif" name="jobs" width="185" height="27" border="0" id="jobs" onClick="cpg.closeAllPanels();cpg_1.close();cpg_2.close();" onMouseOver="MM_swapImage('jobs','','includes/languages/<?php echo $ordner; ?>/images/buttons/jobs_b.gif',1)" onMouseOut="MM_swapImgRestore()" /></a></div>
                  <div id="CollapsiblePanel_2" class="CollapsiblePanel">
                    <div class="CollapsiblePanelTab" tabindex="0">
                     <div id="navi_kontakt"><img src="includes/languages/<?php echo $ordner; ?>/images/buttons/kontakt_a.gif" name="kontakt" width="185" height="27" border="0" id="kontakt" onClick="cpg.closeAllPanels();cpg_1.close();cpg_2.close();" onMouseOver="MM_swapImage('kontakt','','includes/languages/<?php echo $ordner; ?>/images/buttons/kontakt_b.gif',1)" onMouseOut="MM_swapImgRestore()"/></div>
                    </div>
                    <div class="CollapsiblePanelContent">
                      <div id="navi_konttelefon"><a href="<?php echo LINK_SITE_KONTAKT_TELEFON ?>"><img src="includes/languages/<?php echo $ordner; ?>/images/buttons/kontakt_telefon_a.gif" alt="" name="kontakte_fon" width="185" height="24" border="0" id="kontakte_fon" onMouseOver="MM_swapImage('kontakte_fon','','includes/languages/<?php echo $ordner; ?>/images/buttons/kontakt_telefon_b.gif',1)" onMouseOut="MM_swapImgRestore()" /></a></div>
                     <div id="navi_kontform"><a href="<?php echo LINK_SITE_KONTAKT_FORMULAR ?>"><img src="includes/languages/<?php echo $ordner; ?>/images/buttons/kontakt_formular_a.gif" alt="" name="kontakt_form" width="185" height="24" border="0" id="kontakt_form" onMouseOver="MM_swapImage('kontakt_form','','includes/languages/<?php echo $ordner; ?>/images/buttons/kontakt_formular_b.gif',1)" onMouseOut="MM_swapImgRestore()" /></a></div>
                   <div id="navi_kontanfahrt"><a href="<?php echo LINK_SITE_KONTAKT_ANFAHRT ?>"><img src="includes/languages/<?php echo $ordner; ?>/images/buttons/kontakt_anfahrt_a.gif" alt="" name="kontakt_anfahrt" width="185" height="24" border="0" id="kontakt_anfahrt" onMouseOver="MM_swapImage('kontakt_anfahrt','','includes/languages/<?php echo $ordner; ?>/images/buttons/kontakt_anfahrt_b.gif',1)" onMouseOut="MM_swapImgRestore()" /></a></div>
                    </div>
                </div>
                  <div id="navi_downloads"><a href="<?php echo LINK_SITE_DOWNLOADS ?>"><img src="includes/languages/<?php echo $ordner; ?>/images/buttons/downloads_a.gif" name="downloads" width="185" height="27" border="0" id="downloads" onClick="cpg.closeAllPanels();cpg_1.close();cpg_2.close();" onMouseOver="MM_swapImage('downloads','','includes/languages/<?php echo $ordner; ?>/images/buttons/downloads_b.gif',1)" onMouseOut="MM_swapImgRestore()" /></a></div>
            </table>
    <script type="text/javascript">
    var cpg = new Spry.Widget.CollapsiblePanelGroup("CollapsiblePanelGroup", { contentIsOpen: false });
    var cpg_1 = new Spry.Widget.CollapsiblePanel("CollapsiblePanel_1", {contentIsOpen:false});
    var cpg_2 = new Spry.Widget.CollapsiblePanel("CollapsiblePanel_2", {contentIsOpen:false});
      </script>
    TELLO

  • How do i set CollapsiblePanel text to the contents of a panelGrid?

    hi, I have this line of text in a panelGrid and I would like to have displaying in the text attribute of my collapsiblePanel, but I have no idea how to accomplish this
    panelGrid text
    <f:panelGrid id="text1" border="0" columns="8" cellspacing="2" >
         <f:outputLabel value="Case Number" />
         <f:outputLabel value="123 style="color: #660000;" />
         <f:outputLabel value="Default" style="color: #660000;" />
         <f:image id="lockImage" value="../images/lock.gif"> </f:image>
         <f:outputLabel value="Locked by" />
         <f:outputLabel value="user" style="color: #660000;" />
        </f:panelGrid>{code}
    collapsiblePanel
    {code}<f:collapsiblePanel
         id="case1"
         tooltip="Overview"
         text="Overview "  //NEED TO DISPLAY PANELGRID STUFF HERE
         headerPositionCollapsed="horizontal"
         panelHeaderCollapsedStyleClass="panelHeaderCollapsed"
         panelHeaderExpandedStyleClass="panelHeaderExpanded"
         panelStyleClass="panel">
         <iframe name="Overview" height="225" frameborder="0" scrolling="no" style="width: 900px;" src="./caseOverview.jsf" align="middle"/>
    </f:collapsiblePanel>{code}
    Edited by: icecreamman117 on Jul 29, 2008 9:48 AM                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

    What is it, the f: taglib which you're using? That doesn't seem to be part of the standard Sun JSF implementation. There is also no such tag with a name like "collapsiblePanel" in the standard Sun JSF implementation.
    It might help to consult the documentation of the JSF implementation or component library which you're using and look around at their homepage if they doesn't have a forum or mailinglist where you can post related questions in.

Maybe you are looking for