Navigate from tree selection to parameterized report on same page

I have a simple tree showing the departments and roles within our organization.
I have a simple report showing the skills required for each node in the tree, sometimes general skills that apply to whole department, sometimes specialized skills for the roles within a department.
I've created a page that has two regions. I managed to get the tree on the left and report on the right by including the two regions in the same display point and changing the column of the report to "2".
When I click a node in the tree, I want the ID behind the selection to be passed to the simple report. The report will show the skills mapped to the selected node in the tree.
But since the report is on the same page, I imagine this might be a bit tricky. When the user clicks a node, the whole page would have to be refreshed, preserving the tree expanded to the point where the user clicked, and running the report with the now filled ID.
In order to do this, I guessed I'd need an application item that preserved state. I created item F1000_OU_ID.
The SQL for the tree is :
select "OU_ID" id,
"PARENT_OU_ID" pid,
"OU_NM" name,
'f?p=&APP_ID.:1:&SESSION.::NO::F1000_OU_ID:'||"OU_ID" link,
null a1,
null a2
from "#OWNER#"."TR_OU"
order by seq_num
The SQL for the report is:
SELECT s.skill_type,
s.skill_nm
FROM tr_skill s,
tr_ou_skill os
WHERE s.skill_id = os.skill_id
AND os.ou_id = :F1000_OU_ID
Under the report region, I gave it a conditional display directive to not display until F1000_OU_ID was not null.
That's as far as I've gotten. The page runs. The regions display where I want them. But when I click nodes in the tree, the page blinks and nothing happens to the report. What am I missing Aces?
bc

200 views and 1 reply? Come, come, Aces, you can do better than that!
Leo, thanks for taking the time to look at it. As I understand it, the "bind" or "host variable" syntax of preceding colon, e.g. ":F1000_OU_ID" is used when referring to application or page items from a SQL Query. The "substitution" syntax of preceding ampersand and following period, e.g. "&F1000_OU_ID." is used when referring to application or page items from things like HTML text.
To verify this, I used one of the blank pages in my app, page 5. I created two regions, one HTML text, one a report based on a SQL Query.
For the HTML text, I typed in
Here is the application item value &F1000_OU_ID..
For the report's SQL query, I typed in
SELECT 'OU_ID selected is ['||:F1000_OU_ID||']' text
FROM dual
These both work as expected. After I have clicked on a node in Page 1's tree, the F1000_OU_ID is set to a value and that value then appears on page 5 in the two test regions mentioned above.
So I have no trouble passing stateful values between different pages. My problem, perhaps poorly worded in the original post, is how to "pass" the selected value to the same page, since clicking a link in the tree refreshes the page it is on, in order to pass the value to the report region on the same page.
If anyone has done this before, please chip in or point me to the thread. Various searches in the forum were just coming up with too many non-relevant results, so I thought I'd ask the experts. Thanks in advance!
bc

Similar Messages

  • Open report in same page section in dashboard

    hi all,
    i am facing some problem
    i have a report with some link on dashboard. When clicking on that link new report is going to be open.
    What i want is after clicking the link the new report should be opened in the same dashboard section where first report resides.
    i am just able to open the report in same page but not sure how to open in same section
    anybody have any idea ?
    thanks

    Hi Chetan,
    what is that link? is it a go url? or guided navigation? or just a link?

  • Tree upsets SQL report on same page

    I have placed a tree on the same page as an SQL report and every time I collapse or expand a tree branch the report comes back with :-
      failed to parse SQL query:
      ORA-06502: PL/SQL: numeric or value error: NULL index table key value
    The URL given when a tree action is taken looks like this "f?p=139:10:7279140003773292621:CONTRACT,1"
    I have removed the tree and found that if I call the page ( now without a tree at all, just an SQL report ) with the URL above the report still fails. Here is the SQL for my report -
     select E.EMP_ID,   E.LAST_NAME||', '||E.FIRST_NAME Name, E.MOD_AGS, E.AVAILABLE4RECALL, M.FIRST_NAME||' '||M.LAST_NAME MANAGER_ID, E.ENABLED, '(' || S.ABBREVIATION || ')' Abbreviation
     from EMPLOYEES E, EMPLOYEES M, STATES S
     where E.MANAGER_ID = M.EMP_ID and E.STATE_ID = S.STATE_ID
    nothing too fancy there? Can I have a tree on the same page as an SQL report???
    I have tried re-creating the page again from scratch and the same thing happens.

    I'm having a similar problem.
    I have a tree on the same page as an Easy Report. When I expand or collapse the tree I get:
    failed to parse SQL query:
    ORA-06502: PL/SQL: numeric or value error: NULL index table key value
    in the Report Region.
    If I don't set a Sort on any column in the Report Attributes, then I don't get the error.
    The report uses a bind variable. Here's the debug:
    0.13: show report 5
    0.13: set report template: user defined template
    0.13: determine column headings
    0.13: activate sort
    0.13: is numeric ?
    0.13: parse query
    0.13: binding: ":APP_CURR_LOC_ID"="APP_CURR_LOC_ID" value="14"
    failed to parse SQL query:
    ORA-06502: PL/SQL: numeric or value error: NULL index table key value
    I'm using version 1.4.4.00.33.
    Anyone got any ideas?
    BTW, debug switches off when you exapand and collapse the tree.

  • MRU and manual updatable report on same page

    ok. I understand that we can't have more than one MRU process on a page. Actually it seems 2 regions using the same MRU seems to work fine, but I had a problem adding a 3rd region with a new MRU. So I resorted to putting in my own updatable report. The code works well if I use an independent page but does not do anything as soon as I add it to the page with the MRU process.
    The base query is like:
    select '***' as select_plate,
    htmldb_item.hidden(31,p.plate_id) plate_id,
    p.plate_ID "Plate Id",
    htmldb_item.text(37, PLATE_BARCODE, 30) plate_barcode,
    PLATE_TYPE ,
    htmldb_item.checkbox(23, p.plate_id) sel,
    htmldb_item.checkbox(8, p.plate_id) child,
    htmldb_item.select_list_from_query(33, modified_by, 'select first_name || '' '' || last_name uname, upper(username) username from eims_user') modified_by,
    MODIFIED_ON ,
    STATUS,
    UPLOADED_ON,
    decode(p.FILENAME, null, 'N', 'Y') loaded,
    pr.run_id assay_run
    from plate p, plate_run pr
    where p.plate_type = 'zzz'
    and p.plate_id = pr.plate_id (+)
    the update process looks like
    begin
    :p2_message := 'ok0';
    for i in 1..htmldb_application.g_f31.count
    loop
    :p2_message := 'ok1';
    :p2_message := :p2_message || htmldb_application.g_f31(i);
    --if htmldb_application.g_f31(i) is not null then
    update plate set plate_barcode = htmldb_application.g_f37(i),
    modified_by = htmldb_application.g_f33(i)
    where plate_id = htmldb_application.g_f31(i);
    --end if;
    end loop;
    I added the p2_message to kind of trace what is happening. ok0 gets outputed in the multi-region page and nothing happen for the aupdate; while on the test page with this report as the only regio, I get the expected behavior and the update goes in correctly!
    Is it correct to assume that the g_fxx arrays global to a page? I used g_f3x just to make sure there is no conflict with the ones generated with the MRU process.
    Any help/hint is appreciated
    --Nabil                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

    Hi Alex,
    You can use more than one region in the same page or even you can create multiple report in the same page. But remember you can not create as many region as you want, ofcourse there is limitation. Same theory applies to item.
    Hope this helps.
    Regards,
    M Tajuddin
    web: http://tajuddin.whitepagesbd.com

  • Select Query and Recordset on same page

    I have been workig with Coldfusion for a while now.  Where I work there is a need for web pages to extract data from data sources.  I have been successful at doing this.  Typically I use a form that selects multiple criteria, which when submitted loads a target/action page that displays records that are filtered based on the SQL statement contained on that action page.  What I do is to conditionally check if criteria is passed using cfif.  And if a field parameter is indeed passed it becomes part of the cfquery.  This works out well - especially for reporting.
    But now I am seeing more and more a need to accomplish the same process - but on a single cfm page.  So the page I seek will have both the form (select) and the recordset results on the same page. 
    In this exercise I will be caching results od a query and having several queries to further refine what I seek (QOQ).  What I am seeking is the best practice to follow, I was thinking that using an iframe on the page would be and adequate solution whereby the query would pass the criteria and its form action would pass the variable(s) to the action page, which would be the source of the iframe.  But I am not certain that this is a best proctice.  Nor have I had great success at getting the pages to work in concert. 
    Any advice that you can lend would be appreciated. 

    I ideally start by reducing the 2-page functionality - of form page and action page - to just one. It goes like this:
    <cfset isValidationPassed = false>
    <cfif isDefined("form.someVar")>
    <!--- Do validation. Validated form implies isValidationPassed is true --->
    </cfif>
    <cfif isValidationPassed>
    <!--- Do action page stuff --->
    <cfelseif NOT isDefined("form.someVar") OR NOT isValidationPassed>
    <!--- Display the form. --->
    <!--- If form had been submitted, inform user which validation failed, and what to correct. Display the form. --->
    <cfoutput><form method="post" action="#CGI.SCRIPT_NAME#"></cfoutput>
    </form>
    </cfif>
    The idea is then to pile on the complexity, layer by layer.

  • Error updating two reports on same page! Could you have a look please?

    Hey guys!
    I have the following situation :
    two updateable reports on one page with IDs 'DATE_REPORT' and 'WORK_REPORT'
    two pl/sql processes on submit after c.... named 'SUBMIT_DATE' and 'SUBMIT_WORK'
    two buttons named 'SAVE_DATE' and 'SAVE_WORK'
    Finally, the insert and update processes are conditioned to Request = Expression 1 where for the 'DATE_REPORT' it is set to 'SAVE_DATE' and for the 'WORK_REPORT' it is logically set to 'SAVE_WORK'. There are no extra button conditions.
    My problem: No matter which button I press, the array is build up from the columns of the first report and continues to add rows of the second report.
    For instance: 'DATE_REPORT' has 11 rows and 'WORK_REPORT' has 9 rows. In the debug mode I can see that the array is build up using the 'DATE_REPORT' although 'SAVE_WORK' was accepted as the request. The same problem vice versa for the other update.
    ......column CNT_ARBEIT_CRIT_DATE mapped to WWV_Flow.g_f02
    ......column LNG_ARBEITSSCHRITT mapped to WWV_Flow.g_f03
    ......column STR_ARBEITSSCHRITT not mapped - not stateful.
    ......column DATE_GP_X_START mapped to WWV_Flow.g_f04
    ......column DATE_GP_X_END mapped to WWV_Flow.g_f05
    ......column DATE_R_X_START mapped to WWV_Flow.g_f06
    ......column DATE_R_X_END mapped to WWV_Flow.g_f07
    ......column LNG_GEBIET mapped to WWV_Flow.g_f08
    ......column CS not mapped - not stateful.
    ...array has 20 row(s). Used f08 to count.
    Validate report columns(ApexLib_TabForm.validateColumns)
    Row 12 has checksum error. ORA-01403: no data found ORA-01403: no data found ORA-01403: no data found
    ...Row 12
    ...LNG_ARBEITSSCHRITT
    ...CNT_ARBEIT_CRIT_DATE
    ......is not required
    ...LNG_GEBIET
    ......is not required
    ...DATE_GP_X_START
    ......is not required
    ...DATE_GP_X_END
    ......is not required
    ...DATE_R_X_START
    ......is not required
    ...DATE_R_X_END
    0.00: A C C E P T: Request="SAVE_WORK"How can I make sure the arrays are made up from the reports that are subject to the update???
    Many thanks for reading this post and giving some help if you have an idea!
    Regards,
    Seb
    Edited by: skahlert on 13.03.2010 10:57

    Hi Peter! Thanks for your answer. Well, this is what I already assumed! Two updateable reports with different data sources on one page will not work taht easily.
    Both reports have different amounts of columns in my case! I might create some pseudocolumns in the first report to match the columns in the second one. Hence I could try to build up the array like that.
    However, I believe it will not work as I can't use the primary key for the insert procedure in my second report. This is due to the design of the report.
    My initial idea was to somehow deactivate my report regions before running the update resp. insert procedure.
    I thought of using the htp.p statement with 'hideShow(''DATE_REPORT'')' and 'hideShow(''WORK_REPORT'')' to deactivate the regions and run the dml processes afterwards. Of course hiding the regions depending on the requested dml process. My question is if it will actually work like that. My try to hide the regions failed. The DATE_REPORT was indeed hidden but the update was still unsuccessful. I believe hiding the region is not sufficient.
    Do you have a hint how I can completely disable or deactivate the reports using javascript from pl/sql?
    Many thanks and have a splendid sunday!
    Regards,
    Sebastian

  • How can i display all the Coloumns (Key Figures) in the Report's same page

    Hi All,
    I am currently working on the BI 7.0 reporting. In the BEx Query Designer report, I am having 13 coloumns (7 Key figures and 6 Formulas) in the report. It is now displaying 10 coloumns in the First page of report. The other 3 coloumns can be seen by clicking on the next page. But the requirement is to see coloumns in the SAME PAGE.
    Are there any settings OR any other thing in the Query Designer, which can enable me to see all the coloumns on SAME page. The users are not interested in scrolling next page for 3 coloumns.
    Appreciates the Quick help/Response, please.
    Regards
    Ramana

    In Web Application Designer, for the properties of your analysis webitem under the Paging category, change parameter 'Number of Data Columns Displayed at Once' (BLOCK_COLUMNS_SIZE) to 0.  This will make all columns show instead of paginating as it is doing now.

  • Use Select Value in JSp on same Page

    Sir,
    In my Jsp page there is one dropdown,sir i want to get that select value in same page so that i can display data on same page below the dropdown based on the <select> value.
    Is it possible to do this things.
    Plz reply Soon.
    Thanks,
    Regards,
    Ashish

    I ideally start by reducing the 2-page functionality - of form page and action page - to just one. It goes like this:
    <cfset isValidationPassed = false>
    <cfif isDefined("form.someVar")>
    <!--- Do validation. Validated form implies isValidationPassed is true --->
    </cfif>
    <cfif isValidationPassed>
    <!--- Do action page stuff --->
    <cfelseif NOT isDefined("form.someVar") OR NOT isValidationPassed>
    <!--- Display the form. --->
    <!--- If form had been submitted, inform user which validation failed, and what to correct. Display the form. --->
    <cfoutput><form method="post" action="#CGI.SCRIPT_NAME#"></cfoutput>
    </form>
    </cfif>
    The idea is then to pile on the complexity, layer by layer.

  • How to move 1 field from 1 region to another region of same page persnaliz

    dear friends,
    i m geting some problem reagrding the Oracle Apps personalization. i dont have much more knowledge about personalization of OA Framework. i want to change one field from one region to another region of the same page. can u please guide me regarding this.
    as per my knowledge i have to create the new item from personalization and the bind that item with the view object. but i dont know how to that exactly. i m geting problem to find the name of that perticular view which belongs to that perticular field.
    so can u please tell me step by step how to do that, as i m beginer in this modual..
    thanx in addvance
    shailesh

    Shailesh,
    You can hide (Render = false) for first field in 1 region using personalization.
    You can create new item in IInd region and bind with View Object.
    Question : I m geting problem to find the name of that perticular view which belongs to that perticular field.
    Ans : Check the whether you are able to get ViewInstance and ViewAttribute Name from 1 field.
    Thanks, Avaneesh

  • Navigate from ALV list to normal Report

    Hi ,
    I am working on a ALV report where it will display the list of materials and by selecting these materials from the list and process them using a custom button , it should take me to the normal report which give the log from that material processing.
    Any ideas navigating from AVL to normal report in the same program would be appriciated.
    Thank you.

    Hi,
    if you use drill down you have to define header print twice:
    TOP-OF-PAGE.
      perform 050print_header .
    END-OF-PAGE.
    TOP-OF-PAGE DURING LINE-SELECTION.
      perform 050print_header .
    END-OF-PAGE.

  • How can I call a Page Process from the Select statement for Report Page

    I'm able to call a javascript using the below:
    img src="#IMAGE_PREFIX#add2.gif" border="0" alt="Icon 4" onClick="javascript:add_connect1('||CPORT.ID||')"
    But Now,
    I'd like to accomplish (2) New things:
    1. instead of using,....... onClick="javascript:add_connect1,
    I'd like to call a Page Process, onClick=
    2. I'd like to be able to call two different processes onClick.
    a. onClick="javascript:passBack('||ID||')"
    b. onClick= <Please see my question #1 above>
    Can someone please help me with the syntax for this,
    If indeed it can even be done?
    Thanks- Gary

    Greg.
    It seems that my situation is the one you describe in you second paragraph, where you mention:
    you could then add the ID column value as a parameter to the javascript functionBut,
    I do not know how to reference the variable in my javascript nor how to use it in my on-demand process.
    If you can hellp me past this last little bump, then I think I will be able to use these skills in Sooo many different areas of my design.
    Here's what I've got so far:
    A. In the select statement I identify the javascript as:
    onClick="javascript:connect_port('<font color=blue>''||ID||''</font>')";
    B. In my javascript I have this:
    <script language="JavaScript" type="text/javascript">
    function connect_port(ID)
    var get = new htmldb_Get(null,$x('pFlowId').value,'APPLICATION_PROCESS=CONNECT_PORT',0);
    gReturn = get.get();
    get = null;
    </script>
    C. In my on demand function I have this:
    BEGIN
    INSERT INTO CCONNECTIONS_B
    BLDG_ID,CLST_ID,PORT_ID,STRAND_ID
    ) VALUES
    :P2004_BLDG_ID,:P2004_CLST_ID,:P2004_PORT_ID,:P2004_STRAND_ID1
    END;
    You can see that I dont know how to use the value for 'ID' in either the javascript or the On-Process function.
    If you can help me out with this one, Then I can imitate it for the rest.
    -Gary
    Edited by: garyNboston on Apr 3, 2009 6:44 AM
    Edited by: garyNboston on Apr 3, 2009 6:44 AM
    Edited by: garyNboston on Apr 3, 2009 6:45 AM
    Edited by: garyNboston on Apr 3, 2009 6:47 AM

  • Drill down hide/show report on same page

    Hi,
    Is it possible to create a drill down report where instead of linking to new pages, the details can be displayed using hide/show buttons on the relevant columns? For example, if you have the following fields:
    Region
    Country
    Division
    Account
    Order
    Product ID
    Product Price
    Would it be possible to ,by default, have the report only show distinct regions. By clicking an expand button on a particular region, it's countries are displayed. By clicking an expand button on a country, its divisions are displayed,etc., eventually being able to drill down to order details.
    This seems similar to a tree to me, although I have not used trees before. However, from the way I understand the structure of hierarchy in trees, the way this data is structured it would not be possible through a tree.
    Any ideas? If not I can just settle on a standard drill down report with links to new pages, but if the above is possible it would work much better for my users.
    Thanks

    FJW,
    Yes, it's possible. We typically refer people to this demo from Carl to get an idea of how it can be accomplished:
    http://htmldb.oracle.com/pls/otn/f?p=11933:13
    Regards,
    Dan
    http://danielmcghan.us
    http://sourceforge.net/projects/tapigen

  • Master/Detail report on same page.

    Hi, I am trying to put together a report (10g HTML DB) and can't seem to put together a master/detail report.
    I would like to have a header, something like
    Project Title -- Project Status etc... for each project. Then below this section
    Project Detail 1
    Project Detail 2
    Project Detail 3
    Loop through the projects
    It's just two tables. projects and details. Details has a fk project.id.
    I tried to do a Form -> Master Detail but it puts them on seperate pages and also allows the data to be edited. I don't need that, this is simply for display.
    This is something I can put together just creating an html table in an anonymous PLSQL block but if ability is there in HTML DB I should probably try it that way.

    Hi,
    This can be achieved by doing something like the following:
    Have a single SQL statement that joins the two tables together. eg,
    select p.project_title,
    d.project_detail1,
    d.project_detail2,
    etc
    from projects p
    inner join details d on d.project_id = p.project_id
    This will provide a flat table with the project title in the first column for all records.
    Then, in the Report Attributes, you need to switch on Column Breaks:
    In the Break Formatting section, set Breaks to "First Column"
    In the When displaying a break column use this format, enter #project_title#
    In the Identify how you would like your breaks to be displayed, select "Repeat headings on break"
    Finally, clear the "Show" tick for the project_title column
    There's probably something you could do to improve formatting etc, but this should give you a start.
    Regards
    Andy

  • Dynamic select list display details on same page

    i have a select dropdown list that is showing products from a php msql database. When one of the products is selected from the list in need the details of that product displayed underneath the select list.
    here is what i have so far
    mysql_select_db($database_beau, $beau);
    $query_Recordset1 = "SELECT * FROM beaProdSizes, beauCat WHERE beaProdSizes.CatID = beauCat.catID";
    $Recordset1 = mysql_query($query_Recordset1, $beau) or die(mysql_error());
    $row_Recordset1 = mysql_fetch_assoc($Recordset1);
    $totalRows_Recordset1 = mysql_num_rows($Recordset1);
    ?>
    <select id="selectName" name="name">
                          <option value="Select Design">Select Design</option>
                          <?php
    do {
    ?>
                          <option value="<?php echo $row_Recordset1['name']; ?>"><?php echo $row_Recordset1['name']; ?></option>
                          <?php
    } while ($row_Recordset1 = mysql_fetch_assoc($Recordset1));
      $rows = mysql_num_rows($Recordset1);
      if($rows > 0) {
          mysql_data_seek($Recordset1, 0);
                $row_Recordset1 = mysql_fetch_assoc($Recordset1);
    ?>
                          </select>
    thanks in advance

    ok i want to make it using the php that you gave me, i have tried it but it doesnt seem to be working
    this is what i have:
    <?php
    if (!function_exists("GetSQLValueString")) {
    function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "")
      if (PHP_VERSION < 6) {
        $theValue = get_magic_quotes_gpc() ? stripslashes($theValue) : $theValue;
      $theValue = function_exists("mysql_real_escape_string") ? mysql_real_escape_string($theValue) : mysql_escape_string($theValue);
      switch ($theType) {
        case "text":
          $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
          break;   
        case "long":
        case "int":
          $theValue = ($theValue != "") ? intval($theValue) : "NULL";
          break;
        case "double":
          $theValue = ($theValue != "") ? doubleval($theValue) : "NULL";
          break;
        case "date":
          $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
          break;
        case "defined":
          $theValue = ($theValue != "") ? $theDefinedValue : $theNotDefinedValue;
          break;
      return $theValue;
    $var1_Recordset1 = "-1";
    if (isset($_GET['CatID'])) {
      $var1_Recordset1 = $_GET['CatID'];
    mysql_select_db($database_beau, $beau);
    $query_Recordset1 = "SELECT * FROM beaProdSizes, beauCat WHERE beaProdSizes.CatID = beauCat.catID";
    if (isset($_GET['catID']) && is_numeric($_GET['catID'])) {
        $query_Recordset1 .= ' AND beauCat.catID = ' . $_GET['catID'];
    $Recordset1 = mysql_query($query_Recordset1, $beau) or die(mysql_error());
    $row_Recordset1 = mysql_fetch_assoc($Recordset1);
    $totalRows_Recordset1 = mysql_num_rows($Recordset1);
    ?>
    <div class="header" id="beauTitleBOX"><?php echo $row_Recordset1['catname']; ?></div>
            <div id="beauSelectBOX">
              <form id="FormName" action="" method="get" name="FormName">
                <select id="selectName" name="name">
                  <option value="Select Design">Select Design</option>
                  <?php
    do {
    ?>
                  <option value="<?php echo $row_Recordset1['catID']; ?>"><?php echo $row_Recordset1['name']; ?></option>
                  <?php
    } while ($row_Recordset1 = mysql_fetch_assoc($Recordset1));
      $rows = mysql_num_rows($Recordset1);
      if($rows > 0) {
          mysql_data_seek($Recordset1, 0);
                $row_Recordset1 = mysql_fetch_assoc($Recordset1);
    ?>
                </select>
                <input type="submit" name="button" id="button" value="select" />
              </form>
            </div>
            <div class="header" id="beauPrice"><?php echo $row_Recordset1['price']; ?></div>
            <div class="text" id="beauOtherContent"><?php echo $row_Recordset1['desc']; ?></div>

  • Using spry select on multiple forms in same page

    Greetings-
    My apologies if this has already been answered but after a few searches I've not found my solution....
    I have a web page with 2 different forms (completely different open form and close form tags) that I'm trying to get the Spry Select Widget to work in.
    Both forms' Spry Select widgets interact as expected with the user with one exception; the second form continues to submit to the action page even if the user is trying to submit an invalid value (the docs suggested using the value of -1 so that's what I'm using). The appropriate error gets displayed to the user but the form continues to submit, which I don't want. Is there a limitation that I missed regarding the use of multiple forms in the same web page with the Spry Select Widget?
    FWIW, I'm running the app on ColdFusion and even the cfform/cfselect won't work with the Spry Widget.... I've named and id'd all forms and form elements and still no luck.
    Any ideas?
    Thanks in advance,
    Rich

    Hi Brad,
    The preamble looks reasonable.  I would like to make sure you are clear on the process.
    The data needs to be rendered twice (i.e. a 2 step job).  In the first step you create a trace file with the page count for each document in it...\trace"^define User:PageCountForTrans_@:TransCount. @$page.@LF."."
    In the second step, that trace file is brought back in as a preamble file.
    Please confirm that you are in fact passing the data twice.
    cheers
    Chris

Maybe you are looking for