The value of minimum height of page behaves as expected

I created my site with a minimum height of 500 px. I have added content to the homepage which exceeds the value of minimum height of 500px.  I added not yet any content to any other pages.  Therefore, in Design view empty pages only have a height of 500px: (they behave as expected as shown below)

Screen Shot 2013-02-12 at 1.41.27 PM.png

However, when I Preview or publish the site, empty pages take on the height of the homepage even if they don't contain any content:

Screen Shot 2013-02-12 at 1.41.38 PM.png

Can someone explain why this is happening?

Very probably "Sticky Footer" is enabled in the properties of the Page [rt - click on the page in Design view]. Uncheck the box.

Tags: Adobe Muse

Similar Questions

  • Do stuff to PL/SQl that returns the value and redirect to modal page by setting this value

    Hello

    a button click Page1 I would perform a PL/SQL procedure that returns a value in P1_ITEMVAL and then redirect to a page 2 (modal page) and the value of an item on this page with the value previously returned. To do the same thing with a normal page is quite easy:

    Button action is present, then process of PL/SQL that returns the value in the P1_ITEMVAL element and, finally, a branch at page 2 that sets P2_ITEMVAL with P1_ITEMVAL. I really have no idea how to do the same thing when the target is a modal page.

    I created a unit test on https://apex.oracle.com/pls/apex (application 1554 - redir_to_modal)

    Workspace: tests

    USER: supporter

    PWD: supporter1234

    Any help would be much appreciated.

    Kind regards

    Pavel

    Pavel

    If you prepare a URL using the value calculated in the PLSQL of DA part you can then use a subsequent stage of javascript to set the location of the window.

    This will jump to the top of the page of the modal dialog box

    : P1_URL: = apex_util.prepare_url)

    ' f ? p ='|| : APP_ID - Application id

    |': 2' - Page id

    ||': ' || : APP_SESSION - Session id

    ||':'                      -- Request

    ||':NO'                    -- Debug

    : ': ' - Clear Cache

    : ': ' - Settings

    ||' P2_ITEMVAL'

    : ': ' - Parameter values

    || (: P1_ITEMVAL);

    then in the action of javascript

    Window.Location.Replace ($v ('P1_URL'));

    Hope this is of some use

    Concerning

    Kelvin

  • Passing the value of Poplist on Update Page

    Hi all

    I created a search page and a page update (to create and update).
    In the results of advanced table Variable name is a link and set the Destination URI of property as

    {& varId={@VariableId} & retainAM = Y'

    When I click on the link for the name of the Variable for a single line in the table results, he gains access to the update with a single correct registration Page.
    All columns in the table of results on the Update Page are messageTextInput. (Name of the variable, Description, Type of Variable, definition, assignment)

    Now, when I change the 'Type of Variable' column to messageChoice and navigate to update the page through the link in the name of the Variable on the search page, I get all the correct values with the exception of the Variable Type.

    The properties defined for the 'Variable Type'
    See definition of the choice list: xxlc.oracle.apps.okc.poplist.server.XXLCVarTypeVO
    Attribute drop-down list Display: meaning
    List drop down attribute value: LookupCode

    Discovers his: XXLCUpdVariablesVO1
    Display attribute: VariableTypeMeaning.

    Why it does not Type of Variable correct when display goes to messageChoice?

    Thank you
    SK

    SK

    The problem is with your defination of lookup you gave. Let me understand you

    Attribute drop-down list Display: meaning
    List drop down attribute value: LookupCode

    When setting the dropdown attribute value you save it as LookupCode. So what is this list of choices is displays the meaning based on LookupCode

    but when you set VO instance for that at the moment you are referring to the meaning that the attribute that must match the attribute Value list of choices.
    As when you enter the update of the page and query the data then the value which must be stored in your domain is XXLCUpdVariablesVO1.VariableTypeMeaning
    But your choice list values based on lookupcode that is to say the Value lookup attribute. You set it as VariableTypeMeaning which does not matches and your piclist empty poster or default value.

    Discovers his: XXLCUpdVariablesVO1
    Display attribute: VariableTypeMeaning.

    The simplest solution is to change the value attribute lookup in this sense or BC4J view attribute in the Lookupcode form.

    I hope I'm clear!

    Thank you
    AJ

  • Passage/transfer the value looking for editing a page

    I have a jsp page where I run a method associated with a button. This will essentially create a "project". After the execution of the method I am forwarding to a page editor for this 'project '. I would like to have the edit page to search automatically for the project that I just created in the first page. What is the best solution?

    No it will work with two different views see also:
    http://blogs.Oracle.com/Shay/2009/11/passing_value_between_pages_to.html

    Published by: Shay Shmeltzer on Nov 24, 2009 09:51

  • Cannot change the height of Page (bottom of page cannot be adjusted)

    Hello community,

    I am trying to build a mobile site.

    At first, it was fine until I could not set the lower slider on my pages (not the master.)

    What I tried:

    1. go in the properties page and set a minimum height of page (both on the slave and master page)

    2. drag the slider to the bottom of the Page (which also reset the setting value in the menu of page properties)

    3 reset the properties of the Page for a master page and slave in the Plan view

    4. set the page properties in the design of page slave mode

    5. research invisible objects / slides on the master and slave, that could help drag the cursor down Page up (nothing was found.)

    I couldn't find anything on the forum or through google.

    As always, I appreciate any help.

    Thank you

    Mike

    Screenshot 2015-06-16 17.43.08.png

    This image shows the background page cursor that cannot be moved to the top. Setting a lesser value in the properties of the page has not helped.

    Screenshot 2015-06-16 17.43.17.png

    This image shows the slider at the bottom of the page of my master.

    Solved the problem by removing and reconstruction of the page.

    Must have been a weird bug.

    See you soon

  • HOW TO SET THE VALUE TO A PAGE OF AJAX ON DEMMAND PROCESS ELEMENT?

    Hi, I have a javascript that calls an ajax on demmand process , and I need a the ajax process variable value is updated about my page: P2_CONTENT:

    • Here's my javascript call:

    doprint() function

    {

    Apex. Server.Process ("GENTICKET", {pageItems: "#P2_PARAM1"}, {async: false});

    }

    • and here is My ajax on demmand process (GENTICKET):

    BEGIN

    declare

    CONT varchar2 (1000); -the return value is less than this length, I have already checked in my table-

    Start

    Here, I call a DB procedure that fills my data. I verifyed and works nice!

    pro_generate (:P2_PARAM1);


    Here, I select the data obtained in the previous step

    Select tic_text

    in cont

    of t_reim

    WHERE f_type =:P2_PARAM1 ;



    Here, I need to set the value to display in my page field


    APEX_UTIL. SET_SESSION_STATE ('P2_CONTENT', CONT);  -< < < < < that doesn't work. I tried: P2_CONTENT: = cont; but does not


    end;

    END;


    Thanks in advance for the help.

    You can do all this declaratively by using dynamic actions, to try jQuery is like trying to swim before you can float.

    You can influence the value returned from JavaScript with this PL/SQL:

    HTP. PRN (cont);

    Then include a function of success (as described in the previous link) to run code like:

    success: function {(pData)

    $s ('P2_CONTENT', pData);

    }

  • Referring to the value of the element Page 0 in another page

    Apex: 4.2

    All,

    On my page 0, I gave 2 parts in stock. P0_QUESTIONS as a screen only and P0_OPTIONS like a Radio button.

    The source of these items are picked on the backend tables based on the: APP_PAGE_ID.

    All on Page 1: I chose an option in the account of radio

    If I want to see the value above in Page 3, how to do?

    As the elements are on Page 0, there is no point on P1 to designate...

    How can I go?

    TIA,

    J

    J wrote:

    I have ' developing a simple application of review.

    I have two tables,

    (1) QUESTIONS

    (2) OPTIONS

    Each page will have two elements. Question (screen only) and Options (Group of Radio buttons).

    For now, I have two P0_QUESTION and P0_OPTIONS points to the page0.

    The values for the above elements will be extracted from the database based on the APP_PAGE_ID.

    But to store the value of P0_OPTION on each page, I have to create a local element in each page.

    Since there will be a lot of questions, there will be a lot of pages and I wouldn't manually create local objects on each page, instead it is possible to create a component hidden dynamically based on the page no? Or something like a table to store the value?

    It is not practical to create an application with a separate page for each question. This type of application can be dynamically driven data using a question page. Rather than use the 0 page, create a unique question page containing the elements of the question and option (personally I would use relationships rather than objects, but that adds more complexity) and another to store the current number of the question. Before you navigate to the page in question for the first time, create three collections of the APEX. Two collections on queries for issues and the basic options and a third empty one to store the user's responses. On the page in question, back issues and options of the collections instead of the base tables. This ensures that users get consistent questions and options sets, even though they are simultaneously changed by other users. Terms of use on the current number of the question to control the display of the next/previous/Finish buttons or links; conditional calculations on next/previous controls to increment/decrement the current number of the question; a process to register the user in the collection's response; a conditional branch, triggered by control of finishing for a final presentation page; and an unconditional branch to the page in question to scroll through all the questions.

    (This is a good example of a Problem of XY. Rather than ask the question "I develop an application examination.» How can I implement this in APEX? "before you start, you selected an inappropriate solution and asked about the problems that have arisen in its application. You should always include some background to the question and if in doubt about the best approach, describe the requirements, not a proposed solution)

  • Conditional processing of JavaScript by using the value of the item page

    Dear experts,

    I have the following code to draw a Gantt chart and need to package some steps. They should only appears if the date values are not null or not zero.

    I tried the following, as you can see in my code. However, the first line is always printed even if the value of my article on page P1112_GP_AUFTAKT_START is null or zero (display value).

    Can you please give me a hint how to do conditional processing in my case?

    I appreciate your help!

    Thank you very much

    SEB
    <script>
      var g = new JSGantt.GanttChart('g',document.getElementById('GanttChartDIV'), 'day');
      g.setShowRes(0); // Show/Hide Responsible (0/1)
      g.setShowDur(1); // Show/Hide Duration (0/1)
      g.setShowComp(1); // Show/Hide % Complete(0/1)
      g.setCaptionType('Caption');  // Set to Show Caption
      g.setShowStartDate(1); // Show/Hide Start Date(0/1)
      g.setShowEndDate(1); // Show/Hide End Date(0/1)
      g.setDateInputFormat('dd/mm/yyyy') 
      g.setDateDisplayFormat('dd/mm/yyyy') 
    
      if( g ) {
        if ($x('P1112_GP_AUFTAKT_START').value != null || $x('P1112_GP_AUFTAKT_END').value != null || $x('P1112_GP_AUFTAKT_START').value != 0 || $x('P1112_GP_AUFTAKT_END').value != 0 || $x('P1112_GP_AUFTAKT_START').value != ""  || $x('P1112_GP_AUFTAKT_END').value != "")
       
           {g.AddTaskItem(new JSGantt.TaskItem(1, 'Auftaktveranstaltung'    ,  $x('P1112_GP_AUFTAKT_START').value , $x('P1112_GP_AUFTAKT_END').value    ,  'fff600', '', 0, 'LWF',  100, 0, 0, 1));}
         
         g.AddTaskItem(new JSGantt.TaskItem(2, 'Kartierung LRT Flachland', $x('P1112_KART_LRT_START').value  , $x('P1112_KART_LRT_END').value  ,  '00a3ff', '', 0, 'LWF',  20, 0, 0, 1, "1"));
         g.AddTaskItem(new JSGantt.TaskItem(3, 'Inventur LRT Flachland'  , $x('P1112_INV_LRT_START').value , $x('P1112_INV_LRT_END').value ,  'ff6347', '', 0, 'LWF',  30, 0, 0, 1, "1"));
    
        g.Draw();     
        g.DrawDependencies();
    
    
      }
      else
      {
        alert("not defined");
      }
    
    </script>

    Hello

    Try

    if($v('P1112_GP_AUFTAKT_START').length>0 ||
     $v('P1112_GP_AUFTAKT_END').length>0   ||
     $v('P1112_GP_AUFTAKT_START')*1 != 0 ||
     $v('P1112_GP_AUFTAKT_END')*1 != 0 ||
    ){
    /* your code */
    }
    

    Kind regards
    Jari

  • Returns the value of the entity instance inferred relationship in determinations of SOAP

    Hey,.

    I had an original thread open that indicates the problem I tried to solve (as several Conclusion based on input values ). My rules database now behaves as expected and I can test it in the debugger, as expected, only now I can't identify it the actual return values, I wanted by using web service determinations.


    I get a whole bunch of entity instances inferred from a relationship deemed identical to the situation/screen shot at the bottom of the page "investigate an alleged relationship" on the Oracle policy automation Cloud Service Guide to the user, but in my SOAP response I get that bodies with chopped IDs. I want the real value of identification of the entity.


    for example, now get this:


    <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:i18n="http://www.w3.org/2005/09/ws-i18n" xmlns:typ="http://oracle.com/determinations/server/11.0/rulebase/assess/types">
       <SOAP-ENV:Header>
          <i18n:international>
             <i18n:locale>en_GB</i18n:locale>
             <i18n:tz>GMT-0500</i18n:tz>
          </i18n:international>
       </SOAP-ENV:Header>
       <SOAP-ENV:Body>
          <typ:assess-response>
             <typ:global-instance>
                <typ:attribute id="course_code" type="text">
                   <typ:text-val>AHPY</typ:text-val>
                </typ:attribute>
                <typ:entity id="the_supplementary_documents" inferred="true">
                   <typ:instance id="0x608c2dc220e15d8c"></typ:instance>
                   <typ:instance id="0x5b7e2d02e8780325"></typ:instance>
                </typ:entity>
                <typ:entity id="the_informational_documents" inferred="true">
                   <typ:instance id="0x19387621439a43c7"></typ:instance>
                </typ:entity>
             </typ:global-instance>
          </typ:assess-response>
       </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>
    
    


    But I want something like below and I'm having a lot of trouble to figure out how to actually. Also is there anyone defines the meaning of the errors, you get the OPA? I tried to change my modules and I had a few mistakes of OPA-EXXXXX, but apart from the description you get in OPM, I can't find anywhere that gives more details on these and explains what they average and how to fix it.


    <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:i18n="http://www.w3.org/2005/09/ws-i18n" xmlns:typ="http://oracle.com/determinations/server/11.0/rulebase/assess/types">
       <SOAP-ENV:Header>
          <i18n:international>
             <i18n:locale>en_GB</i18n:locale>
             <i18n:tz>GMT-0500</i18n:tz>
          </i18n:international>
       </SOAP-ENV:Header>
       <SOAP-ENV:Body>
          <typ:assess-response>
             <typ:global-instance>
                <typ:attribute id="course_code" type="text">
                   <typ:text-val>AHPY</typ:text-val>
                </typ:attribute>
                <typ:entity id="the_supplementary_documents" inferred="true">
                   <typ:instance id="http://mydomain.com/mydocument.pdf">
                   </typ:instance>
                   <typ:instance id="http://mydomain.com/mydocument.pdf"></typ:instance>
                </typ:entity>
                <typ:entity id="the_informational_documents" inferred="true">
                   <typ:instance id="http://mydomain.com/mydocument.pdf"></typ:instance>
                </typ:entity>
             </typ:global-instance>
          </typ:assess-response>
       </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>
    
    



    I managed to get this to work by referring to this thread: deducted entity instance IDs following the release

    I had tried something similar but not quite the same thing. In the end, my application looked something like this:

    
       
       
          
             
               
              
                
              
              
                
              
           
             
             
                
                AHPY
       
              
          
       
    
    
  • APEX 4.2 limiting size of the value dynamic Action

    Hi all, I'm using ApEx 4.2.5 with 11 g BD and stumbled on this problem.

    I'm trying to set the value of a div within an HTML region. To do this, I use one set dynamic Action launched by a custom event "search" when user press enter or click OK to a search bar. I also use the PL/SQL function as set type body.

    I tested it and it works fine except if the content of the value is large enough (about 30,000 characters or more). I can't find any information about a size limitation for the return value of this type of package. I get this error code: ORA-06502 when I'm looking for a big content, and it seems that this error may occur when "you attempted to assign a value to a numeric variable, but the value is greater than the variable can handle", but I'll be back a PL/SQL CLOB variable in a div, so I don't see any kind of limitation. I think the limitation can be in the call made by apex in the background AJAX...

    I need help on this, thanks in advance.

    Gaël

    Hi gados12,

    gados12 wrote:

    OK, I tried something and the result is weird.

    I created a pakaged function to retrieve the right HTML content that is stored in my CLOB column (because I reached the limit of characters for PL / SQL code in dynamic action)

    So I called my function (allows to name it FNC_GET_SEARCH) my previous dynamic Action Set value. I still get the same error with large HTML content. However... it is there, it's weird.

    So that means the error is not my FNC_GET_SEARCH function, but the dynamic Action itself... So there must be some kind of limitation with this kind of dynamic action?
    Is it because the dynamic action to set the value using the package HTP in the background?

    The DA type 'Set Value' is for session state implementation and display the value of an element of page APEX value that is defined internally as VARCHAR2 (4000).

    As a result, you get the above error. Use the approach mentioned above to manage CLOB based rendering html.

    Also of your FNC_GET_SEARCH function for the display unit test error message.

    Kind regards

    Kiran

  • Filter a column with the value of another

    Hello. Hope someone can help with this... On my search page, I want to use the value of the first list/drop-down menu to filter the values of the second list/menu. I use PHP and DW 8.0.2.

    Example: The first column has each of the 50 States. second column has 3 000 counties. If a user selects New Jersey, I want to just 21 NJ counties to appear as options in the second menu downwards rather than 3 000 counties.

    First Recordset works very well for the States. But in my second recordset, I say 'select distinct County of the said County WHERE AS var1'... and var1 is $recordset1 [County]. But the 2 column is empty. How can I actively pass the value of the first column in the second while the user is still on the same page?

    Sandman

    >>
    Assuming that your table has a field named "State":
    «select County of States WHERE state = "var1""
    >>

    You can use this solution when the first menu page 1 and the second menu on page 2 (IE passing the value of a query on page 2), but as assumingly, you need to have this functionality within a single page, basic need based on a javascript solution 'drop-down menus of dynamic load' to load the menu2 - options "in situs.

    There is an extension for Dreamweaver stand alone for this on the site of Tecnorama , that also wants to work without the relationships between the tables, in other words, with the data in a table, which matches your scenario.

  • Cannot change PopUp LOV width and height in version 4.2.5.00.08. I change the values of 450 400 in the Popup list template values (Section of the window), but my function genList0_f07_$ _row (), retains the same settings. Is this a bug?

    Hello

    I use APEX 4.2.5.00.08 to my app.

    I have a region of reports, where I display a column set. A column is the column attribute "display as" the value 'Popup LOV (LOV based query).

    I press the button to retrieve the LOV, I get a popup of 450 x 400 pixels.

    I go to the side of the model and navigate to "Popup list of values of model", where I can see in the section 'Window' attributes 'Width' and 'Height' value 450 and 400. I edit them and save them and there is nothing going on. I'm sure that the template belongs to my selected theme.

    I saw in the HTML source code that is the called function:

    <!--


    function genList0_f07_$ _row)
    {
    w = open ("wwv_flow_utilities.gen_popup_list" +)
    « ? p_filter ="+
    "& p_name = ' + escape ('f07') +.
    ' & p_element_index = ' + escape ('0') +.
    ' & p_elem_id = ' + escape ('f07_0000').
    ' & p_form_index = ' + escape ('0') +.
    ' & p_max_elements = ' + escape ("") +.
    ' & p_escape_html = ' + escape ("") +.
    ' & p_ok_to_query = ' + escape ('YES').
    ' & p_flow_id = ' + escape ('114') +.
    ' & p_page_id = ' + escape ('100201') +.
    ' & p_session_id = ' + escape ('16021544706004').
    ' & p_eval_value = ' + escape ("") +.
    ' & p_translation = ' + escape ('NO') +.
    ' & p_lov = ' +.
    ' & p_lov_checksum = ' +.
    ' & p_item_id = ' + escape('-683997768') +.
    ' & p_column_id = ' + escape ('25022622060292812'),
    "winLov,"
    "Scrollbars = 1, resizable = 1, width =400, height =450"); "
    If (w.opener is nothing)
    w.opener = auto;
    w.Focus ();
    }
    ->

    I see that the values has not changed. I also connected and disconnected. I am inclined to believe that it is a bug of the APEX.

    The only solution I think is to replace this function, which is NOT ideal.

    Thank you

    Digital

    The parameters are generated only, nothing you can do about it because it does not use the model for these properties of the couple. Other things work fine for example the names of button or title window etc. I guess that, Yes, it is a bug. It's still there in the apex 5 too, I checked. The default values of the template do not match, the value in the generated code is always 400/450. So I guess it's pretty much a wait on 5.1.

    Here's a fun hack to make it work well on your page (works in apex 5 too, because the code is always the same). Put this in the execute on loading of the page section:

    (function(){
      var _open = window.open;
      window.open = function(){
        if ( arguments[1] === "winLov" ) {
          arguments[2] = "Scrollbars=1,resizable=1,width=500,height=700";
        };
        return _open.apply(window, arguments);
      };
    })();
    

    Change the settings to your liking. This will replace the existing window.open call, which is what the popup lov use and replace it with our own code. It does not interfere with other things. As the name of the new window is always "winLov" for the popup lov, it is the argument that is checked.

    During the call to window.open to open a new window with the name "winLov", parameters are replaced with your own version of it. The window is called as usual, using the stored reference.

    Edit:

    Yes, do not use the trick of resizing. My hack can be a bit tedious, but it's much less invasive for the end user (see open, bam, resize. "Even gets funky on multiple monitors). Also, this thing in the popup lov template will affect each lov popup that you use in the application, which is much less interesting than my specific page code.

    Edit2:

    I did a little digging in the source code, and I don't know why it does not work. Popup lovs are actually equipped to deal with it. My guess is that the parameters are recovered only after that the lists were generated, causing the package variables global to use their default values instead of model parameters.

  • Passing the value with coma inside to another page

    Hi all, need your help.

    I have trouble to clarify how to pass value with coma to another page.

    For example, I have a P2_NAME field: with the current value: Test, name

    When I'm passing this on page 3 I get only from Test. I do not understand why, but I do not know how to deceive the APEX?

    var url = ' f? p = & APP_ID.:3: & SESSION.: NO::P2_NAME: "+ $v ('P3_NAME');

    Window.Open (url, "name", "height = 600, width = 800, toolbar = no, directories = no, status = no, menubar = no, scrollbars = no, resizable = no, modal = yes");

    Thank you very much

    Andrei

    Hello

    This might help

    2.5 understanding URL syntax

    List of values of the element used to define the session state in a URL.

    Item values cannot include settlers, but may contain commas with backslashes.

    To change a comma in a value element, place the characters with the backslashes. For example:

    \123,45\

    Kind regards
    Jari

  • Dynamic alignment of the value of element column and report page

    Hi friends,

    I have an interactive report that contains the columns as

    < li > empno
    < li > name

    In the light of the foregoing, I 'empno' with an alignment of the left column and a 'name' with an alignment of the left column.

    It is possible to substitute the alignment of the data that we put into the report according to the value of the application as element

    If my application point is about US, so I need the alignment of the column 'empno' and 'Name' to the left, and if the value of point of my app's AR, I need the alignment of the column 'empno' and 'Name' to be right. What is possible to achieve dynamic alignment for the report data to two columns 'empno' and 'Name', according to the value of application page element.

    And also, in the case of the page element, I have a page element with a name of P1_NAME in which he has an alignment of the Horizontal/Vertical element on the left.

    I need to this alignment of the element of the page element behave dynamically according to the order of the day of the application page, as if the order of the day of the application page called WE then the alignment of the element of the page item must be left and if the order of the day of the application page called AR and then the alignment of the element of the page element has to be right.

    Is it possible to make some friends of my scenario two above. Kindly help me with this.

    Thanks in advance.

    Brgds,
    Mini

    Hey Mini,

    To change the alignment on the fly, you need a change in your IR and javascript.

    First change the columns that you want to change the alignment for. Add the following code in The HTML Expression in the column formatting part. (Detail of the column)

    #HERE _THE_COLUMN_NAME#
    

    Then you can change the easy alignment for these areas with the following code

    $(".align_style").css("text-align","left")
    

    This can be in a DA, or just on the loading of the page.

    Kind regards
    Kees Vlek
    -----
    Company: http://www.orcado.nl
    Blog: http://www.orcado.nl/blog/blogger/listings/69-kvlek
    Twitter: http://www.twitter.com/skier66
    If the answer to question please change replied and mark the appropriate post as correct / helpful.

    Published by: kvlek on 7-mei-2013 14:47

  • Reset the value of the item page to null

    Hello
    On one of the pages of my site, my I list of some articles and each value of the element is a link, and if I click on the name of the element, a pop up appears which shows me the history of the issue. This pop-up history item, I have two elements of date picker where I provide the start and end date between which I want to see the story from this point. I add two calculations (before header) to set the values of the selectors of dates for the minimum and maximum dates for the mark of history goes back to this article in the database and on the first time, a complete history of the item turns in pop. Now I can choose my own minimum and maximum dating bicker date element and press a button, now the pop up refreshes and shows me the story between the dates, I have chosen.
    Now I close the pop-up windows and click on something else, but here when pop up is charged, I see the old values of date (that I selected for the previous article) in the date picker and ideally my calculations must have worked and dates selectors should see the minimum and maximum dates for this item.

    Can someone help me solve the problem so that if ever a new pop-up is open to a new element, the element in date picker must have updated them to the values that should be linked to the new item I clicked on that moment rather than date of previous section values.

    Thanks in advance

    Salman

    Hello Salman,

    I think I understand now what you are aming at.
    You say you have a calculation for the popup that defines the values where they are used for the first time. What conditions you have on these points? I guess they are submitted every time that you run the update, so the State of the item is updated with these values. If you don't reset it, these values will persist and be taken to the next item, which is what you currently see.
    You can place a process in your calling page that resets the page desired elements to be null before your calculation evaluates their condition, so the calculation allows you to retrieve the values of database. Another option would be to send a trigger element (for example a hidden item PX_TRIGGER get value 1 on submit) to the target page, which is part of the condition of your calculation (PX_TRIGGER = 1) and reset the trigger in your calculation (: PX_TRIGGER = 0).
    Please correct me if I am wrong.

    -Udo

Maybe you are looking for