Detail Page empty

Hi There,
I am creating a dynamic link from a news item in my index.php
page. I have highlighted the field (in index.php) I want to use as
the dynamic link to the detail page and used the 'go to detail page
for PHP server behaviour'. This links to my detail page called
'newscontent.php'. On newcontent.php, I have created a filtered
recordset which filters by newsID (which is the primary key in the
Mysql database). Using the simple recordset dialog, I did a test
and entered in a test value for URL parameter: newsID. This works
successfully and returns the appropriate records from the database.
Therefore as things seem to be working so far, I have dragged the
newsTitle and newsContent onto my detail page so that when the user
clicks on the link in the index.php page, it will show the title
and content in the detail page.
However things are not working. In the newscontent.php, when
I do live data view, nothing appears on the page (which is weird
because the recordset works fine!!). Even when I view my index.php
page in my browser and try and link to the detail page, it goes to
the detail page no problem but no data is on the page!!! It is just
empty.
I must be doing something really daft, so if someone can spot
a mistake in my strategy here, that would be much appreciated.
dmlocke

This seems sort of pointless to ask, but just in case??? You
say:
"I have highlighted the field (in index.php)" Do you mean
"textfield?" Anyways, I would think that you'd want to use a
dynamically populated menu which then pins the newsID using a URL
parameter or session variable. Anyways, what I'm getting at is: You
have somehow included the newsID chosen on index.php in the
information that's sent to the detail page request and then used
that to filter the SQL query that you already said work when you
PERSONALLY designate a value, right?
Good luck! Hopefully my query, will help you with your
query!

Similar Messages

  • Why is my detail page blank with no data from master page?

    Hello,
    I created master page that links to detail page - but when I click on the link I see the detail page empty from data.
    Do you know why? Thanks!
    This is the PHP code I'm using in the detail page:
    <?php require_once('../Connections/connection1.php'); ?>
    <?php
    function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "")
      $theValue = (!get_magic_quotes_gpc()) ? addslashes($theValue) : $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;
    $editFormAction = $_SERVER['PHP_SELF'];
    if (isset($_SERVER['QUERY_STRING'])) {
      $editFormAction .= "?" . htmlentities($_SERVER['QUERY_STRING']);
    if ((isset($_POST["MM_update"])) && ($_POST["MM_update"] == "formUpdateSale")) {
      $updateSQL = sprintf("UPDATE neve_sale SET type=%s, area=%s, address=%s, built=%s, lot=%s, BR=%s, floor=%s, floorAll=%s, parking=%s, elevator=%s, price=%s, available=%s, `date`=%s, status=%s, details=%s, myDetails=%s, pic1=%s, pic2=%s, pic3=%s, pic4=%s, pic5=%s WHERE `primary`=%s",
                           GetSQLValueString($_POST['type'], "text"),
                           GetSQLValueString($_POST['area'], "text"),
                           GetSQLValueString($_POST['address'], "text"),
                           GetSQLValueString($_POST['built'], "int"),
                           GetSQLValueString($_POST['lot'], "int"),
                           GetSQLValueString($_POST['BR'], "int"),
                           GetSQLValueString($_POST['floor'], "int"),
                           GetSQLValueString($_POST['floorAll'], "int"),
                           GetSQLValueString($_POST['parking'], "text"),
                           GetSQLValueString($_POST['elevator'], "text"),
                           GetSQLValueString($_POST['price'], "int"),
                           GetSQLValueString($_POST['available'], "text"),
                           GetSQLValueString($_POST['date'], "date"),
                           GetSQLValueString($_POST['status'], "text"),
                           GetSQLValueString($_POST['details'], "text"),
                           GetSQLValueString($_POST['myDetails'], "text"),
                           GetSQLValueString($_POST['pic1'], "text"),
                           GetSQLValueString($_POST['pic2'], "text"),
                           GetSQLValueString($_POST['pic3'], "text"),
                           GetSQLValueString($_POST['pic4'], "text"),
                           GetSQLValueString($_POST['pic5'], "text"),
                           GetSQLValueString($_POST['primary'], "int"));
      mysql_select_db($database_connection1, $connection1);
      $Result1 = mysql_query($updateSQL, $connection1) or die(mysql_error());
      $updateGoTo = "admin-sales1.php";
      if (isset($_SERVER['QUERY_STRING'])) {
        $updateGoTo .= (strpos($updateGoTo, '?')) ? "&" : "?";
        $updateGoTo .= $_SERVER['QUERY_STRING'];
      header(sprintf("Location: %s", $updateGoTo));
    $colname_Recordset1 = "-1";
    if (isset($_GET['primary'])) {
      $colname_Recordset1 = (get_magic_quotes_gpc()) ? $_GET['primary'] : addslashes($_GET['primary']);
    mysql_select_db($database_connection1, $connection1);
    $query_Recordset1 = sprintf("SELECT * FROM neve_sale WHERE `primary` = %s", $colname_Recordset1);
    $Recordset1 = mysql_query($query_Recordset1, $connection1) or die(mysql_error());
    $row_Recordset1 = mysql_fetch_assoc($Recordset1);
    $totalRows_Recordset1 = mysql_num_rows($Recordset1);
    ?>

    11) opened iPhoto library package and I now have 'old masters' and 'Masters'
    12) several years seem to be missing from these two folders
    You got bitten by a nasty bug.
    The upgrade of your library got interrupted, and some of your photos are still in the "Old ..." folders.  There is no known fix for this, that can save your iPhoto library. We are still waiting for a bug fix from Apple. What you can do, copy out your original photos, that are still in the "Old Masters" and "Masters", and save these folders.
    Then restore your library from your most recent backup and use the saved "Old " folders  to reimport and add the newest photos, that are missing in your backup.
    The "years" folders in "Masters" and "Old Masters"  are the years, when the photos have been imported, not necessarily the years when the photos have been taken.

  • List -- detail page problem (object passing)

    I have a problem in making the following work:
    I have an application with spring, hibernate and JSF and want to make a simple
    list with an edit link in every line. The edit link gets you to a editDetails.jsp where you can change and save details. (Simplest CRUD - app)
    My list looks something like this:
    <h:dataTable id="table" value="#{consoleService.participants}" var="participant">
    <h:column>
      <h:outputText value="#{participant.lastName}" />
    </h:column>
    <h:column>
    <h:commandLink action="editParticipant">
      <h:outputText value="edit" />
      <f:param name="participant" value="#{participant}" />
    </h:commandLink>
    </h:column>this works fine so far
    In my details page I use
    value="#{participant.id}"
    value="#{participant.email}"and so on to acces the properties of the participant but the properties are empty
    I desparately searched the the web for the last 4 hours and could not find the proper to pass objects to the next page. What is the recommended way? I have tried all different combinations without success
    I have a list and want to see the details of a specific item on the next page?
    Can this be done without any further java coding (I already have a consoleService.getParticipant method).
    Can I pass a java object in a f:param tag?
    Pleeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeease help!

    <h:dataTable id="table"
    value="#{consoleService.participants}"
    var="participant">
    <h:column>
    <h:outputText value="#{participant.lastName}" />
    </h:column>
    <h:column>
    <h:commandLink action="editParticipant">
    <h:outputText value="edit" />
    <f:param name="participant" value="#{participant}"
    }" />
    </h:commandLink>
    </h:column>You cannot pass an Custom Object as a parameter.
    <f:param name="participant" value="#{participant}" is not possible. Instead, pass "id" or any other key as param and access the data from the from the DataBase or whereever with the param passed.

  • Error when the link is clicked for detail page

    Hello I am creating pages using MySql and PHP with dream weaver. I created my master record set and detail page. the master record set works b but when you click the link to bring up the details page I get this error
    "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'name = 'Brandon' LIMIT 0, 10' at line 1"
    Any help with guidance on trouble shooting error would be greatly appreciated.
    David

    =====================================================Master page=============================================================
    <?php require_once('Connections/Onantional.php'); ?>
    <?php
    if (!function_exists("GetSQLValueString")) {
    function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "")
      $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;
    $currentPage = $_SERVER["PHP_SELF"];
    $maxRows_Recordset1 = 10;
    $pageNum_Recordset1 = 0;
    if (isset($_GET['pageNum_Recordset1'])) {
      $pageNum_Recordset1 = $_GET['pageNum_Recordset1'];
    $startRow_Recordset1 = $pageNum_Recordset1 * $maxRows_Recordset1;
    mysql_select_db($database_Onantional, $Onantional);
    $query_Recordset1 = "SELECT * FROM Roster";
    $query_limit_Recordset1 = sprintf("%s LIMIT %d, %d", $query_Recordset1, $startRow_Recordset1, $maxRows_Recordset1);
    $Recordset1 = mysql_query($query_limit_Recordset1, $Onantional) or die(mysql_error());
    $row_Recordset1 = mysql_fetch_assoc($Recordset1);
    if (isset($_GET['totalRows_Recordset1'])) {
      $totalRows_Recordset1 = $_GET['totalRows_Recordset1'];
    } else {
      $all_Recordset1 = mysql_query($query_Recordset1);
      $totalRows_Recordset1 = mysql_num_rows($all_Recordset1);
    $totalPages_Recordset1 = ceil($totalRows_Recordset1/$maxRows_Recordset1)-1;
    $queryString_Recordset1 = "";
    if (!empty($_SERVER['QUERY_STRING'])) {
      $params = explode("&", $_SERVER['QUERY_STRING']);
      $newParams = array();
      foreach ($params as $param) {
        if (stristr($param, "pageNum_Recordset1") == false &&
            stristr($param, "totalRows_Recordset1") == false) {
          array_push($newParams, $param);
      if (count($newParams) != 0) {
        $queryString_Recordset1 = "&" . htmlentities(implode("&", $newParams));
    $queryString_Recordset1 = sprintf("&totalRows_Recordset1=%d%s", $totalRows_Recordset1, $queryString_Recordset1);
    ?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Untitled Document</title>
    </head>
    <body>
    <table border="1" align="center">
      <tr>
        <td>First name</td>
        <td>Last Name</td>
        <td>Conference</td>
        <td>email</td>
      </tr>
      <?php do { ?>
        <tr>
          <td><a href="details.php?recordID=<?php echo $row_Recordset1['First name']; ?>"> <?php echo $row_Recordset1['First name']; ?>  </a> </td>
          <td><?php echo $row_Recordset1['Last Name']; ?>  </td>
          <td><?php echo $row_Recordset1['Conference']; ?>  </td>
          <td><?php echo $row_Recordset1['email']; ?>  </td>
        </tr>
        <?php } while ($row_Recordset1 = mysql_fetch_assoc($Recordset1)); ?>
    </table>
    <br />
    <table border="0">
      <tr>
        <td><?php if ($pageNum_Recordset1 > 0) { // Show if not first page ?>
              <a href="<?php printf("%s?pageNum_Recordset1=%d%s", $currentPage, 0, $queryString_Recordset1); ?>">First</a>
              <?php } // Show if not first page ?>
        </td>
        <td><?php if ($pageNum_Recordset1 > 0) { // Show if not first page ?>
              <a href="<?php printf("%s?pageNum_Recordset1=%d%s", $currentPage, max(0, $pageNum_Recordset1 - 1), $queryString_Recordset1); ?>">Previous</a>
              <?php } // Show if not first page ?>
        </td>
        <td><?php if ($pageNum_Recordset1 < $totalPages_Recordset1) { // Show if not last page ?>
              <a href="<?php printf("%s?pageNum_Recordset1=%d%s", $currentPage, min($totalPages_Recordset1, $pageNum_Recordset1 + 1), $queryString_Recordset1); ?>">Next</a>
              <?php } // Show if not last page ?>
        </td>
        <td><?php if ($pageNum_Recordset1 < $totalPages_Recordset1) { // Show if not last page ?>
              <a href="<?php printf("%s?pageNum_Recordset1=%d%s", $currentPage, $totalPages_Recordset1, $queryString_Recordset1); ?>">Last</a>
              <?php } // Show if not last page ?>
        </td>
      </tr>
    </table>
    Records <?php echo ($startRow_Recordset1 + 1) ?> to <?php echo min($startRow_Recordset1 + $maxRows_Recordset1, $totalRows_Recordset1) ?> of <?php echo $totalRows_Recordset1 ?>
    </body>
    </html>
    <?php
    mysql_free_result($Recordset1);
    ?>
    =====================================================end master ========================================================
    ========================================================details page=========================================================
    <?php require_once('Connections/Onantional.php'); ?><?php
    if (!function_exists("GetSQLValueString")) {
    function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "")
      $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;
    $maxRows_DetailRS1 = 10;
    $pageNum_DetailRS1 = 0;
    if (isset($_GET['pageNum_DetailRS1'])) {
      $pageNum_DetailRS1 = $_GET['pageNum_DetailRS1'];
    $startRow_DetailRS1 = $pageNum_DetailRS1 * $maxRows_DetailRS1;
    $colname_DetailRS1 = "-1";
    if (isset($_GET['recordID'])) {
      $colname_DetailRS1 = $_GET['recordID'];
    mysql_select_db($database_Onantional, $Onantional);
    $query_DetailRS1 = sprintf("SELECT * FROM Roster WHERE First name = %s", GetSQLValueString($colname_DetailRS1, "text"));
    $query_limit_DetailRS1 = sprintf("%s LIMIT %d, %d", $query_DetailRS1, $startRow_DetailRS1, $maxRows_DetailRS1);
    $DetailRS1 = mysql_query($query_limit_DetailRS1, $Onantional) or die(mysql_error());
    $row_DetailRS1 = mysql_fetch_assoc($DetailRS1);
    if (isset($_GET['totalRows_DetailRS1'])) {
      $totalRows_DetailRS1 = $_GET['totalRows_DetailRS1'];
    } else {
      $all_DetailRS1 = mysql_query($query_DetailRS1);
      $totalRows_DetailRS1 = mysql_num_rows($all_DetailRS1);
    $totalPages_DetailRS1 = ceil($totalRows_DetailRS1/$maxRows_DetailRS1)-1;
    ?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Untitled Document</title>
    </head>
    <body>
    <table border="1" align="center">
      <tr>
        <td>First name</td>
        <td><?php echo $row_DetailRS1['First name']; ?> </td>
      </tr>
      <tr>
        <td>Last Name</td>
        <td><?php echo $row_DetailRS1['Last Name']; ?> </td>
      </tr>
      <tr>
        <td>Conference</td>
        <td><?php echo $row_DetailRS1['Conference']; ?> </td>
      </tr>
      <tr>
        <td>email</td>
        <td><?php echo $row_DetailRS1['email']; ?> </td>
      </tr>
    </table>
    </body>
    </html><?php
    mysql_free_result($DetailRS1);
    ?>

  • Timeout problem - record is not shown properly in detail page after timeout

    Hi,
    I am using JDeveloper 10.1.3.1.0.3984
    and JHeadstart 10.1.3.1 Release 10.1.3.1.26
    I have a Master View Object where there is a field ID (for example M_VO).
    There is a page associated with M_VO (Page_M_VO.jspx)
    There is a Detail View Object (for example D_VO)
    There is a page associated with D_VO (Page_D_VO.jspx)
    There is a link from M_VO to D_VO using the field ID.
    When I open the page Page_M_VO.jspx and select an ID and go to the detail page Page_D_VO.jspx, it goes to the detail page Page_D_VO.jspx. It works fine.
    But the problem is:
    If for example I have three ID (111, 222, 333), in master page if I select 222 and go to detail page it shows the appropriate records for 222 as I selected 222 in master page. If I keep the detail page open for more than the timeout minutes specified in web.xml and then try to access the detail page again it ask for userid and password (which is fine). If I put userid and password, then it shows the detail page with the first record which is the record associated with the ID 111. But before timeout I was working with the ID 222, so it should show the record associated with ID 222 as I was working with ID 222 before timeout.
    Can anybody help me to solve this problem?
    Thanks
    Syed Jabbar
    University of Windsor
    Windsor, ON, Canada

    I would put my money on the fact that since your application is timing out, it is dropping any state that your View Objects otherwise had before the application timeout.
    So upon reauthorizing and reaccessing the application (and going directly to the detail page) the View Object is reinstantiated and only knows to go to its default data set which is 111.
    If my assumption is correct, I don't think you could really implement this without a lot of trouble.

  • Can I link from Interactive report Page 1 to Master Detail page 2?

    Hi folks-
    I know how to create a Page as an Interactive Report; it creates 2 pages automatically (primary page with the great interactive bar) and a 2nd page that's a single record.
    I know how to create a Page as Master Detail, whereby I get a tabular list without the super interactive bar, and I can select a record, and get transported to a nice page with 2 regions (master on top, detail on bottom).
    I want to have the First page from the Interactive Report, select the record, and go to the 2nd page of a MasterDetail.
    Do I create the Interactive Report, and customize the 2nd page, to add a region?
    Or, do I create both page types, and redirect from the 1st page of the Interactive Report to the DML Form from the MD report? I tried that, re-assigning the link from the Interactive Report to be a Link to Custom Target, and specify the page # of the Master-Detail page. And it is taking me to the right page, but the data from the selected row is not coming with me, and the detail in the bottom region is not appearing at all.
    Can someone please give me a nudge as to the sequence I should be doing?
    (As you can tell, I'm new to Apex.... I'm trying to use it to create a prototype or proof-of-concept for a database driven web application)
    Thank you
    Marion

    Yes, I tried that after I wrote to you - and it's fine, but not what I'm after; it's only based on 1 table and I'm working with 2 tables.
    Perhaps I can explain in better.
    I want one page as an interactive tabular report (of the master records)
    I want to select a row, and transfer to a page that has the corresponding row on top (as a form), and a tabular region below of records from a related detail table.
    ie, I want page 1 from the Interactive Report, and page 2 of the Master Detail report.
    OK - I just took the form page, and added a region below in a tabular report. And I'm getting the data, but I'm getting all the records (not just the ones associated with the single record on top. I figure I need to edit the Region Definition->Source (to specify that the id numbers need to match), but the code is not editable.....
    So I am in Structured Query Attributes, and I've Modified the Join Conditions - but I still get all the detail records in the bottom region. I''m trying to add in the ( + ) qualifier, but it doesn't affect anything...
    I'm soo close to what i'm trying to do!
    Thank you for your continued patience and assistance
    Marion
    here's the Source I have for the region..... (I'm including the excess ID columns just for learning purposes)
    SELECT
    "PHONENUMBERS"."PHONE_ENTITY_ID" "PHONE_ENTITY_ID",
    "ENTITIES"."ENTITY_ID" "ENTITY_ID",
    "ENTITIES"."FIRSTNAME" "FIRSTNAME",
    "ENTITIES"."LASTNAME" "LASTNAME",
    "ENTITIES"."COMPANY" "COMPANY",
    "PHONENUMBERS"."PHONE_ID" "PHONE_ID",
    "PHONENUMBERS"."PHONETYPE" "PHONETYPE",
    "PHONENUMBERS"."PHONENUMBER" "PHONENUMBER",
    "PHONENUMBERS"."PHONECOMMENT" "PHONECOMMENT"
    FROM
    "PHONENUMBERS",
    "ENTITIES"
    WHERE ENTITIES.ENTITY_ID = PHONENUMBERS.PHONE_ENTITY_ID
    Edited by: mtpaper on Oct 12, 2009 1:30 PM
    Edited by: mtpaper on Oct 12, 2009 1:32 PM

  • Project Server 2010 - Unable to open project, no valid Project Detail Page could be found for the project error

    I have a workflow being deployed for the first time on a farm. When I create a project with an EPT connected to the workflow it runs and can enter the required field in a PDP.  Then I Submit the workflow to go to the next stage and I get the "Unable
    to open project, no valid Project Detail Page could be found for the project" error.  After that the project is stuck on the same error.  All of the 18 stages have PDP and Schedules assigned to them.
    Any ideas on why the workflow cannot see the PDPs?  Is there a farm permissions that I am missing?  Thanks!

    Hi David,
    It starts to be a bit technical for me, but here is what I found on the web (seems to be an authentication issue with Sharepoint 2010):
    http://social.technet.microsoft.com/Forums/en-US/120ab535-63d2-4205-a51f-1987e9c0cf79/sharepoint-fba-the-content-type-texthtml-charsetutf8-of-the-response-message-does-not-match-the
    http://social.msdn.microsoft.com/Forums/silverlight/en-US/5cc70ff6-50d9-4cd3-b092-12007f4e495b/response-message-contenttypebindingtype-mismatch
    http://stackoverflow.com/questions/5263150/the-content-type-text-html-charset-utf-8-of-the-response-message-does-not-match
    Hope it will help you going forward in resolving your issue.
    Guillaume Rouyre - MBA, MCP, MCTS

  • Project Server 2010 Webpart for Project Detail Pages

    Hello,
    I do have a requirement where I need to develop a Project Server Web Part to show some calculated project information based on some business rule from Reporting database.
    That webpart I have to add in Project Detail Pages to show calculated project information for the Project I have selected/clicked from Project Center.
    So please tell me how can I link my webpart with ProjUID in URL like "PWA/Project%20Detail%20Pages/ProposalStageStatus.aspx?ProjUid=2b24d36b-7796-4789-ada3-d895d218fc14"
    So that it shows data corresponding to opened project in Project Server.
    Thanks and let me know in case have any doubts in understanding the requirement.

    Hi YLee_1980,
    If I understand your requirement correctly then you can use ProjUID querystring paramater to get specific ProjectUID like below
     HttpContext.Current.Request.QueryString["ProjUid"];
    Then after getting ProjectUID you can use it anywhere in your SQL query, PSI method calling etc etc.
    Also you can look into PS 2010 Solution Starter
    custom solutions Kit to enhance your knowledge on PS 2010 development. That would a great starting point.
    Thanks much hope this will help
    Sachin Vashishth MCTS

  • ADF BC - One Master and Two Detail pages How To?

    I have an existing ADF BC .jspx master-detail page that works fine. It shows one product as the master (read-only; no navigation controls) and assocatied customer feedback as the detail (multiple records; read-only.) Now I also want to compute some averages from the same table used to create the detail view object. I have created a second view object because this requires a separate query that calculates aggregate values. I want to take advantage of using view links so that this 2nd view object is automatically linked to the master record via the primary key.
    My question is how can I link this into the existing master-detail data control so that I can drag/drop it to include id on the existing .jspx page and the primary key linkages will be handled automatically?
    Tables
    Product
    Feedback
    View Objects
    ProductView
    FeedbackView
    FeedbackAVGView
    Current ViewLink
    ProductFeedbackViewLink = ProductView + FeedbackView
    Current DataControl
    ProductFeedbackViewLink-Instance
    Data Control is displayed on .jspx page; want to also include 3rd View Object, FeedbackAVGView, in the Master-Detail relationship and display on the .jspx page

    Thanks for the reply. The existing customer feedback view object displays the customer's text feedback (testimonials) - these will be displayed in a read-only table with multiple records.
    The new view object aggregates the ratings score from the customer feedback (same FEEDBACK database table) and will use a form to display the results (not multiple rows.) The PK is included in the aggregate view object query.
    Note there is already an existing viewlink between the PK (Master) and FK (Feedback) - in the data control, this viewlink is an instance of the Master View Object and the Customer Feedback View object. Now that I have created a third view object, should I create another View Link between the Master View Object and the Customer Feedback AVERAGES View Object? If I do this, how do I include it in the existing .jspx page? If I add this new View Link to the Application Module I will have two different Data Controls:
    Data Control #1: Master (Product) View Object + Customer Feedback View Object #1 (implemented as a master-detail read-only form/table on a .jspx page)
    Data Control #2: Master (Product) View Object + Customer Feedback AVG View Object #2
    I'm confused as to how to integrate the second customer feedback view object into the existing Data Control / Master-Detail read-only form/table on my .jspx page?
    thanks

  • Question on "Master Detail page using ADF" sample

    I downloaded the "Master Detail page using ADF" sample application. I modified editDepartment.jsp page to include the Commit button as follows:
    <html:submit property="event_Commit">Save and Commit</html:submit>
    When I go to edit a department record and click on the new "Save and Commit" button, I SQLed the DEPARTMENTS table and noticed that the edits were not commited. I also restarted the embedded OC4J server and still get the same results. For some reason, the department view object contains the modification but the entity object doesn't. Why?

    Scott,
    My colleague suggested a workaround, which is to explicitly include the detail table's id in the master table's partialTargets list. So, for example, in MasterDetailDP.uix, changing:
    <table model="${bindings.DepartmentsView1}"
           id="DepartmentsView111"
           partialRenderMode="multiple"
           partialTargets="_uixState">to:
    <table model="${bindings.DepartmentsView1}"
           id="DepartmentsView111"
           partialRenderMode="multiple"
           partialTargets="_uixState EmployeesView312">...will cause the detail table to be updated when sorting the master table.
    There is some question about whether sorting a table should actually cause the currently selected row to change - we're still discussing this point.
    Andy

  • OAF matester detail page : How to have a "Show All" feature on screen, so that all the master and details records are expanded .

    Hi ,
    I was trying to have a "SHOW ALL" feature on the master - detail page,
    the detail table is an advancec table.
    Please help me with inputs on how to have  "SHOW ALL" feature,
    Currently, we have to click on  ":Show" for each record at master level to view the child data.
    Trying to achive "Show All" Feature so that on click of this the master records on the page 'Expands"  showiing all master records with respective detail records.
    Regards
    bhuvanm

    Hi,
    You should not set DetailFlag = "Y" in whereclause because there is no such record.
    Also detail flag is transient attribute and not the query column, hence the error "Invalid indentifier".
    I asked you to use DetailFlag as query column with static value "Y".
    for example:
    SELECT "Y" detail_flag
    FROM <table_name>
    This will display all the table records in expanded format. if you want it conditionally then use decode on some bind parameters.
    For example:
    SELECT DECODE(:1, "SHOWALL", "Y", "N") detail_flag
    FROM <table_name>
    This bind parameter should be passed whenever you want to execute query for the table.
    Regards,
    Sandeep M.

  • Graph not loaded on navigating to another detail page

    Folder Structure :
    webcontent
    index.html
        view
          -lineDetails.controller.js
          -lineDetails.view.js
          -lineStatus.controller.js
          -lineStatus.view.js
          -MainApp.view.js
          -MainApp.controller.js
          -MasterPage.controller.js
          -MasterPage.view.js
    I've a splitapp consisting of a masterpage - MasterPage and two detail page - lineStatus & lineDetails.
    there is a table in lineStatus page and a line graph in lineDetails page,
    when one clicks on show graph in table user is navigated to lineDetails page.
    The problem is that graph in lineDetails page is not visible, though <div> for graph is created.
    If I load lineDetails page first(where the graph is), then everything works fine and graph is visible.
    Code :
    Adding a column to table.
    var oColumn4 = new sap.ui.table.Column({
             label: new sap.ui.commons.Label({text: ""}),
             template: new sap.ui.commons.Link({text:"show graph",press:function(){
              splitapp.toDetail("lineDetails");
             width: "25%"
    Adding a graph to the page and returning it.
    createContent : function(oController) {
      oModelLineDetail = new sap.ui.model.json.JSONModel({
      businessData1 : [
      {Time :"1:00",Level:10},
      {Time :"2:00",Level:10.5},
      {Time :"3:00",Level:9.5},
      {Time :"4:00",Level:4},
      {Time :"5:00",Level:9.6},
      {Time :"6:00",Level:10.1}
      oDatasetLine = new sap.viz.ui5.data.FlattenedDataset({
        // a Bar Chart requires exactly one dimension (x-axis)
        dimensions : [
        axis : 1, // must be one for the x-axis, 2 for y-axis
        name : 'Time',
        value : "{Time}"
        // it can show multiple measures, each results in a new set of bars in a new color
        measures : [
           // measure 1
        name : 'Oil level', // 'name' is used as label in the Legend
        value : '{Level}' // 'value' defines the binding for the displayed value 
        // 'data' is used to bind the whole data collection that is to be displayed in the chart
        data : {
        path : "/businessData1"
      oLineChart = new sap.viz.ui5.Line({
        width : "80%",
        height : "300px",
        plotArea : {
        'colorPalette' : d3.scale.category20().range()
        xAxis : {
                    isIndependentMode : false,
                    title : new sap.viz.ui5.types.Axis_title({text: 'Time', visible: true})
        yAxis : {
                    isIndependentMode : false,
                    title : new sap.viz.ui5.types.Axis_title({visible: true})
      oTextView = new sap.ui.commons.TextView({
      text: "Line Speed",
      tooltip:"Line Speed",
      //width: "100%",
      design: sap.ui.commons.TextViewDesign.H1
      }).addStyleClass("lineDetHeader");
      oLineChart.setModel(oModelLineDetail);
      oLineChart.setDataset(oDatasetLine);
      var btn = new sap.ui.commons.Button({text:"button",press:function(){location.reload();}});
      lineDetPage = new sap.m.Page({
      title: "Line varaible details",
      showNavButton:true,
      navButtonPress : function(){splitapp.toDetail("lineStatus");},
      content: [oTextView,oLineChart,btn]
      return lineDetPage;

    Hi,
    Use the following code for navigation from one iview to another:
    WDPortalNavigation.navigateAbsolute(
    "ROLES:portal_content/com.cv.kaar.Test_Page2",
    WDPortalNavigationMode.SHOW_INPLACE,
    (String) null,
    (String) null,
    WDPortalNavigationHistoryMode.NO_DUPLICATIONS,
    (String) null,
    (String) null,
    "Name=" + wdContext.currentContextElement().getName());
    You have other options too like, External Window etc. other than the SHOW_INPLACE.
    The last line of the above coding is used for passing parameter to another iView.
    Give the right path of the iview PCD path, omitting pcd:
    Hope this helps.
    Regards,
    Srinivasan T
    <b>Helpful answers=>points</b>

  • Not able to see a narative report from a contact detail page.

    In the URL of the weblink, I set up the link to the report as follow:
    https://secure-ausomxdca.crmondemand.com/OnDemand/user/analytics/saw.dll?Go&Path=/shared/Company_31844_Shared_Folder/WEB+APPLET/FAX+to+contact&Action=Navigate&P0=1&P1=eq&P2=Contact."Contact ID"&P3%%%Id%%%
    but when I right click on the weblink on the contact detail page I get this:
    https://secure-ausomxdca.crmondemand.com/OnDemand/user/analytics/saw.dll?Go&Path=/shared/Company_31844_Shared_Folder/WEB+APPLET/FAX+to+contact&Action=Navigate&P0=1&P1=eq%0d%0a&P2=Contact.%22Contact+ID%22&P3ADBA-3AYF6O
    I get %22&P3ADBA-3AYF6O at the end of the URL when I should get %%%Id%%%.
    What could have happened? How can I fix this?
    Thanks in advance for your help!

    Actually thats correct. When you specify %%%Id%%%, it gets replaced with actual row id which is "ADBA-3AYF6O" in your case.
    One mistakeI noticed, '=' is missing after P3 it should be
    https://secure-ausomxdca.crmondemand.com/OnDemand/user/analytics/saw.dll?Go&Path=/shared/Company_31844_Shared_Folder/WEB+APPLET/FAX+to+contact&Action=Navigate&P0=1&P1=eq&P2=Contact."Contact ID"&P3=%%%Id%%%
    Try it.
    Dinesh

  • Is there a way to remove default lightbox related stuff from poplets in product detail page?

    http://pilotpenaustralia.com.au/product-catalogue/writing-instruments/frixion-range/frixio n-ball-erasable-pen/
    On above page (which is a product detail page using product large layout) I added poplets and it started to generate javascript conflicts and my dropdown stoped working. I am using mootools and jQuery in my site and if I just take out the tag for poplets out, every thing start working perfect. I also tried to take every thing out except scripts we are using for dropdown but all in vain.
    I am looking for some solution like if I can have plain markup including images for popup without the default lightbox code. My plan is to add lightbox or colorbox manually so it will not have any confilict with other scripts.
    I am trying to find the solution for last two days but no solution worked at all. Your help will be appericiated. Thanks a lot in advace.

    Thanks for your kind reply. Yes I can see number of errors. Actually my client purchased this theme and it uses some how mootools and jQuery at same time. I was only to look into product layouts. I don't know what other scripts are doing there. I know this is a mess but I am sure there should be some way to resolve it in my current scope of work. I switched all other scripts specifically the ones uses jQuery and also did not link jQuery too. But still lightbox.js (the one BC embeds) is conflicting with mootools and menu. So what the deal??? Waiting for positive feedback.

  • Can I set up a Master-Detail Page with report regions for 2 Detail Tables?

    Hi there,
    I am just starting to use Application Express.
    I have a Table (A) with Master-Detail relationships to two Tables B & C.
    I can set up a Master-Detail Page between Table A and Table B, where the records displayed in Table B change when switching between records in Table A. I would like to add Table C to the page and for this to work in the same way.
    Is this possible in APEX? (I've tried adding a report region for Table C and making the Region Source dependent on the same ID field as is used by the report region for Table B but I keep getting "No Data Found" for Table C).
    Many thanks.

    Thanks, but the text needs to be on a single master page which every page is assigned to. This is so the text alternates correctly regardless of whether new pages are inserted or moved. If I assigned separate master pages to individual pages and then moved the pages to a different location, the alternating footer text would then fall out of sync. I hope that made sense!

Maybe you are looking for

  • How to change the mining type of an attribute?

    Quite often, when I build a model with Naive Bayes algorithm (using DBMS_DATA_MINING package) I get a model with some attributes being type of VARCHAR2 and categorical mining type although the data type of these attributes are NUMBER. My question is,

  • How do I import audio from a dvd?

    There is a song on a dvd that I want to import into iTunes. I searched all through iTunes store, amazon & the movie companies website, but there is no soundtrack available for sale.... or by the musicians anywhere. Is there a program that will record

  • Can't install a trial version of RoboHelp 11.

    There's always an error at the Initializing stage. It tells me to restart and turn off firewalls, etc., but I can't turn off Windows Defender.

  • Perdormance Issue

    I am creating a report on Infoset. My infoset contains four ODs Objects for Purchase requisition, PO item data, PO good Receipts and Accounts Payale data with left outer join. The issue i am facing is that query is taking very very high time to execu

  • Forms Tab-Canvas, change TAB with alt +Number on keypad

    I have a forms module with a tab page canvas. Navigation from tab-page to tab-page is possible by using <alt>+"Number". But changing the tab page wiht <alt>+"Number on the keypad "is not possible. How can I manage this? Regards