Updating form with server-side scripts

Hi
For security reasons, we want to do a web service call with only server side scripts. That way we have full control over the access to the wsdl and no problems with the security.
However, if I try to run the scripts on server-side I get no update of the data in the form... so what to do to solve that problem? Anybody with experience from that?

To make a small update I've been messing around with various different things to be able to achieve the goal. One of the initial problems was that the Designer actually manages to create two different SOAP addresses, one of them is the correct and secure way and the other one is direct to the data source, which would be an unsecure and blocked route. That changed things a bit when I realized that.
But still, the problem remains. If I run the script Client-Side, it works but is not an acceptable solution. If I run it Server-Side, it can't read the data and doesn't recognize the call to SOAP.connect()...
Does anybody have any experience in webb service connection with server side scripts?

Similar Messages

  • Acrobat form with server side submit, posting blank data

    Read more
    Acrobat form with server side submit, posting blank data,
    thanh xả tràn
    I have a PDF form which gets submitted to the server using a submit (server-side) button. The data is then received in XML format by a ColdFusion component which does some validation and stores it into the database.
    This PDF form is usually filled in by our clients using Adobe Reader 8 or below. While most of the times(and I mean like 96-97% of the times) everything goes well, at times we receive blank data into our database!! This renders couple of other features in our application useless as they try to parse an XML which does not exist.
    I do believe that this is not a problem at the ColdFusion side because all it does is trim(ToString(toBinary(GetHttpRequestData().content))).
    Does anyone has a clue as to why the data will be lost upon form submission?? I have done a lot of googling around it but in vain!

    There is an outside chance someone is just playing with you and submitting a blank form. Not uncommon if someone is not too familiar with forms.

  • PLEASE help with server-side form validation using PHP!!!

    I feel like im going round and round in circles with this, after looking into all sorts of server-side advice i've come to the conclusion that i want to validate my form using server-side validation with PHP.
    So my form has several drop down menu's and  textareas  (not all of them need validation). For the part of my form i would like to validate, all i want is the drop downs to have to be changed/selected. So just a simple message like "You must select an option" if customers haven't done so. For the textareas, they just need to be filled out, so a message like "Information required" to come up if customers haven't done so.
    I believe i need to create a PHP page say for example 'error.php' place  the validation code in there and set this part of the the form to -
    <form name="product"form action="error.php" method="post" class="product_form">
    BUT im getting really confused with creating the code for the error.php. Please please can anyone help me with this!!!???
    Here are the drop down menu's i need validation on, error message being "You must select an option",
    "figurine"
    "engraving"
    "font"
    and here are the textareas that need validating, error message "Information required",
    "test"
    "Name"
    "house"
    "line_1"
    "line_2"
    "county"
    "postcode"
    "tel"
    www.milesmemorials.com/product-GK1.html
    I'd really appreciate any help!!!

    Ness_quick wrote:
    Great thats good enough for me. In that case, would you please be able to help me create the javascript for the above validation?? If you could just help me create it for this page i can amend it for all the other pages. I'd really really appreciate it!!!
    Can you follow the below example?? Obviously AFTER validation has been successful you need to collect the information from the form and send it to the recipient email address...that's where you can use php. I'll check back tomorrow and see how you are doing.
    <!DOCTYPE HTML>
    <html><head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>Form validation</title>
    <!-- VALIDATE ORDER FORM  -->
    <script type="text/javascript">
    <!--
    function RequiredFormFields() {
        // inform customer to provide figurine choice
    var figurine = document.forms.product.figurine.value;
    if (figurine == "-- Select figurine --")
    alert("Please provide figurine choice");
    return false;
    // inform customer to provide engraving choice
    var engraving = document.forms.product.engraving.value;
    if (engraving == "-- Select engraving --")
    alert("Please provide engraving choice");
    return false;
    // inform customer to provide font choice
        var font = document.forms.product.font.value;
    if (font == "-- Select style --")
    alert("Please select font style");
    return false;
    // inform customer to provide their name
    var Name = document.forms.product.Name.value;
    if (Name == null || Name == "")
    alert("Please provide your name");
    return false;
    // inform customer to provide their house number/name
    var house = document.forms.product.house.value;
    if (house == null || house == "")
    alert("Please provide your house number/name");
    return false;
    } // end function
    -->
    </script>
    </head>
    <body>
    <form name="product" form action="processForm.php" method="post" class="product_form" onsubmit="return RequiredFormFields()">
    <p class="product_form_options">Choice of Figurine<br>
    <select name="figurine" class="productButton" id="figurine" onChange="Recalculate()">
    <option selected>-- Select figurine --</option>
    <option value="7031">Tropical Green Granite with bronze sacred heart figurine as pictured(&pound;7031)</option>
    <option value="5216">Tropical Green Granite with bronze effect sacred heart figurine (&pound;5216)</option>
    <option value="5216">Tropical Green Granite with reconstituded figurine MF122(&pound;5216)</option>
    </select>
    </p>
    <p class="product_form_options">Engraved Lettering<br>
    <select name="engraving" class="productButton" id="engraving" onChange="Recalculate()">
            <option selected>-- Select engraving --</option>
            <option value="2.30">Sandblast and enamel painted (&pound;2.30/letter)</option>
            <option value="2.80">Sandblast and guilded (&pound;2.80/letter)</option>
            <option value="2.20">Maintenance free (&pound;2.20/letter)</option>
            <option value="3.73">Traditionally hand cut and enamel painted (&pound;3.73/letter)</option>
            <option value="3.98">Traditionally hand cut and gilded (&pound;3.98/letter)</option>
            <option value="4.34">Raised lead and enamel painted (&pound;4.34/letter)</option>
            <option value="4.59">Raised lead and gilded (&pound;4.59/letter)</option>
          </select>
    </p>
    <p class="product_form_options">Letter/Font Style<br>    
          <select name="font" class="productButton" id="font" >
               <option selected>-- Select style --</option>
               <option value="Maintenance free">Maintenance free </option>
               <option value="White painted block">White painted block</option>
               <option value="White painted roman">White painted roman</option>
               <option value="White painted Script">White painted Script</option>
               <option value="White painted Celtic">White painted Celtic</option>
               <option value="White painted Nova">White painted Nova</option>
               <option value="Sliver painted block">Sliver painted block</option>
               <option value="Sliver painted roman">Sliver painted roman</option>
               <option value="Sliver painted Script">Sliver painted Script</option>
               <option value="Sliver painted Celtic">Sliver painted Celtic</option>
               <option value="Sliver painted Nova">Sliver painted Nova</option>
               <option value="Gold leaf painted block">Gold leaf painted block</option>
               <option value="Gold leaf painted roman">Gold leaf painted roman</option>
               <option value="Gold leaf painted Script">Gold leaf painted Script</option>
               <option value="Gold leaf painted Celtic">Gold leaf painted Celtic</option>
               <option value="Gold leaf painted Nova">Gold leaf painted Nova</option>
               <option value="Gold leaf painted Old English">Gold leaf painted Old English</option>
             </select>
             </p>
             <p>
    <p>Name<br>
    <input name="Name" type="text" id="Name" value="">
    </p>
    <p>House name or number:<br>
    <input name="house" type="text" id="house" size="67">
    </p>
    <p>
    <input name="submit" type="submit" class="place_order" id="submit" value="Place order">
    </p>  
    </form>
    </body>
    </html>

  • Error 408 on saving server side script

    When I save my server side scripts via the azure portal I receive an error 408 on one of my mobile services account. The same problem occurs when trying to create a new custom api, for example:
    The following API was not created: 'user'. Error 408
    At first I thought there was a problem with the azure service, but it seems to only occur on this one specific mobile service. I think it started after I added a dependency to the package.json file. But that could have been coincidence. The exact same dependency
    doesn't cause any problems on another mobile service.
    Looking at the deployment logs I do see an error occured during deployment, however I have no idea what caused it:
    <entry time="2015-01-13T15:52:18.9642615Z" id="1223e0a4-bb6a-4cb1-938e-835ad4cf4761" type="1">
    <message>npm http 304 https://registry.npmjs.org/delayed-stream/0.0.5</message>
    </entry>
    <entry time="2015-01-13T15:52:20.3087714Z" id="8f7719a5-aa24-4743-8240-446dc47b69a9" type="1">
    <message>npm ERR! error rolling back Error: ENOTEMPTY, rmdir 'D:\home\site\wwwroot\App_Data\config\scripts\node_modules\azure\node_modules\request\node_modules\hawk\images'</message>
    </entry>
    <entry time="2015-01-13T15:52:20.3869327Z" id="8ede872b-daab-4127-bc72-bfb890dc7648" type="1">
    <message>npm ERR! error rolling back [email protected] { [Error: ENOTEMPTY, rmdir 'D:\home\site\wwwroot\App_Data\config\scripts\node_modules\azure\node_modules\request\node_modules\hawk\images']</message>
    </entry>
    <entry time="2015-01-13T15:52:20.511891Z" id="47245fe1-ad7d-4e99-a467-75dd9fa18232" type="1">
    <message>npm ERR! error rolling back errno: 53,</message>
    </entry>
    <entry time="2015-01-13T15:52:21.8254287Z" id="9288c66b-d8bb-4179-82fd-02b08546d507" type="1">
    <message>npm ERR! error rolling back code: 'ENOTEMPTY',</message>
    </entry>
    <entry time="2015-01-13T15:52:23.7804257Z" id="c23a4cc5-e497-4b8c-84fc-0c6c304ff29a" type="1">
    <message>npm ERR! error rolling back path: 'D:\\home\\site\\wwwroot\\App_Data\\config\\scripts\\node_modules\\azure\\node_modules\\request\\node_modules\\hawk\\images' }</message>
    </entry>
    <entry time="2015-01-13T15:52:23.9366651Z" id="a14fdc0d-be4d-4b14-a479-ffa6a36e36b7" type="1">
    <message>npm ERR! Error: ENOENT, lstat 'D:\home\site\wwwroot\App_Data\config\scripts\node_modules\azure\node_modules\request\node_modules\hawk\images\logo.png'</message>
    </entry>
    <entry time="2015-01-13T15:52:23.9679168Z" id="337c4826-caff-4d99-9f92-5464ce8cc99a" type="1">
    <message>npm ERR! If you need help, you may report this log at:</message>
    </entry>
    <entry time="2015-01-13T15:52:23.9835398Z" id="46ecc393-37b3-4cf9-a859-12f76f9c030a" type="1">
    <message>npm ERR! &lt;http://github.com/isaacs/npm/issues&gt;</message>
    </entry>
    <entry time="2015-01-13T15:52:23.999164Z" id="5fac5a33-7872-4ec8-9e0b-ce9c9f240ed4" type="1">
    <message>npm ERR! or email it to:</message>
    </entry>
    <entry time="2015-01-13T15:52:24.0304132Z" id="2224019c-bfbf-48a6-90ff-59680d7e6047" type="1">
    <message>npm ERR! &lt;[email protected]&gt;</message>
    </entry>
    <entry time="2015-01-13T15:52:24.0460472Z" id="ea8d4851-85e1-48cf-91f7-6be16a597af1" type="1">
    <message></message>
    </entry>
    <entry time="2015-01-13T15:52:24.0616631Z" id="09eaab34-9f11-496c-8f50-309bdc314c96" type="1">
    <message>npm ERR! System Windows_NT 6.2.9200</message>
    </entry>
    <entry time="2015-01-13T15:52:24.0929218Z" id="d646da46-b3b2-4379-8d44-a735cb0a9907" type="1">
    <message>npm ERR! command "D:\\Program Files (x86)\\nodejs\\0.10.32\\node.exe" "D:\\Program Files (x86)\\npm\\1.2.30\\node_modules\\npm\\bin\\npm-cli.js" "install" "--production"</message>
    </entry>
    <entry time="2015-01-13T15:52:24.1085411Z" id="d60966f6-446f-49a8-97fc-0f38c27a8ba3" type="1">
    <message>npm ERR! cwd D:\home\site\wwwroot\App_Data\config\scripts</message>
    </entry>
    <entry time="2015-01-13T15:52:24.1241618Z" id="10815e3a-3e4c-48c7-aac1-1c3cb5252505" type="1">
    <message>npm ERR! node -v v0.10.32</message>
    </entry>
    <entry time="2015-01-13T15:52:24.1554232Z" id="0de65cd4-815b-4c3f-a31f-167c1e152d07" type="1">
    <message>npm ERR! npm -v 1.2.30</message>
    </entry>
    <entry time="2015-01-13T15:52:24.1710425Z" id="0f993ac5-8cfb-494e-8982-d998020886c0" type="1">
    <message>npm ERR! path D:\home\site\wwwroot\App_Data\config\scripts\node_modules\azure\node_modules\request\node_modules\hawk\images\logo.png</message>
    </entry>
    <entry time="2015-01-13T15:52:24.1866604Z" id="0caad3ad-2379-4fe3-845e-3399eddb616e" type="1">
    <message>npm ERR! fstream_path D:\home\site\wwwroot\App_Data\config\scripts\node_modules\azure\node_modules\request\node_modules\hawk\images\logo.png</message>
    </entry>
    <entry time="2015-01-13T15:52:24.217915Z" id="40d4f06a-bc1c-4f08-b4df-77d873ee9170" type="1">
    <message>npm ERR! fstream_type File</message>
    </entry>
    <entry time="2015-01-13T15:52:24.2335402Z" id="5a4b280b-b082-4d82-9575-f8cb178b9745" type="1">
    <message>npm ERR! fstream_class FileWriter</message>
    </entry>
    <entry time="2015-01-13T15:52:24.2491849Z" id="2703e3b8-4590-4ff5-888d-b3a7843b2bf6" type="1">
    <message>npm ERR! code ENOENT</message>
    </entry>
    <entry time="2015-01-13T15:52:24.2804115Z" id="e3202f5b-5f42-4494-8b1c-d86a5884f1e0" type="1">
    <message>npm ERR! errno 34</message>
    </entry>
    <entry time="2015-01-13T15:52:24.2960331Z" id="fe0a0140-4cd3-4102-8197-d569d299e967" type="1">
    <message>npm ERR! fstream_stack D:\Program Files (x86)\npm\1.2.30\node_modules\npm\node_modules\fstream\lib\writer.js:284:26</message>
    </entry>
    <entry time="2015-01-13T15:52:24.3116669Z" id="07059322-a9ce-420f-bde4-850cd4527447" type="1">
    <message>npm ERR! fstream_stack Object.oncomplete (fs.js:107:15)</message>
    </entry>
    <entry time="2015-01-13T15:52:24.3429074Z" id="69129620-b805-4c22-8fb3-cefbe08d66d4" type="1">
    <message>npm ERR! Error: EPERM, chmod 'D:\home\site\wwwroot\App_Data\config\scripts\node_modules\azure\node_modules\request\node_modules\form-data\node_modules\combined-stream\node_modules\delayed-stream\lib\delayed_stream.js'</message>
    </entry>
    <entry time="2015-01-13T15:52:24.3585325Z" id="84ca01c0-06d9-48b6-9e57-703dd29718f2" type="1">
    <message>npm ERR! { [Error: EPERM, chmod 'D:\home\site\wwwroot\App_Data\config\scripts\node_modules\azure\node_modules\request\node_modules\form-data\node_modules\combined-stream\node_modules\delayed-stream\lib\delayed_stream.js']</message>
    </entry>
    <entry time="2015-01-13T15:52:24.3741576Z" id="d86b04ac-7bf3-4388-8ee3-d97d7e296302" type="1">
    <message>npm ERR! errno: 50,</message>
    </entry>
    <entry time="2015-01-13T15:52:24.4054063Z" id="f6143c63-fe6d-48f4-b734-a52fe92e8f5a" type="1">
    <message>npm ERR! code: 'EPERM',</message>
    </entry>
    <entry time="2015-01-13T15:52:24.421031Z" id="455275dd-3b61-41de-b987-7e56ee68bc05" type="1">
    <message>npm ERR! path: 'D:\\home\\site\\wwwroot\\App_Data\\config\\scripts\\node_modules\\azure\\node_modules\\request\\node_modules\\form-data\\node_modules\\combined-stream\\node_modules\\delayed-stream\\lib\\delayed_stream.js',</message>
    </entry>
    <entry time="2015-01-13T15:52:24.4522803Z" id="980e3f64-1dc2-4a91-85a8-9b0349f93517" type="1">
    <message>npm ERR! fstream_finish_call: 'chmod',</message>
    </entry>
    I've been trying to save my scripts for the better part of a day, so any help would be greatly appreciated.

    Second day and I still can't save my scripts and thus not able to continue my work. Is there anyone from microsoft that could shed some light on this problem? For some reason adding dependencies to the node.js project stops it from being able to deploy.

  • Multi-Row Update form with wrapped fields

    Hi,
    I have a multi-row update form with too many fields to fit on the screen without having to scroll. Is it possible to wrap the extra fields onto a 2nd line.
    So each DB record will actually span 2 srceen rows and fit nicely into my browser ??
    Thanks for any help,
    Brandon

    It is possible, but would require some serious work on the report template, to create a custom row template.
    I started to do this at http://htmldb.oracle.com/pls/otn/f?p=24317:191 but realized that it is hard work. Also, where would you show the headings for the second part of the row (split onto the next line)?
    Instead, I would use the Show/Hide columns technique (client-side scripting) to reduce the number of columns shown. Search for it on this forum. Carl and I have some good examples out there.

  • Server side script not running on stand-alone XE

    Hello,
    In my application I created a Server side script (AJAX) which presents a select-list based on other fields on the page. The very same application runs on a 10g+APEX3.0.1 database AND on a standard XE+APEX2.1 database, which are both accessed via a HTTP-server. The application with the script runs fine on this platform (XP).
    I have two other XP-machines on which I also installed XE+APEX2.1. Both are stand-alone versions NOT accessed via a HTTP-server. I installed exactly the same application which runs on the platform with HTTP server on both of the machines. While testing the correct functioning, I noticed that everything works ok, EXCEPT the server side script which gives me a better select list. Instead of this I get the old-fashioned version of the select-list which is not able to use the value elsewhere on the page.
    I found a similar problem on the XE forum (Re: Server side scripts features ) but it doesn't answer my question how to get the script working on a standalone version of XE (= without access via a HTTP-server).
    Can anybody please help me?
    Thanks & regards,
    Jan.
    Message was edited by: Jan
    J. Hulsing

    Carl,
    Thanks for your suggestion to install FireFox and the Firebug tool (which I wasn't aware of).
    After having looked at the problem for hours, I found what I think is the problem: the htmldb_html_elements.js script.
    As already mentioned, the properly functioning XE on my local PC is accessed via a HTTP-server, as well as the 10gR2+APEX3.0.1 version also running on that PC.
    On the laptop, not running HTTP-server, I get the message: <br>
    <FONT COLOR="RED">$x is not defined <BR>
    <FONT COLOR="BLUE"> f_21_select_kpn<FONT COLOR="RED">(<FONT COLOR="BLUE">input<FONT COLOR="BLACK">#P21_GBREKNR 405<FONT COLOR="RED">, "P21_KOSTENPOST") <BR>
    <FONT COLOR="BLUE">onblur<FONT COLOR="RED">(<FONT COLOR="BLACK">blur <FONT COLOR="RED">)
    </FONT><BR>
    That is in the 'Console' of Firebug.
    When changing to Script I do see a remarkable difference.
    On the PC there the following text is found in the first lines of htmldb_html_elements.js:
    /*htmld_elements will contain the lower level html access js*/<br>
    var gDebug = true;<br>
    var gkeyPressTime;<br>
    var gLastTab=false;<br>
    var gRegex=false;<br>
    var ie=(document.all)?true:false;<br>
    if(ie){document.expando=true;}<br>
    var gDebugWindow = false;<br>
    /*<br>
    $x functions have to do with either single elements or array of elements<br>
    $v functions have to have to do with manipulating values or interaction based off a value<br>
    $xml function have to do with manipulating xml values<br>
    $a functions are based on ajax<br>
    $d functions are specific dhtml constructs<br>
    */<br>
    /* begin $x functions */<br>
    function $x(pNd){<br>
    try{<br>
    var node;<br>
    ...<br><br>
    On the laptop however the first few lines are:<br><br>
    /*htmld_elements will contain the lower level html access js*/<br>
    <br>
    var gDebug = true;<br>
    var gkeyPressTime;<br>
    var gLastTab=false;<br>
    var gRegex=false;<br>
    if(document.all){document.expando = true;}<br>
    // Elements //<br>
    <br>
    function html_GetElement(pNd){<br>
    try{<br>
    var node;<br>
    switch(typeof (pNd)){<br>
    ...<br><br>
    I think that the difference is in these two scripts.
    But why are the scripts different: it is the same XE that is installed on the laptop and the PC.<br>The answer I found in the images/javascript directory of APEX3.0.1 which is located in the APACHE directory-tree (you have to copy the images to APACHE when you use the HTTP-server). And indeed: the htmldb_html_elements.js has exactly the same text as what I see in Firebug on the PC. So XE on the PC is using the javascripts in the image-directory of APACHE on the PC and not the XE-version of the scripts, embedded in XE.
    <br><br>
    So the answer seems to be: copy the APEX3.0.1 versions of the script over to the PC and try to get them into the database. Or...???
    <br>
    Can it be loaded into the database? Will XE accept it?
    <BR><br>
    Would be nice to have answers if the conclusion I found is the right one and if it can be fixed by loading the js into XE.
    <br>
    Best regards and thanks for your help so far.
    <br>
    Jan.

  • Email without Server Side scripting

    My client's webside does not have any server side scripting support. Is it possible to send email without server side scripting and email programs? Can HTML's emailto send emails from flash?

    You can use a mailto: link in Flash just as you would in html.  It will open the whatever defauklt email program the user has with the email address in the address bar.

  • Server side script changes while migrate from FMS3.5 to FMS4.5

    hi,
    Someone has any tutorial or document link when migrate from FMS 3.5 to Fms 4.5.
    thanks in advance,
    vishal

    If you are talking about Server-side script - your server-side script should work as it - if its working in 3.5 it should work without any changes in 4.5

  • Poriblems with Server Side Include

    I amtrying to convert to Spry Menus using SSI. into a template.  been beating my head against the wall on what can go in and what can't in an include fil but that turns out not be my big problem
    when in using Dredamweaver CS5   and  do a server side I have major issues at the differeent levels
    i have the file in a directory off the site root called  Includes
    the file i am trying to include
    using a page at the root level my statement using document relation is
    <!--#include file="Includes/Navbar.html" -->
    works fine   channg to site relation does not work   Ok so far so good
    however a page in a lower level director gets the dreaded
    [an error occurred while processing this directive]
    and i get an error
    [Sat Sep 01 16:51:42 2012] [error] [client 174.57.220.98] unable to include file "../Includes/Navbar.html" in parsed file /usr/local/www/kasdivi.com/blog/beachguide.html
    and also
    Warning - PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20100525-debug/memcache.so' - Cannot open &quot;/usr/local/lib/php/20100525-debug/memcache.so&quot;
    Unknown(0) : Warning - PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20100525-debug/apc.so' - Cannot open &quot;/usr/local/lib/php/20100525-debug/apc.so&quot;
    Unknown(0) : Warning - PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20100525-debug/pdf.so' - Cannot open &quot;/usr/local/lib/php/20100525-debug/pdf.so&quot;
    Unknown(0) : Warning - PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20100525-debug/memcache.so' - Cannot open &quot;/usr/local/lib/php/20100525-debug/memcache.so&quot;
    Unknown(0) : Warning - PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20100525-debug/apc.so' - Cannot open &quot;/usr/local/lib/php/20100525-debug/apc.so&quot;
    Unknown(0) : Warning - PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20100525-debug/pdf.so' - Cannot open &quot;/usr/local/lib/php/20100525-debug/pdf.so&quot;
    the php errors don't seem mahor although they seem to have i have another iisue or are the related
    but that aside
    If I move the include file to the same level as the pade with approprirate include statement no problem it works
    if i move it to a subditrectory  then it doesn't work
    summary
    i can get SSI to work for page on the root level using Includes from a subdirectory
    but on other level I must have the include in the same directory with the page
    any thoughts??

    Your menu links are inside an include file.  There should be nothing else inside that file except the list tags, classes & hyperlinks.  Links are relative to the parent page(s) in which they will occur.
    All supporting scripts and CSS go inside the parent page -- in your case, the Template.dwt file.
    Local Files Panel:
         -Includes
              menu.html
              footer.html
         +Styles
         +SpryAssets
         -Templates
              main.dwt
         about.shtml
         contact.shtml
         index.shtml
         services.shtml
    Problems will occur if you use document relative link paths with pages that are located inside sub and sub-sub folders. Obviously, you want to avoid doing that.  For best results, keep all your site pages at root level.
    Hope this helps,
    Nancy O.

  • Problem with server side state saving ,JSF 1.1.1

    Hello,
    In my web.xml  the.STATE_SAVING_METHOD setting is s server
    <context-param>
            <param-name>javax.faces.STATE_SAVING_METHOD</param-name>
            <param-value>server</param-value>
        </context-param>
    for measurement of application security isn't not allow to change this parameter to client , so the problem  when i access for application and i open a new page via linker for print for example and i would access for my initial page to make change or modify my initial page it s no possible to make any modification because i have a empty bean , but if the state saving is a client i haven't a problem because a tree map is stored in client browser, so my version of JSF is 1.1.1 ,
    So can you explain the cause for his problem
    and what's the solution for my problem ?
    NB:i can't change the parameter for STATE_SAVING_METHOD for a client
    Thank you

    did you search this form, there were lot of discussions in the past about server side cookies, you may find an answer to your problem.
    alternate approache for sending a value from parent page to the pop up window.
    1. when opening the pop up pass the values along with the url (if the size of variable is small)
    alternatively you can store the value in a hidden form field in parent window and access the same from poup window using
    you can simple access the page one form field value in page 2 (pop up) by using the following code.
    window.opener.document.getElementById('hiddenformfieldid').value

  • Main.asc server side script not working

    Here the simple script i put at server seem like is not working also enclosed screenshot for the adminconsole
    my server side file main.asc save at /opt/adobe/fms/application/playtechmnflive/
    my doing FMS edge server.
    application.allowDebug= true;
    application.onAppStart = function(){
            this.eventTime = (new Date().valueOf() + 10000);
            this.timer_int = setInterval(checkForEvent, 1000, this);
    function checkForEvent(app){
            var now = new Date().valueOf();
            if(now > app.eventTime) {
                    trace("something");
            }else{
                    trace("damn");

    The script is fine (at least i assume u want the timer working with no errors). The thing is that u can't put any code nor apps on the edge node. Put it on the origin and hook up your edge to that origin.

  • Problem with Server-Side InitialContext

    The Weblogic 5.1 documentation states that to create a context from within a
    server-side object, all you need to do is issue the following statement:
    Context ctx = new InitialContext();
    That you do not need to specify a factory, or a provider URL; by default,
    the context will be created as a WebLogic context and will connect to the
    local naming service.
    I only get this to work when I am running from within an EJB. When I try
    this from a servlet, it doesn't work.
    I am running Weblogic 5.1 SP9 with JDK 1.3.1_02. Any ideas about what I may
    be doing wrong???

    Hi,
    runtime->session_id indicates the browser session not a windows session so as such there is nothing to prevent that except from preventing to open the app in the same browser again by eg testing on the session id
    Eddy

  • Problem with server side cookie

    Hi, I have a problem with a server side cookie. I'm trying to store a cookie trough the  cl_bsp_server_side_cookie=>set_server_cookie method in the OnInitialitation event handler of a bsp (my bsp application is non mvc) and then to retrieve this cookie trough the  cl_bsp_server_side_cookie=>get_server_cookie method in the OnInputProcessing event handler of the same bsp. In this cookie i'm storing a internal table but i'm not getting it when i invoke the get_server_cookie method.
    This is the source code that i'm implementing:
    OnInitialitation:
    wa_comunnication_data-mobile = wa-mobile.
              wa_comunnication_data-telefono = wa-tel_number.
              wa_comunnication_data-email = wa-email.
              APPEND wa_comunnication_data to comunnication_data.
               cl_bsp_server_side_cookie=>set_server_cookie(
                  EXPORTING
                   name = 'cook_comunnication_data'
                   application_namespace = 'NONE'
                   application_name = 'NONE'
                   username = 'NONE'
                   session_id = runtime->session_id
                   data_value = comunnication_data
                   data_name = 'comunnication_data'
                   expiry_time_rel = 720 ).
    OnInputProcessing:
    cl_bsp_server_side_cookie=>get_server_cookie(
          EXPORTING
           name = 'cook_comunnication_data'
           application_namespace = 'NONE'
           application_name = 'NONE'
           username = 'NONE'
           session_id = runtime->session_id
           data_name = 'comunnication_data'
          CHANGING
           data_value = comunnication_data ).
         READ TABLE comunnication_data INDEX 1 INTO wa_comunnication_data.
    regards, marcel.

    Why do you need to use cookies in the same BSP Application?
    Try to use below:
        username              = sy-uname
        application_name      = runtime->application_name
        application_namespace = runtime->application_namespace
    <i>*reward each useful answer</i>
    Raja T
    Message was edited by:
            Raja Thangamani

  • Ensure List/Menu populate my update form with the correct data before update

    Hello,
    Please how do I ensure my update form is populated with the correct data before update?
    On my update page I have text fields and select fields (dynamic list/menu). When I open my profile page to make updates, I see the field well positioned in the text fields but in the select list/menu fields, I see "Select from list" instead of the value that was initiated selected
    Correct Values before update
    Wrong values during update
    As you can see from the images below, when I open the update page, the list automatically populate the select fields with the last values in the list instead of the Initial values that where selected by the user before the update.
    Can anyone please review and let me know where I have gone wrong.
    Thank you
    Mike

    Hello All,
    Once more thank you. I have sorted the issue out.
    I observed that I was selecting the wrong field. I selected the field matching the record set of the select instead of the field matching the record set of the table I am working as seen on the image belew
    I was selecting this - This is the record set of the table that hold values for the city select list
    Instead of this. This is the record set of the table behind the form I am working on
    My issue is now re-solved.
    Mike

  • SQLNCLI11 - Recordset with Server Side cursor and Property PreserveOnCommit = TRUE

    I am migrating an OLEDB application from Microsoft Access to SQL.  I am using the SQL Native Client in my connection string
    "Provider=SQLNCLI11;Server=%s;Database=%s;Trusted_Connection=yes;"
    The application uses the following call to open a table in the database
    m_pRecordset->Open((LPCTSTR)m_strQuery, _variant_t((IDispatch*)mpdb, TRUE), adCursorType, adLockOptimistic, options);
    where m_strQuery is the table name, adCursorType is adOpenKeyset or adOpenDynamic (I've tried both), options is adCmdTable or adCmdTableDirect (I've tried both)
    mpdb is a _ConnectionPtr.  Cursor location can be either adUseClient or adUseServer.
    If I set Cursor location to adUseClient, the PreserveOnCommit Property of the  Recordset is true; if I set Cursor location to adUseServer the PreserveOnCommit property of the Recordset is false.  I cannot set this property after the recordset
    is open
    Is there a way to Open the recorfdset with a server side cursor and PreserveOnCommit TRUE?
    Howard P. Weiss

    Thanks, Dan, that has been very insightful. We will try to move our legacy VBA data access layer to client-side cursors (first for SQLs with CTEs, then for all SQLs, if everything works out well).
    Regarding deprecation: What is the currently recommended way to access SQL Server from VBA projects? I did a bit of research and it appears that all methods I can think of are deprecated in one way or another:
    DAO with ODBCDirect: Support has been dropped with Access 2007.
    DAO via JET: Using JET SQL syntax instead of T-SQL? Not seriously. Anyway, it's considered obsolete by Microsoft.
    ADO with the SQLOLEDB provider: Deprecated.
    ADO with the SQL Server Native OLEDB provider: Won't be supported after SQL Sever 2012.
    ADO with the Microsoft OLE DB provider for ODBC: Not supported: "SQL Server Native Client is not supported from the Microsoft OLE DB provider for ODBC (MSDASQL)."
    What did I miss?
    Best regards
    Heinzi

Maybe you are looking for

  • To set a value in matrix cell which is linked

    In sales order if I enter  form no of TAX TAB as "form c" , each cell of the TAX Code column of the matrix of contents tab should be set the value as "CST". I have tried to set the value, but it is showing "Form item not editable". I have tried to ma

  • Deleting photo's from ipod etc

    i need to delete all photo files from my ipod 80g and i see that on the summary it says i have 177mb in 'other' i don't know what that refers to anyone have similar probs

  • [Solved] No sound from saa7134-TV-Card

    Hi everybody! My Desktop-PC (bought in 2004) has got a TV-Card. It is a Philips 7134-Chipset: PC-Combo Modem/TV-Tuner CTX908, TV-Tuner CTX910 Video is working out of the box, sound isn't. MOD_AUTOLOAD seems to have loaded the correct modules, as I ge

  • When I updated iPhoto, many of my photos disappeared.  The events are still there but no photos in them.  How do I get it back?

    When I updated iPhoto to iPhoto 9.5, many of my events with the photos disappeared.  The "events" are still there but there is nothing inside.  I have been unsuccessful in trying to get the photos back. Any help would be greatly appreciated.  Thanks,

  • Reset lead selection after refresh in alv grid

    Hi experts, I've a problem with holding the lead selection in an alv grid table view in web dynpro. After changing an attribute the lead selection in the view gets lost, but is hold in the referenced context node. Is there a way to change the lead se