Refresh UIX Page from DataForwardAction

Version: JDeveloper 9.0.5
How would I go about refreshing my uix page after returning from a Struts DataForwardAction?
Why do I want to do this? I am setting a session variable based upon some code in the DataForwardAction. I have a button on the uix page that reads the value of the sessionScope variable and is either rendered or not rendered on the page. Currently, the design works, with the exception that I have to click the browser refresh in order for my page to read the new value on the session.
Any help will be greatly appreciated.
Thanks,
Connie

Steve,
Thanks for asking!
My uix page has the following code:
<tableSelection>
  <singleSelection model="${bindings.MyViewIterator}" >
     <!--     <primaryClientAction>
       <firePartialAction targets="_uixSate" source="MyView139" event = "select" />
     </primaryClientAction>-->
     <primaryClientAction>
       <firePartialAction targets="_uixSate" source="MyView139" event = "rowSelect" />
     </primaryClientAction>
     <contents>
        <submitButton id="PageUpdateBtn" name="PageUpdateBtn" text="Update" event="update" rendered="${sessionScope.RenderPageUpdateBtn" />
        <submitButton id="PageReviewBtn" name="PageReviewBtn" text="Update" event="update" rendered="${sessionScope.RenderPageReviewBtn" />
        <submitButton text="Delete" model="${bindings.Delete}" id="Delete8" event="action" rendered="${sessionScope.RenderDeleteBtn}"/>
     </contents>
   </singleSelection>
  </tableSelection>My DataForwardAction has the following code:
public void setSelectedRow(DataActionContext ctx) {
  JUIteratorBinding iter = (JUIteratorBinding)ctx.getBindingContainer().findIteratorBinding("MyViewIterator");
int iterRow = Integer.partseInt(ctx.getHttpServletRequest().getParameter("MyView139:selected"));
  iter.setCurrentRowIndexInRange(iterRow);
public void onRowSelect(DataActionContext ctx) throws Exception{
  setSelectedRow(ctx);
   //code to determine how to set buttons
   // if have ability to update this record then
   session.setAttribute("RenderPageUpdateBtn","true");
   session.setAttribute("RenderPageReviewBtn","false");
   session.setAttribute("RenderDeleteBtn","true");
   // else
   session.setAttribute("RenderPageUpdateBtn","false");
   session.setAttribute("RenderPageReviewBtn","true");
   session.setAttribute("RenderDeleteBtn","false");
}Any ideas?
Thanks!
Connie

Similar Messages

  • HOW TO PASS A PARAMETER TO UIX PAGE FROM APPS' FUNCTIONS FORM?

    Hello,
    We created a form function (in Sys Admin resp) for a UIX page. The Type field
    is 'SSWA plsql function that opens a new window (Kiosk Mode)'. The HTML Call
    field is 'POBarCode.uix'.
    We have to pass the username (who logs in) to the UIX page. If we pass it
    literaly, (e.g. POBarCode.uix?MyParam1=BBASTIN), it works. We tried following
    two options to pass it as a variable in HTML Call field:
    POBarCode.uix?MyParam1=fnd_profile.value('USER_ID')
    POBarCode.uix?MyParam1=$PROFILE$.USERNAME
    Both variable show up as is in the UIX page. How can we pass the username as a
    variable on tHe HTML Call?
    Thanks, Ali.

    Hi guojun yu,
    As per my understanding, you use parameters related to country and office UI langs as search condition in the report, you want to provide part of countries/office UI langs values as values of parameter, then all records will be displayed in the report.
    In Reporting Services, parameters are used to filter data, after we selected values of parameter and preview the report, only data meets search condition will be displayed in the report. To display all records in the report, we need to use all values of
    countries/office UI langs as values of parameter. For detail information, please refer to the following steps:
      1. Create separate dataset for each parameter with the query like below:
    Select distinct CountryRegion from TableName
      2. In design mode, right-click Parameters and click Add Parameter.
      3. In Parameter Properties dialog box, in name and prompt text box, type CountryRegion. Select Allow multiple values.
      4. Click Available Values in left pane, select Get values from a query, select dataset from drop down list, select CountryRegion from Value field and Label field drop down list.
      5. Create parameter @OfficeUiLang, @OsLocale, @IsMobile like step1 to 4 above.
      6. Modify the stored procedure used to retrieve data for the report like below:
    SELECT *
    FROM AggregateDataByDate AllSessions
    WHERE UserID != 'NULL'
    AND CountryRegion in @CountryRegion
    AND OfficeUiLang in @OfficeUiLang
    AND OsLocale in @OsLocale
    AND IsMobile in @IsMobile
    AND [UsageDate] >= @DataCutOffDate
    For detail information about Adding a multi-value parameter to a Report, please refer to the following document:
    https://msdn.microsoft.com/en-us/library/dn385719%28v=sql.110%29.aspx?f=255&MSPPError=-2147217396
    If you have any more questions, please feel free to ask.
    Thanks,
    Wendy Fu
    Wendy Fu
    TechNet Community Support

  • Why does'nt refresh UIX page after executeQuery?

    I have UIX page
    and
    DCIteratorBinding iter = actionContext.getBindingContainer().findIteratorBinding("PrcCalendarsView2Iterator");
    iter.executeQuery();
    executeQuery method in prepareModel
    but UIX page dos'ent refresh
    why?

    Is the [F5] key the equivalent of clicking on the browser's "Refresh" button in the browser toolbar?
    You have the source for DataAction.java. If you set a breakpoint on handleLifecycle() you should be able to understand why it's not getting into prepareModel().
    It should normally go in there each time the page is rendered, assuming it has a binding container.
    Does my example on my blog work correctly with [F5] ?

  • How do you refresh the page from an action

    Hi,
    I have a page in portal 8.1 containg 6 different portlets. 1 of these
    portlets listens to another, and when called sets a property in a session
    property set. This property is used in a rule so that depending on this rule
    some portlets are only shown (via entitlements) for some values of the
    property. This works fine except for the fact that when pressing the link
    that calls the action in the listening portlet the entire page is not
    refreshed, so the portlets are only replaced whith the next press on a link
    or a page refresh. Now the question is: How do I call an action that
    forwards to a new jsp and at the same time refreshed all the page.
    /Steen

    I think I am doing as you suggest at the moment, by having my action return
    a Forward object , which then calls another action which goes to the jsp.
    This works but is somewhat roundabout, and also I seem to have to use the
    desktop url, which ruins developing in .portal mode (not a big deal since
    entitlements doesn't work there either). However I would like to build my
    url dynamically, but I have not been able to find a way to get the current
    desktop pragrammatically. I can see on this list that others have asked
    about getting the desktop url from a pageflow but without reply, so I had
    hoped there would be another way of refreshing the page.
    /Steen
    "Phil Griffin" <BEA> skrev i en meddelelse
    news:[email protected]..
    Steen,
    If the result of processing changes which pages should be shown, you
    must force those entitlements to be reevaluated by (restarting therequest)
    redirecting the user back to the portal. Otherwise, only the resourceswhose
    entitlements haven't been evaluated to this point (like portlets) will be
    effected on the same request.
    -Phil
    "Steen Larsen" <[email protected]> wrote in message
    news:[email protected]..
    Hi,
    I have a page in portal 8.1 containg 6 different portlets. 1 of these
    portlets listens to another, and when called sets a property in a
    session
    property set. This property is used in a rule so that depending on thisrule
    some portlets are only shown (via entitlements) for some values of the
    property. This works fine except for the fact that when pressing the
    link
    that calls the action in the listening portlet the entire page is not
    refreshed, so the portlets are only replaced whith the next press on alink
    or a page refresh. Now the question is: How do I call an action that
    forwards to a new jsp and at the same time refreshed all the page.
    /Steen

  • Refreshing parent page from an IFRAME - javascript?

    Hi
    I have an IFRAME embedded in a jsp page. In the IFRAME, a user gets to submit a form, after which I need it to call the parent jsp page to refresh itself. The JSP page has a table with values from the database and needs to be refreshed to reflect the new form submitted to the database.
    I believe i'll need to use javascript for this, since I'm not using struts, or action classes.
    can anybody help out, with code samples? I've tried searching on google, but most examples are incomplete. If anyone has a link to it I'll be very grateful.
    Thanks

    well to refer to the parent frame, from the javascript panel I believe you can just access window.parent.
    so window.parent.location.reload() should do it.
    However reloading the parent window, will also reset the iframe. If you are going to reload the parent frame anyway, you could potentially submit to it instead of your iframe form by using a target="_parent" on the iframe's form.
    Hope this helps,
    evnafets

  • Show errors on UIX page from Java code?

    Hello all:
    I've got a simple Login page in Jdev 10g (9.0.5.2) that I'm setting up. The basics work fine -- if I type in a valid login/password, it works. If I type in an incorrect login/password, it loops back to the login page. The problem is that I can't seem to get my Invalid Login error message to appear.
    The loginPage.uix is based on a template. The template contains the following code:
    <messages>
    <messageBox automatic="true" />
    </messages>
    as a named child inside a <pageLayout> UIX node. The login page is:
    <?xml version="1.0" encoding="windows-1252"?>
    <page xmlns="http://xmlns.oracle.com/uix/controller"
    xmlns:ui="http://xmlns.oracle.com/uix/ui"
    xmlns:ctrl="http://xmlns.oracle.com/uix/controller"
    xmlns:html="http://www.w3.org/TR/REC-html40"
    xmlns:pas="http://www.paslists.com/pas/templates"
    expressionLanguage="el">
    <templates xmlns="http://xmlns.oracle.com/uix/ui">
    <templateImport source="pasPageLayout.uit"/>
    </templates>
    <content>
    <dataScope xmlns="http://xmlns.oracle.com/uix/ui"
    xmlns:data="http://xmlns.oracle.com/uix/ui" >
    <contents>
    <document>
    <metaContainer>
    <!-- Set the page title -->
    <head title="PAS Login Page"/>
    </metaContainer>
    <contents>
    <body>
    <contents>
    <pas:pasPageLayout selectedGlobalHeader="3">
    <contents>
    <stackLayout>
    <contents>
    <spacer height="10"/>
    <styledText text="Please enter your Web ID and Password, then press the Log In button."/>
    <spacer height="10"/>
    <flowLayout>
    <contents>
    <styledText text="If you don't have an ID, please send an e-mail to our "/>
    <link destination="mailto:[email protected]" text="Web Administrator" />
    <styledText text=" requesting one."/>
    </contents>
    </flowLayout>
    <spacer height="10"/>
    <form name="loginForm" method="POST">
    <contents>
    <labeledFieldLayout labelWidth="25%" fieldWidth="80%" columns="2" width="80%" >
    <contents>
    <messageTextInput prompt="ID:" name="username" columns="20" />
    <messageTextInput prompt="Password:" name="password" secret="true" columns="20" />
    </contents>
    </labeledFieldLayout>
    <rowLayout hAlign="right">
    <contents>
    <submitButton text="Log In" formName="loginForm" event="goLogin"/>
    <spacer width="10" />
    <resetButton text="Reset" formName="loginForm" />
    <spacer width="10" />
    </contents>
    </rowLayout>
    </contents>
    </form>
    </contents>
    </stackLayout>
    </contents>
    <start>
    <flowLayout>
    <contents>
    <sideNav selectedIndex="0">
    <contents>
    <link destination="login.do" text="Logging In"/>
    <link destination="logoff.do" text="Log Off"/>
    </contents>
    </sideNav>
    </contents>
    </flowLayout>
    </start>
    </pas:pasPageLayout>
    </contents>
    </body>
    </contents>
    </document>
    </contents>
    </dataScope>
    </content>
    <handlers>
    <!-- Add EventHandlers (<event> elements) here -->
    <event name="goLogin">
    <go name="login"/>
    </event>
    </handlers>
    </page>
    My Java code is:
    public class LoginAction extends DataAction
    public void findForward(DataActionContext actionContext) throws Exception
    HttpServletRequest request = actionContext.getHttpServletRequest();
    HttpSession session = request.getSession();
    ActionErrors errors = actionContext.getActionErrors();
    String target = "fail";
    //Get the result of the Model Method Call
    JUCtrlActionBinding method = actionContext.getCustomMethod();
    boolean successfulLogon = ((Boolean)method.getResult()).booleanValue();
    Integer attempts = (Integer)session.getAttribute("loginAttempts");
    int intAttempts = 0;
    if (attempts != null)
    intAttempts = attempts.intValue();
    if (!successfulLogon || intAttempts > 3)
    // If the Logon fails we need to do the follwoing
    // 1. Increment the counter. Once this exceeds 3 any logon will fail
    // 2. Create an error message to display on the logon screen.
    // Be sure that this is non-specific so crackers can't tell if
    // a portion if the username is correct or that there is a
    // Max attempts value.
    session.setAttribute("loginAttempts",new Integer(++intAttempts));
    errors.add("InvalidLogin",new ActionError("loginerr.invalid"));
    actionContext.setActionErrors(errors);
    else
    session.setAttribute("loginStatus", new String("true"));
    target = "success";
    actionContext.setActionForward(target);
    This goes to a "success" actionForward if the login works and a "fail" actionForward if the login fails.
    My ApplicationResources.properties file contains:
    loginerr.invalid=Invalid username/password. Please try again.
    This matches up with the key I used in the new ActionError() statement above.
    My structs-config.xml for this section looks like this:
    <action path="/mainAction" className="oracle.adf.controller.struts.actions.DataActionMapping" type="oracle.adf.controller.struts.actions.DataAction" name="DataForm">
    <set-property property="modelReference" value="loginUIModel"/>
    <forward name="success" path="/loginPage.do"/>
    <forward name="login" path="/loginAction.do"/>
    </action>
    <action name="DataForm" path="/loginAction" className="oracle.adf.controller.struts.actions.DataActionMapping" type="com.paslists.view.LoginAction">
    <set-property property="modelReference" value="loginUIModel"/>
    <set-property property="methodName" value="loginUIModel.login"/>
    <set-property property="resultLocation" value="${requestScope.methodResult}"/>
    <set-property property="numParams" value="2"/>
    <set-property property="paramNames[0]" value="${param.username}"/>
    <set-property property="paramNames[1]" value="${param.password}"/>
    <forward name="fail" path="/mainAction.do"/>
    <forward name="success" path="/getHomePageAction.do"/>
    </action>
    <action name="DataForm" path="/loginPage" forward="/loginPage.uix" validate="false"/>
    mainAction has a success forward to loginPage.uix. loginPage.uix has a "login" event attached to the submit button, which forwards to loginAction. loginAction executes the code declaratively and forwards to success or fail. If success, it continues on. If fail, it loops back to mainAction.
    Again -- this all works (almost). The only thing that does not work is that my ActionErrors() are not displaying on the web page.
    What am I doing wrong here?

    Solved my own problem. See the following thread for the answer:
    Displaying Struts messages/errors in 10g
    I modified my error code to be:
    actionContext.getActionErrors().add(ActionErrors.GLOBAL_ERROR,new ActionError("loginerr.invalid"));
    this.saveErrors(request,actionContext.getActionErrors());
    I modified my template to contain:
    <struts:dataScope xmlns="http://xmlns.oracle.com/uix/ui"
    xmlns:data="http://xmlns.oracle.com/uix/ui">
    <contents>
    <messageBox messageType="error" automatic="true"/>
    </contents>
    </struts:dataScope>
    I also added xmlns:struts="http://xmlns.oracle.com/uix/struts" to the templateDefinition.
    It now works.

  • Access jspx page from af:region

    hi
    jdeveloper 11.1.2.3
    i have a jspx and inside it there is dynamic bounded task flow , how can i refresh parent page from this dynamic region.
    tnanks

    Hello,
    The "RefreshCondition" attribute into Property Inspector of af:region, you could set the condition (EL expression) to refresh only
    the region (returns true) or the parent page (returns false).
    http://suneesh-adf.blogspot.com/2013/09/refreshing-adf-region.html
    rfh.

  • Refreshing an UIX page

    Does anybody know how to explicitly for an refresh on a UIX page.
    The problem that I have now is that only after I some where did a rollback, the page is displayed correctly.
    Before the rollback, the page shows one table updated and one table still in the former state, which was before I added an extra row.
    Thanks in advance,
    Gideon

    So again I want to bring this to your attention, because I believe I am not the only one with this problem.
    I have a UIX page with two tables. I created the funtionality to add a row from table2 to table1.
    The problem is that after I did a Commit and the row has been added to table1 and removed from table2, only table1 is updated and table2 is still in the former state.
    At least it is in the former state on the screen.
    In the database the change has already been made.
    Only after I did a "rollback" somewhere, will the UIX page display correctly.
    Does anybody know how to solve this problem and do a proper refresh of the tables in UIX?
    Any help appreciated,
    Gideon

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

  • Java access to view objects from uix page provider

    I have a java method called from a uix page as follows:
    <dataScope>
       <provider>
           <data name="frameworkTableData">
              <method class="smart.FrameworkAspects"
                      method="getFrameworkStudyAspects"/>
           </data>
       </provider>
    I want the java program to be able to access the bc4j view objects defined on the page. These are:
    <bc4j:registryDef>
      <bc4j:rootAppModuleDef name="SmAspectsBrowseAppModule"
                             definition="smart.Smartbc4jModule"
                             releaseMode="stateful" > 
       <bc4j:viewObjectDef name="SmFrameworksBrowse"
                        rangeSize="0"  />                       
      <bc4j:viewObjectDef name="SmAspectsBrowse"
                          rangeSize="10" />                       
      <bc4j:viewObjectDef name="SmStudyMembersAspectsEdit" />
      </bc4j:rootAppModuleDef>
    </bc4j:registryDef>
    I've read through several of the threads on using Configuration.createRootApplicationModule(amDef, config) and it is not clear what it is looking for in the arguments.  It appears that "config" is the name of the app module. I don't know what the amDef relates to.
    Anyway, I can't get it to work.  All I'm trying to do is get at 3 view objects I have defined in my bc4j section and am having trouble getting this to work.
    Any ideas on how to approch this would be much appreciated.
    Thanks, Steve
    Does anyone                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

    Can you explain how you solved the problem? I have the same. Thanks.

  • UIX page not displaying data from VO's

    I have an application where my users log in by passing a username/password to a client method in my application module. The Webusers View Object has a view link to the Customers view object, which has a view link to the Orders view object, which has a view link to the OrdLines view object, like this:
    WebusersView
    --CustomersView via WebCustViewLink
    ----OrdersView via CustOrdViewLink
    ------OrdLinesView via OrdOrdlinesViewLink
    I've run this Application Module through the tester and I can see data via all the View Links.
    I have the following code in my login() script:
    w = getWebusersView();
    w.setWhereClause("login = '" + username + "'");
    w.executeQuery();
    I've stepped through the login() code and it works correctly. If I understand BC4J correctly, then all of the View Links should fire and coordinate the data from Customers, Orders, and OrdLines when this query executes successfully.
    I created a UIX page and did a drag/drop of Orders to the page as a read-only table. I found the Orders table by expanding the Webusers entry in the Data Control palette, then the Customers entry below that, to grab the Orders entry there. I think this means that it will follow the WebCustViewLink to get the Customer that goes with the Webuser, then the CustOrdViewLink to get the Orders for that Customer. Is this correct?
    When I try to run this and display the table, I get no records. I know for a fact that records exist under the Webuser username I've chosen.
    What is wrong? Why doesn't my UIX page display the appropriate Orders based on the Webusers->Customers->Orders view links?

    If there, try removing the $. at the beginning of the binding that gets puts there if you select the item from the pop up list.
    I have a text field that is read only and bound without the $. that was working fine for displaying data. I have a drop down that had the $. and was not saving. I removed the $. and now it is getting saved to the XML. However, it does not display on the next render of the form.

  • Displaying Refresh, Edit Page, Customize Page buttons from Banner Template

    I have built a customized banner template which displays button images for refresh, edit page, and customize page. The functions all work well, but these functions should not be invisible to the user when they do not have the proper privileges
    For Example, when page caching is enabled, I need to see the Refresh Link (icon), or when the user cannot edit the page, then the icon for page editing should not be displayed.
    What are the API calls that I can make from a banner template to decide if the page is cached or not?
    How do I tell whether the user had edit page privilege? Customize Page?
    null

    All these solutions offered above are correct related to the refresh of the page, but it seems to be other problem, it seems that when the Save button is pressed, the commit is done(after I press Save I checked the database and the row is updated), but the transaction is not ended, it seems to get stuck, this is the reason why a refresh is not done on the page, only when Cancel is pressed, the transaction finishes and the page refreshes.
    Is this possible for the inline popup, not to end the transaction even if on the task flow I have a task flow return for Save, where at the End Transaction property I have Commit?
    I have changed the task flow by setting Behaviour to <No Controler Transaction>, for the task flow returns I changed End Transaction from Commit/Rollback to none and added on the jspx page of the inline popup the Save and Cancel buttons, with actionListener="#{bindings.Commit/Rollback.execute}" but the problem remains the same.
    I suppose that it's a problem with the way I use the VO instance in the popup. Do you have any idea in what situations this can happen or did you encounter similar situations?
    Thanks,
    Georgiana

  • Execute application module method automatically from uix page

    Hi,
    We are developping an application using Jheadstart 10.1.2.2 (build 32) with UIX pages as a view.
    We have build a custom method on our application module class that creates and saves in a directory a chart in function of a parameter we pass to this method.
    We would like to execute this method every time we acces a form page since this pages has to show the chart that our method creates. We would like to know if it is possible to execute this method automatically every time we acces this form page without having to press a button each time.
    Thanks in advanced.
    Xavier

    Xavier,
    I am not sure UIX works as JSPX and JHS 10.1.2 as 10.1.3, but that is what I would do if I wanted to execute a method on page load:
    1. Create a new managed bean(MyBean) in your faces-config which implements oracle.adf.controller.v2.PagePhaseListener interface
    2. Go to the pagedef file of your page, right click it in structure pane and set the controller class to 'MyBean'
    3. in MyBean and in beforePhase() method access App Module and call your function [see 4]. I quote this from ADF Dev.Guide 10.1.3 for how you can get App Module and call your function on it:
    // 1. Access the FacesContext
    FacesContext fc = FacesContext.getCurrentInstance();
    // 2. Create value binding for the #{data} EL expression
    ValueBinding vb = fc.getApplication().createValueBinding("#{data}");
    // 3. Evaluate the value binding, casting the result to BindingContext
    BindingContext bc = (BindingContext)vb.getValue(fc);
    // 4. Find the data control by name from the binding context
    DCDataControl dc = bc.findDataControl("SRServiceDataControl");
    // 5. Access the application module data provider
    ApplicationModule am = (ApplicationModule)dc.getDataProvider();
    // 6. Cast the ApplicationModule to its client interface
    SRService service = (SRService)am;
    // 7. Call a method on the client interface
    service.doSomethingInteresting();
    4. Check the phase and call your function in beforePhase method of your MyBean (implementing PagePhaseListener)
    public void beforePhase(PagePhaseEvent event) {
    FacesPageLifecycleContext ctx =(FacesPageLifecycleContext)event.getLifecycleContext();
    if (event.getPhaseId() == MY_DESIRED_PHASE) service.doSomethingInteresting();
    Probably, there is a shortcut to all these, or an alternative approach, which I myself will be happy to know about.

  • Refreshing Page from DatePicker

    Does anyone know how to refresh a page when the date has changed in a DatePicker? The action=true doesn't seem to be working. I tried invoking a java script function from onclick and onchange but that is not working either.
    Please let me know if you have any code snippet that I can use to refresh the page.

    Ok,
    I think I got this one nailed down. I tested the earlier code and it had 2 problems: (1) would work on all major browsers except IE (2) would not work when the month/year is changed in the popup-window.
    Needed quite some work-around, but here's the code that should work overall. Add it after the DatePicker field and replace the name "date_picker" with the field-name that you have.
    <Field name='datePicker_HtmlScript'>
      <Display class='Html'>
        <Property name='html' value='<script> var field_name = "date_picker";  var date_picker = document.mainform.elements[field_name].nextSibling; var arrayOnClicks = new Array(); var buildCalendar_orig = Build;  function modifyCalendarLinks() {  &#x9;var aLinks = ggWinCal.document.getElementsByTagName("A"); &#x9;if (aLinks != null) { &#x9;&#x9;var parentWindow = ggWinCal.opener; &#x9;&#x9;var function_recalculate = function() {  &#x9;&#x9;&#x9;Build = buildCalendar_orig; &#x9;&#x9;&#x9;submitCommandAndYallComeBack(field_name, parentWindow.document.mainform, "Recalculate"); &#x9;&#x9;};  &#x9;&#x9;for (var i=0 ; i<aLinks.length ; i++) { &#x9;&#x9;&#x9;if (isNaN(aLinks.innerHTML) == false) { &#x9;&#x9;&#x9;&#x9;arrayOnClicks[aLinks[i].innerHTML - 0] = aLinks[i].onclick; &#x9;&#x9;&#x9;&#x9;aLinks[i].onclick = function() { &#x9;&#x9;&#x9;&#x9;&#x9;arrayOnClicks[this.innerHTML - 0](); &#x9;&#x9;&#x9;&#x9;&#x9;function_recalculate(); &#x9;&#x9;&#x9;&#x9;}; &#x9;&#x9;&#x9;} &#x9;&#x9;&#x9;else { &#x9;&#x9;&#x9;&#x9;var todaysDate = new Date().getDay(); &#x9;&#x9;&#x9;&#x9;if (aLinks[i].innerHTML.indexOf(">" + todaysDate + "<") >= 0) { &#x9;&#x9;&#x9;&#x9;&#x9;arrayOnClicks[todaysDate] = aLinks[i].onclick; &#x9;&#x9;&#x9;&#x9;&#x9;aLinks[i].onclick = function() { &#x9;&#x9;&#x9;&#x9;&#x9;&#x9;arrayOnClicks[todaysDate](); &#x9;&#x9;&#x9;&#x9;&#x9;&#x9;function_recalculate(); &#x9;&#x9;&#x9;&#x9;&#x9;}; &#x9;&#x9;&#x9;&#x9;} &#x9;&#x9;&#x9;} &#x9;&#x9;} &#x9;} } var popup_onclose = function() { &#x9;if(ggWinCal != null) { &#x9;&#x9;Build = function(p_item, p_form, p_month, p_year, p_format) { &#x9;&#x9;&#x9;buildCalendar_orig(p_item, p_form, p_month, p_year, p_format); &#x9;&#x9;&#x9;modifyCalendarLinks(); &#x9;&#x9;}; &#x9;&#x9;modifyCalendarLinks(); &#x9;} }; if (date_picker != null) { &#x9;date_picker.href += "popup_onclose();"; } </script>'/>
    </Display>
    </Field>And here's the above script (with better readability) that does the "magic" :)<script>
    var field_name = "date_picker";
    var date_picker = document.mainform.elements[field_name].nextSibling;
    var arrayOnClicks = new Array();
    var buildCalendar_orig = Build;
    function modifyCalendarLinks() {
         var aLinks = ggWinCal.document.getElementsByTagName("A");
         if (aLinks != null) {
              var parentWindow = ggWinCal.opener;
              var function_recalculate = function() {
                   Build = buildCalendar_orig;
                   submitCommandAndYallComeBack(field_name, parentWindow.document.mainform, "Recalculate");
              for (var i=0 ; i<aLinks.length ; i++) {
                   if (isNaN(aLinks[i].innerHTML) == false) {
                        arrayOnClicks[aLinks[i].innerHTML - 0] = aLinks[i].onclick;
                        aLinks[i].onclick = function() {
                             arrayOnClicks[this.innerHTML - 0]();
                             function_recalculate();
                   else {
                        var todaysDate = new Date().getDay();
                        if (aLinks[i].innerHTML.indexOf(">" + todaysDate + "<") >= 0) {
                             arrayOnClicks[todaysDate] = aLinks[i].onclick;
                             aLinks[i].onclick = function() {
                                  arrayOnClicks[todaysDate]();
                                  function_recalculate();
    var popup_onclose = function() {
         if(ggWinCal != null) {
              Build = function(p_item, p_form, p_month, p_year, p_format) {
                   buildCalendar_orig(p_item, p_form, p_month, p_year, p_format);
                   modifyCalendarLinks();
              modifyCalendarLinks();
    if (date_picker != null) {
         date_picker.href += "popup_onclose();";
    </script>-Adi
    [www.xpressutils.com|http://www.xpressutils.com]                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Refreshing pages from Adobe web sites

    After opening web pages from Adobe sites, they are refreshing by itself after loading the page.
    Do you experience it as well?

    I experienced it for sign-in page for forums .. and also some other pages like https://creative.adobe.com and download page for DNG profile editor on the main site.
    But, I've checked them now and everything is normal,
    Maybe, I'm wrong ... sorry.

Maybe you are looking for

  • Phone Only?

    I recently switched from a Blackberry to an IPHONE 4S.  YEAH!!!  On the blackberry there was a sounds screen that allowed me to quickly switch to "phone only".  I did this at night so I didn't hear notifications for Facebook, text messages and emails

  • Problem in Foreign key creation

    Hi, I have a requirement where I need to create a foreign key in a ztable which points to the SPRAS field of table T002.Now this requires that the domain of this custom field should be the same as SPRAS. But domain SPRAS has got a conversion exit.For

  • Language problem with updating (in French)

    I don't use iTunes in French since the new udapting.

  • How to write step name and playback time to an output file?

    In OpenScript for Functional Test, I want to create a csv file with just the step name and the playback time for the step. I don't care to carry all the details in my report file. I see that in the Session folder, there is a csv file with all the pla

  • Envy 4500 won't scan text to produce a searchable PDF file

    I used to have a Photosmart 4400 C printer that would let me scan to produce searchable PDF files, i.e. I could select letters or words using a text selection tool in my PDF reader.   Today I Just purchased a ENVY 4500 e- All-in-One-Series.  It will