How to refrash tabbed pane at a run time

hi,
I have no practice in using tabbed panes, and now I have to solve a little problem. I am running internal frame wich contains tabbedpane. The tab which opens by default contains combobox which reads its data from DB. But when I open internal frame no data exists in a combobox.
Since I change the tab and select back again the same tab data combobox reads its data. I tried to validate the tab but nothing changes.
Where is my fault?

The code that loads the data into the combo box is not being executed when you first create the internal frame. We can't tell you why since we have no idea what your code looks like.
So, trace the order of execution to see why the code is not executing.

Similar Messages

  • How to call the Application configuration in run time.

    hi guru,
    i have created two  Application configuraton   and it working fine.
    my question how to call the application configuration in run time.
    Example :
    Based on the user i want to change the Application Configuration.like Super user and Normal user.
    Advance thank's
    Regard's
    Vivekanathan.S

    Hi,
    Please try out this way-
    Have a look at this table -
    WDY_CONF_APPLU - (Customizing Data for Web Dynpro Applications).
    after you are done with the configuration--
    Ge the config id for the given application from this table. And depending on the user get an entry from this table and display accordingly.
    Please refer to these links -
    different default layouts for different CONFIG_IDs
    Get WDCONFIGURATIONID
    Regards
    Lekha

  • How to Hide the Parameter field at run time....

    Hi,
    I have a parameter field which behaves differently depending on the User logged in.
    It has the LOV coming from following SQL.
    SELECT customer_name FROM Cust_mast;
    If the user = 'INTERNAL' then the Where clause will be
    WHERE cust_id in('DELL', 'SBC', 'BANK')
    Else there will be no WHERE clause or the parameter field
    should be hidden in the parameter form.
    So my questions are:
    1) How to hide the Parameter field during Run time?
    OR OR OR
    2) How to change the LOV select statement during Run time?
    Thanks.
    Ram.

    Hi Ram,
    Is there any way to play with the sql query SELECT using DECODE ?I'm not sure of this part, maybe someone else can suggest a way.
    However, what you want can be done in 2 other ways:
    1. Build 2 reports. Both reports will just be duplicates of each other, only difference being that the 'LoV where clause' will be different. Now you can fire the appropriate report in many ways. For example, if the customer is alreay logged inside your custom application, and therefore you already know whether the user is internal of external, you can design your button or link which launches the report to contain logic such that one of the 2 reports is fired depending on who the user is.
    1. Use a JSP parameter form, not a paper parameter form In this case, just build an HTML parameter form in the web source of your report. Use Java logic to populate the LoV drop-down list. When you have to launch the final report, just launch the paper-layout of the report. For example (you will have to modify this):
    <form action="http://machine:port/reports/rwservlet?report=ParamForm.jsp+..." name="First" method="post">
    <select name="selected_customer" onChange="First.submit()" >
    <option value="">Choose a Customer Name
    <rw:foreach id="G_cust_id" src="G_cust_id">
         <rw:getValue id="myCustId" src="CUSTOMER_ID"/>
    <rw:getValue id="myCustName" src="CUSTOMER_NAME"/>
    <option value="<%=myCustId%>"><%=myCustName%>
    </rw:foreach>
    </select>
    </form>
    In the code above, you will have to make sure that your report's data model defines 2 CUSTOMER_ID's (like CUSTOMER_ID_INT and CUSTOMER_ID_EXT). These 2 will be internal and external Cust ID's. Use Java logic to show one of them.
    Navneet.

  • How to hide the Parameter field during Run time?

    Hi,
    How to hide the Parameter field during Run time?
    I have a parameter field which behaves differently depending on the User logged in.
    I am using reports 10G
    For ex: I have 3 field created in JSP
    CUSTOMER
    PROVIDER
    FROM DATE
    END DATE
    If the user = 'SUPER show all the parameter
    CUSTOMER
    PROVIDER
    FROM DATE
    END DATE
    If the user is 'GATEKEEPER" Just show
    PROVIDER
    FROM DATE
    END DATE
    Can I do that?
    Please help
    Thanks.
    KK

    hi, i'm not familiar much with JSP. but i think workaround is to create two window one which have 4 fields and the other which have 3. if user is SUPER then call the first screen otherwise if user is GATEKEEPER then call the second screen.

  • How can i set print mode at run time in smartforms???

    Hi expert,
    In smartforms how can I  set print mode at run time.
    I have one screen.In this screen one check box is there.If user select that check box then print should be come double side otherwise it is coming single side.
    If it is possible then plz give me answer asap.

    Hi,
    Set These settings
    While calling smartform, paas control_parameters and output_options as mentioned below and set
    user_settings = ' '.
    It will send the smartform output to spool.
    DATA: wa_output_options TYPE ssfcompop,
    wa_ctrl TYPE ssfctrlop.
    wa_output_options-tdimmed = 'X'.
    wa_output_options-tddelete = 'X'.
    wa_output_options-tdimmed = ' '.
    wa_output_options-tddest = 'LOCL'.
    wa_ctrl-no_dialog = 'X'.
    CALL FUNCTION lv_fm_name
    EXPORTING
    ARCHIVE_INDEX =
    ARCHIVE_INDEX_TAB =
    ARCHIVE_PARAMETERS =
    control_parameters = wa_ctrl
    MAIL_APPL_OBJ =
    MAIL_RECIPIENT =
    MAIL_SENDER =
    output_options = wa_output_options
    user_settings = ' '
    x_adrp = x_adrp
    IMPORTING
    DOCUMENT_OUTPUT_INFO =
    JOB_OUTPUT_INFO =
    JOB_OUTPUT_OPTIONS =
    EXCEPTIONS
    FORMATTING_ERROR = 1
    INTERNAL_ERROR = 2
    SEND_ERROR = 3
    USER_CANCELED = 4
    OTHERS = 5
    IF sy-subrc 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    Regards,
    Kumar(Reward if helpful).

  • How to use tab-pane-floating?

    What does "The styleclass is "tab-pane-floating" if the TabPane is floating" or "STYLE_CLASS_FLOATING" mean?
    Can "tab-header-area" and "tab-content-area" be used separately ? ( to put "tab-header-area" in a toolbox and "tab-content-area" elsewhere.)
    How can a button be put into "tab-header-area" ? ( "New Tab" button, like browsers have, for example).

    It seems that floating tabs mode and style are to be used when... floating (dragging?) tabpane. TabPane.STYLE_CLASS_FLOATING not only change some styles (see caspian.css) but also prevents ".tab-header-background" to be created.I don't think we are much closer to understanding the true purpose of the floating style for tabpane and would need somebody else to document it to elucidate it. I have sent a request to the JavaFX documentation team for a tutorial for TabPane, and hopefully they can provide example usage of the floating styles (and other TabPane features) there.
    newTabButton must then be translated in appropriate position, as if Side is TOP, LEFT,etc. and for *.tab-header-area do some -fx-padding to make room for newTabButtonStackPane.setAlignment(node, pos) may help with the translation and standard -fx-padding css for the button control can accomplish the padding.
    http://docs.oracle.com/javafx/2/api/javafx/scene/layout/StackPane.html#setAlignment%28javafx.scene.Node,%20javafx.geometry.Pos%29
    Of course, not for floating tabs since it uses ".tab-header-background" StackPane to layout newTabButt.Yeah, one of the reasons why using the css selectors to lookup nodes in complex controls for manipulation, is a bit of a risky strategy.
    Another solution : create a StackPane . Add TabPane on StackPane , and then add newTabButton (use LayoutX,LayoutY to put it in appropriate position ). In TabPane, make room for newTabButton by shifting .tab-header-area with some -fx-padding. Simpler but needs one extra StackPane .This solution seems more robust.
    I saw willow-browser before, as a starting point. For every tab, there is an (unused) "tab-content-area --StackPane". Yes, I did it that way because I wanted the tabs placed in a general navigation bar with forward and back buttons, location field and other controls in it (similar to IE9) and the pane layout for tabs didn't seem flexible enough for me to do that as it placed the panes directly under the tabs. The unused stackpane there is actually a zero height but with a width which forces the tabPane control to just become a set of tabs without content sized only to the width allocated in the UI for the tabs themselves, and not the real browser window content, then I just react on the tabs like buttons to swap in and out different webviews in a stack for the main browser display. In some ways this accomplished the decoupling of the tabs in tab headers from tab content in a seperate pane.
    I think that the real solution is to put the "new tab" button inside "tab-header-area". Perhaps, I found it easier just create a seperate new tab button and lay it out seperately from the tab header area. In addition to being easier, it also seemed more flexible, because then I could place the new tab button wherever I wanted in the UI rather than just directly next to the tabs in the tab-header-area.

  • How to select a sub image in run time

    Hi ,
    how can i select sub image from an image on panel in run time ?
    OR
    how to draw a rectangle(with dashed lines) on the panel and from its dimension i'll get the sub image ?
    THANKS

    BufferedImage.getSubImage(....);

  • How to add or remove tiles at run time

    We are in the need to create following functionality through mosiac:
         1) Add tiles in layout at run time by user.
         2) Remove tiles in layout at run time by user.
         3) Option for minimize-maximize any tile in layout at runtime.
         4) Whenever any tile is minimised or removed from the layout, its operation should not run while loading the tile.
         5) User may create a layout according to his wish using available tiles and this layout should persist for the user's session.
    Is it possible to create all above by using mosaic. If not, please tell me which options can not be created.
    I have gone through the sample code found on adobe site but those are too simple to explain my needs. If there are some other sample code(which can explain my requirement), please send me the links.

    1 + 2 is possible with Mosaic today. The ClientDashboard example (part of Mosaic standard samples) shows how a user can add tiles via a menu and remove tiles using the "x" close button in the tile chrome. Adding and removing tiles can be done through the Mosaic client API.
    3) Minimizing and maximizing tiles is not yet supported (but something high on our product backlog).
    4) When a tile is removed by the user it does not run anymore in the background
    5) If you define a dynamic layout (see the Client Dashboard example) the user can re-arrange tiles within the constraint of that defined layout and those changes can be persisted within the session as well as between sessions (user can save view). Users can not change the fundamental layout definitions defined for a panel (that needs to be done in the XML definition of the panel).
    Cheers,
    Matthias

  • How to prevent prompt to install CVI Run-Time Engine?

    The LabVIEW laptop for my client got messed up, so I spent several hours making it forget everything it ever knew about NI software.  I started by uninstalling all NI applications, then manually deleted all the folders that the uninstaller leaves behind, then ran a couple of registry cleaners to sweep out as much NI as possible, and finally ran regedit to see what was left.  In the end there were only some legacy drivers that regedit would not let me delete.
    Then I installed 8.6.1 from DVD, carefully selecting only the options we needed; LabVIEW core, cRIO, FPGA, PID, and the minimum set of drivers the installer would let me get away with.  Note that no Labwindows/CVI option boxes were checked.  When the installation was complete, I rebooted the machine and launched LabVIEW, which immediately prompted me to install the LabWindows/CVI 8.5.1 (not 8.6.1) Run-Time Engine.  I dutifully fed it my 8.6.1 DVD, which caused LabVIEW to crash.  After 3 reboot/retry cycles with the same result, I decided to appeal to the forum for help.
    What is causing LabVIEW to think I need the CVI Run-Time Engine (and a down-rev version, at that), and how do I convince LabVIEW that I do not?
    Jeff

    Thanks for the reply!  OK, so LabVIEW needs the CVI RTE even though I'm not using any CVI features.  I can live with that.  I downloaded LabWindows/CVI Run-Time Engine 8.5 from the NI web site and tried to install it.  After I confirmed that I accepted whatever that license agreement says, the installer told me that "No software will be installed or removed."
    Then I opened LabVIEW, and it went through the same "The feature you are trying to use..." popup and tried to install the CVI RTE.  The installation failed as usual, and LabVIEW crashed.
    A few minutes ago I found and ran CVTRTE.msi on the 8.6.1 distribution DVD.  I selected the "repair" option, which completed successfully.  After rebooting, I launched LabVIEW only to be greeted with the now-hated NI LabWindows/CVI 8.5.1 Run-Time Engine installer.
    The part of this that is so infuriating is that there appears to be no way for anyone to make a computer forget everything NI so you can start with a clean slate.
    Jeff
    Attachments:
    NoCanDo.jpg ‏28 KB

  • How to know the timings of the run time of thr report

    Hi,
    Can you please tell me how to know the run time of the query , i mean how much time it took for the query to dispaly the results .
    Also we have these queries in the workbook. How to refresh the work book . is it enough if i refresh the query.
    Thanks
    Sruthi

    Hi
    How can we check in RSRT tcode?
    And how can we do i RSRTRACE?
    Can  I know the procedure.

  • How to convert the value in GET RUN TIME statement in minutes value...

    Hello Experts,
    As I understand, the value that is being passed from GET RUN TIME FIELD statement
    is in microseconds. Now, how do I convert it in minutes value?
    Thank you guys and take care!

    This will give in Hours , minutes, seconds.
    data time type sy-uzeit.
    get time field time.
    write time.
    Check it.

  • How to change Content canvas size during run time?

    Hi All,
    I am using oracle 10g web forms and opening in Separate Frame. When I re-size the MID window, I want to change Content canvas size to window size. Is it possible to change content canvas size at run time? Even after using following statement it is not working.
    set_canvas_property('content_can', WIDTH, 200 );
    set_canvas_property('content_can', HEIGHT, 100 );
    Please help me.
    Regrads

    Francois,
    Yes, I have used messages, when get the current values (after setting new values) it shows right one but on the screen it is not accurate because
    it is going beyond the window size and it adding scroll bars. I am using window W&H minus some numbers. When I look at the help it says size in characters. How to set the Content canvas size in characters?
    Is it possible to change the Content Canvas size in Run time? Please help me.
    Regards.

  • Tab canvas disappears at run time

    Hi,
    I have a Content canvas with a data block displaying fields in the top section of the canvas_main. Bottom half of the canvas_main has canvas_tab with three tab pages tab1, tab2, tab3 all have data block (child records fo above block) each.
    At run time I can see the canvas main with its items but cannot see the tab pages.
    since I execute a query in WHEN-NEW-FORM-INSTANCE which is supposed to populate fields in canvas_main as well as child records in tab pages. I have inlcuded debug messages to see if tab page does appear or not. So the tab pages do appear and also display child record but tab canvas does not stay on the scree.
    Did try to use SHOW_VIEW('tab_canvas') without any luck.
    Any advice is greatly appreciated.
    Thanks

    Hi,
    a tab canvas is like a stacked canvas.
    Both canvas types disappear, when they lie over an item, with input focus. When you press next block / next item (when the items on the tab canvas belong to the same block) should display the canvas again. When this is true, I am probably right.
    Regards
    Hans

  • How do i measure my each blocks running time

    Hi, guys
    I am going to measure my each major blocks running time, the are totally five major blocks in my final VI, the last four of them were in a while loop
    Thanks
    Solved!
    Go to Solution.

    What exactly do you mean by a "block"?  Is it a subVI, LabVIEW primitive, some chunk of LabVIEW code?
    You can use multiple Tick Count functions.  If you place your code in a flat sequence structure with Tick counts in frames in between, you can subtract values from each other and get the relative time of each piece of code.
    Why are you worried about the execution time?  Are you having particular timing problems?  Most LabVIEW primitives will run so fast, you'll probably see no or very little change in the tick count before and after them.
    Here is an example to show how to measure the execution time for one section of code.

  • How can we stop communication channel at run time?

    Hi,
      I have a requirement where in we have to stop the JMS Sender communication channel in case the Receiver System is down. Could you please let me know how to stop the sender communication channel at run time.
    Thanks
    Rajeev Gupta

    Rajeev,
    Like Praveen Kumar said, I dont think there is an out of the box solution for this. But if you want to stop the communication channel, you could do it using a BPM.This solution is just something that came to my mind. It would be resource intensive to implement this. But here goes...
    Try to make the call to the Receiver System a synchronous call and have an exception branch in the block which has the synchronous step type. So if the Receiver System is down you would get an error in the Sync Step Type and it would go to the exception branch.Try to make a HTTP call from BPM to stop the communication channel. The URL for the HTTP call could be what Matias Denker suggested. This would stop the communication channel. This solution might however have two disadvantage that i foresee.
    1) It might stop the communication channel not only for system down but for any kind of synchronous error.
    2) Starting the communication channel has to again be a whole different process.
    Thanks
    Praveen M

Maybe you are looking for

  • Firefox won't display Courier

    Firefox 14 simply won't display Courier on my system. Every instance of Courier is replaced by Courier New, and it makes my website look improper (I want the aliased look of the original Courier font). Why won't Firefox 14 use Courier?

  • Adobe store has been broken for more than two weeks (trying to download Flash Lite 2.0)

    Maybe this is best classified as a 'departmental cross post',... I have been trying to download a purchase of Flash Lite 2.0 for a Nokia N70 phone for two weeks now, but the online store is broken. Unfortunately I've spent over two hours on hold, acc

  • E3200 USB storage - transfer very slow

    Hello The E3200 transfer rate I get is approximately 2.5MB/s ,  That seems very slow, especially with the n configuration, the USB3 hard drive I attached Is there a way to improve this? P.S.. I'm using the latest firmware 10.0.03 (build 9) Thanks

  • Additional search field in "Identify Account"

    Hi, We have CRM 5.0 system and in the IC for "Identify Accounts" the requirement is to add the field for organization so that the users can arrive at the customer by mentioning the organization name.  I am new to CRM . Can some one suggest me or prov

  • Checking for valid (and working) address

    (sorry if i posted in the wrong forum... i didn't found any that suits better my problem) that's the question: i have a string and need to check if it's a valid host name/ip address and also check if it's up and running at the moment. to solve the ho