Results 1 to 8 of 8

Thread: E1 Pages section

  1. #1

    E1 Pages section

    Hello there

    In my E1 page under section I am using following below

    +section:collapsible:My List

    when page loads it is always open/expand by default. Is there a way to default to close or collapsed the section?


    Thanks
    Ad

    E9.1.2
    T9.1.2.3

  2. #2
    Member Stewart Schatz's Avatar
    Join Date
    May 2001
    Location
    Greenville, WI USA
    Posts
    155
    Try adding the following <script> section above the </head> tag in the home.html file created when you run the generatePages.bat file. Then, replace the <body> tag with the one below.

    <script type="text/javascript">
    function ssCloseAllSections() {
    for (i=1;i<=5;i++) { /*** 5 represents the number of sections we have ***/
    /*** Find the sections using the element ID ***/
    if (document.getElementById('flowHeader'+i+'_text')) {
    /*** Use the supplied function to Collapse each section ***/
    doExpandCollapse(document.getElementById('flowHead er'+i+'_text'));
    } else {
    break;
    }
    }
    }
    </script>

    <body onload="javascript:init();ssCloseAllSections();" onresize="javascript: dynamicallySizeSpacers();dynamicallySizeComponent( );">

    Hope that helps!
    JDE EnterpriseOne 9.0
    4 Oracle Enterprise Linux Ent Servers
    8 Windows Ent Servers
    Oracle 11g RAC Database
    4 Weblogic HTML Servers
    2 Weblogic RTE Server
    4 Weblogic BSSV Servers
    e1tips.com

  3. #3
    Thanks Stewart

    I tried with that solution but nothing happening with I run the home.html locally. I was looking more prebuild function for generatepages so that way I don't always need to hack the home.html file but still love know to know what causing your solution not to work


    Thanks
    Ad

    E9.1.2
    T9.1.2.3

  4. #4
    Member Stewart Schatz's Avatar
    Join Date
    May 2001
    Location
    Greenville, WI USA
    Posts
    155
    Please attach your dat file and home.html file and I may be able to help.
    JDE EnterpriseOne 9.0
    4 Oracle Enterprise Linux Ent Servers
    8 Windows Ent Servers
    Oracle 11g RAC Database
    4 Weblogic HTML Servers
    2 Weblogic RTE Server
    4 Weblogic BSSV Servers
    e1tips.com

  5. #5
    Hi Stewart

    Please find attachment as requested. I made simple and based on the counter iteration 5 you defined in your code

    Thanks
    Attached Files Attached Files
    Ad

    E9.1.2
    T9.1.2.3

  6. #6
    Member Stewart Schatz's Avatar
    Join Date
    May 2001
    Location
    Greenville, WI USA
    Posts
    155
    Line 55 of your home.html there is a space where there shouldn't be one:

    'flowHead er'
    'flowHeader'

    You can also remove the following from the <body> tag:

    dynamicallySizeComponent( );

    If you have any other questions, please let me know.
    JDE EnterpriseOne 9.0
    4 Oracle Enterprise Linux Ent Servers
    8 Windows Ent Servers
    Oracle 11g RAC Database
    4 Weblogic HTML Servers
    2 Weblogic RTE Server
    4 Weblogic BSSV Servers
    e1tips.com

  7. #7
    Hi Stewart

    Thanks a lot. It worked! This would be my first custom E1 page!
    Ad

    E9.1.2
    T9.1.2.3

  8. #8
    Member Stewart Schatz's Avatar
    Join Date
    May 2001
    Location
    Greenville, WI USA
    Posts
    155
    Cool! Congratulations!
    JDE EnterpriseOne 9.0
    4 Oracle Enterprise Linux Ent Servers
    8 Windows Ent Servers
    Oracle 11g RAC Database
    4 Weblogic HTML Servers
    2 Weblogic RTE Server
    4 Weblogic BSSV Servers
    e1tips.com

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
The legal restrictions and terms of use applicable to this site are available here.
Use of this site signifies your agreement to the terms of use.
JDELIST is NOT affiliated with JD Edwards® & Company, Oracle or Peoplesoft. Contents of this site are neither endorsed nor approved by JD Edwards® & Company, Oracle or Peoplesoft.