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.

Similar Messages

  • Battery , time , signal strength bar is not getting displayed in home screen , these will be displayed only when i click on any app. Can u let me know the setting change ?

    Battery , time , signal strength bar is not getting displayed in home screen , these will be displayed only when i click on any app. Can u let me know the setting change ?

    Did you check the Zoom setting?
    Have you tried a reset (reboot)? Hold HOME and SLEEP until an Apple logo appears.
    If it isn't Zoom and a reboot doesn't help try Settings/General/Reset - Reset all settings

  • I cannot change the value in about:newtab from "newtab" to "blank." The dialog is displayed but when I click Ok, the value is not changed.

    I cannot change the value in about:newtab from "newtab" to "blank." The dialog is displayed but when I click Ok, the value is not changed.
    ===Answer===
    Comment on usual method and solution, by a forum Moderator.
    As long as there are no confounding factors, such as certain extensions, or a user.jsfile the procedure is as follows
    # Open a new tab and type "about:config" in the address bar.
    # In the Search bar type: "newtab"
    # Locate and double click "browser.newtab.url"
    # In the "Enter String Value" box change "'''about:newtab'''" to "'''about:blank'''" and click OK.
    # Verify that the value has changed and now all new tabs will be blank.
    See post under by ''pirate048'' [/questions/976589?page=2#answer-509482] ~J99

    Have to say that I rather agree with Mark..all we want is a simple, unadorned clean page that doe not track and show usage!! WHY NOT!! Is it too simple for developers..we aren't all (nor do we want to be!) software experts! Come on Mozilla..tidy up and clean up..it might be a quicker programme too!!

  • 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

  • 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

  • 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.
    .

  • Dynamic display coloumn by Button Click

    Hi All,
    In my View i had a group  Element ,there i created 5 UI elements like inputfields,textview,Linktoaction ..
    in the next row i had a Button "Add more".
    when i click that button i need to display the above 5 fields in a colounm.
    how can i get that coloumn?
    please provide any links/steps..
    Thanks,
    Raju.

    Hi,
    First create a node which has an attribute of type wdui_visibility.
    To each of the elements Visible property in the layout bind this node.
    In your onaction<button> method write the code
    call method lo_nd_visibility->set_attribute
        exporting
          value  = '02'
          name   = 'VISIBLE'
    '02' sets things visible, while '01' makes it invisible.
    Rewards if Helpful.
    Regards,
    Prosenjit.

  • How to display image when we click the mouse.

    Hi i am new java programming . And i need your help to slove my problem.
    I am asked to write a program which displays 2 images in a window.And when i click any one them ,that image should be displayed in a new window in full screen.Any kind of help is appreciated.Thanks in advance.

    We'd be glad to help, but first our prerequisites are that you post your current code and ask a very specific question concerning this code. These questions are answerable while "And i need your help to slove my problem." aren't. They're too overly broad to pin down.
    Much luck!

  • 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

  • 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.

  • 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

  • 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.

  • How to increase displayed rows when clicking RESULT tab

    Hi Experts,
    How do I increase the number of rows displayed in an Analysis report when you hit the RESULT tab?
    Right now, the default rows displayed in my current development is 'Rows 1 - 25'
    I want a bigger number. :)
    Thanks,

    Hi,
    try to use <MaxVisibleRows>500</MaxVisibleRows> this will apply entire application, if you just want to set particular report edit analysis--> table/pivot view properties and increase the no of rows display.
    Refer section
    18.3.1.2 Manually Configuring Settings for Data in Views
    http://docs.oracle.com/cd/E23943_01/bi.1111/e10541/answersconfigset.htm#r9c1-t2
    Thanks
    Deva

  • 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

  • Displaying Text When Button Pushed

    I am preparing a form in Designer with multiple check-boxes. The instructions for each check-box are so detailed that even an experienced user will occasionally want to review the detailed parameters. I would like to place a button next to each check-box which, when pushed, displays pdf or typed text of the relevant portion of the instructions (i.e. - every button would display a different pdf/text). Can this be done with a limited amount of scripting? Also, can the pdf/text be "embedded" into the form?

    Steven,
    We had a similar requirement for one of our forms. What we did was to create a multi line text field called additional_guidance.
    Then in the mouseEnter event of each field we had the following Formcalc:
    additional_guidance = "This is further information about this checkbox"
    On the mouseExit event we had:
    additional_guidance = null
    Alternatively, you could set up the root container as a flowed content. Then the checkboxes would be in a positioned content subform and subsequent fields in another positioned subform. In between these you would have a hidden invisible flowed subform which contains the notes in a text field or static text. This would appear or be hidden depending on mouseEnter events or click events on buttons.
    If you need to provide alot of detailed information in a formatted layout, then you could set up a page for each checkbox (or one page for all of the checkboxes) at the end of your form (e.g. called checkbox1_notes). You would set the presence to hidden. Then your button next to checkBox1 would have javascript like this in the click event:
    checkbox1_notes.presence = "visible";
    xfa.host.currentPage = xfa.host.numPages - 1;
    Remember to put a hide button on this help page with the folloeing javascript in the click event:
    checkbox1_notes. presence = "hidden";
    xfa.host.setFocus(xfa.form.form1.p1.checkbox1); //this would be the full reference for your object
    Good luck,
    Niall

Maybe you are looking for

  • Java and Reflection with java 1.5.06b

    My java programs no longer run after i upgraded to Java 1.5.06b. They rely heavily on java reflection, since the classes are loaded and instanced dynamically at runtime. I have set my classpath in my .tcshrc and it works on my linux/solaris boxes, bu

  • What does it mean when app on iPhone says waiting?

    some of my apps do not open and it says waiting.  What is wrong?

  • Is this how slow rendering is expected to be?

    I'm using a MBP (mid 2010) 2.8 GHz Intel Core i7 8 GB 1067 MHz DDR3 NVIDIA GeForce GT 330M 512 MB Mac OS X Lion 10.7 (11A511) Using FCP X  I decided to do a little test, because the performance in the project I'm working on is driving me nuts. In my

  • Safari crashes or pages load chaotically

    This is a question for my Mom who runs Safari 1.3.2 (v312.6) on her iMac which runs Mac OS X 10.3.9. Internet runs on Comcast cable access. Safari is really acting squirrely. Crashes often. ALWAYS crashes if YouTube is accessed. Even if it doesn't cr

  • ADS vs Polling

    hey, the new documentation states that there's three methods of transport (send data from the server to the client) as streaming, polling and long-polling. Each has its own positive and negative points. So the important thing to understand is that AD