Issue with layout / repeat region part 2..

Seems I haven't cracked this just yet - basically have a
details page that is split into three - with a candidate's details
at the top left, their work profile at the top right, with a long
CV text appearing below both.
All the fields are from the Candidates table, except the
profiles - so the profiles need to be a repeat region to list them
all.
I can't for the life of me get the layout to work as I'd like
- it's as tho' anything appearing afer the repeat region won't
display.
See here :
link
Below the CV header the CV field should appear - as in :
<tr>
<td colspan="2" valign="top"
class="labelcell">CV</td>
</tr>
<tr>
<td class="profilecell"><?php echo
$row_Candidates['CV']; ?></td>
</tr>
But when you view source, the <?php echo
$row_Candidates['CV']; ?> is AWOL, and appear as :
<tr>
<td colspan="2" valign="top"
class="labelcell">CV</td>
</tr>
<tr>
<td class="profilecell"></td>
</tr>
Anyone spot what's up here?
Just as I thought I had this page's layout done and dusted,
as usual, there had to be something not quite right!
Iain

Iain -
I'm gonna have to take a look at this first thing in the
monring man, sorry.
I had a problem that got me all tied up.
If you want, email me at crash blat cdcdigital dotcom and
i'll answer in
email for a bit quicker response.
"Iain71" <[email protected]> wrote in
message
news:[email protected]...
>
quote:
what does your code look like? what languages are you using?
>
> I'm using PHP/mySQL
>
> This is the current PHP at the top of the page :
>
> <?php
require_once('../Connections/connSearchTechUK.php'); ?>
> <?php
> $maxRows_Candidates = 10;
> $pageNum_Candidates = 0;
> if (isset($_GET['pageNum_Candidates'])) {
> $pageNum_Candidates = $_GET['pageNum_Candidates'];
> }
> $startRow_Candidates = $pageNum_Candidates *
$maxRows_Candidates;
>
> $colname_Candidates = "1";
> if (isset($_GET['CandidateID'])) {
> $colname_Candidates = (get_magic_quotes_gpc()) ?
$_GET['CandidateID'] :
> addslashes($_GET['CandidateID']);
> }
> mysql_select_db($database_connSearchTechUK,
$connSearchTechUK);
> $query_Candidates = sprintf("SELECT * FROM Profiles
INNER JOIN (Candidates
> INNER JOIN CandidateProfiles ON Candidates.CandidateID =
> CandidateProfiles.CandidateID) ON Profiles.ProfileID =
> CandidateProfiles.ProfileID WHERE Candidates.CandidateID
= %s",
> $colname_Candidates);
> $query_limit_Candidates = sprintf("%s LIMIT %d, %d",
$query_Candidates,
> $startRow_Candidates, $maxRows_Candidates);
> $Candidates = mysql_query($query_limit_Candidates,
$connSearchTechUK) or
> die(mysql_error());
> $row_Candidates = mysql_fetch_assoc($Candidates);
>
> if (isset($_GET['totalRows_Candidates'])) {
> $totalRows_Candidates = $_GET['totalRows_Candidates'];
> } else {
> $all_Candidates = mysql_query($query_Candidates);
> $totalRows_Candidates = mysql_num_rows($all_Candidates);
> }
> $totalPages_Candidates =
> ceil($totalRows_Candidates/$maxRows_Candidates)-1;
> ?>
>
> The data is being displayed using PHP echo lines, eg :
>
> <?php echo $row_Candidates['FirstName']; ?>
>
>
quote:
You said all fields were created from the Candidates table -
so that
> means
> the left and bottom sections, yet?
>
> The profiles section is fed by another table, yes?
What's your SQL look
> like for this? Are you searching by userID, by
userClass,. how are you
> determininig what profieles are assocaited with what
Person?
>
> Yup - basically a Candidates table, and a Profiles
table, looking up on
> CandidateID - the SQL looks like :
>
> SELECT *
> FROM Profiles INNER JOIN (Candidates INNER JOIN
CandidateProfiles ON
> Candidates.CandidateID = CandidateProfiles.CandidateID)
ON
> Profiles.ProfileID =
> CandidateProfiles.ProfileID
> WHERE Candidates.CandidateID = colname
>
>
quote:
What does your recordset produce when you test it?
>
> The recordset looks fine - in the code 'FirstName'
displays correctly near
> the
> top amongst the main details, but it should also appear
immediately to the
> left
> of "'s CV' - the code in the page is exactly the same
(as it should be, as
> the
> field is just dragged into place from the bindings
panel) as :
>
> <tr>
> <td colspan="2" valign="top"
class="labelcell"><?php echo
> $row_Candidates['FirstName']; ?>'s CV</td>
> </tr>
>
> It (and the 'CV' field) display fine when there's no
repeat region on the
> 'Profile' field, but as soon as I add the repeat region,
the go AWOL.
>
> Iain
>

Similar Messages

  • Issue with layout / repeat region

    Can someone have a look at this please?
    Basically two versions of a details page based on a recordset
    using two tables and an interlinking lookup table.
    The idea is to display a person's details at the top of the
    page on the left (from the 'Candidates' table), and on the right
    any job 'profiles' for that person (from a 'Profiles' table). The
    page is obviously just showing the details for the selected
    Candidate, but needs to show *all* the associated profiles.
    So in the first page, the details are correct, but because it
    shows the first record from the query.
    So I thought it would be a simple case of adding a repeat
    region to the 'Profiles' row on the right hand side. But when I do
    that, most of the contact details don't display - only the ID and
    firstname fields.
    http://www.searchtechuk.com/database/candidates2.php
    http://www.searchtechuk.com/database/candidates3.php
    Any clues?
    Iain

    there's no urls with your request.
    "Iain71" <[email protected]> wrote in
    message
    news:eaqnht$il4$[email protected]..
    > Can someone have a look at this please?
    >
    > Basically two versions of a details page based on a
    recordset using two
    > tables
    > and an interlinking lookup table.
    >
    > The idea is to display a person's details at the top of
    the page on the
    > left
    > (from the 'Candidates' table), and on the right any job
    'profiles' for
    > that
    > person (from a 'Profiles' table). The page is obviously
    just showing the
    > details for the selected Candidate, but needs to show
    *all* the associated
    > profiles.
    >
    > So in the first page, the details are correct, but
    because it shows the
    > first
    > record from the query.
    >
    > So I thought it would be a simple case of adding a
    repeat region to the
    > 'Profiles' row on the right hand side. But when I do
    that, most of the
    > contact
    > details don't display - only the ID and firstname
    fields.
    >
    > example 1
    >
    > example 2
    >
    > Any clues?
    >
    > Iain
    >
    >
    >

  • Regarding the Cheque printing in SAP Script. Issue with Layout Change.

    I have to modify the layout of a predeveloped script.
    The issue with the existing one is that, the Labels (on the window, that is printed) and the data (corresponding to it) are not on the same line.
    To be more clear, I have like this on the cheque,
    Payee : _______________________
    Amount : ____________________
    The Data corresponding to the Pay & Amount is not in the respective line (as I shown above).
    How can I get that both on the same line.?
    Shall I need to modify the layout or what else to do ?
    Pls. guide me.
    Your guidance is appreciable.
    Edited by: ravikanth seal on Mar 9, 2011 5:09 AM
    Edited by: ravikanth seal on Mar 9, 2011 5:10 AM

    Hi niraj gadre ..
    Ur idea may not workout fir me.
    My idea is :
    Can I use any formating options in the corresponding window's text elements..
    Pressing F9 on the windiw (in the Windows list) displays the Text Elements (Goto Edit-> Text Elemets on the Window chosen) in the Windows list.
    Here can we do any formating options, so as to change the layout alignment of window's Text Elements ??
    Guide me please.
    Your guidance is Appreciable
    Thanks.
    Edited by: ravikanth seal on Mar 9, 2011 7:55 AM

  • URGENTLY NEED HELP WITH NESTED REPEAT REGION

    Im using dreamweaver to deevelop a page that displays questions in ann assessment to the user. First of all the page shows the assessment name to the user and then it gets some information about the questions in the assessment from the table called Item. It gets the Question_ID and then there is a repeat region which uses the Question_ID to display the questions in the assessment. There is a nested repeat region inside this which displays the possible answers the user can respond to the question with It gets this information from a table called outcome. The page should display each question and then all the possible answers but i am having problems and im not sure wether i am doing this in the correct way. What is wrong with my code? PLEASE HELP! can someone tell me what is going wrong and how i can fix this problem thamks.
    here is my code.
    Driver DriverassessmentRecordset = (Driver)Class.forName(MM_connAssessment_DRIVER).newInstance();
    Connection ConnassessmentRecordset = DriverManager.getConnection(MM_connAssessment_STRING,MM_connAssessment_USERNAME,MM_connAssessment_PASSWORD);
    PreparedStatement StatementassessmentRecordset = ConnassessmentRecordset.prepareStatement("SELECT Assessment_ID, Assessment_Name, Time_Limit, Display_Random, Record_Answers FROM Assessment.assessment WHERE Assessment_ID = '" + session.getValue("AssessmentID") + "' ");
    ResultSet assessmentRecordset = StatementassessmentRecordset.executeQuery();
    boolean assessmentRecordset_isEmpty = !assessmentRecordset.next();
    boolean assessmentRecordset_hasData = !assessmentRecordset_isEmpty;
    Object assessmentRecordset_data;
    int assessmentRecordset_numRows = 0;
    %>
    <%
    Driver DriveritemRecordset = (Driver)Class.forName(MM_connAssessment_DRIVER).newInstance();
    Connection ConnitemRecordset = DriverManager.getConnection(MM_connAssessment_STRING,MM_connAssessment_USERNAME,MM_connAssessment_PASSWORD);
    PreparedStatement StatementitemRecordset = ConnitemRecordset.prepareStatement("SELECT Question_ID, Assessment_ID FROM Assessment.item WHERE Assessment_ID = '" + session.getValue("AssessmentID") + "' ");
    ResultSet itemRecordset = StatementitemRecordset.executeQuery();
    boolean itemRecordset_isEmpty = !itemRecordset.next();
    boolean itemRecordset_hasData = !itemRecordset_isEmpty;
    Object itemRecordset_data;
    int itemRecordset_numRows = 0;
    %>
    <%
    Driver DriverquestionRecordset = (Driver)Class.forName(MM_connAnswer_DRIVER).newInstance();
    Connection ConnquestionRecordset = DriverManager.getConnection(MM_connAnswer_STRING,MM_connAnswer_USERNAME,MM_connAnswer_PASSWORD);
    //PreparedStatement StatementquestionRecordset = ConnquestionRecordset.prepareStatement("SELECT Question_Type, Number_Outcomes, Question_Wording FROM Answer.question WHERE Question_ID = '" + (((itemRecordset_data = itemRecordset.getObject("Question_ID"))==null || itemRecordset.wasNull())?"":itemRecordset_data) +"' ");
    //ResultSet questionRecordset = StatementquestionRecordset.executeQuery();
    %>
    <%
    Driver DriveroutcomeRecordset = (Driver)Class.forName(MM_connAnswer_DRIVER).newInstance();
    Connection ConnoutcomeRecordset = DriverManager.getConnection(MM_connAnswer_STRING,MM_connAnswer_USERNAME,MM_connAnswer_PASSWORD);
    PreparedStatement StatementoutcomeRecordset = ConnoutcomeRecordset.prepareStatement("SELECT Outcome_Number, Outcome_Text, Score, Feedback FROM Answer.outcome WHERE Question_ID = '" +itemRecordset.getObject("Question_ID")+ "' ");
                     ResultSet outcomeRecordset = StatementoutcomeRecordset.executeQuery();
                     boolean outcomeRecordset_isEmpty = !outcomeRecordset.next();
                    boolean outcomeRecordset_hasData = !outcomeRecordset_isEmpty;Object outcomeRecordset_data;
                  int outcomeRecordset_numRows = 0;
    %>
    <%
    int Repeat1__numRows = -1;
    int Repeat1__index = 0;
    itemRecordset_numRows += Repeat1__numRows;
    %>
    <%
    int Repeat2__numRows = -1;
    int Repeat2__index = 0;
    assessmentRecordset_numRows += Repeat2__numRows;
    %>
    <!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"><!-- InstanceBegin template="/Templates/assessment.dwt.jsp" codeOutsideHTMLIsLocked="false" -->
    <head>
    <!-- InstanceBeginEditable name="doctitle" -->
    <title>Assessment</title>
    <!-- InstanceEndEditable -->
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    <!-- InstanceBeginEditable name="head" -->
    <!-- InstanceEndEditable -->
    <link href="../css/style.css" rel="stylesheet" type="text/css" />
    </head>
    <body>
    <table width="1000" border="0" cellpadding="0" cellspacing="0">
      <!--DWLayoutTable-->
      <tr>
        <td height="190"><img src="../img/assessment_login.png" alt="" name="navigation" width="1000" height="190" border="0" id="navigation" /></td>
      </tr>
      <tr>
        <td height="19"><!--DWLayoutEmptyCell--> </td>
      </tr>
      <tr>
        <td height="19"><!-- InstanceBeginEditable name="main" -->
        <table>
          <tr>
            <td width="990">Assessment Name:<%=(((assessmentRecordset_data = assessmentRecordset.getObject("Assessment_Name"))==null || assessmentRecordset.wasNull())?"":assessmentRecordset_data)%> </td>
            </tr>
          <tr>
            <td><% int count = 1; %> </td>
          </tr>
          <tr>
            <td valign="top"><table>
                <% while ((itemRecordset_hasData)&&(Repeat1__numRows-- != 0)) { %>
    <tr>
                  <td width="21"> 
                     </td>
                  <td width="86">Question:<%= count %></td>
                </tr>
                <tr>
                  <td></td>
                  <td>
                     <% 
                     PreparedStatement StatementquestionRecordset = ConnquestionRecordset.prepareStatement("SELECT Question_Type, Number_Outcomes, Question_Wording FROM Answer.question WHERE Question_ID = '" +itemRecordset.getObject("Question_ID")+"' ");
                     ResultSet questionRecordset = StatementquestionRecordset.executeQuery();
                  boolean questionRecordset_isEmpty = !questionRecordset.next();
                  boolean questionRecordset_hasData = !questionRecordset_isEmpty;
                  Object questionRecordset_data;
                  int questionRecordset_numRows = 0;
                     %> <%= questionRecordset.getObject("Question_Wording") %></td>
                </tr>
                <tr>
                  <td></td>
                  <td>
                     </td>
                </tr>
                <tr>
                  <td></td>
                  <td> 
                    <table>
                      <% while ((outcomeRecordset_hasData)&&(Repeat2__numRows-- != 0)) {%>
                      <tr>
                        <td><%=(((outcomeRecordset_data = outcomeRecordset.getObject("Outcome_Number"))==null || outcomeRecordset.wasNull())?"":outcomeRecordsetRecordset_data)%></td>
                        <td><%=(((outcomeRecordset_data = outcomeRecordset.getObject("Outcome_Text"))==null || outcomeRecordset.wasNull())?"":outcomeRecordsetRecordset_data)%></td>
                        <td><%=(((outcomeRecordset_data = outcomeRecordset.getObject("Score"))==null || outcomeRecordset.wasNull())?"":outcomeRecordsetRecordset_data)%></td>
                        <td><%=(((outcomeRecordset_data = outcomeRecordset.getObject("Feedback"))==null || outcomeRecordset.wasNull())?"":outcomeRecordsetRecordset_data)%></td>
                        <td><%=(((outcomeRecordset_data = outcomeRecordset.getObject("Question_ID"))==null || outcomeRecordset.wasNull())?"":outcomeRecordsetRecordset_data)%></td>
                      </tr>
                      <%
      Repeat2__index++;
      outcomeRecordset_hasData = outcomeRecordset.next();
    %>
                    </table>
                    <table>
                      <tr> </tr>
                      <tr> </tr>
                    </table></td>
                </tr>
                <%
      Repeat1__index++;
      itemRecordset_hasData = itemRecordset.next();
      count++;
    //questionRecordset.close();
    //StatementquestionRecordset.close();
    //ConnquestionRecordset.close();
    %>
    Here is the exception i am gettingorg.apache.jasper.JasperException: Unable to compile class for JSP
    An error occurred at line: 115 in the jsp file: /delivery/session.jsp
    Generated servlet error:
    C:\Servers\Tomcat 5.0\work\Catalina\localhost\assessment\org\apache\jsp\delivery\session_jsp.java:220: cannot find symbol
    symbol : variable outcomeRecordsetRecordset_data
    location: class org.apache.jsp.delivery.session_jsp
    out.print((((outcomeRecordset_data = outcomeRecordset.getObject("Outcome_Number"))==null || outcomeRecordset.wasNull())?"":outcomeRecordsetRecordset_data));
    ^
    An error occurred at line: 116 in the jsp file: /delivery/session.jsp
    Generated servlet error:
    C:\Servers\Tomcat 5.0\work\Catalina\localhost\assessment\org\apache\jsp\delivery\session_jsp.java:223: cannot find symbol
    symbol : variable outcomeRecordsetRecordset_data
    location: class org.apache.jsp.delivery.session_jsp
    out.print((((outcomeRecordset_data = outcomeRecordset.getObject("Outcome_Text"))==null || outcomeRecordset.wasNull())?"":outcomeRecordsetRecordset_data));
    ^
    An error occurred at line: 117 in the jsp file: /delivery/session.jsp
    Generated servlet error:
    C:\Servers\Tomcat 5.0\work\Catalina\localhost\assessment\org\apache\jsp\delivery\session_jsp.java:226: cannot find symbol
    symbol : variable outcomeRecordsetRecordset_data
    location: class org.apache.jsp.delivery.session_jsp
    out.print((((outcomeRecordset_data = outcomeRecordset.getObject("Score"))==null || outcomeRecordset.wasNull())?"":outcomeRecordsetRecordset_data));
    ^
    An error occurred at line: 118 in the jsp file: /delivery/session.jsp
    Generated servlet error:
    C:\Servers\Tomcat 5.0\work\Catalina\localhost\assessment\org\apache\jsp\delivery\session_jsp.java:229: cannot find symbol
    symbol : variable outcomeRecordsetRecordset_data
    location: class org.apache.jsp.delivery.session_jsp
    out.print((((outcomeRecordset_data = outcomeRecordset.getObject("Feedback"))==null || outcomeRecordset.wasNull())?"":outcomeRecordsetRecordset_data));
    ^
    An error occurred at line: 119 in the jsp file: /delivery/session.jsp
    Generated servlet error:
    C:\Servers\Tomcat 5.0\work\Catalina\localhost\assessment\org\apache\jsp\delivery\session_jsp.java:232: cannot find symbol
    symbol : variable outcomeRecordsetRecordset_data
    location: class org.apache.jsp.delivery.session_jsp
    out.print((((outcomeRecordset_data = outcomeRecordset.getObject("Question_ID"))==null || outcomeRecordset.wasNull())?"":outcomeRecordsetRecordset_data));
    ^
    An error occurred at line: 119 in the jsp file: /delivery/session.jsp
    Generated servlet error:
    Note: C:\Servers\Tomcat 5.0\work\Catalina\localhost\assessment\org\apache\jsp\delivery\session_jsp.java uses or overrides a deprecated API.
    An error occurred at line: 119 in the jsp file: /delivery/session.jsp
    Generated servlet error:
    Note: Recompile with -Xlint:deprecation for details.
    An error occurred at line: 119 in the jsp file: /delivery/session.jsp
    Generated servlet error:
    Note: C:\Servers\Tomcat 5.0\work\Catalina\localhost\assessment\org\apache\jsp\delivery\session_jsp.java uses unchecked or unsafe operations.
    An error occurred at line: 119 in the jsp file: /delivery/session.jsp
    Generated servlet error:
    Note: Recompile with -Xlint:unchecked for details.
    5 errors
         org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:84)     org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:332)
    org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:412)
    org.apache.jasper.compiler.Compiler.compile(Compiler.java:472)
    org.apache.jasper.compiler.Compiler.compile(Compiler.java:451)
    org.apache.jasper.compiler.Compiler.compile(Compiler.java:439)
         org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:511)     org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:295)
    org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
    org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

    Hi,
    Dont have much time to go through your code, but apparently i can see the error is becoz of the following reason.
    In the following code, you have used "outcomeRecordset_data ", but its not declared. You need to declare the variable first before you can use it.
    <% while ((outcomeRecordset_hasData)&&(Repeat2__numRows-- != 0)) {%>
                      <tr>
                        <td><%=(((outcomeRecordset_data = outcomeRecordset.getObject("Outcome_Number"))==null || outcomeRecordset.wasNull())?"":outcomeRecordsetRecordset_data)%></td>
                        <td><%=(((outcomeRecordset_data = outcomeRecordset.getObject("Outcome_Text"))==null || outcomeRecordset.wasNull())?"":outcomeRecordsetRecordset_data)%></td>
                        <td><%=(((outcomeRecordset_data = outcomeRecordset.getObject("Score"))==null || outcomeRecordset.wasNull())?"":outcomeRecordsetRecordset_data)%></td>
                        <td><%=(((outcomeRecordset_data = outcomeRecordset.getObject("Feedback"))==null || outcomeRecordset.wasNull())?"":outcomeRecordsetRecordset_data)%></td>
                        <td><%=(((outcomeRecordset_data = outcomeRecordset.getObject("Question_ID"))==null || outcomeRecordset.wasNull())?"":outcomeRecordsetRecordset_data)%></td>
                      </tr>
                      <%
      Repeat2__index++;
      outcomeRecordset_hasData = outcomeRecordset.next();
    %>Try declaring the "outcomeRecordset_data " on top as an object
    Hope it helps

  • PHP help with nested repeat region

    Hopefully someone can help me out with this one.
    I basically have some SQL returning results of a search page,
    where you can search on various keywords by checking boxes, and it
    returns Employers that match those keywords :
    mysql_select_db($database_myDatabase, $myDatabase);
    if (isset($_GET['ckbox'])){
    // get profile keys
    $ckbox = array_keys($_GET['ckbox']);
    // sql string
    $sql = 'SELECT Employers.*, EmployerContacts.* FROM
    EmployerContacts
    INNER JOIN Employers ON EmployerContacts.EmployerID =
    Employers.EmployerID
    INNER JOIN EmployerProfiles ON EmployerProfiles.EmployerID =
    EmployerContacts.EmployerID
    WHERE EmployerProfiles.ProfileID IN(' . implode(',',
    $ckbox).')
    GROUP BY Employers.EmployerID
    ORDER BY Employers.EmployerID DESC';
    $rsContacts = mysql_query($sql) or die(mysql_error());
    $row_rsContacts = mysql_fetch_assoc($rsContacts);
    @$totalRows = mysql_num_rows($rsContacts);
    else
    echo 'You did not check any profiles.';
    ?>
    The results are drawing fields from the Employers table and
    EmployerContacts table, hopefully to look like :
    Employer1
    Employer1.Contact 1
    Employer1.Contact 2
    Employer1.Contact 3
    Employer2
    Employer2.Contact 1
    Employer2.Contact 2
    Employer2.Contact 3
    etc
    However, I can only seem to get it to repeat the Employers,
    and show just the first Contact for each, like this :
    Employer1
    Employer1.Contact 1
    Employer2
    Employer2.Contact 1
    etc
    So I guess I'm looking for help with looping through the
    Contacts for each Employer.
    The code currently looks like this :
    [code attached]
    Hope that makes sense.
    Many thanks.

    Iain71,
    The DW Repeat Region cannot be nested because both loops use
    the same
    variable names (e.g. $RepeatSelectionCounter_1).
    You will have to manually edit the code, and DW may not
    recognize it
    after you do, but you should be able to get it working fairly
    easily. I
    think that you just need to change the variable names in the
    inner loop
    so that they do not conflict with the similar names in the
    outer loop
    (e.g. rename $RepeatSelectionCounter_1 to
    $RepeatSelectionCounter_2).
    Does that make sense?
    HTH,
    Randy
    > I basically have some SQL returning results of a search
    page, where you can
    > search on various keywords by checking boxes, and it
    returns Employers that
    > match those keywords :

  • Forms Folder functionality - Issue with layout not appearing properly

    Facing issue with forms folder functionality. Any ideas.. Please do help.
    I have placed folder fields on stacked canvas (CNV_MEA_LINES) which is on a tab page(CNV_MEA_TAB > MONTHLY_SCHEDULE).
    In WHEN-NEW_FORM_INSTANCE Trigger I have below code
    app_folder.define_folder_block
    (object_name => 'DEVELOPER',
    folder_block_name => 'XXDNB_BEN_ME_LINES',
    prompt_block_name => 'XXDNB_BEN_ME_LINE_PR',
    folder_canvas_name => 'CNV_MEA_LINES',
    folder_window_name => 'WIN_MULTIELEMENT',
    disabled_functions => 'TOOLS OPEN',
    tab_canvas_name => NULL,
    fixed_canvas_name => NULL
    At designtime, folder stacked canvas is looking good.
    At runtime, folder stacked canvas is completely coming till the end of tab page. Scrollbar is not appearing.
    Thanks in advance..

    This doesn't look like an Oracle Designer question. "App_folder" sounds like it has something to do with eBusiness Suite, right? If so, ask this in the EBS forum.

  • Help With Spry Repeat Regions

    Hello everyone,
    I've recently started using Spry for a project I've been
    asked to work on and I've run in to a few issues since my spec
    changed on me today. So any help or advice anyone has is very much
    welcome as I'm very much out my comfort zone at the moment.
    Original Spec
    The idea originally was to have a drop down of roles which
    was created from the role tag within a xml file which I was able to
    do as you can see below in the attached code. Once the user had
    picked a role it would then
    ds2.setCurrentRowNumber(this.selectedIndex) and this would trigger
    the spry detail region I have to populate the fields I setup to get
    out of the xml the role, process and info.
    At the time I was told a role would only appear once in the
    file but this is now not the case :(
    My problem / New Spec
    Unfortunately with the xml now having a role more then once
    I've been asked to include a dynamic region which will display the
    process and info fields from other records which have this role
    name. Which is the bit I'm having problems with. I've been playing
    with creating a spry:repeat for each field and then using
    Spry:if="'{Role}'.search(^/myVar/) != -1; but I've had no luck
    getting a value into a variable and I'm lack of experience is
    running out of ideas.
    Hope I've made sense this is my first time using spry and
    JavaScript, so any help is greatly welcome.
    Thanks Nick.
    Example of the XML file - Please note this is very much a cut
    down version.

    tried changing the Region HTML table cell attributes to width:75pct, but this has no effect.Unsurprisingly. Use a valid CSS length specification.

  • Issues with Advanced Query Region.

    Hi All,
    I have a Search Page implemented with 5 subtabs. When the page is loaded, in the 5th tab I see Radio Buttons which are actually not part of this page. This issue is not consistently happening. After I navigate to other tabs and perform some operations and come back to this 5th tab, everything looks as it should. Can anyone throw some light on this????
    Thanks in Advance,

    Strange..
    Anyway please delete the xml page file from the instance and redeploy everything. Also make sure you dont have that radio button anywhere (either in page or created through controller). Do check if you have regions extended on the page. Also make sure you are not creating radio buttons through Personalization in the instance. You can check this by disabling the personalization profile.
    Regards
    Sumit

  • Issues with Content Query Web Part List Override

    I have modified a Content Query web part to show all checked out documents across my site collection. I used this property to get the checked out documents:
    <property name="QueryOverride" type="string"><![CDATA[<Where><Geq><FieldRef Name="CheckoutUser" LookupId="TRUE"/><Value Type="int">0</Value></Geq></Where><OrderBy><FieldRef
    Name="CheckoutUser"/></OrderBy>]]></property>
    It fails when trying to view across the site collection and gives this error:
    "There is a problem with the query that this webpart is issuing. Check the configuration of this webpart and try again."
    However, it works for sub-sites.
    Thus, I followed this blog to modify the ListsOverride property: http://geekswithblogs.net/simonh/archive/2013/05/08/increasing-the-number-of-lists-a-content-query-webpart-can.aspx I modified the property to:
    <property name="ListsOverride" type="string"><![CDATA[<Lists Servertemplate="101" MaxListLimit="2000"></Lists>]]></property>
    But now I am getting this response:
    This query has returned no items. To configure the query for this Web Part, open the tool pane.
    Can anyone tell me what the problem is? I cannot find anything in the ULS logs that would indicate a timeout from the SQL server or any other type of error.

    Hi Susan,
    According to your description, my understanding is that there is something wrong when you override content query web part property.
    As you said, the query override works for sub-site, I suggest you check the data in the parent site whether the data is valid.
    Here are some detailed articles for your reference:
    http://rmanimaran.wordpress.com/2010/10/19/getfind-all-checked-out-documents-from-a-document-library-using-caml/
    http://msdn.microsoft.com/en-us/library/office/aa981241(v=office.14).aspx
    Best Regards
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Zhengyu Guo
    TechNet Community Support

  • Issues with layouts and headers

    Hi I'm a newbie, trying out layouts I have 2 issues. I'd be grateful for any help or pointers to tutorials.
    1) I have problems with links at the top of my page. They are text based and are within a 2 row table. They have a huge gap around them and no matter what I do I can't resize either the table or change the text to have less of a gap below it. I basically have a huge space between my top links and the main logo and main logo below it.(plus I think they are linked as the h1 which I don't want as they aren't really the header just the links.) Here is the code for that.
    <table width="740"  border="0" align="center" cellpadding="0" cellspacing="0" class="HeaderLogoButton">
          <tr align="center" valign="top">
            <td width="288" height="48"><h1><br /><br />
            </h1></td>
            <td width="452" height="25"><!-- TemplateBeginEditable name="HeaderLinks" --><span class="TextButtons"><a href="../index.html" class="TextButtons">Home</a>      <a href="../featured.html" class="TextButtons">Featured Company</a>      <a href="../youngpeople.html" class="TextButtons">Young People</a>      <a href="../andmore.html" class="TextButtons">And More</a>     </span><span class="TextButtons"> <a href="../blog.html" class="TextButtons">Blog  </a></span><!-- TemplateEndEditable --> </td>
          </tr>
          <tr>
            <th height="48" align="left"><a href="index.html" title="My Site Title"><img src="../images/My Site_logo.png" alt="My Site Logo" width="245" height="46" border="0" align="left" /></a></th>
            <td align="right" valign="top"><!-- TemplateBeginEditable name="HeaderButtons" --><img src="../images/facebook.png" alt="FaceBook Button" width="36" height="36" align="top" /> <img src="../images/twitter.png" alt="Twitter Button" width="36" height="36" align="top" /><img src="../images/blogbutton.png" alt="Blog Button" width="49" height="47" align="top" />  <!-- TemplateEndEditable --></td>
          </tr>
        </table>
    2) My second issue is with Headers in general. As you can see in the code I have a "My Site_logo.png" as the main logo for the site, what I'm concerned with is pointing to it as the main h1 header so that when the spiders come to check out the site, either by the logo or some extra html, they read the site is called "My Site" as the main header. How can I make the logo/title the h1 section of the code?I'm scared about making a mess of the code at this point so any help is much appreciated!
    Thanks in advance

    evilJim wrote:
    Hi I'm a newbie, trying out layouts I have 2 issues. I'd be grateful for any help or pointers to tutorials.
    1) I have problems with links at the top of my page. They are text based and are within a 2 row table. They have a huge gap around them and no matter what I do I can't resize either the table or change the text to have less of a gap below it. I basically have a huge space between my top links and the main logo and main logo below it.(plus I think they are linked as the h1 which I don't want as they aren't really the header just the links.) Here is the code for that.
    In the first table cell you have an h1 tag (header tag) (see below) In this tag you have inserted two break tags <br /> by hitting the return key on your keyboard twice. These breaks effectively set the height of the first table row, that's why you have all the space beneath your links.
    <td width="288" height="48"><h1><br /><br />
             </h1></td>
    evilJim wrote:
    2) My second issue is with Headers in general. As you can see in the code I have a "My Site_logo.png" as the main logo for the site, what I'm concerned with is pointing to it as the main h1 header so that when the spiders come to check out the site, either by the logo or some extra html, they read the site is called "My Site" as the main header. How can I make the logo/title the h1 section of the code?I'm scared about making a mess of the code at this point so any help is much appreciated!
    Thanks in advance
    At the moment you have nothing apart from 2 <br /> tags in your h1 tag (see above answer to your first quetsion.
    For search engine purposes you can wrap your image in an h1 tag and provide a more descriptive outline than 'My Site Logo'  for the images 'alt' tag.
    <th height="48" align="left">
    <h1><a href="index.html" title="My Site Title"><img src="../images/My Site_logo.png" alt="My Site Logo" width="245" height="46" border="0" align="left" /></a></h1>
    </th>

  • Issue with layout on tablet size devices

    Hi All,
    Can anyone tell me why when the window size is reduced down or is opened on a tablet size device, that the 'maindiv' moves to the bottom of the page. I have tried changing, margins, widths, max-widths but nothing seems to work. It seems to me that the div is too wide to fit in between the 2 gold bars and this only happen when 'overflow:scroll;' comes into play when it reaches the media queries 768px. For all other sizes it works fine. This is the bit that i think is the problem, but then again i could be wrong!
    @media (max-width: 768px) {
    .maindiv {
              max-width:auto;
              overflow:scroll;
              margin:0;
              padding-bottom:0;
              background-image:none;
              background-color: #F4ECC5;
              border-top: 1px solid #F4ECC5;
    http://www.milesfunerals.com/miles-and-daughters-diary.php

    What if you just remove 'overflow:scroll'?
    When i remove the overflow the page works but i have used this div for most of the pages throughout this site. By removing that attribute will work for this page as it only has a small amount of content but for the pages with a lot more content i will need to apply the overflow:scroll; to make the page work?
    Try setting .maindiv to max-width: 95%; in the media query, see if that gets around the problem.
    This didint work, all it did do was apply a scroll bar part way across page.

  • Issue with Excel Access Web Part, with sites that were migrated from 2010 SP to 2013 SP

    Hello, 
    If I try to add an Excel Access Web Part to a page I get the following:
    **Note: This only happens with sites that were migrated from 2010 SharePoint to SharePoint 2013. If I create a new site the feature works like it should and loads the workbook. I've tested this on several sites, our environment is enterprise as well. Being
    that the majority of our sites were migrated from 2010, I need this to work! 

    Can you try below fix and let me know
    http://blogs.technet.com/b/excel_services__powerpivot_for_sharepoint_support_blog/archive/2013/05/21/excel-services-the-workbook-cannot-be-opened.aspx

  • Issues with layout pages and templates.

    So to save time I have started creating my own templates. For instance I want one with mostly black pages so I have created new 'pages' under the 'layout' bar (the one you have to pull down). this works fine for simple pages of 1/2/3 columns and blank pages but I have started making more complex ones - for example I want to have a  text box with text already in a certain font and colour which I can then change from page to page, So I created a text box in a layout page, bt when I use this layout on a page the text box i created cannot be modified in anyway (only the filler text in the linked text boxes seems to be modifiable. I also tried to make a 'layout page' with a gallery, a placeholder with all the attributes I want in it, again when I select that page as an option the gallery cannot be changed, making it pretty useless - is there anyway to enable images/galleries/text boxes as 'placeholders'?

    I think any element can serve as a 'placeholder', at least in general terms.
    When working with such items, be sure to always acknowledge how/if they're linked/locked/anchored/layered/grouped and if those are in done in conjunction with other items.
    See: Publishing With iBooks Author
    http://shop.oreilly.com/product/0636920025597.do
    -=-
    Note your image isn't working, at least not for me ...be sure to add/insert using the 'camera' icon, thanks.

  • Issue with using SSXA region templates with Content Presenter.

    I am using Content Presenter taskflow in Webcenter Portal. When i try to use the SSXA region template with content presenter, it doesnot render the html markup. But if i use normal UCM region templates(hscp), its rendering the html markup properly.
    Http Server acts as a proxy for both webcenter and ucm. Enabled SiteStudio, SiteStudioforExternalApplications, Webcenter Configure and other required features in Webcenter. Can any one tell me, if i missed any step?
    All i am getting the output as
    ${data.body}
    Taskflow binding
    <taskFlow id="doclibcontentpresenter1"
    taskFlowId="/oracle/webcenter/doclib/view/jsf/taskflows/presenter/contentPresenter.xml#doclib-content-presenter"
    activation="deferred"
    xmlns="http://xmlns.oracle.com/adf/controller/binding">
    <parameters>
    <parameter id="taskFlowInstId"
    value="${'23a55c99-abdd-4dea-a24a-1e04a68aa0bf'}"/>
    <parameter id="datasourceType" value="${'dsTypeSingleNode'}"/>
    <parameter id="datasource"
    value="${'UCM#dDocName:JLR_WYSIWYG_DATA'}"/>
    <parameter id="templateCategory" value="${''}"/>
    <parameter id="templateView" value="${'WYSIWYG_BLOCK_1_RGT'}"/>
    <parameter id="regionTemplate" value="${true}"/>
    <parameter id="maxResults" value="${''}"/>
    </parameters>
    </taskFlow>
    region template:
    <?xml version='1.0' encoding='UTF-8'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
    xmlns:wcm="http://www.oracle.com/jsp/wcm">
         <wcm:dataFile var="data"/>
         ${data.body}
    </jsp:root>
    This uses one region definition containing WYSIWYG element. I am able to edit and could type the html markup or data in WYSIWYG editor at contribution mode, but when i click save and close, all i am getting output as ${data.body}
    I manually verified the data file in UCM, and i could see the information stored (the data entered in contribution mode)

    Prasath,
    I'm not 100% sure but i believe that WebCenter does not support everything from the WCM tags. You can read the topic on SSXA on the WebCenter EMG:
    https://groups.google.com/group/webcenter-emg/browse_thread/thread/2ef9cca0252a0ae3
    Just a quote:
    "With the 11.1.1.4 release, WebCenter is very much targeted at the type of sites that would have previously been done using the WCM components (eg. Extranet, Internet sites). By surfacing the site studio region templates (and allowing in place editing of the documents) many of the use cases can be met. The question now is not whether,or not, the native templating + region support is sufficient for your needs (WebCenter does not support all the WCM artefacts as yet). "
    Regards
    Yannick

  • Issue with Row repeater

    Hi All,
    I am using a row repeater UI element to display the results of search. Once the results are displayed the user can navigate to a different page in the row repeater. Lets say the user navigates to page 5. Now when the user goes back and modifies the selection criteria, the row repeater still displays page 5. This time there might be no data in page 5. How can we go back to first page.
    Thanks,
    Pooja

    Hello Pooja,
    I didnt see any method available in the CL_WD_ROW_REPEATED to reset it. Alternative what I can think of is to reset the view elements. But I'm not sure whether this will have impact on you other UI elements. May be you can try this
    1. create a member variable in Attributes tab (MR_VIEW) of type ref to IF_WD_VIEW
    2. in the WDDOMODIFYVIEW, write the following code
    if first_time = abap_true.
       wd_this->mr_view = view.
    endif.
    3. in the search method or in the event handler method for search, call reset_view
    wd_this->mr_view->reset_view( ).
    this method will reset all the UI elements in the view
    other alternative would be to place the Row_Repeater in a transparent container. And during search delete the old row repeater and create a new one and bind the data source.
    BR, Saravanan

Maybe you are looking for

  • Applications tab doesn't work - apps won't sync

    I'm starting to go a bit bonkers. It's been a while since I updated iTunes, and the Applications tab still doesn't work right. Is it just me? I can't click on anything/manipulate anything in that part of iTunes. And when I download new apps through t

  • External monitor as second desktop

    Hello I have  a mbp late 2011 and I run os X 10.9.5. I run an external monitor (BenQ T903) beside my macbook and I would love to be able to access the external monitor the way you access a 2nd desktop: by using three fingers and swiping them to the r

  • Running app doesn't display unicode chars

    So far, i didn't care about character encodings. When i setup a string in java i just used my special characters, like e.g. the german umlauts: String text = "�usserlich �berhaupt nicht sch�n."; //html: Äusserlich überhaupt nicht schön Then i changed

  • Network User appearing twice in connection tab under file sharing

    I have one of my network users that appears twice under the connected Users tab in the File Sharing service (Lion Server). It only appears to be happening with one of the users.  When they log in they get shown twice with the same IP address although

  • URGENT!.....accepting user input and string conversion

    I have a problem with a text-based menu I am trying to create for a Shape class with rectangle, circle, etc... subclasses below it...here is a code clip //The menu choices given to the user.           System.out.println("Please select which shape you