Disclosing first tab (in a panel tab) always when a page loads up
Hi,
I am using JDeveloper 11.1.1.4 and I have a page which contains panle tab. I have configured MDS in my application. So if I close the page visiting 2nd tab, the next time if I visit the page, it opens up with the 2nd tab disclosed.
What I want is to disclose the first tab when the page loads up. Can I exclude this page from MDS or Is there any preferred way of doing this in ADF?
Regards,
V. Praveen
Hi Sudipto,
Thanks for your reply. Do you mean to say that I need a taskflow to achieve this? The reason why I am asking this is because my page is a simple page which comes under unbounded taskflow of adfc-config.xml.
Is there any other approach in achieving this?
Regards,
V. Praveen
Similar Messages
-
I have a tabbed panel widget on the home page of our website and it is essential that the audience views the content on the first tab when the page loads.
Thereafter they can click on the other tabs to view content. I have tried using "Arrange" "Bring to Front" by clicking on the object in the layout and also physically dragging the elements in the layers panel [i.e. re-arranging the order of the layers], however the panel view just keeps reverting back to the third panel which is the first in my layers list. When I try to drag this down to the bottom of my layers for this composition the first panel moves physically in the layout to the third panel.
The idea is to have the one currently showing at the bottom, "Data Centre..", ALWAYS showing on the top and the one currently showing on the top, "Engineering &.." , ALWAYS showing on the bottom. As I said before, physically re-arranging the order of the layers is not working either.Me too. Anyone else got this problem?
I have 3 panels and no matter how i order the layers it always loads the right-most one first -
Showing first tab always in a ADF panelTabbed
Jdev version: 11.1.1.6
ADF application
I always want to show the first tab as "opened".
I followed this post but it didn't work:
http://oracle-webcenter.blogspot.com.au/2012/11/showing-first-tab-always-in-adf.htmlHi,
This is my code:
<af:showDetailItem text="GENERAL" id="sdi1" persist="disclosed"
disclosed="true">
<af:panelFormLayout id="pfl1" rows="3">
<af:selectOneChoice value="#{bindings.Topic.inputValue}"
label="Topic" required="true"
shortDesc="#{bindings.Topic.hints.tooltip}"
id="soc1">
<f:selectItems value="#{bindings.Topic.items}"
id="si1"/>
</af:selectOneChoice>
<af:inputText value="#{bindings.Details.inputValue}"
rows="5" label="Details"
required="true" columns="70"
maximumLength="#{bindings.Details.hints.precision}"
shortDesc="#{bindings.Details.hints.tooltip}"
id="it1">
<f:validator binding="#{bindings.Details.validator}"/>
</af:inputText>
</af:panelFormLayout>
</af:showDetailItem>
<af:showDetailItem text="FINAL" id="sdi3" persist="disclosed"
disclosed="false">
<af:panelFormLayout id="pfl3" rows="4" labelWidth="250">
<af:inputText value="#{bindings.Comments.inputValue}"
label="Comments"
rows="3"
required="#{bindings.Comments.hints.mandatory}"
columns="95"
maximumLength="#{bindings.Comments.hints.precision}"
shortDesc="#{bindings.Comments.hints.tooltip}"
id="it3">
<f:validator binding="#{bindings.Comments.validator}"/>
</af:inputText>
</af:panelFormLayout>
</af:showDetailItem>It's not Webcenter specific.
This is the use case:
I'm using 2 bounded task flows.
I open the first one and go to the second tab. Then I open the second task flow and go back to the first one. The expected behaviour is to display always the first tab. However, it's showing the second tab.
Edited by: 972812 on 26-May-2013 17:31 -
The first tab opened in firefox continually loads and cannot be closed
When I open Firefox the first tab I open will continually load and cannot be closed
Oh boy! I do not know about protected start--what itis & where it is. Where do I find this information? I am new to all this.
-
Accordion tabs flash open on page load
My accordion is set to load with no panels open. But when the
page loads all panels remain open until everything from the page is
downloaded, then they close as they're supposed to. Is there a way
to keep them closed the whole time until a tab is clicked?
Thanks!This is great! Thank you so much! The widget is working
beautifully now with cookies enabled. I don't really have any idea
how it works, but it does!
The only problem now, that I didn't notice before I made
these last changes, adding the cookies effect, updating to v1.6.1,
and adding onDOMReady, and onDOMUtils.js, is that when I click a
link to a new page within the site that the browser hasn't loaded
yet (if I clear the cache first, then browse around), then every
new page flashes my default background color across the entire
screen before letting me see the new content. Once the pages have
been loaded and are in the cache, then I can navigate through them
nicely with only the main content area changing, rather than the
whole page. Is it possible to make it so that when new links are
clicked, the side and top navigation areas, which are the same on
all pages, stay visible while the new content is loaded?
Thanks again for your help! -
Sliding Panels hidden content shows on page load
Greetings,
I am working on a site for a child abuse prevention
non-profit and need some help asap!
I am using the unobtrusive sliding panels at:
Adobe
Unobtrusive Sliding Panels Example
I have two panels side by side. When the page loads, all of
the hidden content is briefly shown to the right of the panels. It
does this on the adobe sample as well.
Is there ANY way to hide this hidden content during the page
load? If so, could I get exact instructions? I am more of a
front-end person and not the best with scripting.
BTW, all of the content is static so the "Adobe Hiding Data
References During Page Load" does not work in this instance.
Thanks in advance!!Try this:
1. Set a class that sets visibiliity to hidden:
.hideGroup{visibility:hidden;}
2. Add this class to your content group:
<div class="SlidingPanelsContentGroup hideGroup">
3. Add a line to sp_unobtrusive.js to remove this new class
after the widget made.
Spry.$$(".SlidingPanelsContentGroup").removeClassName("hideGroup");
Add that right under the addEventListener lines.
That should do it.
Don -
I have 20+ tabs always open on Firefox and it's set to remember them. However, when I open Firefox the first tab changes from what I had open there into my homepage, Google. I can use the "go backward" thing to get to the page I had there, but since it goes back to Google every time I restart the browser that gets tedious.
The only way to solve this that I've found is to just stop trying to use the first tab and let it be Google. However, I'd like some actual solution that stops this from happening if possible.Thanks for the reply, it seems to have solved my issue.
My tabs are normal and unpinned, I just have Firefox set to open all my current tabs. Safe Mode didn't seem to have this issue, so I disabled Classic Theme Restorer. Several restarts didn't have problems, so I enabled it again and now this isn't happening anymore. Hopefully it stays gone for good and didn't just stop momentarily.
Edit. So as soon as I posted this, it started happening again. More testing definitely points to Classic Theme Restorer as the cause, so I'll have to investigate solutions on that end. -
How can I get my Report to open on the fist tab always when file opened
Hi,
I have one report with mutiples tabs, however I would like my file SWF/PDF to always open on the fist tab. Any ideas?I believe the SWF will open to whichever tab you had active at the time you exported the dashboard. So if you want your SWF to always open to the first tab, just make sure that the first tab is the active tab when you export your dashboard to a SWF.
Hope this helps,
Jeff -
First tab shakes when opening or closing tab.
I have Firefox 24.0 on Mac OS 10.8. I have never had any issues with the tabs shaking until today.
Only the first tab shakes; the shaking stops once the new tab has been opened or the tab has been closed but seeing this occur repeatedly over the course of just a few minutes is hurting my eyes.
Everything is set to the default. I do not use any special themes or toolbars. I do not usually have more than eight tabs open at once.
I have already tried closing all tabs and restarting the browser as well as rebooting my computer.
Any suggestions would be much appreciated.Is it always the same website tab that shakes or is it always a different one?
'''Try Firefox Safe Mode''' to see if the problem goes away. Safe Mode is a troubleshooting mode, which disables most add-ons.
''(If you're not using it, switch to the Default theme.)''
* On Windows you can open Firefox 4.0+ in Safe Mode by holding the '''Shift''' key when you open the Firefox desktop or Start menu shortcut.
* On Mac you can open Firefox 4.0+ in Safe Mode by holding the '''option''' key while starting Firefox.
* On Linux you can open Firefox 4.0+ in Safe Mode by quitting Firefox and then going to your Terminal and running: firefox -safe-mode (you may need to specify the Firefox installation path e.g. /usr/lib/firefox)
* Or open the Help menu and click on the '''Restart with Add-ons Disabled...''' menu item while Firefox is running.
[[Image:FirefoxSafeMode|width=520]]
''Once you get the pop-up, just select "'Start in Safe Mode"''
[[Image:Safe Mode Fx 15 - Win]]
'''''If the issue is not present in Firefox Safe Mode''''', your problem is probably caused by an extension, and you need to figure out which one. Please follow the [[Troubleshooting extensions and themes]] article for that.
''To exit the Firefox Safe Mode, just close Firefox and wait a few seconds before opening Firefox for normal use again.''
Please report back soon. -
I want Firefox to stay on the SAME tab instead of going to the FIRST tab after saving a page
Several months ago FireFox (7) started going to the FIRST tab after saving and other actions.
This is extremely irritating as I usually have several windows with numerous tabs open and its very time consuming to find the tab I was on.
In fact, I have to open tabs in a new window prior to saving the page if I need info on that page for the file name as it's impossible to go anywhere but the first tab while at the prompt for the page name.
I hope it's not supposed to do that and greatly appreciate help to fix this.
Thanks, ChristineThe photo app puts files in date/time order and ignores their names.
You can look for another app that may honor file names (sorry, I don't know any to recommend) or you can find a program that alters your file properties. If all the files have properties that read the same date and time, then it defaults to alphabetical order -
I go to click a link for any site and it opens the link in the current page and a new tab. I only want it to open the link in the new tab. I want to keep the original tab what it was.
you can try to write some web driver to do this particular job for you, one such driver is Selenium. know more about it at https://code.google.com/p/selenium/downloads/list.
But this thing will need a good programming skill. Otherwise you have Adblock plus addon (https://addons.mozilla.org/en-US/firefox/addon/adblock-plus/), you can try this. you can also contact its developer to include this particular facility also in this add on -
How do I get spry menu tab highlighted when on page ???
Hey guys I'm stuck
I'm trying to get the tab in the spry menubar to be highlighted when each relevant page .. but something isn't right it's not working what am I missing here ???
now when I hover the btn disappears and when on the page the tab isn't highlighted ? Please help ! many thanks in advance for taking the time to look
I have placed this code at the bottom of sprymenuhorizontal.css to over ride above styles !
ul.MenuBarHorizontal a span {
visibility: hidden;
ul.MenuBarHorizontal {
background: url(images/btn.png) no-repeat;
height: 35px;
ul.MenuBarHorizontal :hover, ul.MenuBarHorizontal :focus,
ul.MenuBarHorizontal .MenuBarItemHover, ul.MenuBarHorizontal .MenuBarItemSubmenuHover, ul.MenuBarHorizontal .MenuBarSubmenuVisible {
background: url(images/btnhover.png) no-repeat;
ul.MenuBarHorizontal li.activeMenuItem {
background: url(images/btnonpage.png) no-repeat !important;
then I put in this code at the top of the page to link to sprydomutils which is in my spryassest folder!
<script src="SpryAssets/SpryDOMUtils.js"></script>
<script>
function InitPage(){
Spry.$$('#MenuBar1 li').forEach(function(node){
var a=node.getElementsByTagName("a")[0]; // finds all a elements inside the li, but we only want the first so [0]
if(a.href == window.location){
Spry.Utils.addClassName(node,"activeMenuItem");
Spry.Utils.addLoadListener(InitPage);
</script>
<script src="SpryAssets/SpryDOMUtils.js"></script>
<script>
function InitPage(){
Spry.$$('#MenuBar1 li').forEach(function(node){
var a=node.getElementsByTagName("a")[0]; // finds all a elements inside the li, but we only want the first so [0]
if(a.href == window.location){
Spry.Utils.addClassName(node,"activeMenuItem");
Spry.Utils.addLoadListener(InitPage);
</script>
<link href="SpryAssets/SpryMenuBarHorizontal.css" rel="stylesheet">
<style>
ul.MenuBarHorizontal a span {
visibility: hidden;
ul.MenuBarHorizontal {
background: url(images/btn.png) no-repeat;
height: 35px;
ul.MenuBarHorizontal :hover, ul.MenuBarHorizontal :focus,
ul.MenuBarHorizontal .MenuBarItemHover, ul.MenuBarHorizontal .MenuBarItemSubmenuHover, ul.MenuBarHorizontal .MenuBarSubmenuVisible {
background: url(images/btnhover.png) no-repeat;
ul.MenuBarHorizontal li.activeMenuItem {
background: url(images/btnonpage.png) no-repeat !important;
</style>The reason I asked if you used templates or not is that in this case we would have a centralised script to detect the active menu item.
If you have a menu on each page (without the template) then it is easy to mark the menu item as being the current one by simply adding a class as follows
<li class="activeMenuItem"><a href="index.php">Home</a></li>
Now we merely add a few rules to style the active menu item as in
.activeMenuItem a {
background: #a59a84 url(nav_background.png) !important;
color: #ffffff !important;
The !important is necessary otherwise the JS will override these values.
Add the style rules to the bottom of SpryMenuBarHorizontal.css and add the class to each relevant menu item in each document.
Which brings me to the fact that you have used a horizontal menu bar for vertical positioning. Why? I must admit, the effect is not bad and that is more important.
Gramps -
This only started yesterday, but it really bugs me. I can't figure out how to get rid of it!
There's a hidden setting for new tabs. Here's how to access it:
(1) In a new tab, type or paste '''about:config''' in the address bar and press Enter. Click the button promising to be careful.
(2) In the search box above the list, type or paste '''newtab''' and pause while the list is filtered
(3) Double-click the '''browser.newtab.url''' preference and enter your preferred page:
* ''Page thumbnails (default)'' => about:newtab
* ''Blank tab'' => about:blank
* ''Built-in Firefox home page'' => about:home
* ''Any other page'' => full URL to the page
Press Ctrl+t to open a new tab and verify that it worked. Fixed? -
How to skip first 5 lines from a txt file when using sql*loader
Hi,
I have a txt file that contains header info tat i dont need. how can i skip those line when importing the file to my database?
CheersDanny Fasen wrote:
I think most of us would process this report using pl/sql:
- read the file until you've read the column headers
- read the account info and insert the data in the table until you have read the last account info line
- read the file until you've read a new set of column headers (page 2)
- read the account info and insert the data in the table until you have read the last account info line (page 2)
- etc. until you reach the total block idenfitied by Count On-line ...
- read the totals and compare them with the data inserted in the tableOr maybe like this...
First create an external table to read the report as whole lines...
SQL> ed
Wrote file afiedt.buf
1 CREATE TABLE ext_report (
2 line VARCHAR2(200)
3 )
4 ORGANIZATION EXTERNAL (
5 TYPE oracle_loader
6 DEFAULT DIRECTORY TEST_DIR
7 ACCESS PARAMETERS (
8 RECORDS DELIMITED BY NEWLINE
9 BADFILE 'bad_report.bad'
10 DISCARDFILE 'dis_report.dis'
11 LOGFILE 'log_report.log'
12 FIELDS TERMINATED BY X'0D' RTRIM
13 MISSING FIELD VALUES ARE NULL
14 REJECT ROWS WITH ALL NULL FIELDS
15 (
16 line
17 )
18 )
19 LOCATION ('report.txt')
20 )
21 PARALLEL
22* REJECT LIMIT UNLIMITED
SQL> /
Table created.
SQL> select * from ext_report;
LINE
x report page1
CDC:00220 / Sat Aug-08-2009 xxxxp for 02/08/09 - 08/08/09 Effective Date 11/08/09 Wed Sep-30-2009 08:25:43
Bill to
Retailer Retailer Name Name on Bank Account Bank ABA Bank Acct On-line Amount Instant Amount Total Amount
======== ============================== ============================== ========== ==================== =============== =============== ===============
0100103 BANK Terminal raji 123456789 123456789 -29,999.98 9 0.00 99 -29,999.98
0100105 Independent 1 Savings 123456789 100000002 -1,905.00 9 0.00 99 -1,905.00
0100106 Independent 2 system 123456789 100000003 -800.00 9 -15.00 99 -815.00
LARGE SPACE
weekly_eft_repo 1.0 Page: 2
CDC:00220 / Sat Aug-08-2009 Weekly EFT Sweep for 02/08/09 - 08/08/09 Effective Date 11/08/09 Wed Sep-30-2009 08:25:43
Bill to
Retailer Retailer Name Name on Bank Account Bank ABA Bank Acct On-line Amount Instant Amount Total Amount
======== ============================== ============================== ========== ==================== =============== =============== ===============
Count On-line Amount Instant Amount Total Amount
============== ====================== ====================== ======================
Debits 0 0.00 0.00 0.00
Credits 3 -32,704.98 -15.00 -32,719.98
Totals 3 -32,704.98 -15.00 -32,719.98
Total Tape Records / Blocks / Hash : 3 1 37037034
End of Report
23 rows selected.Then we can check we can just pull out the lines of data we're interested in from that...
SQL> ed
Wrote file afiedt.buf
1 create view vw_report as
2* select line from ext_report where regexp_like(line, '^[0-9]')
SQL> /
View created.
SQL> select * from vw_report;
LINE
0100103 BANK Terminal raji 123456789 123456789 -29,999.98 9 0.00 99 -29,999.98
0100105 Independent 1 Savings 123456789 100000002 -1,905.00 9 0.00 99 -1,905.00
0100106 Independent 2 system 123456789 100000003 -800.00 9 -15.00 99 -815.00And then we adapt that view to extract the data from those lines as actual columns...
SQL> col retailer format a10
SQL> col retailer_name format a20
SQL> col name_on_bank_account format a20
SQL> col online_amount format 999,990.00
SQL> col instant_amount format 999,990.00
SQL> col total_amount format 999,990.00
SQL> ed
Wrote file afiedt.buf
1 create or replace view vw_report as
2 select regexp_substr(line, '[^ ]+', 1, 1) as retailer
3 ,trim(regexp_replace(regexp_substr(line, '[[:alpha:]][[:alnum:] ]*[[:alpha:]]', 1, 1), '(.*) +[^ ]+$', '\1')) as retailer_name
4 ,trim(regexp_replace(regexp_substr(line, '[[:alpha:]][[:alnum:] ]*[[:alpha:]]', 1, 1), '.* ([^ ]+)$', '\1')) as name_on_bank_account
5 ,to_number(regexp_substr(regexp_replace(line,'.*[[:alpha:]]([^[:alpha:]]+)','\1'), '[^ ]+', 1, 1)) as bank_aba
6 ,to_number(regexp_substr(regexp_replace(line,'.*[[:alpha:]]([^[:alpha:]]+)','\1'), '[^ ]+', 1, 2)) as bank_account
7 ,to_number(regexp_substr(regexp_replace(line,'.*[[:alpha:]]([^[:alpha:]]+)','\1'), '[^ ]+', 1, 3),'999,999.00') as online_amount
8 ,to_number(regexp_substr(regexp_replace(line,'.*[[:alpha:]]([^[:alpha:]]+)','\1'), '[^ ]+', 1, 5),'999,999.00') as instant_amount
9 ,to_number(regexp_substr(regexp_replace(line,'.*[[:alpha:]]([^[:alpha:]]+)','\1'), '[^ ]+', 1, 7),'999,999.00') as total_amount
10* from (select line from ext_report where regexp_like(line, '^[0-9]'))
SQL> /
View created.
SQL> select * from vw_report;
RETAILER RETAILER_NAME NAME_ON_BANK_ACCOUNT BANK_ABA BANK_ACCOUNT ONLINE_AMOUNT INSTANT_AMOUNT TOTAL_AMOUNT
0100103 BANK Terminal raji 123456789 123456789 -29,999.98 0.00 -29,999.98
0100105 Independent 1 Savings 123456789 100000002 -1,905.00 0.00 -1,905.00
0100106 Independent 2 system 123456789 100000003 -800.00 -15.00 -815.00
SQL>I couldn't quite figure out the "9" and the "99" data that was on those lines so I assume it should just be ignored. I also formatted the report data to fixed columns width in my external text file as I'd assume that's how the data would be generated, not that that would make much difference when extracting the values with regular expressions as I've done.
So... something like that anyway. ;) -
Designate a tab in a tabbed panel as the default start tab on page load?
How can I designate a tab in a tabbed panel as the default start tab on page load? Anyone know?
Hi Lightcatcher,
By default, the first tab opens when a page loads. You can drag the tabs left/right and make the desired tab first tab.
Regards,
Aish
Maybe you are looking for
-
Media play-back quality on my macbook from my Android phone
Hi all, I really, really hope someone can help me here. I have a brand new Samsung Note 3. The problem I'm having is the play-back quality when I transfer videos I've recorded from the phone on to my macbook pro. The video just lags but the audio is
-
well my volume doesnt work on my 4th generation ipod touch. nothing happens when i press on the volume button, it doesnt do anything, the volume doesnt go up or down, i go to the music app and theres no volume slide option, its just not there, only t
-
MS_SQL Shrinking Log Files.
Hi Experts, We have checked the documentation which have been received from SAP (SBO_Customer portal), Based on the Early Watch Alert. AS per SAP requsition we have minimized the size of 'Test Database Log' file through MS_SQL Management Studio.(Res
-
Pivoting records for reporting using streams
Hi I would like to use streams for pivoting a records. I have a table called employees Dept Name 10 Larry 10 Ray 10 Philips 20 Winston 20 Gayle Whenever records are inserted or updated or deleted in the employee table . i would to like to pivot the r
-
TS4124 is there a fee for downloading music with cloud icons
Due to a drive failure, I had to reconstruct my iTunes library from a back up. When I did this, I also upgraded to iTunes 11.0.1 (12) and discovered hundreds of tracks with cloud icons, some I had purchased, some I don't remember ever purchasing. B