When button clicked help

I have buttons for help, back, next, finish, cancel.
initially I have the back and finish buttons setEnable(false)
but when I click on Next button I want the Back button to be setEnable(true)
I wrote the following
//ActionListener for jButton_Next Of NavigationButtons Panel
newNavigationButtonsClass.jButton_Next.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent e) {
newNavigationButtonsClass.jButton_Back.setEnabled(true);
When I click on the jButton_Next the jButton_Back is not enabled. May I know what I can change in this to get this working. Thanks.

Is the code where you initially disable the button
getting called again somehow? I'd check to make
sure this code isn't getting called again after you
enable the button within actionPerformed.

Similar Messages

  • Download the PDF Form as a attachment when button click in BSP application

    Hi All,
    I have scenario, when button click in the BSP application PDF Form want to download in the IE (like one window open with Open,Save and cancel button).
    I have written this code:
    data: pdf type fpformoutput-pdf.
    < Logic for populate value to pdf field ....
    .>
    response->set_header_field(
                         name  = 'cache-control'
                         value = 'max-age=0' ).
      response->set_header_field(
                         name  = 'content-disposition'
                         value = 'attachment; filename=webforms.pdf' ).
      response->set_data( data   = pdf ).
    Once button is clicked pop up is opened and closed automatically because of browser or adobe reader issue.
    How can I resolve this problem ?
    In the IE i need to change any settings ?
    IE version = 7.0
    Adobe reader = 9.0
    I have tried in the same code with IE = 6.0 and adobe reader 8.1.2 its getting download the pdf form working fine.
    The same think i want in IE 7.0 and adobe reader 9.0, what needs to be done ?
    Regards,
    Boopathi M

    Hello Ravi,
    Best would be to bind the dataSource of the InteractiveForm ui element to the parent node containing the table's data. Then specify a name of a template to be created in the templateSource and hit <enter>. Some popups later, the system will have created a template from the structure of the context. All you need to do now is to drag&drop the data structure inside the template designer to the template itself. This will result in a table. Save, activate and return the Web Dynpro view. Don't forget to unbind the pdfSource and enjoy.
    Best regards,
    Thomas

  • Firefox crashes when I click help troubleshoot information, and it's not sending crash reports.

    Firefox crashes when I click help > troubleshoot information. It's also not sending crash reports. I really can't be any more specific or straightforward than I am being right now. I have reinstalled multiple times. I've tried the same thing in safe mode. Cache and history and cookies are cleared. Hardware Acceleration is disabled. All of it.

    Computer's clean, and this is my second clean uninstall and re-install of Firefox tonight.
    I'm not having this problem with Chrome.

  • I am getting an error message in my itunes account saying secure link to itunes store failed. When I click help it says there is not internet connection.

    From my itunes desktop I cannot access itunes. When I run the diagnostic it says Secure lik to itunes store failed.when I click the help button it says I am not connected to the internet. I purchased 25 songs last night on my Ipad and I am trying to sync them to my ipod on my PC.

    With those symptoms, I'd try the following document:
    Apple software on Windows: May see performance issues and blank iTunes Store
    (If there's a SpeedBit LSP showing up in Autoruns, it's usually best to just uninstall your SpeedBit Video Accelerator.)

  • Some affect on buttons when button click

    Dear All,
    I have 6 buttons in windows phone application page with Custom Control Template. I have also capture "Pressed" VisualState and change the button color which working fine.
    However when any button click then I want to hide a all other buttons for 2 seconds and keep this Pressed button (in Pressed visual state) visible only. Is there any way to achieve this goal in "Pressed" VisualState?
    I capture "Click" event of button and in this click, tried following codes
    btnNearest.Opacity = 0;
    btnInstructions.Opacity = 0;
    btnFavorities.Opacity = 0;
    btnServices.Opacity = 0;
    btnInformationi.Opacity = 0;
    Thread.Sleep(2180);
    this.NavigationService.Navigate(new Uri(sUrl, UriKind.Relative));
    However all buttons does not hide, but it looks when it navigate to new page then button hides but not during "Thread.Sleep".
    Is there any way to hide all buttons for just 2 seconds and keep Pressed button visible (in Pressed state)?
    Thanks in advance.
    M. Irfan

    Dear Vineet24,
    Thank you for your message. It was good work-around but I am afraid, it does not work for me. Actually I am using Custom Template of button so only changing Button color will not help in this case. Following is the custom template which I used
    on all buttons
    <phone:PhoneApplicationPage
    xmlns:vsm="clr-namespace:System.Windows;assembly=System.Windows"
    ........>
    <phone:PhoneApplicationPage.Resources>
    <ResourceDictionary>
    <Style x:Key="CircleButtonTextOnlyStyle" TargetType="Button">
    <Setter Property="HorizontalAlignment" Value="Center"/>
    <Setter Property="VerticalContentAlignment" Value="Center"/>
    <Setter Property="FontFamily" Value="/Fonts/DroidKufi-Regular.ttf#Droid Arabic Kufi" />
    <Setter Property="Foreground" Value="White" />
    <Setter Property="FontSize" Value="18" />
    <Setter Property="Template">
    <Setter.Value>
    <ControlTemplate TargetType="Button">
    <Grid RenderTransformOrigin="0.5,0.5">
    <Grid.RenderTransform>
    <CompositeTransform Rotation="-5.75"/>
    </Grid.RenderTransform>
    <vsm:VisualStateManager.VisualStateGroups>
    <vsm:VisualStateGroup x:Name="CommonStates">
    <vsm:VisualState x:Name="Normal"/>
    <vsm:VisualState x:Name="MouseOver">
    <Storyboard>
    <ColorAnimation Duration="0" Storyboard.TargetName="buttonPath" Storyboard.TargetProperty="(Path.Fill).(SolidColorBrush.Color)" To="#a9873c"/>
    <ColorAnimation Duration="0" Storyboard.TargetName="buttonPath" Storyboard.TargetProperty="(Path.Stroke).(SolidColorBrush.Color)" To="#a9873c"/>
    </Storyboard>
    </vsm:VisualState>
    <vsm:VisualState x:Name="Pressed">
    <Storyboard>
    <ColorAnimation Duration="0:10:59.9" Storyboard.TargetName="buttonPath" Storyboard.TargetProperty="(Path.Fill).(SolidColorBrush.Color)" To="#a9873c"/>
    <ColorAnimation Duration="0:10:59.9" Storyboard.TargetName="buttonPath" Storyboard.TargetProperty="(Path.Stroke).(SolidColorBrush.Color)" To="#a9873c"/>
    </Storyboard>
    </vsm:VisualState>
    </vsm:VisualStateGroup>
    </vsm:VisualStateManager.VisualStateGroups>
    <!--Data="M 10 20 L 70 17, 145 20, 110 130 70 128 50 130 Z"-->
    <Path x:Name="buttonPath"
    Data="M 5 20 L 80 23, 50 95 25 95 Z"
    StrokeThickness="40"
    StrokeLineJoin="Round"
    Stroke="#464646"
    Fill="#464646" />
    <ContentPresenter VerticalAlignment="{TemplateBinding VerticalContentAlignment}"
    HorizontalAlignment="{TemplateBinding HorizontalAlignment}"/>
    </Grid>
    </ControlTemplate>
    </Setter.Value>
    </Setter>
    </Style>
    </ResourceDictionary>
    </phone:PhoneApplicationPage.Resources>
    Thank you once again.
    M. Irfan

  • Make an object invisible when button clicked

    For my newspaper i am creating each page has a next button and a previous button. I have assigned the previous button on one page to attach the movie of the page previous to it and then tested my movie. However when i click the previous button the movieclip does load but loads behind the starting moveiclip. So what i want to do is when the previous button is cliked, that page (movieclip) with the previous button on its dissappears and the previous page loads.
    Thanks for any help.

    Hi,
    You obviously didn't read my post at all...
    Nagikun wrote:
    i no i made a mistake in that code as i pasted the wrong one it should have been:
    s_prev.addEventListener(MouseEvent.CLICK, attachMovieclip);
    s_prev.addEventListener(MouseEvent.CLICK, hidePage);
    function hidePage(event:MouseEvent):void {
    Page1.visible = false;
    function attachMovieclip(event:MouseEvent):void {
    var addPage0:Page0 = new Page0();
    addPage0.x= 0   
    addPage0.y= 0
    addChild(addPage0);
    were Page0 is the main page and Page1 is the page that needs to be invisible when the previous button is clicked
    function hidePage(event:MouseEvent):void {
    Page1.visible = false;
    Where are you declaring the Page1 variable here?????  You must include a statement such as:
    var myVar:Page1 = new Page1();
    and then you must add Page1 to the stage.
    Message was edited by: markerline

  • Display rows when button clicked

    Hi
    I have a few text fields in the jsp .
    After them, i have search button .
    When i click it, list of rows should be displayed
    underneath the search button in the same jsp/page .
    Any idea how can i do it?
    thanks
    chandra

    Sure, it can be done.
    Just have one file with your form and the jsp code to display results. Put the jsp code in a conditional loop (if submit == null). What this would do is that if submit is null, only the form will be displayed, else the form will be displayed and the results of the search will be displayed.
    Hope it helps.

  • Encountered error og-00609 when button click to display chart

    hi
    this application uses forms 6i client server environment, graph control is being used with og.interept libray,
    passing parameters run times thru forms to charts.
    issue is that, system is doing uncertain behavior sometimes it shows graph smoothly but when constantly click at button it shows "OG-00609: internal pl/sql execution error"
    when i close graph server and run form again, and click at button to shows charts it works properly untill shows above error again.
    below is the code is being used to run charts.
    begin
    declare
    pl_id ParamList;
    query0 varchar2(256);
    begin
    query0 := 'select deptno, sum(sal) from emp where deptno in( '||:dept1||','||:dept2||') group by deptno;';
    pl_id := Get_Parameter_List('tmpdata');
    IF NOT Id_Null(pl_id) THEN
    Destroy_Parameter_List(pl_id);
    END IF;
    pl_id := Create_Parameter_List('tmpdata');
    Add_Parameter(pl_id,'dept1',text_PARAMETER,:dept1);
    Add_Parameter(pl_id,'dept2',text_PARAMETER,:dept2);
    if :ch_type = 'pie' then
    og.interpret('e:\mas\emp2.ogd','g1',query0,true,pl_id);
    og.close('e:\mas\emp2.ogd','g1');
    elsif :ch_type = 'bar' then
    og.interpret('e:\mas\emp3.ogd','g1',query0,true,pl_id);
    og.close('e:\mas\emp3.ogd','g1');
    end if;
    END;
    end;
    thanks
    i'd be appreciated on early reply.
    ali

    Metalink Note: 1078734.6
    Problem Description:
    ====================
    You are integrating forms and graphics. You are using the og.interpret which comes with the og.pll, to update a chart.
    You are using:
    OG.INTERPRET('graph.ogd', 'chart', 'DO_UPDATE;', TRUE, pl_id);
    You get the following error during runtime.
    OG-00609 INTERNAL PL/SQL EXECUTION ERROR
    Problem Explanation:
    ====================
    1.The procedure(Do_Update) that you are referencing does not exist in the graph(.ogd file).
    2. There is a bug if you are trying to specify .ogr as extension in
    your graph name or no extension.
    Solution Description:
    =====================
    1. Make sure that the name of the procedure that you are using in the
    OG.INTERPRET, exists in the graph file. DO_UPDATE is not a
    built-in procedure.
    2. The name of the graph should have the .ogd extension only. If you
    give a .ogr extension or no extension, it would give you an error.
    .

  • Stopping audio and starting another audio when button clicked

    Hello,
    I have a multiple slide document, and I want sound to stop
    when they click the "Next" button, and another audio clip to start.
    Here is what I have so far:
    //audio
    x = new Sound();
    x.attachSound("Slide1");
    x.start(0, 0);
    musicplay = true;
    forward_btn.onRelease = function() {
    gotoAndStop("2");
    numbering eq numbering++;
    So I just want it to play audio clip "Slide2" when they click
    forward_btn, and I want "Slide1" to stop.
    Thanks!

    Attach your second sound file to the frame that will play the
    second sound. Then try adding stopAllSounds() before the
    gotoAndStop("2"); to get the first sound to stop playing and then
    play the second sound.

  • ITunes opens when I click help in Power Point

    I was changing format on a video and now anytime I click help in MS Power Point, iTunes opens.  Help!

    There is a bug with syncing that causes iTunes to crash at the end of a sync, or at the end of it's communcations with whatever device that you would sync with. If you remove your device from the dock, you should be able to use iTunes, but you won't be able to sync until Apple fixes the problem.

  • Lightroom 5.6 stops working when I click Help Lightroom Online...

    I recently installed Lightroom CC 5.6 64-bit for the first time, in Windows 7, and the very first menu item I clicked (Help > Lightroom Online...) caused the following error to happen. (see photo, below).
    Any suggestions on how to make this problem go away?
    The issue is 100% repeatable, and forces me to close and re-open the Lightroom program each time. I have not yet tried all of the other functions to check their behavior, except for Help > Lightroom Help... which worked as it should.

    No help with those. Actually I tried same thing on my HP Envy Laptop and it gives slightly different response. This is a screenshot after clicking.
    I wonder why someone indicates this "correct answer" cos there is not yet my respons of solving this problem? In both computers I only use Administrator account and Lightroom still continues this behavior even if I got fresh account. And ofcourse that can't be a solution in problem witch does not repeat any other application.
    Regards
    Sami

  • Show chart region when button clicked??

    Hi All,
    i'm using apex 4.0
    initially i want to hide chart region,when clicked on button i want to show chart region...
    i have tried Dynamic actions ,show/hide but no hope...
    any one help me on this.. :)
    thanks in Adv.

    1. Firstly, make sure that the Chart region has a region template.
    2. If you don't want to use Dynamic Actions try something like the following:
    In the Region Definition set the Static ID = chart
    set the Region Attributes => style="display:none;"
    for the button set the URL = javascript:$("#chart").show();
    Cheers
    Shunt

  • Problem setting a hidden item value when button clicked with dynamic action or pl/sql process

    Apex 4.1
    Oracle 11g
    I have a page that consists of a main region and several sub regions.  I have a pl/sql process in After Header SET_DISPLAY(:P400_DISPLAY :='MAIN';)
    Three subregions have a contional display where P400_DISPLAY = STORE.  This works in hiding the sub regions.
    Now I want to change the P400_DISPLAY value to STORE to show the subregions when I hit a button.
    I tried creating a dynamic action for on click of the add button but get the following error:
    The selected button uses a 'Button Template' that does not contain the #BUTTON_ID# substitution string
    I went to the templates and found:
    Substitution Strings
    Substitution strings are used within sub templates to reference component values. This report details substitution string usage for this template.
    Substitution String
    Referenced
    From
    Description
    #LINK#
    Yes
    Template
    To be used in an "href" attribute
    #JAVASCRIPT#
    No
    To be used in an "onclick" attribute
    #LABEL#
    Yes
    Template
    Button Label
    #BUTTON_ATTRIBUTES#
    No
    Button Attributes
    #BUTTON_ID#
    No
    Generated button ID will be either the button's Static ID if defined, or if not will be an internally generated ID in the format 'B' || [Internal Button ID]
    I then tried creating a page process, pl/sql, :P400_DISPLAY :='STORE'; when the appropriate button is pressed.  The button action is submit page. However, it does not change the P400_DISPLAY value and the subregions stay hidden.
    Suggestions please on how to fix the template or change the P400_DISPLAY value?

    The root issue is that, although you change the value of your page item, it isn't visible to other areas of the page until it is in the session. So, any other action based on the value of your page item; the visibility of a control, a report based on the item's value, etc. will all be unaffected by changing the value of the page item until it has been changed in the session. Even after this the items are stored in the session, you must thereafter do something to cause the value to be reevaluated. To see the effect of this, observe that your page loads and evaluates the value of your page item, it sees that is "MAIN" and hides the regions. However, it doesn't reevaluate them after this.
    So; your choices to get this value set in the session are to either Submit the page, or use JavaScript to set the value in the session. If you use the latter of these, you'll have to do some further work to cause the visibility tests to be re-run, So, let's stick with with the submit method.
    What you've done above sounds correct for this but, there are a lot of decisions you could have made that might have caused things not to happen in the correct sequence.
    Firstly, let's confirm that what I describe above is your problem. From the development environment, load the page, click the button to change the value and submit. Now, click the link labelled Session. Is it still set to MAIN? If so; this is your issue.
    Let's start with the your After Header computation. Did you set it to *only* run if the current value of your page item is NULL??? If not, that's your problem.
    Load Page -> Item set to 'Main' by Computation -> Click Button -> Item set to STORE -> Submit -> Load Page -> Item set to 'Main' by Computation
    See the problem?
    Assuming this isn't the issue, you created a Branch to the same page, right? What is your process point for the Branch? Is it *After* Validation, Computation etc? Because if not, you aren't changing the value before the submit happens.
    I bet it is the first issue but, take a look at these.
    Cheers,
    -Joe

  • Exception occurs!! when button click

    Hi.,
    I am using jdev 11.1.5
    I had created a jspx page in the master from and table detail
    I had draaged a af:button and named it as post
    In the action listner i had wrote the code as
        public void cb5_actionListener(ActionEvent actionEvent) {
                       BindingContainer bc = this.getBindings();
                OperationBinding op = bc.getOperationBinding("recintGlJrnlHd");
                Object r = op.execute();
    In the AMimpl Method i had write the code as
        public void recintGlJrnlHd(List selectedRowIndexs){
            ViewObjectImpl vo = this.getGlJrnlHd1();
            Row newRow = vo.createRow();
            ViewObjectImpl c1 = this.getCursorC1_1();
            Row cr1 = c1.getCurrentRow();
            newRow.setAttribute("GjhBu", cr1.getAttribute("GrhBu"));
            newRow.setAttribute("GjhPlant", cr1.getAttribute("GrhPlant"));
            newRow.setAttribute("GjhJrnlType", cr1.getAttribute("GrvlJrnlType"));
            newRow.setAttribute("GjhJrnlNo", cr1.getAttribute("GrvlJrnlNo"));
            newRow.setAttribute("GjhJrnlSfx", cr1.getAttribute("GrhJrnlSfx"));
            newRow.setAttribute("GjhJrnlDate", cr1.getAttribute("GrhJrnlDate"));
            newRow.setAttribute("GjhYear", cr1.getAttribute("GrvlYear"));
            newRow.setAttribute("GjhPeriod", cr1.getAttribute("GrvlPeriod"));
            newRow.setAttribute("GjhDesc", cr1.getAttribute("GrhDesc"));
            newRow.setAttribute("GjhAppl", "GLM");
            newRow.setAttribute("GjhReversal", "N");
            newRow.setAttribute("GjhStatus","N");
            newRow.setAttribute("GjhCreBy", "NULL");
           newRow.setAttribute("GjhCreDate", "NULL");
            newRow.setAttribute("GjhUpdBy", "NULL");
            newRow.setAttribute("GjhUpdDate", "NULL");
            this.getTransaction().commit();
        }when i press the button an Null Pointer EXception occurs
    at
    Object r = op.execute();can anyone help me to resolve this issue

    did you add recintGlJrnlHd method into bindings section in your page definition file?

  • Jtable row sellect when button click

    Hi friends;
    i want select the row while i clicking the button.
    table has five many rows.if i click button first when first row will select. And defaultly select secon row when second row selection is done.Like this it will happen for all row.
    By
    Subash Chandra Bose.
    [email protected]

    Quit creating multiple postings under two different ID's:
    http://forum.java.sun.com/thread.jspa?threadID=746852&tstart=0

Maybe you are looking for

  • How to send ALV report Output through mail in background !

    Hi , I had an ALV Report. I want to send this report output to patricular email id every day ! Presenty i do this manually. I run the report and send the output to the particular email address. Now i want to schecule the report daily in background an

  • [SOLVED] recommendation for a text editor that can handle 25mb+ files?

    Not sure where to put it, so I put it her (if it's not the right place, can someone please move it.. thanks!) I'm building a database of about 60,000 files in folder X. I'm using php to organise all the files and clean them up (for exmaple removing "

  • 3G Ipod Touch won't turn on...

    I have a 3G Ipod Touch and it will not do ANYTHING. I've had it since 2009 christmas I think. I tried to update it on iTunes so that I could sync new songs that my brother had on his 4G iPod Touch. Once I tried to update it, it said I had to restore

  • Contact fields mapped to NOKIA 6230i

    What version of Windows is being used? Windows XP What Service Pack is installed? SP2 What version of PC Suite is installed? 6.82.22 What is the connection method, cable, bluetooth or IR : IR General Outlook synchronisation question... I was used to

  • My purchased music on ipad is not showing up on iphone

    I bout music on my ipad but its not showing up on my iphone like it says it should thru icloud. Everything was set up correctly but no music on iphone! :-( what do I do?