Template, recordset and querystrings

hello,
i've got a problem that's vexing me. I am using ASP/VBScript
with DW CS3. I am trying to get a repeating region to populate.
I have a template and a child page of the template. On the
template page I created bindings that are associated with two
recordsets, which in turn use two stored procedures. I also have a
repeating region. In the repeating region I've put a field from the
second recordset.
The ASP code that appears in the template, before the
<HTML> tag appears, is the boiler plate stuff that DW
generated for me:
dim rsProc__vID
rsProc__vID = "570"
if ( vID = "" ) then
rsProc__vID = vID
end if
rsProc__cmd.Parameters.Append
rsProc__cmd.CreateParameters("param1", 5, 1, -1, rsProc__vID)
(I defined the vID variable when creating the binding. I used
570 because i knew it returned a recordset.)
However, i've overwritten this code in the child page, so
that it looks like this:
rsProc__vID = request.querystring("myParamVal")
So, the query string from the child page is what I want to
use as the parameter for the second stored procedure.
Meanwhile, the code that actually works with the repeating
region is in the template. This code resembles:
<% while ((rsProc__numRows <> 0 ) AND (NOT
rsProc__cmd.EOF))
%>
<!-- TemplateBeginRepeat name=""rrRepeat" -->
<% rsProc__cmd.Fields.Item("MyRepeatingField").Value)
%>
<!-- TemplateEndRepeat -->
I'm confused over the relationship between the template and
the child concerning which parameter is used for the stored
procedure. The template has the boiler plate code from DW that
defines the recordsets. The child overwrites this, and tries to use
the query string as the input into the stored procedure.
at the same time, the template has the code that defines the
looping that works with the repeating region.
I've used SQL Enterprise manager and verified that the query
string I use with the child page indicates an ID that returns a
recordset. However, when I use the query string on the child page,
the repeating region does not populate.
Ironically, the first record set, that is identical in both
parent and child pages, and which doesn't have a repeating region,
works perfectly fine in the child page.
Does anyone have any advice? Thanks.

i moved the querystring code to the template, and suddenly
the child page is working.
i thought i had tried this initially.

Similar Messages

  • RecordSet and Command Window bigger?

    A big problem in older DW version where the small an
    unresizeable windows for adding recordsets and commands. And now i
    have to figure out, that this problem still exists in dw cs3.
    Really - i thought dw cs3 is also made for bigger website! But they
    will have more complex databases, record sets and commands.
    See the screenshot
    on this url
    Is there any possibility to resize this window (and other
    like this) ?
    Thank you very much
    Sebastian

    quote:
    Originally posted by:
    Newsgroup User
    I agree with this. Please send a wish to this link -
    http://www.adobe.com/cfusion/mmform/index.cfm?name=wishform
    will do so.
    best regards
    Sebastian
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "eFscl" <[email protected]> wrote in message
    news:f5vm9t$jrn$[email protected]..
    >A big problem in older DW version where the small an
    unresizeable windows
    >for
    > adding recordsets and commands. And now i have to figure
    out, that this
    > problem
    > still exists in dw cs3. Really - i thought dw cs3 is
    also made for bigger
    > website! But they will have more complex databases,
    record sets and
    > commands.
    >
    >
    http://www.tipponline.ch/dwcs3_small.jpg
    >
    > Is there any possibility to resize this window (and
    other like this) ?
    >
    > Thank you very much
    > Sebastian
    >

  • [svn] 3120: When you point Flex Builder at a local sandbox trunk build, it couldn' t generate the html-templates folder correctly for new projects so we moved all the html templates up one level and removed the html-templates directory and adjusted build

    Revision: 3120
    Author: [email protected]
    Date: 2008-09-05 10:44:10 -0700 (Fri, 05 Sep 2008)
    Log Message:
    When you point Flex Builder at a local sandbox trunk build, it couldn't generate the html-templates folder correctly for new projects so we moved all the html templates up one level and removed the html-templates directory and adjusted build.xml's to accommodate the directory change
    Modified Paths:
    flex/sdk/trunk/build.xml
    flex/sdk/trunk/webapps/webtier/build.xml
    Added Paths:
    flex/sdk/trunk/templates/client-side-detection/
    flex/sdk/trunk/templates/client-side-detection/AC_OETags.js
    flex/sdk/trunk/templates/client-side-detection/index.template.html
    flex/sdk/trunk/templates/client-side-detection-with-history/
    flex/sdk/trunk/templates/client-side-detection-with-history/AC_OETags.js
    flex/sdk/trunk/templates/client-side-detection-with-history/history/
    flex/sdk/trunk/templates/client-side-detection-with-history/history/history.css
    flex/sdk/trunk/templates/client-side-detection-with-history/history/history.js
    flex/sdk/trunk/templates/client-side-detection-with-history/history/historyFrame.html
    flex/sdk/trunk/templates/client-side-detection-with-history/index.template.html
    flex/sdk/trunk/templates/express-installation/
    flex/sdk/trunk/templates/express-installation/AC_OETags.js
    flex/sdk/trunk/templates/express-installation/index.template.html
    flex/sdk/trunk/templates/express-installation/playerProductInstall.swf
    flex/sdk/trunk/templates/express-installation-with-history/
    flex/sdk/trunk/templates/express-installation-with-history/AC_OETags.js
    flex/sdk/trunk/templates/express-installation-with-history/history/
    flex/sdk/trunk/templates/express-installation-with-history/history/history.css
    flex/sdk/trunk/templates/express-installation-with-history/history/history.js
    flex/sdk/trunk/templates/express-installation-with-history/history/historyFrame.html
    flex/sdk/trunk/templates/express-installation-with-history/index.template.html
    flex/sdk/trunk/templates/express-installation-with-history/playerProductInstall.swf
    flex/sdk/trunk/templates/metadata/
    flex/sdk/trunk/templates/metadata/AC_OETags.js
    flex/sdk/trunk/templates/metadata/readme.txt
    flex/sdk/trunk/templates/no-player-detection/
    flex/sdk/trunk/templates/no-player-detection/AC_OETags.js
    flex/sdk/trunk/templates/no-player-detection/index.template.html
    flex/sdk/trunk/templates/no-player-detection-with-history/
    flex/sdk/trunk/templates/no-player-detection-with-history/AC_OETags.js
    flex/sdk/trunk/templates/no-player-detection-with-history/history/
    flex/sdk/trunk/templates/no-player-detection-with-history/history/history.css
    flex/sdk/trunk/templates/no-player-detection-with-history/history/history.js
    flex/sdk/trunk/templates/no-player-detection-with-history/history/historyFrame.html
    flex/sdk/trunk/templates/no-player-detection-with-history/index.template.html
    Removed Paths:
    flex/sdk/trunk/templates/html-templates/

    Remember that Arch Arm is a different distribution, but we try to bend the rules and provide limited support for them.  This may or may not be unique to Arch Arm, so you might try asking on their forums as well.

  • How to connect Template project and Implementation project

    Hi Experts,
         I would like to know how to connect Template project and Implementation project
        in Solution maneger.   Please help.
    Best regards,
       Gaito

    Hey Gaito,
    great. Now that you have a template project, you need to create one or more templates within the project template.
    Go to tab Templates (of your Templ Proj) and activate 'Global Rollout Functionnality' to be able to use the templates.
    Create a new template thanks to button create. Visibility will be set to red 'private'. You ll have to set it to visible so it becomes visible from your implementation project.
    You ll see when trying to do that next message 'No scenarios/configuration structures assigned to the template XXXX'. That means that in SOLAR01 you did not define a scenario that ll be used in template you re trying to create
    In order to do that go to SOLAR01 for template project, select/create scenarios in tab structure and set in column template value of your template (the one you re creating in SOLAR_PROJECT_ADMIN) and in Global Attribute set value t Global
    You l definitely find more info on this in sap document SMI310 (course). I don t know if you can find it on internet
    Hope this helps
    Regards
    Khalil

  • Activity Journal - Creation of template type and template

    Hello Experts,
    we need to create a template type and template because we can not use the standard template to see product information in the Activity Journal.
    Where in Customizing can i define template type and template and which are the steps to do it. For our activity journal we need to see only the fields:
    1. Product ID
    2. Product
    3. Notes
    The rest of the information is not necesary. The SAP Note 1261860 describes exactly the problem we have but we are not able to generate template and template type.
    Best Regards
    Oliver Schultze

    Hi there
    For generation of template for Activity so that you can see the Product info,u just need to generate the Index in SPRO
    Go to IMG and there within the transaction types you can locate the index i am speaking about to generate.
    Here is the path-->IMG->CRM--->Transaction ->Basic Settings->Settings for Activites->Activity Journal--->Activity Standard Template Type
    Here you give your desired language in which you want your template to be created.
    As soon as you genarte that you will be having product info on your Activity screen
    See this arrangement is client specific only so if you are say in sandbox or dev or qual or prod.u need to do this setting  seperately in each client.
    Hope you got what i said.
    Cheers
    Ashish

  • Templates tables and css ?

    It's been a couple years since I really worked on a new site.
    I have DW
    MX2004. My last site used templates which worked fine for me.
    Are
    templates still widely use...or has css design more or less
    replaced them ?
    Also...in css design...are tables used much anymore...and if
    not...can you
    do pretty much the same in css as you can in table layout ?
    Can anyone post a few links that discuss table vs. css deign,
    etc ?
    From a code/search engine stand point...is there a difference
    between divs
    and the table tag ?
    Thanks so much....
    Tim

    > Are templates still widely use
    I use templates, CSS, and server-side includes on nearly
    every site I build.
    > Also...in css design...are tables used much anymore
    I use CSS and tables on some pages, when they work for what I
    need to do.
    > can you do pretty much the same in css as you can in
    table layout ?
    There are some things which are exceptionally easy to do with
    tables, that
    are exceptionally difficult to do with CSS. I believe that a
    pragmatic
    developer will keep both methods at the ready in their
    toolkit.
    > Can anyone post a few links that discuss table vs. css
    deign, etc ?
    Please don't think of it this way. Think of it as the next
    step ahead in
    design methodology -
    http://www.projectseven.com/tutorials/css/qdmacfly/index.htm
    http://www.macromedia.com/devnet/mx/dreamweaver/css.html
    http://www.macromedia.com/devnet/dreamweaver/articles/tableless_layout_dw8.html
    http://www.macromedia.com/devnet/dreamweaver/articles/css_concepts.html
    > From a code/search engine stand point...is there a
    difference between divs
    > and the table tag ?
    No.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "Tim" <[email protected]> wrote in message
    news:[email protected]...
    > It's been a couple years since I really worked on a new
    site. I have DW
    > MX2004. My last site used templates which worked fine
    for me. Are
    > templates still widely use...or has css design more or
    less replaced them
    > ?
    >
    > Also...in css design...are tables used much
    anymore...and if not...can you
    > do pretty much the same in css as you can in table
    layout ?
    >
    > Can anyone post a few links that discuss table vs. css
    deign, etc ?
    >
    > From a code/search engine stand point...is there a
    difference between divs
    > and the table tag ?
    >
    > Thanks so much....
    >
    > Tim
    >

  • RecordSet and ResultSet

    When Should I use RecordSet and when ResultSet?

    But how does importing an entire package makeany
    difference to which class you actually use?Am I missing something? In what package isRecordSet?
    No idea. I'm just curious why importing an entire
    package would help make this decision. Hadn't even
    considered where RecordSet comes from. It's not part
    of the JDK, AFAIKI don't think that the poster wanted you to read it as an import but rather as "you should use the classes within the java.sql package when you can".

  • Templates Deleting and Customizing

    I would like to delete all of the templates from the template list that appears in Template Chooser and substitute several templates that I have developed for our office. I am able to add templates to My Templates, but I am unable to create new groups or subgroups in the Template Chooser and I can't delete the default templates that came with the application.
    Any help or instructions would be greatly appreciated?
    Eric

    Eric,
    Pages' templates are buried deep inside the package file. You can get to them by navigating like this: control-click on Pages icon in the Finder, then navigate through these folders -- Contents > Resources > Templates. I would strongly advise you not to delete the blank templates.
    Regarding subgroups in the template chooser, I think you can nest folders in the My Templates folder.
    -Dennis

  • Why Template, request and operation level approval from 11g?

    Hi All,
    I''m very new to OIM 11g and could not understand the logic behind having three categories of approval workflow, sucn as Template, operational and request level approvals? In 10 g, on the contrary, we can achieve multiple level approval using one approval process against a resource object. Having said that, i think we can also achieve a multi level approval in one BPEL process using the serial or parallel type of approval. So, a single approval process, say request level approval process can be configured to catered to multiple level of approvals. If this is the case, i could not figure out the reason behind the availability of 2 further categories template and request level approval. Can anyone please shed light on the actual usage with a context and also render reference to a 10 g functionality for these approval categories.
    Thanks,
    Srini

    Request Level & Operation Level :
    Re: Difference requestlevel and operational level
    Template Level : It is also same as Request Level where you can reject the complete request in one shot. In latest version of OIM i.e. OIM 11g R2, you won't find this Approval Level.

  • In the Dreamweaver brim Bindings, the recordset and all of the fields of the table are not EXHIBITED

    In the Dreamweaver brim Bindings, the recordset and all of the fields of the table are not EXHIBITED. I don't know if an option of configuration adjustment exists in Dreamweaver that corrects the problem. It is Dreamweaver CS4 - Version 10.0 build 4117.

    I have traced the problem to a corrupted profile.  When I captured the images in question, I also used Color Cherckr to create a profile for processing.  When I apply that profile to the adjustments I make, I can no longer "Edit In".  If I use another profile, even one that I created using Color Checkr at a different point in time, I don't have the issue.  Something seems to have corrupted the new profile.  I will re-create the profile and see if the issue is resolved.

  • I mac -- how do I transfer template date and logo to the other 9 template cards. I am new to this and need step by step.  I have the first template completed. Thanks

    I mac -- how do I transfer template date and logo to the other 9 template cards.
    I am new to this and need step by step.  I have the first template completed.
    Thanks

    Apps and media are forever tied to the AppleID used to download them.
    You cannot transfer from downloads from one AppleID to another, nor
    can you merge AppleIDs. If you wish to start using your own AppleID,
    you will have to redownload all the items you wish - paying again under your
    AppleIDfor anything requiring payment.
    Logout of iTunes under your old ID and login using the new ID.

  • Template page and CSS dialog box.

    Basically, this is an issue/bug for me. I had something working on Dreamweaver CS6 (CS3, 4 and 5 also... oh and Macromedia Dreamweaver 8 too) that doesn't work in Dreamweaver CC.
    Please, consider that an answer like "it's the new way that it should run now" will not be accepted (and will NOT solve the problem).
    Case : page based on a template. Somewhen I want to edit a css-selector: I highlight it and press the button "modify CSS rule" in the properties panel.
    All I obtain is a dialog box "this is part of the code which is protected because it's based on a template". Then nada. Of course, the css-selector I want
    to edit is located in a external file. And of course the part of the code that <link> to the files is protected as part of the template.
    So I'm pretty ok with the message warning me. I had the same with DW CS6. BUT after warning me, DW CS6 (and previous) provides the panel. Which makes sense,
    because the file itself is in no way protected as a part ot the template. And it seems pretty dumb not to be able to edit a css because you use a template-based page.
    I just want DW CC to do the same as previous versions. Period.
    Hope this will be patched soon. Cause it's a bug.

    The thing which is going on is a bug.
    So far, that's where we disagree. I don't see any evidence it's a bug since the behavior you are describing is not consistent with my experience. For example -
    This child page -
    <!doctype html>
    <html><!-- InstanceBegin template="/Templates/test-externalcss.dwt" codeOutsideHTMLIsLocked="false" -->
    <head>
    <meta charset="utf-8">
    <!-- InstanceBeginEditable name="doctitle" -->
    <title>Untitled Document</title>
    <!-- InstanceEndEditable -->
    <link href="_css/child.css" rel="stylesheet" type="text/css">
    <!-- InstanceBeginEditable name="head" -->
    <!-- InstanceEndEditable -->
    </head>
    <body>
    <!-- InstanceBeginEditable name="EditRegion1" -->
    <p id="foo">Content</p>
    <!-- InstanceEndEditable -->
    <p id="bar">More content</p>
    </body>
    <!-- InstanceEnd --></html>
    Is linked to an external stylesheet just as you describe -
    @charset "utf-8";
    p {
              color: #0000FF;
    #foo {
              background-color:#DDD;
    #bar {
              font-style:italic;
    In the child page, I click in the ID foo and I see it appear in the Targeted Rule field of the Property inspector. I click the button for Edit Rule, and change the font size to 18px. There is no prompt at all, even though the link to the external stylesheet is in a non-editable region of the template, and the stylesheet is changed according to my edit. So what am I doing wrong?

  • Data Template construction AND data template validation questions:

    Hello World.
    I am new to Oracle BI and I have sucessfully used the BI Java APIs to create from start to finish a pdf report process. I use the DataProcessor, RTFProcessor, and FOProcessor classes to do this. My question is other than the most simple of Data Templates being used, how is everyone building their data templates? And I would also like to know how are developers validating the actual data template file? I have submitted a request through my MetaLink account for obtaining either a "dtd" or "xsd" file that could be used to validate a constructed data template. I have not received any real answers. I plan on using either XMLSpy or MyEclispse 6 to create my data templates, but I need a "rule book" dtd or xsd file in order to use the auto prompting feature. Making a data template "in the dark" cannot be the method of choice for all of the developers that visit this forum. I see some really fancy/detailed reports and I would like to see how people are building there data templates. Building the data template is at least half the battle when constructing a BI report.
    Thanks for your time.

    Notepad is the developer's choice for data definitions, seriously.
    I have seen and used XMLSpy and have Stylus Studio but they are really a bit of overkill for the data templates. I use Stylus Studio for some of our XML-FO format templates, but that is another story.
    Scott
    Edited by: ScottC on Oct 22, 2008 3:00 PM

  • TemSe file in templates 110 and 111 (modelos 110 y 111) - (PY-ES)

    Hi experts,
    I have a question regarding spanish Employment Tax (IRPF) report, namely the 110 and 111 templates (modelos 110 y 111).
    I'm implementing spanish payrroll for the first time and, when I execute the RPC190E0 report for the 110 and 111 templates, the system displays the results correctly, but doesn't provide a TemSe file for download. This striked me as odd, since there is, for example, a TemSe file for template 190 (modelo 190).
    Is this standard behaviour, or is there a configuration that I am missing for templates 110 and 111?
    Thank you very much,
    Luí

    Hola Antoine,
    I talked with my cliente and they're ok with filling the modelo 111 manually. Thank you very much for your help.
    Since we're on this subject, could you help me in one more question? When I generate modelo 190, the resulting file comes with "Tipo de Registro 1" and "Tipo de registro 2", but doesn't generates "Tipo de registro 0". I looked it up and "Tipo de Registro 0" contains data from the Presentador, correct?
    Is there any table that I should fill to generate "Registro 0" in modelo 190? I searched SPRO under "Evaluaciones para Hacienda", but couldn't find anything.
    Once again, thank you for your help.
    Regards,

  • Country template (DE01 and DE02)

    Hi All,
    My client wants to create a new Company Code in Germany. So we are planning to copy from Country Template DE. But I am finding two template (DE01 and DE02) in ECC 6. Which template i have to copy for the new company code.
    Please help me for the above issue.
    Thanks & Regards
    Vinu

    Hi Vinu,
    within transaction EC01 you can create a new company code by copying another company code. For transporting an existing company code to another client you can use the same transaction with function 'Transport'. All the depending tables will be transported and can be viewed via 'Extras' -> 'Technical Logs' -> Results.
    For more information regarding the transport and copy functionalities please have a look at the Application Help -> 'Online Manual'.
    Regarding the country specific settings please read the instructions of the SAP Note 63805 and its related notes and proceed as described.
    I hope this help you! ;D
    Regards,
    Mateus

Maybe you are looking for

  • Can I return My IMac to exchange it for a Macbook Pro?

    I have had a IMac 27 inch since march and it is the newest one. I dont like it, so can i return it for a macbook pro? I have the receipt and everything that it was bought with. Please let me know, because im going to the apple store soon!

  • Weird sort order for tracks / songs on walkman

    hi all just browsing through the various ways of viewing songs on the walkman app (i.e. by artist, album & song) and I've realised that some tracks are not sorting correctly. I know that would suggest a problem with their tagging but I don't think it

  • App.setInterval issue on doc.

    Hi all I have looked at this ex. http://www.pdfscripting.com/public/FreeStuff/PDFSamples/JavaScriptClock.pdf and I can see it working fine, but there is alot of elements that i do not need, so i have tryed to make the document with only date and time

  • Reusable JSF components - bundling a converter with a text field

    I am trying to create reusable text fields for different types of data (notes, amounts, percentages) that will use a JSF converter to implement formatting. Here is what I have done - created an application in JDeveloper that contains my components as

  • IDES Bus Scenarios for SAP IS-OIL solutions

    Will anyone provide url for Business scenarios for  SAP IS-OIL SD and MM modules