Getting menu entries to point to a URL

Hi,
I am pretty new to the Portal Administration Console and trying to solve a menu related problem.
I have a simple menu structure like:
Topmenu
Submenu A
Submenu A1 (default)
Submenu A2
Submenu B
Submenu B1 (default)
I am looking for the functionality such that I can point the menu links Topmenu, Submenu A to a page other than Submenu A1 (like for example a sort of introductionary page). I tried the hidden functionality of the pages but that did not really seem to have the desired effect.
So I guess my question is if its necessary to have a menu entry for such a start page, like:
Topmenu
Submenu A
Startpage (default)
Submenu A1
Submenu A2
EDIT: Forgot to mention we use Weblogic Portal 9.2.1
Kind regards
Bo "the beginner"
Edited by: no**** on Jan 18, 2011 1:06 AM

Hi,
I think you will have to place a button with no appearance and no border overtop of the image control (so they have to have a container subform with positioned layout).  Then in the click event of the button use the app.launchURL(url,true); command to open the facebook page.
Regards
Bruce

Similar Messages

  • How to get the entry point in the ActiveX/COM adaptor

    below is the description of the Demo of using the ActiveX/COM to call new seq . 
    API Demo
    1. Manually add a Message Popup step to the MainSequence of a
    new sequence file. Save the sequence file as launch.seq.
    2. Create another sequence file and save the file as caller.seq.
    3. In the MainSequence of the caller.seq file, add Action steps
    using the ActiveX/COM Adapter to call into the TestStand API and
    launch the launch.seq file in a new execution.You might need the
    following two methods to complete this step.
    . Engine.GetSequenceFileEx
    . Engine.NewExecution
    so the question as follows:
    1.i call the method of get sequencefileEx
    2. call the method of getmodlesequenceFile
    3.call the method of evalEntryPointNameExpression
    4.call the method of NewExecution.
    but at the step of 3. i haven't get the entry point.
    so how to solve this issue? thanks
    Attachments:
    QQ图片20140115200924.jpg ‏58 KB
    QQ图片20140115201708.jpg ‏100 KB

    This is a duplicate post of this:
    http://forums.ni.com/t5/NI-TestStand/How-to-get-the-entry-point-in-the-ActiveX-COM-adaptor/m-p/27005...

  • When trying to update flash..getting "procedure entry point setdiidirectoryw could not be located in the dynamic link library kernel32.dll"

    When trying to update flash..getting "procedure entry point setdiidirectoryw could not be located in the dynamic link library kernel32.dll"

    this is a mere adobe bug - they changed the installer & it wont support installation on windows 2000 system any longer. adobe doesn't seem as it is going to fix this bug, see [https://bugbase.adobe.com/index.cfm?event=bug&id=3120661].
    you might want to try this installation method provided by a 3rd-party-site: [http://www.ortwinpinke.de/en/2012/03/13/install-adobe-flash-player-11110262-and-later-under-windows-2000/]
    please note that mozilla firefox won't support the windows 2000 platform any longer after the release of version 12 of the browser & the system is no longer supported or kept up to date with security fixes by microsoft too. in order to keep your computer & personal information on it safe you may consider upgrading to a newer system.

  • How to add a new right-click menu entry in Nautilus file browser?

    I want to add a couple of new context menu entries to Nautilus File Browser.
    So when I e.g. right-click in View Pane on a file "foobar.conf" an menu entry "edit with gedit" should appear (among the other default entries).
    When clicked the file "foobar.conf" should be passed to gedit (and gedit editor opened).
    How can I achieve this?
    Under Ubuntu there are nautilus-actions but when I try to install them in Solaris with
    pkg install nautilus-actions
    then this package is not found.
    How else can I create my own context menues?
    I would appreciate to have one script with all my context menus, which when run add them all in one step.

    To manage selected files or directories, you can use specific Nautilus variables like NAUTILUS_SCRIPT_SELECTED_FILE_PATHS.
    For more details and which variables exist, please read the content of the following URL :
    Nautilus File Manager Scripts: Questions and Answers

  • Why does debugger menu entry not exist in Acrobat 7.1.0

    Today I decided to start using the JavaScript functionality of my Acrobat 7.1.0 (updated a few days ago from 7.0.x). First I searched for some documentation and found the original "Acrobat JavaScript Scripting Guide" for Acrobat 7.0, document release date July 19, 2005. What made me doubt about the quality of my environment is that there are always some features mentioned that do not at all exist in my Acrobat, such as menu entries like "Debugger" under "Advanced - Javascript". The only thing I find there is "define document actions" (menu entry translated from German). Reading other posts in this forum concerning Javascript I searched other places like acrobatusers.com and, checking the tutorials, I saw screenshots of preference screens containing more items than my ones, especially more items in the "debugger" panel of the "Javascript" entry. When searching places on my drive where Acrobat should expect JavaScript files like "Program Files\Adobe\Acrobat 7.0\Acrobat\Javascripts" I remember having read that there should be more files than just "Websearch.js" and "JSByteCodeWin.bin" (as it is in my case; but I'm not sure what actually should be there further).
    So far the only thing I can do to open the console is defining some action related with files (but only unhandy ones like "when closed" or "when saved"). The only way I know to open the JS debugger is defining invalid JS code for some file action and perform this action, then the debugger shows up along with the console, complaining.
    Strolling arround in my Acrobat program subdirectories I found documentation and a runnable named "ExtendedScript Toolkit" that seemed to work well (though I could not try it out seriously as it obviously is quite complicated because it relies on the InDesign object model). Did ExtendedScripting coming along with InDesign spoil my normal JavaScript environment in Acrobat? Or was it the update from Acrobat 7.0.0 to 7.1.0? How can it be that menu entries everybody else is talking about are not at all visible in my installation though I desparately enabled almost everything in my Acrobat preference settings? Are there some paranoid web security defaults making entries disappear in my installation?
    Any suggestions will be greatly appreciated!
    Richard

    Bernd,
    the matrix is for Acrobat 9 only and thus not totally liable. However, as for V9 the topic of scripting or debugging is not even touched in the whole matrix, one might suggest that V7 would also make no differences in that area.
    I am only guessing, but the fact that I do not find any hint about a problem similar to my one might have to do something with the "ExtendedScript Toolkit" I mentioned above. If the behavior of my Acrobat installation had been changed due to installing ExtendedScript, this would be a kind of (intended) bug most users would not complain about, because: ExtendedScript comes along with software like InDesign, and the typical ID user is not the one developing JavaScript under Acrobat.
    Searching Google for ExtendedScript I found the Adobe download area and clicking on the item it says:
    The ExtendScript Toolkit (ESTK) 1.0.3 is a scripting utility included with Adobe® Creative Suite 2 and other Adobe applications. The ESTK is used for creating, editing, and debugging JavaScript to be used for scripting Adobe applications.
    Looking up documentation on ExtendedScript (which was not very easy to find) I noticed some examples about adding a document to the target application by executing the line:
    app.document.add();
    As I am starting the ES toolkit as an own main program, I am getting the error message that this call is not executable for the target application "main", which I can accept. Maybe there is a way connecting Acrobat to ExtendedScript, maybe there is even a way to reanimate "normal" scripting, maybe normal scripting is not even unconscious but only sleeping and can be woken up easily ...
    Maybe the best way to find out is searching for a forum about scripting (albeit extended or normal). Funny, though, that my Acrobat does not at all match the original scripting documentation of Adobe concerning such elementary things like menu entries being present (especially see second attachment: "Erweitert" translates to "Advanced", "Dokument-Aktionen festlegen" to "Define document actions". Where is the "Debugger" entry???).
    If I believe others here in this forum saying that the "Debugger" entry normally is appearing in the Javascript menu. Obviously the Acrobat software contains program code to hide or remove this entry permanently. Furthermore, somebody else, also a member of the Adobe stuff, has written the documentation that does not at all contain any applying description of conditions about hiding the menu entry. What I would appreciate is if Adobe would make those two persons talk to each other about what they are doing. By that, other people like me could save a lot of time.

  • Executing a programm through a new menu entry

    hello,
    I am new to abap and wanted to know how to execute any abap program by linking it to a new menu entry.
    Through the tx SE41 i was able to create new entry in an existing menu.Buth entry is disabled.
    I have also an executable program.
    I want this programm to get executed whenever i click to that menu option.
    please tell the step wise process to establish this process.
    Thanks

    ThanksDzed,
    I have created the transaction code for the program. can this transaction code be linked with the menu entry?
    How?
    What fields i need to fill in edit menu to activate the menu entry.

  • WAD - adding menu entries with JavaScript - help please!

    Hiya,
    I am completely new to JavaScript and I need some help with adding menu entries into my WAD template. Can anyone please help?
    I want to add functionality into my WAD template to enable users adding results rows on a selected characteristic, at a single mouse click. Currently they need to go to the menu -> properties -> characteristic -> display results -> always -> ok. That's five clicks of a mouse (provided they know were to go).
    I want to add this option to the basic menu so that they can click once only.
    What I have managed to figure out so far using SAP help is the following. I have added a Script Item into my WAD Layout and added the following line of code in the Script Editing window:
    sapbi_addToMenu("Add totals", "alternate_context_menu", "X","CHARACTERISTIC", "", "bottom", "", "")
    It worked fine in that it added an extra item "Add totals" to my menu when I righclick on a characteristic. So far so good. However, I have no idea what function I should be using here, or how to code it. Surely WAD uses some function to perform this action, something that I could reuse? Is there a library somewhere of all the function used in WAD?
    Can anyone please help with the code?
    Many thanks,
    Agata

    Hiya again,
    I have managed to partially solve this problem by using the following code. However it requires me to define on which characteristic the function is performed. In this case I have managed to get it working on 0PROJECT, but I want it to be ANY characteristic which has been right clicked?
    Any ideas how I can pass the characteristic name as a VARIABLE, whose value would be read automatically when menu is triggered?
    /* Add Contextmenu entries */
    sapbi_addToMenu("Add totals", "JS_SET_RESULT_VISIBILITY_R", "X","CHARACTERISTIC", "", "bottom", "", "")
    * Javascript functions that are to be integrated into a web template and that
    * are to be used later in the web application ALWAYS have to have the same function
    * signature, i.e. the parameters that will be passed.
    * @param currentState - a list of parameters that describe the state the web item
    * @param defaultCommandSequence - the initially used sequence of commands that
    *       would have been used instead of the custom
    *       script.
    function JS_SET_RESULT_VISIBILITY_R( currentState, defaultCommandSequence ){
    //Note: information can be extracted using the parameter 'currentState'
    // and 'defaultCommandSequence'. In either case create your own object
    // of type 'sapbi_CommandSequence' that will be sent to the server.
    // To extract specific values of parameters refer to the following
    // snippet:
    //  var key = currentState.getParameter( PARAM_KEY ).getValue();
    //  alert( "Selected key: " + key );
    // ('PARAM_KEY' refers to any parameter's name)
    //Create a new object of type sapbi_CommandSequence
    var commandSequence = new sapbi_CommandSequence();
      * Create a new object of type sapbi_Command with the command named "SET_RESULT_VISIBILITY"
    var commandSET_RESULT_VISIBILITY_1 = new sapbi_Command( "SET_RESULT_VISIBILITY" );
    /* Create parameter TARGET_DATA_PROVIDER_REF_LIST */
    var paramTARGET_DATA_PROVIDER_REF_LIST = new sapbi_Parameter( "TARGET_DATA_PROVIDER_REF_LIST", "" );
    var paramListTARGET_DATA_PROVIDER_REF_LIST = new sapbi_ParameterList();
    // Create parameter TARGET_DATA_PROVIDER_REF
    var paramTARGET_DATA_PROVIDER_REF1 = new sapbi_Parameter( "TARGET_DATA_PROVIDER_REF", "DP_1" );
    paramListTARGET_DATA_PROVIDER_REF_LIST.setParameter( paramTARGET_DATA_PROVIDER_REF1, 1 );
      // End parameter TARGET_DATA_PROVIDER_REF!
    paramTARGET_DATA_PROVIDER_REF_LIST.setChildList( paramListTARGET_DATA_PROVIDER_REF_LIST );
    commandSET_RESULT_VISIBILITY_1.addParameter( paramTARGET_DATA_PROVIDER_REF_LIST );
    /* End parameter TARGET_DATA_PROVIDER_REF_LIST */
    /* Create parameter CHARACTERISTIC */
    var paramCHARACTERISTIC = new sapbi_Parameter( "CHARACTERISTIC", "0PROJECT" );
    commandSET_RESULT_VISIBILITY_1.addParameter( paramCHARACTERISTIC );
    /* End parameter CHARACTERISTIC */
    /* Create parameter RESULT_VISIBILITY */
    var paramRESULT_VISIBILITY = new sapbi_Parameter( "RESULT_VISIBILITY", "VISIBLE" );
    commandSET_RESULT_VISIBILITY_1.addParameter( paramRESULT_VISIBILITY );
    /* End parameter RESULT_VISIBILITY */
    // Add the command to the command sequence
    commandSequence.addCommand( commandSET_RESULT_VISIBILITY_1 );
      * End command commandSET_RESULT_VISIBILITY_1
    //Send the command sequence to the server
        return sapbi_page.sendCommand( commandSequence );

  • MSconfig boot is blank, but still boots. Need to remove a boot menu entry.

    Hello,
    I have three boot menu entries that appear when I restart my pc.  The last one I would like to remove, as it isn't valid anymore.  When I go into msconfig, boot (tab), there isn't any entries in it.  I tried recreating another administrator
    profile, but that didn't help.  I tried using EASYBCD but I get the error message: the boot configuration data store could not be opened. The system cannot find the file specified. I searched for a bcd file, but didn't find any.  Upon reboot it shows
    three entries and does boot to windows, but I would like to remove the third, invalid, entry.
    Thanks,
    Mark

    I have windows 7, MS Dart and windows xp installed.  I uninstalled windows xp over a year ago. I booted into dart and ran startup repair.  It fixed it real good...no entries like before, but this time not starting at all.  missing boot\bcd. 
    I tried putting in windows 7 cd and running repair, but didn't work.  Decided it was time to reload windows 7, as all of my data is on another drive, it has been years since I did it anyway. My cloned/backup drive got into windows, but blue screened and
    did the same thing.  I wonder if I got a virus or possibly a registry cleaning program did this?
    thanks,
    Mark

  • Need Query to get Menu's - SubMenu's and Functions attached to a Responsibi

    Hi,
    Need SQL Query to get Menu's - SubMenu's and Functions attached to a Responsibility...
    There are two tables fnd_menus_vl and fnd_menu_entries_vl....
    I need to call in these two tables again as the sub_menu_id acts as menu_id in order to get the submenu and their entries....
    Please suggest how to achieve this...
    Thanks
    Aman

    Hi Aman,
    >
    Need SQL Query to get Menu's - SubMenu's and Functions attached to a Responsibility...
    There are two tables fnd_menus_vl and fnd_menu_entries_vl....
    I need to call in these two tables again as the sub_menu_id acts as menu_id in order to get the submenu and their entries....
    Please suggest how to achieve this...please see this
    SQL Query to find menus and submenus attached to responsibility
    Re: How to check a function is accessible under responsibility?
    ;) AppsMasti :)
    sharing is Caring

  • Cannot change KDE menu entries

    Hi all!
    I installed Enemy Territory and I wanted to edit the menu entry in KDE.
    I command from et to et2, an edited version of et.
    When I save the menu and look back I see the entry has not changed.
    How can I get KDE to remember my changes?
    I use KDE 3.3.2 and Arch 0.7
    Thanks!

    try this:
    cd ~/.kde
    find |grep :
    If you see a quite long path with a number of colons, that is the problem. This happened to me on both the current KDE, 3.2 and 3.1. I don't know the reason WHY it happens, but deleting the path fixed my problems with the menu.

  • Applescript to get the current insertion point of the cursor

    How do I use Applescript to get the current insertion point of the cursor in a Apple pages.app document?

    Oops, missed that one - you are correct, the line should be:
    <pre title="this text can be pasted into the Script Editor" style="font-family: Monaco, 'Courier New', Courier, monospace; font-size: 10px; padding: 5px; width: 720px; color: #000000; background-color: #E0E0E0; overflow: auto">set {TheStart, TheEnd} to character range of the selection</pre>
    I have a wrapper script that I use to insert stuff from my handler/code library into a Script Editor document, and was adapting snippets from that for my examples - I guess that one got away.
    As for the dictionary, some applications just have poorly written or outdated documentation. Some of the items have multiple entries (eg, there may be a selection object for the application and also for the document), and some inherit properties from other items. Some are used as nouns, others as verbs (or both). Sometimes it is easier to visualize the item by keeping track of it's reference - the 'some property of document 1 of the current application' thing. You can use the Script Editor's Event Log to see the results of various properties and commands - for example, the above script will result in the following entry (your numbers will vary depending on the selected text):
    <pre title="this text can be pasted into the Script Editor" style="font-family: Monaco, 'Courier New', Courier, monospace; font-size: 10px; padding: 5px; width: 720px; color: #000000; background-color: #E0E0E0; overflow: auto">tell current application
    get character range of selection
    {50, 50}
    end tell
    </pre>
    You can also use the 'log' statement (eg, 'log MyVariable') to add your own entries into the log instead of using dialog boxes.

  • Programmatically simulate the Get Menu Selection vi

    Hi,
    I'm using LabVIEW 8.5 base version (no event handling). I have created a custom RTM (Run-Time Menu) and use the Get Menu Selection vi wired to a Case structure to handle all the items. (Part of the handling it to put a check mark next to the selected menu item and clearing the check mark from all other items using the Set Menu Item Info vi. Too bad it doesn't do that automatically. Maybe it does in newer versions, but I digress.)
    My application can save and recall setups. When I recall a setup I would like to programmatically call the respective Case, as is done by the Get Menu Selection vi, even though the menu is not actually clicked by the user. I cannot find a way to do this. Is is possible?
    Thank you.
    Ed
    Solved!
    Go to Solution.

    Edjsch wrote:
    Thank you for your reply. It looks like there is no convenient way to "simulate" a Windows "event" with the base version. Duh! 
    I'd take that a step further and say there is no convenient way to write software without the event structure.  I don't know how people write code without it.  This limitation has been removed and the event structure comes with all versions of LabVIEW as of 2012.
    As for my virtual keyboard trick, here is a better one I didn't get a chance to check the link previously.
    https://decibel.ni.com/content/docs/DOC-15310
    With that you can call a subVI that will invoke the Alt+F or whatever to open menus.
    Edjsch wrote:
    Note that in the Get Menu Selection vi's Case structure, I had to actually clear each check mark and set the one for the current selection, since the RTM does not handle check marks automatically, as, for example, Visual Basic does. Again, maybe newer versions do.
    They do not, you are welcome to make an idea exchange for it, but I'm fine with toggling that bit myself.  But then again I can't think of a time when clicking on a checked item, shouldn't uncheck it so I can see your point.
    Edjsch wrote:
    Let me know if anyone would like to see screen shots of that area of my block diagram.
    Never post screenshots. 
    When posting code post the actual code not a screenshot.  You wouldn't take a screenshot of a text file and post it on a text language forum.  Upload the actual VI, or zip several files and upload the zip.  The exception to this rule is when uploading a VI Snippet.  This is an image with the VI embedded in it, so the source is still intact.
    Unofficial Forum Rules and Guidelines - Hooovahh - LabVIEW Overlord
    If 10 out of 10 experts in any field say something is bad, you should probably take their opinion seriously.

  • Getting java.lang.Null pointer Exception when i close the pdf file.

    Hi,
    my application is java based thick client application.
    From my application, i am generating report file using crystal report tool.
    the report file is exported as pdf format and stored in my local macine. from this path, am displaying the report in a SWT browser.
    till now its working fine. when i close the browser, i am getting java.lang.null.pointer exception.
    i dont understand from this exception, printed in console.
    please help me.
    java.lang.NullPointerException
    at org.eclipse.swt.ole.win32.OleClientSite.onPaint(OleClientSite.java:921)
    at org.eclipse.swt.ole.win32.OleClientSite.access$2(OleClientSite.java:906)
    at org.eclipse.swt.ole.win32.OleClientSite$1.handleEvent(OleClientSite.java:131)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1027)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1012)
    at org.eclipse.swt.widgets.Composite.WM_PAINT(Composite.java:1424)
    at org.eclipse.swt.widgets.Control.windowProc(Control.java:3842)
    at org.eclipse.swt.widgets.Display.windowProc(Display.java:4541)
    at org.eclipse.swt.internal.ole.win32.COM.CoFreeUnusedLibraries(Native Method)
    at org.eclipse.swt.ole.win32.OleClientSite.releaseObjectInterfaces(OleClientSite.java:1084)
    at org.eclipse.swt.ole.win32.OleControlSite.releaseObjectInterfaces(OleControlSite.java:683)
    at org.eclipse.swt.ole.win32.OleClientSite.onDispose(OleClientSite.java:852)
    at org.eclipse.swt.ole.win32.OleClientSite.access$1(OleClientSite.java:847)
    at org.eclipse.swt.ole.win32.OleClientSite$1.handleEvent(OleClientSite.java:128)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1027)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1008)
    at org.eclipse.swt.widgets.Widget.release(Widget.java:804)
    at org.eclipse.swt.widgets.Composite.releaseChildren(Composite.java:755)
    at org.eclipse.swt.widgets.Widget.release(Widget.java:807)
    at org.eclipse.swt.widgets.Composite.releaseChildren(Composite.java:755)
    at org.eclipse.swt.widgets.Widget.release(Widget.java:807)
    at org.eclipse.swt.widgets.Widget.dispose(Widget.java:441)
    at com.siemens.med.cad.hqm.reports.ReportViewer$1.widgetDisposed(ReportViewer.java:273)
    at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:117)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1027)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1008)
    at org.eclipse.swt.widgets.Widget.release(Widget.java:804)
    at org.eclipse.swt.widgets.Widget.dispose(Widget.java:441)
    at org.eclipse.swt.widgets.Decorations.dispose(Decorations.java:446)
    at org.eclipse.swt.widgets.Shell.dispose(Shell.java:674)
    at org.eclipse.swt.widgets.Decorations.closeWidget(Decorations.java:308)
    at org.eclipse.swt.widgets.Decorations.WM_CLOSE(Decorations.java:1643)
    at org.eclipse.swt.widgets.Control.windowProc(Control.java:3789)
    at org.eclipse.swt.widgets.Canvas.windowProc(Canvas.java:337)
    at org.eclipse.swt.widgets.Decorations.windowProc(Decorations.java:1576)
    at org.eclipse.swt.widgets.Shell.windowProc(Shell.java:1937)
    at org.eclipse.swt.widgets.Display.windowProc(Display.java:4528)
    at org.eclipse.swt.internal.win32.OS.DefWindowProcW(Native Method)
    at org.eclipse.swt.internal.win32.OS.DefWindowProc(OS.java:2366)
    at org.eclipse.swt.widgets.Shell.callWindowProc(Shell.java:477)
    at org.eclipse.swt.widgets.Control.windowProc(Control.java:3877)
    at org.eclipse.swt.widgets.Canvas.windowProc(Canvas.java:337)
    at org.eclipse.swt.widgets.Decorations.windowProc(Decorations.java:1576)
    at org.eclipse.swt.widgets.Shell.windowProc(Shell.java:1937)
    at org.eclipse.swt.widgets.Display.windowProc(Display.java:4528)
    at org.eclipse.swt.internal.win32.OS.DefWindowProcW(Native Method)
    at org.eclipse.swt.internal.win32.OS.DefWindowProc(OS.java:2366)
    at org.eclipse.swt.widgets.Shell.callWindowProc(Shell.java:477)
    at org.eclipse.swt.widgets.Control.windowProc(Control.java:3877)
    at org.eclipse.swt.widgets.Canvas.windowProc(Canvas.java:337)
    at org.eclipse.swt.widgets.Decorations.windowProc(Decorations.java:1576)
    at org.eclipse.swt.widgets.Shell.windowProc(Shell.java:1937)
    at org.eclipse.swt.widgets.Display.windowProc(Display.java:4528)
    at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method)
    at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:2371)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3420)
    at com.siemens.med.cad.hqm.view.mainUI.HQMMainForm.buildMainShell(HQMMainForm.java:246)
    at com.siemens.med.cad.hqm.event.UserLoginEventHandler.loginDisplay(UserLoginEventHandler.java:240)
    at com.siemens.med.cad.hqm.event.UserLoginEventHandler.widgetSelected(UserLoginEventHandler.java:97)
    at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:228)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
    at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3823)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3422)
    this is the code i have written for display the report file in a browser:
    Display display = Display.getDefault() ;
         Shell shell = new Shell(display, SWT.RESIZE | SWT.CLOSE | SWT.MIN | SWT.MAX | SWT.APPLICATION_MODAL);
    shell.setText(reportTitle);
    shell.setLayout(new FillLayout());
    shell.setMaximized(false);
    shell.setSize(800, 600);
    Composite comp = new Composite(shell, SWT.NONE);
    comp.setLayout(new FillLayout());
    final Browser browser = new Browser(comp, SWT.FLAT);
    try {
    File file = new File(exportFile);
    URL url = file.toURL();
    browser.setUrl("file:" + url.getPath());
    } catch (MalformedURLException malURLEx) {
    // malURLEx.printStackTrace();
    throw new ProgrammingExceptionAdapter(malURLEx);
    shell.addDisposeListener(new DisposeListener() {
    public void widgetDisposed(DisposeEvent arg0) {
    File file = new File(exportFile);
    if (file != null && file.exists()) {
    file.delete();
    browser.dispose();
    shell.open();
    shell.setFocus()'

    TitiTruc, welcome to the forum. Please don't post in threads that are long dead. When you have a question, start your own topic. Feel free to provide a link to an old post that may be relevant to your problem.
    I'm locking this thread now.
    db

  • How to ge rid of 'Enhanced menu (web context menu) entry?

    Hi all,
    Though showing ALL needed web context menu items (main properties of web template) the 'Enhanced menu' entry is still showing.
    Did someone ever try to take it off?
    Rgrds,
    Mark

    Hi Mark,
    You need select "No Display"
    1 Goto VIEW Main Menu
    2 Select Properties
    3 Select the Relevant Report Name in Properties Widnow
    4 And goto WebItem TAB find out "Enhanced Menu" And give "NO Display"
    If u satisfy with this answer, pls give relevant points by clicking yellow button side

  • In BDCP table I am not getting any entries for EKKO,EKPO,EKBE,EKET,EBAN

    In BDCP table I am not getting any entries for EKKO,EKPO,EKBE,EKET,EBAN tables.
    But there are entries for many other tables.
    I have got objects for EKKO,EKPO,EKBE,EKET,EBAN tables from TCDOB tables.

    Hi Avishek,
       Let me explain the meaning of Change pointers.
    If you have entry in BDCP table for MARA, that means everytime a material is created in MARA table in one system, a corresponding Material is created in another system which is connected to the current system VIA ALE. and whenever you change that material in your source system, then the change is propagated to the target system also(If you have done the change pointer set up).
    The you do not have entries for other tables becuase the configuration for change pointers is not done for those Objects(In your case the change pointers are not defined for Purchase Orders and hence no entries in BDCP table).
    Regards,
    Ravi kanth Talagana

Maybe you are looking for

  • PreparedStatement space and empty String

    Hi, I have this problem: PreparedStatement bookedQtyPS = null; String qry="SELECT * from djwsearch where djwitem=?; bookedQtyPS = conn.prepareStatement(qry); if(item.equals(""){ //item is an empty String bookedQtyPS.setString(1," "); // I set space i

  • 3.6.10 is not starting on my MAC

    Firefox automatically started downloading the upgrade to 3.6.10. After restarting Firefox is not starting at all. The Firefox symbol jumps twice and then just ends.

  • IMAQ Find Edge shows straight edge beyond part

    Hello I am working on finding the sides of my simple part with the IMAQ Find Edge tool. To make it simple, I gave my image an extreme threshold with IMAQ Threshold manually set 0 - 230 so My part basically shows up Black against a white background. I

  • Total number of pages/templates in all the pagegroup

    Hi, Is there a way to count the number of Pages/page templates and likes in all the pagegroups? Thanks.

  • Trave & Expenses: Credit Card Imports - alternative app to WD Java

    Hi All, We've recently upgraded the portal from 7.0 to 7.4 and were using the Credit Card Imports WD Java application, which is not supported anymore since 7.3+ (SAP Note 1812863). I did take a look at the help site for T&E EhP2 and its not very obvi