Refresh the PanelGrid in  page not the whole page ...

Hi friends,
I have two frames in one page. Those are Left.faces and Right.faces. In the left.faces i have pangelGrid and stackbarGroup under stackbar. In the Right.faces i am having only dropDownList and command button.
Here my problem is , First i am selecting the value from the drop down list and click the command button in the Right.faces. That action should be reflected on Left.faces that means, selected value is captured by element current Reference Month which is in panel grid through refreshing the page Left.faces. But here i used stackbarGroup under the panel grid. While refreshing the page Left.faces the stackbargroup is compressed. I should touch only the panel grid not the stack bar group.
My code: Left.faces
==============
<f:view>
<h:form>
<h:panelGrid columns="2" styleClass="leftPanelTitle" cellspacing="5" style="width:100%" id="panelGrid" >
<h:outputText value="*Current Reference Month : "* />
<h:outputText value="*#{bottom_sess.displayMonthRef}*" style="font-weight:normal"/>
</h:panelGrid>
<ig:stackbar groupContentStyleClass="csStackbarGroupContent" groupExpandedStyleClass="csStackbarGroupExpanded" groupExpandedHoverStyleClass="csStackbarGroupExpandedHover" groupCollapsedStyleClass="csStackbarGroup" groupCollapsedHoverStyleClass ="csStackbarGroupHover" >
<ig:stackbarGroup text="Search Provision" rendered="#{not user_login.hideUserTeam}" >
<ig:link target="right" value="#{msg.search}" action="#{provision_search_action.clearSearch}" ></ig:link>
</ig:stackbarGroup>
<ig:stackbarGroup text="Add Provision" rendered="#{not user_login.hideUserTeam}" >
<ig:link target="right" value="#{msg.provision_book}" action="#{provision_book.clear}"></ig:link>
<ig:link target="right" value="#{msg.provision_trade}" action="#{provision_trade.clear}"></ig:link>
<ig:link target="right" value="#{msg.provision_atom}" action="#{provision_atomCode.clear}"></ig:link>
</ig:stackbarGroup>
</ig:stackbar>
Right.faces
==========
     <f:view>
<h:form id="form1" >
<ig:dropDownList id="selectMonthEndDropDown" dataSource="#{select_month.selectMonthEndList}"                     binding="#{select_month.selectMonthEndDropDown}" />
<h:commandButton type="submit" value="#{msg.change_month}" actionListener="#{select_month.addSession}" onclick="refreshPage()"/ >
</h:form>
</f:view>
Script:
=====
<script LANGUAGE="JavaScript">
function *refreshPage()*
*parent.frames["left"].location.href='Left.faces'* // page refresh
</script>
In Left.faces i got the value in the panel grid's component from the Right.faces . But stack bar group is compressed in Left.faces.
I am waiting for earlier reply.

Hi Zack,
Try the following under Report options.
1. Clear the check box of "Verify Stored Procedures on First Refresh" in the Main report.
2. Select the check box of "Verify on First Refresh" in  the sub report.
Hope this helps.

Similar Messages

  • Dashboard prompt Refreshes the whole page

    Hello Experts
    When i change a dashboar prompt on the dashboard, it refreshes the whole page instead of that one report where the dashboard prompt applies. How can i limit to just refresh or update only the reports it is suppose to instead of all the reports on the dashboard page. Please advise.
    Thanks
    Ravi

    I agree to what you are saying, in my case if i have 3 reports on the dashboard page only report is is prompted the other two reports are not, still those reports gets refreshed which means i get processing rotating clock on all the 3 reports even though the 2 reports dont change with the prompt selection and then all the report appears. It is just annoying for the users, so i just want that one report to update or refrsh and the other reports should stay still. Hope i am little clear this time.
    Thanks
    R

  • Refresh the whole page in one case in SPRY

    I have created login page in php, Using spry i posted the
    form in same page,getting response in div section i.e. <div
    id="response_form1" align="center"></div>
    when i supply wrong password the form submitted and error
    message appeared in <div id="response_form1"
    align="center"></div>.
    Now my question is that how can i achieve the whole page to
    be refreshed when i successfully authenticated.
    In other words
    i want the whole page to be changed in one case (redirect the
    whole page).
    and in other case response will be getting in DIV (Not whole
    page will be updated/posted).
    code of Login_ajax.php file is given below .
    login_form.php
    <?
    if(count($_POST)>0){
    $usrname=$_REQUEST['usrname'];
    $pass=$_REQUEST['pass'];
    $cmdlogin=$_REQUEST['cmdlogin'];
    //echo $usrname."<br>".$pass;
    if (file_exists('adm.os')) {
    $lines = file('adm.os');
    for($i=0;$i<count($lines);$i++){
    $auth=explode('||',$lines[$i]);
    $key=array_search($usrname,$auth);
    if(!is_int($key)){
    $msg = "<b>Error : <font color=Red>Username /
    Password not exists or correct ...</font></b>";
    }else if($auth[0]==$usrname &&
    $auth[1]==md5($pass)){
    header("Location: new.php");
    }else{
    $msg = "<b>Error : <font color=Red>Username /
    Password not exists or correct ...</font></b>";
    } else {
    $msg = "<b>Error : <font color=red>The file
    $filename does not exist</font></b>";
    echo $msg;
    }else{
    ?>
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html;
    charset=utf-8" />
    <title>Untitled Document</title>
    <link href="css/samples.css" rel="stylesheet"
    type="text/css" />
    <style type="text/css">
    .product {
    cursor: pointer;
    .hover {
    background-color: #FFFFCC !important;
    .selected {
    background-color: #CCCCCC;
    .style6 {font-size: 14px}
    .style7 {font-size: 12px}
    </style>
    <script src="js/xpath.js"
    type="text/javascript"></script>
    <script src="js/SpryData.js"
    type="text/javascript"></script>
    <script src="js/SpryUtils.js"
    type="text/javascript"></script>
    <script type="text/javascript">
    <!--
    // Callback function that will update the response_form1 div
    with the response that comes from the server
    function updateResponseDiv(req)
    Spry.Utils.setInnerHTML('response_form1',
    req.xhRequest.responseText);
    //-->
    </script></head>
    <body>
    <table width="100%" height="100%" border="0"
    align="center" cellpadding="0" cellspacing="0">
    <tr><td>
    <form name="form1" method="post" action="login_ajax.php"
    onSubmit="return Spry.Utils.submitForm(this,
    updateResponseDiv)">
    <table width="30%" border="0" align="center"
    cellpadding="0" cellspacing="0">
    <tr>
    <td height="25" colspan="2"> </td>
    </tr>
    <tr>
    <td height="25" colspan="2"><span class="style5
    style6"><strong>Administrator
    Login</strong></span></td>
    </tr>
    <tr>
    <td width="40%" height="25"><div align="right"
    class="style5 style7"><strong>Username
    :</strong></div></td>
    <td width="60%" height="25"><input type="text"
    name="usrname" id="usrname"></td>
    </tr>
    <tr>
    <td height="25"><div align="right" class="style5
    style7"><strong>Passwd
    :</strong></div></td>
    <td height="25"><input type="password" name="pass"
    id="pass"></td>
    </tr>
    <tr>
    <td height="25" colspan="2"><label
    for="cmdlogin"></label>
    <div align="center">
    <input type="submit" name="cmdlogin" id="cmdlogin"
    value="Login">
    </div></td>
    </tr>
    </table>
    </form>
    <div id="response_form1" align="center"></div>
    </td></tr>
    </table>
    </body>
    </html>
    <?}?>
    end login_ajax.php
    --------------------------------------------------------------

    quote:
    Originally posted by:
    NAVISD
    One embiguity i have your alteration to code makes sense but
    can you please clear me how PHP header("Location : new.php"); &
    $msg=true; communicate to javascript response function you have
    mentioned?
    Good point. It actually doesnt .. thats why it wouldnt work.
    I mixed the wrong functions with each other.
    Lemme think of someting..
    Found something, lemme edit
    First, U need to update your setInnerHTML function of
    SpryData with this:
    http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?forumid=72&catid=602&threadid =1306334&enterthread=y
    So just copy paste it over the old innerHTML function
    This function allows u to fireup javascripts true
    setInnerHTML..
    Than change this php code to:
    }else if($auth[0]==$usrname && $auth[1]==md5($pass)){
    header("Location: new.php");
    }else{
    TO:
    }else if($auth[0]==$usrname && $auth[1]==md5($pass)){
    $msg = "<script language="javascript"
    type="text/javascript">window.location="new.php";</script>";
    }else{
    What this basicly will do.. Is add the script inside the div.
    and executes it.. Seems a wierd work a round but it could work
    ^_^

  • Display error message without refreshing the entire jsp

    Hi,
    I want to display the server side error messages in the jsp without refreshing the entire jsp. How can this be achieved?
    I think there is some way with use of AJAX. If yes can you please elaborate on the same as to how to do this.
    Regards,
    Shwetha

    In the project it's presented:
    1) how the servlet can send JSON data depending on the request's parameter
    2) how to obtain this data on the client side and show in on the page using jQuery without refreshing the whole site
    What You need to do is just to send the error (as JSON data) insetad of the values that are passed now and display this error on the page.

  • Need to refresh the data

    Hi
    I am using Oracle8i Enterprise Edition Release 8.1.7.4.0 - Production
    I need to refresh the data in test box with the production database.
    I dont have the dblink. Please advise me the fastest method to refresh the data in test server.
    Regards,
    Ravi

    What do you mean by "I dont have the dblink" ? That you do not have access to the database ? OR that you do not have access to documentation on how to refresh a database ?
    If you need to refresh a schema alone, you could use Export-Import. If you need to refresh the whole database, I would advice using Backup and Restore -- either using scripted backups or RMAN.
    Note : If the application has setup tables that store database name, node name, port number etc, you will need to update those tables in the refreshed database (else they will still point to the production database !).
    You can access the 8.1.7 documentation from http://tahiti.oracle.com

  • Reg: Refresh the view

    How to refresh the webdynpro view dynamically.
    For eg: In some action i need to refresh the whole view and it shoud get initialised on refreshing dynamically.

    Hi,
    onAction() invalidate the node.
    Refresh View?
    Re: How to refresh a View?
    Regards,
    ramesh
    Edited by: Ramesh Babu V on Oct 22, 2008 6:40 PM
    Edited by: Ramesh Babu V on Oct 22, 2008 6:42 PM

  • AJAX Report Refresh  a_report- Condition for display not being validated

    Hi ,
    I have a report which has the following condition for dispaly:
    Exists(SQL query returs atleast one row) - SELECT * from temp1The query for the report is : select * from temp1 Now I have a button on the page and on click of the button I call the below Javascript :
    function f_insert_Temp_table(pTrans){
          var l_Return = null;
          var get = new htmldb_Get(null,$x('pFlowId').value,
                  'APPLICATION_PROCESS=temp_table_insert',206);       // ODP to insert into temp1
          get.add('TRANS_ID_ITEM',pTrans);
          gReturn = get.get('');
         //alert(gReturn);
         //$x_Show('6342610690289435');
         $a_report('6342610690289435','1','15','15');
    }Everything executes fine and the report refreshes the rows but the condition used for display doesn't get checked when I call $a_report() ...
    I can see the ODP execute successfully and row gets inserted into temp1 which means report condition is satisfied .
    If I remove the condition for the report, I can see the report getting refreshed and showing new rows through the $a_Report() call.
    Is there something that needs to be added to the script or $a_report call to validate the condition too ?Is there a way I can validate the region condition too ?
    Appreciate any suggestions/pointers here. I really do not want to refresh the whole page.
    Thanks,
    Dippy
    Edited by: Dippy on Feb 5, 2010 11:05 AM

    Hi Flavio,
    Thanks for your support.I figured where I was going completely wrong.
    Its just that when the page loads for the first time the temp table is empty and hence the report is not being displayed which simply
    means that the report id Im passing into the a_report function is not rendered on the page. Hence no matter what the temp table contains the report id is absent from the page.
    I fixed it as follows :
    Remove the condition for the report.
    Added and item and computed(P_Compute) its value using select count(*) from temp.
    Added an onload JS function which does a $x_Show('Report_Region') if P_Compute > 0 or $x_Hide('Report_Region') if P_Compute <0 .
    Now in my JS function which has an AJAX call to an ODP does an $x_Show('Report_Region').
    Flavioc : the query for my report is simple
    select * from tempIt finally dawned upon me that I'm trying to catch hold of an ID that's not rendered.
    So one issue is solved now the other part would be figuring out how to make $a_report work with pagination etc .

  • Refreshing a single portlet rather than the whole portal page

    Ok, here's my situation.
    I have two pdk portlets on my portal that communicate through page parameters. Portlet A has a bunch of search fields, a customer drop-down list, parts drop-down list, division, etc. Portlet B takes those parameters, queries the database, and displays the results. I would like to be able to refresh portlet B without reloading the whole portal page.
    I have onchange events on all of my drop-downs that will do a javascript post back to portal, which will in turn set my page parameters, and I see there is a 'refreshPortlet' function in a javascript file that portal provides that will refresh a single portlet based on a portletReferenceId. It is normally called when a refresh button is clicked in the portlet header, but I don't see any reason I can't call it after my javascript post, that is, if I had the portletReferenceId for the other portlet. I thought about making a hidden html table on the page that, I could fill with the portlet names and ids for each portlet as they load, that way I could reference that list from any portlet. The problem is I can't figure out where the ids are coming from. Based on the code behind the button, the function is looking for something like this 646_701285_646_1_701271, but the closest thing I can come up with is this 676114_POSTCONTENTPORTLET_467414915 which I got from PortletRenderRequest.getPortletInstance().getInstanceName(). As you can see, it's not even close. Does anyone know where the correct id could be coming from? It's got to be available to me somewhere, doesn't it?
    The only other option I can think of to accomplish my goal is to use straight up ajax to display portlet B, but that kind of defeats the purpose of portal doesn't it?
    Any help would be greatly appreciated.
    Thanks,
    Doug

    You can use Ctrl+F4 to close the current tab. I don't think that you can change the Alt+F4 action with Keyconfig.

  • Drop down selection is not refreshing the page data correctly

    I have a drop down menu for a CREATE DATE. The record is based on a Identification ID. This identification ID can be in our system for multiple CREATE DATES. The CREATE DATE drop down is populated by checking how many different CREATE DATES there are for a particular identification ID.
    The last identification ID looks great. It populates all the fields. However if you select an older CREATE DATE, the page does not get populated with that CREATE DATES data. The whole page even looks different. It looks like an older version of the page before I added all the new fields.
    What is causing the older CREATE DATES not to look like the current create date.
    Please let me know if you need any additional information. Thank you!!
    Pattibz

    Thank you for your reply. Here are some details. Please let me know if I am not giving the information you need.
    One page item called CREATE_DATE displayed as a Select LIST with submit. The source type is a database column called ID_IDENT. The ID_IDENT is just a
    The List of Values is: Named LOV is the Select Named LOV. The list of values definition is a query against a table in our database:
    select CRE_DT, ID_IDENT from IDENT_TABLE where UNIQ_ID = :P3_UNIQ_ID
    ORDER BY CRE_DT DESC
    This is the date on which the ID_IDENT data was created. The date is displayed in a pull down menu, which allows you to select from a list of available "as of" dates when viewing the data. Only data on the most recent ID_IDENT record may be manually altered.
    I have a UNIQ_ID = '34587443'. It acutally has records in the database with that UNIQ_ID. The only difference is the create date. On record of 345778 was done on 10/1/2008 and the current date 10/13/2008.
    I see these two dates in the CREATE_DATE pull down menu. This is fine. The drop down orders the dates by DESC so I have the lastest date on top fo the pull down.
    If I want to pick the date of 10/1/2008, I need go into the web page, open the Create Date pull down and select the older date.
    When I pick the older date 10/1/2008, the page does not look the same as the defaul tor oldest time date and numbers.
    The page is different and most of the data on the webpage is there.
    What should have happened is that I choice the newer date from the drop down, the page refreshes with the data from 10/1/2008
    and all the parameters are displayed from the date of 10/1/2008. It isn't only part of the fields are being populated and the page itself doesn't refresh to the look of the original page. Thank you.
    Edited by: pattibz on Sep 12, 2008 11:15 AM

  • Not printing the whole page

    the printer is not printing the whole page it is cutting the right side
    hp photosmart 7520

    My HP Photosmart model 5520 is only printing part of a page.

  • Is there a way to force adf to not refresh the page after a certain action?

    Hi Adf'rs
    Another question for ya.
    I'm not sure how possible this is? But I have piece of javascript code that runs after the adf page is loaded. I then execute something in my javascript when the user cliciks a NON ADF button (just an html button). At that point, adf is refreshing the entire page even though I don't want it to. Is there a way to tell adf not to do this?

    Hi Puthanampatt,
    Thank you soooo much!! That did the trick!! Now, when I submit my javascript, it only refreshes the components that my javascript manipulates, and that container does not reload!!!
    Thanks again!!!

  • How can I print only one or two pages, not the whole article?

    I just want to print one page not the whole article.  There is no provision for what pages to print.

    I don't know where they are in Word but the print dialog is standard throughout OSX and this seems logical enough.
    The only problem is the Paper Handling is hidden under Layout. But sort of makes sense.
    Peter

  • On Sympatico homepage, my local weather and news does not come up unless I refresh the page. But when I return to the homepage during the same session, local news/weather is gone again. Is this correctable?

    When I first open the browser and it goes my homepage, Sympatico.ca, there are 2 areas of the homepage you can personalize. On the left hand side "News" Column, the bottom box "Local News" allows you to select a location (Toronto, Ontario Canada for me) to display news from that area. On the far right hand column, below the advertising bar, is "Weather" where you select your city (Brantford in my case) and it will display the 4 day forecast in C or F degrees. Once you close the homepage the settings are saved. The problem is that when I leave the homepage to any other website, if I return to the homepage the weather and local news is back to the default setting of having to select the city again. I did find if I just refreshed the page, the personalized settings appear. I have Firefox 4 and it seemed to correct the problem when I installed 4 as the same problem had been occurring with my previous version of Firefox. But now it's back to having to refresh the page to get the saved location for local weather and news. My wife uses IE8 on the same PC and has not had this problem on her Sympatico homepage.

    aha!
    Wed Feb 14 12:29:16 2007
    PUSH:
    Received control message:
    'PUSH_REPLY,
    route 192.168.100.3 255.255.255.255,
    route 192.168.1.0 255.255.255.0,
    route 192.168.3.0 255.255.255.0,
    route 172.16.0.0 255.255.0.0,
    route 10.123.123.0 255.255.255.0,
    redirect-gateway,
    dhcp-option DNS 172.16.70.12,
    dhcp-option WINS 172.16.70.2,
    dhcp-option DOMAIN timberline.int,
    route-gateway 172.16.70.254,
    ping 10,ping-restart 120,
    ifconfig 172.16.70.216 255.255.255.0'
    The ifconfig line the server is pushing is not right. That is meant for a point to point connection. That is why the local client is puking on it...it is not correct. At least for a tun type device. If it was a tap, then it would be fine.
    http://openvpn.net/man.html
    (look for "--ifconfig l rn" )
    so.... change the line to dev tap, and then do this stuff..
    http://wiki.archlinux.org/index.php/OpenVPN_Bridge

  • Url used to show in the url box when opening from a shortcut or email, but now it's not there. If I refresh the page it is. How do I get this back the way I like it?

    The url of the website that I'm visiting used to show in the url box when I opened from a shortcut or email. But not it's not there unless I refresh the page. I've looked and haven't found a way to set this so that it works like it used to. I liked being able to click in the address bar and copy the link, or even to look there and see where I am.

    I'm unable to check it in safe mode because the only time it happens is when I click a link and have not firefox open. For example if I would click a link in my email right now, it would open in another tab and show the address of the link I clicked. But if I didn't not have this window open and clicked alink, it would open a new window and I wouldn't be able to see the url.
    Here's a screen shot.
    [http://chibitude.com/gallery/albums/userpics/10001/firefoxSSForAddressProblem.jpg firefoxSSForAddressProblem.jpg]

  • I am in Muse 2014.3. When I edit a page, in the preview everything looks fine, but when I upload it to FTP, the page does not change, even when I upload the whole site. Is this a bug? I don't know what to do.

    I am in Muse 2014.3. When I edit a page, in the preview everything looks fine, but when I upload it to FTP, the page does not change, even when I upload the whole site. Is this a bug? I don't know what to do.

    Hi Jaap,
    Are you sure about your FTP credentials (FTP folder and site URL) that you are using for the upload? Are you able to see the updated files in the remote directory of the FTP server, after you finish uploading the muse file, using an external FTP client like FileZilla?
    Thanks
    -Prashanth

Maybe you are looking for