jquery - apex report page turning results -


i trying utilise page turning jquery module called jquery booklet onto apex search report. shown here: http://builtbywill.com/code/booklet/

my goal have 1 search result row represented on page.

the booklet jquery comes many js , css files.

firstly: can upload these files through apex front end?

secondly: how reference these files through html?

thirdly: how can integrate apex items html?

i understand newbie, sort of advice useful.

cheers.

  1. download booklet zip file
  2. in apex application, go shared components > static files , upload following files booklet subfolder. (i didn't include jquery file because apex has this).
    • jquery.booklet.latest.min.js
    • jquery.easing.1.3.js
    • jquery-ui-1.10.1.custom.min
  3. go shared components > cascading stylesheets , upload following:
    • jquery.booklet.latest.css
  4. go relevant apex page. on left column (page rendering), click on edit button next page. if you're on tree view, double click page edit it
  5. add following javascript > file urls textarea.

    #workspace_images#jquery-ui-1.10.1.custom.min.js #workspace_images#jquery.easing.1.3.js #workspace_images#jquery.booklet.latest.min.js 

    add following line css > file urls textarea

    #workspace_images#jquery.booklet.latest.css 

    note: if have old version of apex , can't find above textareas, don't worry, add following html header

    <script src="#workspace_images#jquery-ui-1.10.1.custom.min.js" type="text/javascript"></script>     <script src="#workspace_images#jquery.easing.1.3.js" type="text/javascript"></script> <script src="#workspace_images#jquery.booklet.latest.min.js" type="text/javascript"></script> <link href="#workspace_images#jquery.booklet.latest.css" type="text/css" rel="stylesheet" media="screen, projection, tv" /> 
  6. create new html region called 'booklet'. ensure region template set 'no template'. set source following.

    <div id="mybook">     <div>          <h3>yay, page 1!</h3>     </div>     <div>          <h3>yay, page 2!</h3>     </div>     <div>          <h3>yay, page 3!</h3>     </div>     <div>          <h3>yay, page 4!</h3>     </div> </div>  <script>  $(function() {     //single book     $('#mybook').booklet(); });  </script> 
  7. run page test it! if doesn't work, view source , make sure files linked correctly.

  8. integrate apex items using format &p1_item. in region source.

  9. to configure booklet, see http://builtbywill.com/code/booklet/demos/size

    edit - how create basic booklet report template

    saw want report, not plain old html region. still recommend above steps make sure plugins work. when it's working smoothly, following:

  10. go shared components > templates. under reports subheading, copy report one column unordered list. if doesn't exist, copy vertical report.

  11. in new report template, enter following:

    • before rows: <div id="mybook">
    • before each row: <div>
    • column template 1: #column_value#
    • after each row: </div>
    • after rows:

      </div> <script>  $(function() { //single book $('#mybook').booklet();  });  </script> 
    • all other fields should blank.
  12. go new apex page. create new report, set region template no template , report template 1 created.


Comments

Popular posts from this blog

c# - DetailsView in ASP.Net - How to add another column on the side/add a control in each row? -

javascript - firefox memory leak -

Trying to import CSV file to a SQL Server database using asp.net and c# - can't find what I'm missing -