I understand the the main idea but the part I am confused about is:
Sub Regions - Template:
Do I have to create the SubRegion template and reference it in each SubRegion ?
<h3><a href="#">#SUB_REGION_TITLE#</a></h3> <div>#SUB_REGION#</div>
But you also said use no template for the subregion.
Edited by: mike621062 on Jul 20, 2010 2:36 PM
Edited by: mike621062 on Jul 20, 2010 2:37 PM
the "Sub Regions - Template" is the name of the attribute in the region template. Actually it's called "Template" and is in the section "Sub Regions". So when you create the region template for the Accordion, scroll down a little further and just paste the template code into this attribute.
When you use your new template you just have to use if for your containing (parent) region, the sub regions itself should not use a template.
Hope that makes it more clear.
My Blog: http://www.inside-oracle-apex.com
APEX 4.0 Plug-Ins: http://apex.oracle.com/plugins
Thanks for the explanation, now it works fine.
I have another question.
Let's say I have the search screen as the part of one of the subregions on th left and I'd like to change the report located in column 2 of the page.
Is it better to use apex ajax htmldb_get and pass the fields from the search form or may be put report in column 2 in iframe ?
I would have multiple sections on the left inside accordion and need to pass data from links/treeview/form to the middle part (column 2) ?
Any advice ?
@Juergen: the jQueryUI accordion supports the initialization option "active" and the event "accordionchange / change". You could write an "accordionchange" event handler which stores the current selection in a cookie and then uses that value during initialization to set the "active" option. See http://jqueryui.com/demos/accordion/#event-change
@geeter: Unfortunately this is a bug which has already been fixed for 4.1
I am just trying to figure out how to change the following;
<span class="ui-icon ui-icon-triangle-1-s"></span>
My apex app is using FontAwesome and I want to change the default plus and minus to allow me add a toggle of <i class="icon-plus"></i> and <i class="icon-minus"></i> rather than use the standard raster icons here;
I did, but I changed some parts:
<div id="#REGION_STATIC_ID#" #REGION_ATTRIBUTES#>
<link rel="stylesheet" href="http://code.jquery.com/ui/1.10.3/themes/smoothness/jquery-ui.css" />
<link rel="stylesheet" href="/resources/demos/style.css" />