ToolButton/Menu on JInternalFrame header
Hi,
Is it possible to add a toolbar or a tool button or a JMenu on the Header of JInternalFrame? That is, with the normal three buttons (minimizable, maximizable and closable) on the header, I need to add some more buttons. Let me know if anyone knows how to do this.
Thanks
try something this
((javax.swing.plaf.basic.BasicInternalFrameUI)internalFrame.getUI()).getNorthPane()
It'll return a JComponent in which actually <iconButton>, <maxButton> & <closeButton> are added.
I think this may help you solving the problem.
Similar Messages
-
Menu path above header not displaying
On most topics there is a menu path, in what appears to be the area above the header, that can be used as a navigation aid. I say above the header because the header for this Master Page is blank. It is missing in some topics and I would like to find out why. Does anyone know how this menu path gets there/where it comes from?
Hi Jeff
The only thing that makes sense for that to happen would be if one were viewing a different set of output files.
So you make edits and generate to folder A, but when you look at output you are really looking at folder B. Hence, no change observed.
Can't tell you the number of times we have seen this exact scenario unfold in the forums. I've even had it bite me personally. Just this week!
I was facilitating a Captivate class. I imported a PPT file and grew confused about the folder I actually imported it from. (being an instructor, I have a raft of folders that store sample data that is used again and again) Turned out things weren't working because I was looking at the wrong location. So it happens to all of us at times.
The only way I can fathom to elminate the possibility is to generate WebHelp, then choose "View" from the dialog. Assuming the global option is enabled and If things are still missing after that, something is definitely afoot that warrant some sleuthing to figure out why.
Cheers... Rick
Helpful and Handy Links
RoboHelp Wish Form/Bug Reporting Form
Begin learning RoboHelp HTML 7, 8 or 9 within the day!
Adobe Certified RoboHelp HTML Training
SorcerStone Blog
RoboHelp eBooks -
Position Spry Menu Bar inside Header Div
Hi,
I have a horizontal menu bar that I am trying to position inside a header div at the top of my site. FYI, the layout of my site is that I have an outer wrapper div and the first div within the outer wrapper is the header div. I am following isntructions from a video tutorial I foudn that suggests that I set the ul.MenuBarHorizontal CSS rule to be "position - absolute" and "bottom - 0px". When I do this, it positions the menu bar at the bottom of the page, outside the margins of the header div. When I say bottom of the page, I don't mean at the bottom of the website page, but for some reason, at the bottom of the dreamweaver page, even outside of the outer wrapper div, depending on what I have the zoom set to. I hope the way I'm explaining this makes sense because it is completely baffling.
All I want to do is have the menu bar positioned at the bottom and horizontally centered inside the header div. Any suggestions?I've put up an example of what you're attempting to do here:
http://perrelink.com.au/forum/sky/menu-in-header.php
Instructions on the page :-)
Hope this helps.
Nadia
Adobe® Community Expert : Dreamweaver
http://www.perrelink.com.au
Unique CSS Templates | Tutorials | SEO Articles
http://www.DreamweaverResources.com
http://twitter.com/nadiap -
Disable Menu of the Header region containing Home, , Log out and Diagonasti
Hi
We have created a menu item in ICX_GLOBAL_MENU used for navigation to HOME, LOGOUT or change perferences. We would like to HIDE this menu item when we navigate to pages/function other than OAHOMEPAGE. Please let us know the steps to do so.
Thanks
ArunHi,
You can hide Diagnostics by setting the Profile Option : FND:Diagnostics to "No" at site level.
Now to hide "Home","Preferences" and "Help" links :
These are called Global links and in order to hide them you should use the following code in pageLayout Controller's processrequest method.
OAPageLayoutBean page = pageContext.getPageLayoutBean();
page.prepareForRendering(pageContext);
page.setGlobalButtons((UINode)null)
Thanks,
Naveen -
Hi all,
So I'm using an accordion panel widget as a collapsible menu in the header and I have the ol' "{tag_pagecontent} BC blog thing going on (displaying a BC blog in an HTML box on a page),
except when I publish this to BC, the footer jumps up the page and sits behind the blog content (yes, the footer checkbox is selected, no I don't have sticky footers enabled). When I remove the accordion panel and replace it with a simple "home" button (actually a hyperlinked image), the footer acts as intended.
So the issue here seems to be with the accordion panel causing a problem, but what's going on and how do I stop it so I can display the accordion menu on my blog template page?
Anyone have any ideas? Is it simple to fix and am I just overlooking something blatantly obvious because I'm tired?
Any help on this would be greatly appreciated!
Thanks.Hi, Sorry for the late response, are you still experiencing this issue. If yes, please let me know
-
Spry Horizontal Menu straddles header
Problem: Spry Horizontal Menu straddles header
I created a new page using
"1 column elastic, centered, header and footer"
I add a Spry Horizontal Menu within the "header" div.
The menu does not display entirely within the grey header
area.
The menu straddles half in the header and half below the
header.
I believe this is because of the float i.e.
"ul.MenuBarHorizontal li" has "float: left;".
How do I make the menu stay entirely within the grey header
content area?
Thanks ahead of time.
<div id="header">
<ul id="MenuBar1" class="MenuBarHorizontal">
<li><a href="#">Home</a> </li>
<li><a href="#">People</a></li>
</ul>
</div>
.oneColElsCtrHdr #header {
background: #DDDDDD;
padding: 10px;
ul.MenuBarHorizontal li
margin: 0;
padding: 0;
list-style-type: none;
font-size: 100%;
position: relative;
text-align: left;
cursor: pointer;
width: auto;
float: left;Hi,
The original CSS has been very carefully composed so that it will work in all browsers. If you make any changes to the original and you do not know what you are doing, you are asking for problems.
When I look at your first set of rules and I see the following marked in red and a rules marked in green that are left out, then I know you will have a problem:
ul.MenuBarHorizontal
padding: 0;
list-style-type: none;
font-size: 100%;
cursor: default;
width: auto;
background-image: url(myImage.jpg); // rename the image to your own
background-repeat: repeat;
vertical-align: bottom;
float: none;
position: absolute;
margin: auto;
Keep in mind that the original stylesheet has no browser issues. Any changes that you make are for your account and have basically nothing to do with Spry.
My suggestion to you is, make a copy of the modified stylesheet for reference, then put back the original stylesheet. Consequently, make a new stylesheet called myStyles.css or similar, and put your changed rules in the newly created stylesheet eg.
ul.MenuBarHorizontal
background-image: url(myImage.jpg);
background-repeat: repeat;
Then attach this stylesheet to your document after the original stylesheet.
If you cannot get the required result, merely play around with the rules within myStyles.css.
I hope this helps.
Ben -
Hello,
I was wondering what the best way is to modify the menu in the header of the portal. We would like to remove the "Mobile Devices" link and add in a "Reset Desktop" link. We are using the sampleportal with the JSPTabContainer as the default channel. I am pretty sure that I need to modify one of the jsp files in /etc/opt/SUNWps/desktop, but am not sure which one controls this. We have over 100 jsp files in that directory that contain a link called Mobile Devices.
Thank you very much,
Tracy.looks like you are modifying the wrong JSP.
depending on the container + locale you've configured for the desktop you have to modify the corresponding jsp.
Do you use any language specific settings ?
In which directory have you made the changes ?
Have you done a "touch *" on the main JSP so that the classloader is forced to reload and compile ?
/u -
Lean order API+ menu option - Extras / Output / Header / Edit
all,
Attempting to configure the lean order sales screens for use in NWBC. I am unable to find out how to customize to include the menu option for header output that exists in the standard gui screens (Va02/03).
I need to be able to allow the users to see this header output in the lean order screens.
has anyone configured those screens and come across this option?
Thank you in advance
stevenHi jamison,
please check output determination and you need to maintain condition records(like with sales organization and condtion type etc)of output type via tcode NACR. while saving the sales order it will condition records and populate output types automatically.
Tks... Venkat -
Hi Experts,
I have problem when i am creating the sales order i want to put some text in the Header Data.
But when i navigate through the menu go to--> Header --> Text, the moment i select that it is giving ABAP short Dup with errors "Exception condition "CNTL_ERROR" raised." , do you any one know how to fix this??
It is urgent can any one give a idea?
Regards,
Veer
Edited by: Sundar Ayyagari on Apr 18, 2008 3:27 PMHello Nikhilesh shenoy,
This is the original error i am getting we are using currently 4.6C i have checked all the OSS notes you have mentioned and the code as well it is already implemented. Still i am facing this problem can you suggest any more help on this.
If i navigate through the Go To-- > Header ---> Text then there is a dump is any idea what all i need to check?
Error Message
A RAISE statement in the program "SAPLOLEA " raised the exception
condition "CNTL_ERROR".
Since the exception was not intercepted by a superior program
in the hierarchy, processing was terminated.
Short description of exception condition:
For detailed documentation of the exception condition, use
Transaction SE37 (Function Library). You can take the called
function module from the display of active calls.
The termination occurred in the ABAP/4 program "SAPLOLEA " in
"AC_SYSTEM_FLUSH".
The main program was "SAPMV45A ".
The termination occurred in line 27
of the source code of program "LOLEAU02 " (when calling the editor 270).
Thanks
Sundar -
Horizontal menu pushes main content downwards
I created a website for my nonprofit with a spry horizontal menu inside the header. I then created submenus for several of the tabs. On one of the pages the submenus drop down into the main content space. On all of the other pages, the submenus inexplicably push the main content downwards - as though they are expanding the header. I have set the vertical size of the header in all cases at 175 pixels. All of the spry menus use the same global style sheet and I've gone through them line by line and see no differences. The wrappers are the same when I click on the header. Do you have any idea why a spry submenu might be pushing the header (that it is inside) downwards rather than just overlapping the main page the way most subheaders do?
Thank you so much!Hiya, Karin,
Nice to hear back from you.
Without getting into the mishigas (don't know how to spell that...don't actually speak Yiddish)... of the templates, etc., here are a couple of fixes for the Events page (and any others you worked on the same way):
There's a line up in the head (at least in my copy of your page) that looks like this: <%@LANGUAGE="JAVASCRIPT" CODEPAGE="65001"%> You can take that out, I would comment it out at least, like this: <!-- <%@LANGUAGE="JAVASCRIPT" CODEPAGE="65001"%> -->
When you save the page, you should be getting a javascript error...a widget has been removed from the page, etc., etc....when I got the error, it took me to this code in the page, which should also be removed (notice that I commented it out). Leaving javascript in a page when the widget itself has been removed leads to errors (!):
<!--var MenuBar2 = new Spry.Widget.MenuBar("MenuBar2", {imgRight:"../SUDAN/SpryAssets/SpryMenuBarRightHover.gif"});-->
The thing that is pushing your submenus into your content (in Internet Explorer) is the lack of 'hacks' to make it work correctly in IE browsers. So, copy this code as is to the bottom of your SpryMenuBarHorizontal.css stylesheet:
BROWSER HACKS: the hacks below should not be changed unless you are an expert
/* HACK FOR IE: to make sure the sub menus show above form controls, we underlay each submenu with an iframe */
ul.MenuBarHorizontal iframe
position: absolute;
z-index: 1010;
filter:alpha(opacity:0.1);
/* HACK FOR IE: to stabilize appearance of menu items; the slash in float is to keep IE 5.0 from parsing */
@media screen, projection
ul.MenuBarHorizontal li.MenuBarItemIE
display: inline;
f\loat: left;
background: #FFF;
By putting them at the bottom of your stylesheet, they will correct and override any styles that they need to fix...
Regarding your trials and tribulations with templates (ttttt), I heartily sympathize. I actually love templates, myself, but it took a while to 'get into' them. Once you have them set up they're fine, but getting to know them well takes a little work. There are those on the Forums who believe in using Server-Side Includes, but I have not used them, and the non-profits I design for usually are not on servers that support PHP or SSI. So I have gotten to know templates reasonably well.
It's too bad you have a hybrid running now of templated and untemplated pages; a templated site is ultimately much easier to maintain. But I trust you will get back to it. The difficulties you describe were probably not due to the templates, but to the lack of IE hacks (see code above that you will restore to the stylesheet).
Please let me know if these measures work! I will send you a private message in addition to this response.
Best wishes,
Beth Marshall -
Sales Order Header Data. Texts
Hy All Experts.
I wnt to put Filed Sales Order Header data. i go to transaction va02. ->> disp Doc. header Deatils.
select Tab Texts. --> Notes .
I wnt to put a notes in a sales order report. so hw to identify. that field.
Please guide me above matter.
Thnks
Bhavesh Panchal.Hi Bhavesh Panchal,
Use read text function module and get data from header text for ur sales report.
get object, id, en from text area. Double click the text area and click Goto menu and choose header.
for ex
TDNAME = IT_ORDER-VBELN.
OBJECT = 'VBBK'.
ID = '0001'.
EN = 'EN'.
CALL FUNCTION 'READ_TEXT'
EXPORTING
CLIENT = SY-MANDT
ID = ID
LANGUAGE = EN
NAME = TDNAME
OBJECT = OBJECT
TABLES
LINES = LINES
EXCEPTIONS
ID = 1
LANGUAGE = 2
NAME = 3
NOT_FOUND = 4
OBJECT = 5
REFERENCE_CHECK = 6
WRONG_ACCESS_TO_ARCHIVE = 7
OTHERS = 8.
DELETE LINES WHERE TDLINE IS INITIAL.
LOOP AT LINES.
IT_ORDER-MSG1 = LINES-TDLINE.
EXIT.
ENDLOOP. -
Which table stores the Sales Order--Header--Texts--EDI Text?
Hi Experts,
I hv a requirenment regarding the Sales Order -> HEADER -> TEXTs -> EDI Text-Int, so, I need to hv some Orders(#). which does hv this text on them, for as test data.
So, I am looking which table stores, this text for my_sales_oders_12345678.
[ actually, i got some info from sdn, like,
Table TTXOB -> stores Texts: application object for Sales order header it is always VBBK i.e. field TDOBJECT = VBBK.
Now all the text types i.e. text ids are stored in table TTXID
So fetch all text ids(TDID) from this table based on TDOBJECT = VBBK. And its descriptions are stored in TTXIT table.
but, no use this ]
thanq
Edited by: Srinivas on Jul 10, 2008 11:06 PMHi Srinivas,
Generally to access the text we use READ_TEXT function Module.
we need to pass the four parameters
ID
LANGUAGE
NAME
OBJECT
You can find these parameters in the sales order it self.
Goto ---> Header ---> Texts
Now double click on the text it takes you to the Text Editor. You can find the screen Display Form Header . In this goto Menu Path Goto ---> Header. You get a screen Text header. Here you can find the these parameters.
Text Name
Language
Text ID
Text Object
You need to pass these parameters to the function Module to text the text.
You can also fins the text in Table STXH
Best regards,
raam -
Hi Experts,
The VF03(Display Billing Doc)--> Cash Discount(Header Level ) - Amount, say, 3%, In which table, it stores?
Path is, VF03>Menu>GO TO>HEADER->Pricing Conditions Header>(Condition Type)SKTV> Amount, say, 3%------->Where it stores?
Thanq.Hi,
I dont have SAP in front of me.
Simply go to ST05
Activate Trace then execute your givrn path and then Deactivate trace.
Display Trace and see from where it is fetching.
Reward if useful! -
Can't remove Mail's long header information
My Mail always shows a long header information as listed below. Is there a simple way of removing everything in the header except To:, From:, Date:, and Subject: ?
From: [email protected]
Subject: test email
Date: 3 April 2006 10:10:36 PM
To: [email protected]
Return-Path: <[email protected]>
Received: by cpms02.int.iprimus.net.au (7.2.072.1) id 4429596C00AAC553 for [email protected]; Tue, 4 Apr 2006 00:10:46 +1000
Received: from smtpout.mac.com (17.250.248.89) by mx02.iprimus.com.au (7.2.072.1) id 4420431D015397C0 for [email protected]; Tue, 4 Apr 2006 00:10:46 +1000
Received: from mac.com (smtpin08-en2 [10.13.10.153]) by smtpout.mac.com (Xserve/8.12.11/smtpout02/MantshX 4.0) with ESMTP id k33EAjDx019385 for <[email protected]>; Mon, 3 Apr 2006 07:10:45 -0700 (PDT)
Received: from [203.166.239.208] (203-166-239-208.dyn.iinet.net.au [203.166.239.208]) (authenticated bits=0) by mac.com (Xserve/smtpin08/MantshX 4.0) with ESMTP id k33EAciu000802 for <[email protected]>; Mon, 3 Apr 2006 07:10:44 -0700 (PDT)
Mime-Version: 1.0 (Apple Message framework v746.3)
Content-Transfer-Encoding: 7bit
Message-Id: <[email protected]>
Content-Type: text/plain; charset=US-ASCII; format=flowed
X-Mailer: Apple Mail (2.746.3)
End of Header.
iMac G5 Mac OS X (10.4.5)In Mail from View menu >> Message >> short header.
-mj
[email protected] -
SmartForm Header Maintainance.
Hi All,
I had copied a std smartform into my zsmartform and tried to run it for a preview. now it so happens that in the standard smartform there is no hardcoded text in the header of the SmartForm (SF) but i happenend to find out thru debugging that it still displays a header by fetching its records from the STXFTXT DB table based upon the logon language and the formname and text type.Now my problem is there are no records maintained in this DB table for my copied zsmartform. Could you tell me how could i maintain this DB table "STXFTXT" and if not that way then how do i maintain the header for my zsmartform.Hi,
Actually the procedure goes in this way.
1.Smartform after creation will be assigned to a Transaction from where it is printed(send to spool).
2.With in the Transaction we can assign the text .
For eg: Go to VA02(Change sales order).Pick one sales order .Press enter. Go to menu path : GOTO->header->text,add or change some text.the same will be printed in the assigned smartform.
(i.e) The text which corresponds to that particular SALES ORDER will be printed.
This will update the tables which you have mentioned.
Maybe you are looking for
-
Help!
-
ARP collision on failover interface of ASA5510
Seeing a funny problem. Whenver the secondary ASA is rebooted, there is complaint of an ARP conflict on the failover interface: Received ARP request collision from 169.254.0.1/1cdf.0f2e.e8b6 on interface FAILOVER with existing ARP entry 169.254.0.1/
-
Forecast Mismatch in DP and SNP
Hello all, Currently we are in SCM 4.0. When we release the forecast from DP to SNP, there is a mismatch in the forecast if the monthly buckets are selected and the forecast matches for weekly buckets. Can anyone please help me out on this. Thanks, S
-
Date of publication of BUG?
I have installed two ACEs in our client, these are with version A3(2.3). Last night I performed the migration the CSS to ACE and I meet a issue, I was checking and found a BUG asociated with this issue. (CSCtb59279). This BUG is not publicated in Rel
-
0SD_C03 cube contains data that does not exist in PSA
Hi, We have a problem with data difference in cube and PSA. Firstly we deleted PSA extactly then extracted data from r3 to PSA. PSA has 2 records now. Then we extracted data to cube (0SD_C03) via DTP (using 2LIS_13_VDITM transformation rules). Howeve