Problem with TextareaValidation: TagName is case sensitive (probably in xhtml)

Hi,
I use the spry 1.6 prerelease for a new project and i really
like it.
I encountered a small problem:
i have this html (snippets)
<?xml version="1.0" encoding="ISO-8859-1" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "
http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="
http://www.w3.org/1999/xhtml"
xmlns:spry="
http://ns.adobe.com.spry"
xml:lang="de">
<span
id="spryDeliveryValues"><textareaname="delivery_values"
id="delivery_values" cols="3000" rows="10"
style="width:625px;overflow: scroll; overflow-y: scroll;
overflow-x: auto; font-family: lucida console, consolas, courier,
'courier new', 'courier regular', 'courier std',
serif;">123456</textarea>
<span
id="spryDeliveryValuesMaxCharsCounter">32000</span>
<span class="textareaRequiredMsg">Die Eingabe ist
erforderlich!</span> <span
class="textareaMinCharsMsg">Bitte geben Sie mehr Zeichen
ein...</span>
<span class="textareaMaxCharsMsg">Die maximale Anzahl
von Zeichen ist erreicht.</span>
</span>
and a js:
spryDeliveryValues = new
Spry.Widget.ValidationTextarea("spryDeliveryValues", {minChars:50,
maxChars:32000, validateOn:["blur", "change"],
counterType:"chars_remaining",
counterId:"spryDeliveryValuesMaxCharsCounter",
useCharacterMasking:false});
this line of javascript causes an error / execption!!!!!
"this.input undefined"
I debugged it with firebux and found out, that in
.../SpryValidationTextarea.js there is a strange behaviour is here:
Spry.Widget.ValidationTextarea.prototype.attachBehaviors =
function()
if (this.element){
if (this.element.nodeName == "TEXTAREA") {
this.input = this.element;
} else {
this.input =
Spry.Widget.Utils.getFirstChildWithNodeNameAtAnyLevel(this.element,
"TEXTAREA");
when using this function::
Spry.Widget.Utils.getFirstChildWithNodeNameAtAnyLevel =
function(node, nodeName) {
var elements = node.getElementsByTagName(nodeName);
if (elements) {
return elements[0];
return null;
the Problem:
node.getElementsByTagName(nodeName); should retrieve a chiled
with Tagname "TEXTAREA" and it should behave case-insensitive (as
statet in the js documenations). It should retrieve my lower-case
<textarea> - object.
BUT IT WONT...
changing the spry javascript to
Spry.Widget.ValidationTextarea.prototype.attachBehaviors =
function()
if (this.element){
if (this.element.nodeName == "TEXTAREA" ||
this.element.nodeName == "textarea") {
this.input = this.element;
} else {
this.input =
Spry.Widget.Utils.getFirstChildWithNodeNameAtAnyLevel(this.element,
"TEXTAREA");
Spry.Widget.Utils.getFirstChildWithNodeNameAtAnyLevel =
function(node, nodeName) {
// jok 20090123 22:15: despite the jaavascript specifitaion,
getElementsByTagName is CASE-SENSITIVE (firefox 3.0.5 WinXP SP2)
var elements =
node.getElementsByTagName(nodeName.toLowerCase());
if (elements && elements.length > 0) {
return elements[0];
elements =
node.getElementsByTagName(nodeName.toUpperCase());
if (elements && elements.length > 0) {
return elements[0];
return null;
works fine for me.
Any idea, why this behaviour does occour? I googled around
for several hours, but did not find any hint.
Is it possible,, that the error occours only when using xhtml
/ strict?
Many thanks for your help.
Joachim

<textareaname="delivery_values"
should be
<textarea name="delivery_values"

Similar Messages

  • Problems with HDMI Sound (Special case)

    My problem is that when I connect my Macbook Pro to the TV through HDMI the sound will only come out through the actual TV and not to the audio system that goes with it like I would like.
    When I connect  my boyfriends Windows laptop (in the same exact way) the problem is solved, the audio comes out through the sound sistem bar and not the crappy TV integrated speakers.
    I hope I made my point clear. I can make the sound come out from the macbook but it goes to the tv and not the sound system attached bar. When my macbook is connected the audio bar switches of automatically. The tv is a Sony Bravia and the Bar is also a Sony (attached to the tv through HDMI).
    Thanks and I hope you can help me!

    It's likely that the laptop's attempting to output audio through the HDMI as well. Have you tried this? Right-click on the speaker icon in the notification area near the clock (in Desktop mode) and select "Playback devices." What's listed there, and what has the green check mark? Try selecting your speakers and clicking "Set Default."
    - Peter

  • Problem with new build, Motherboard/Case

    Hi, I bought a new pc that arrived Friday, It is my first build so bare with me on some bits.
    But to cut it short I have the NZXT Phantom case with a P67A-GD53 Motherboard, And when I screw it all down to the case I cannot fit my GPU in (GTX 570 Power Edition) It gets blocked by the PCI slots at the back, And at first I didnt have my I/O Shield on, But took it off and instaled that and now the motherboard physically cannot screw in at the top without me bending the board..Do I have a dodgy case, Am I installing wrong or just missing the obvious like a moron ?
    Any help much appreciated

    Quote from: smify123 on 02-October-11, 18:21:46
    or just missing the obvious like a moron ?
    Turns out this was the answer -_- I just didnt have the stand off screws installed lol

  • Clarification: Decommissioning Exchange Mailbox server after move to Office 365 will not cause problems with the remaining Exchange CAS server

    Environment: 1x Exchange 2013 Mailbox server
    1x Exchange 2013 CAS server
    All users migrated to office365. MX record pointed to Office365
    DIRSync implemented
    Clarification: All users are now using Office365. As per recommendation from Microsoft there should be 1 exchange server to be retained and the rest can be decommissioned. I tried to test the scenario by shutting down the exchange server
    with the mailbox role and leaving the exchange server with CAS role online. I tried to run Exchange Management shell on the CAS but I'm getting errors. To clarify, once I have uninstalled the Exchange server mailbox will the CAS still look for the mailbox
    server? Or do I need to decommission both Exchange servers and then install a new Exchange server with CAS role?

    Hi
    If you are looking for a hybrid coexistence with office 365 then at least one Exchange 2013 Client Access and one
    Exchange 2013 Mailbox server must be installed in the on-premises organization to run the Hybrid Configuration wizard and support Exchange 2013-based hybrid deployment functionality.
    http://technet.microsoft.com/en-us/library/hh534377(v=exchg.150).aspx
    Summary - You need to have at-least one CAS and MBX combined together in onpremise or it can even be seperate CAS and seperate MBX but microsoft recommends to have both CAS and MBX together in onpremise
    Source - 
    http://technet.microsoft.com/en-us/library/hh534377(v=exchg.150).aspx
    Remember to mark as helpful if you find my contribution useful or as an answer if it does answer your question.That will encourage me - and others - to take time out to help you Check out my latest blog posts on http://exchangequery.com Thanks Sathish
    (MVP)

  • What is the problem with this select include case

    i try to determine according to salary here is the sentence
    Select empno ,ename, sal, (case sal when sal<4000 then .05*sal
    when sal>4000 then .1*sal
    else 0 end) as "Required"
    from emp;
    it give me missing keyword erro
    thanks

    Hi,
    Try this:
    SQL> SELECT
      2  (CASE
      3      WHEN SALARY<4000 THEN .05*SALARY
      4      WHEN SALARY>4000 THEN .1*SALARY
      5      ELSE 0
      6   END
      7   ) REQUIRED
      8   FROM EMP;
      REQUIRED
           440
           650
          1000
           700
           900
           600
           480
           480
          1400
          1350
          1200
      REQUIRED
          1100
           800
           820
           790
           650
          1200
           900
           820
           770
          2400
    21 rows selected.
    SQL>
    Note: Please post your error message.
    Cheers,

  • Installation of Flash Player 11.9 under OSX fails with case-sensitive filesystem!?

    The installation  of flash player 11.9 aborts with an unspecified error. I running OSX 10.9 with an case-sensitive filesystem. Can anyone confirm there are problems with the installer on case-sensitive filesystems?

    The problem isn't the filesystem per se. It's bad software quality if pathnames defined wrong or multiple times with different notation. Often there is only one or two letters with the wrong upper or lower case. I guess in the current Flash installer this is the case. With the previous versions I had no problems.
    Am 03.11.2013 um 00:41 schrieb Mike M <[email protected]>:
    Re: Installation of Flash Player 11.9 under OSX fails with case-sensitive filesystem!?
    created by Mike M in Installing Flash Player - View the full discussion
    My Mini isn't case sensitive, so I can't really say but I had two iMacs when I worked at Intuit that were case sensitive and they had all kinds of software installation issues. One of the Mac developers at Mountain View told me that Case Sesnitive shouldn't be chosen as a format except when a system is isolated and used as a testing server. For a workstation or home computer, it's a terrible choice for a setup.
    Please note that the Adobe Forums do not accept email attachments. If you want to embed a screen image in your message please visit the thread in the forum to embed the image at http://forums.adobe.com/message/5809947#5809947
    Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/5809947#5809947
    To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/5809947#5809947. In the Actions box on the right, click the Stop Email Notifications link.
    Start a new discussion in Installing Flash Player at Adobe Community
    For more information about maintaining your forum email notifications please go to http://forums.adobe.com/message/2936746#2936746.

  • Still need help with case sensitive strings

    Hello guy! Sorry to trouble you with the same problem again,
    but i still need help!
    "I am trying to create a scrypt that will compare a String
    with an editable text that the user should type to match that
    String. I was able to do that, but the problem is that is not case
    sensitive, even with the adobe help telling me that strings are
    case sensitive. Do you guys know how to make that comparison match
    only if all the field has the right upper and lower case letters?
    on exitframe
    if field "t:texto1" = "Residencial Serra Verde"then
    go to next
    end if
    end
    |----> thats the one Im using!"
    There were 2 replys but both of them didnt work, and the
    second one even made the director crash, corrupting even previously
    files that had nothing to do with the initial problem..
    first solution given --
    If you put each item that you are comparing into a list, it
    magically
    makes it case sensitive. Just put list brackets around each
    item.
    on exitframe
    if [field "t:texto1"] = ["Residencial Serra Verde"] then
    go to next
    end if
    end
    Second solution given--
    The = operator is not case-sensitive when used on strings,
    but the < and > operators are case-sensitive.
    So another way to do this is to check if the string is
    neither greater than nor less than the target string:
    vExpected = "Residencial Serra Verde"
    vInput = field "t:texto 1"
    if vExpected < vInput then
    -- ignore
    else if vExpected > vInput then
    -- ignore
    else
    -- vExpected is a case-sensitive match for vInput
    go next
    end if
    So any new solutions??
    Thanks in advance!!
    joao rsm

    The first solution does in fact work and is probably the most
    efficient way
    of doing it. You can verify that it works by starting with a
    new director
    movie and adding a field named "t:texto1" into the cast with
    the text
    "Residencial Serra Verde" in the field. Next type the
    following command in
    the message window and press Enter
    put [field "t:texto1"] = ["Residencial Serra Verde"]
    You will see it return 1 which means True. Next, make the R
    in the field
    lower case and execute the command in the message window, it
    will return 0
    (true).
    Now that you know this works, you need to dig deeper in your
    code to find
    what the problem is. Any more info you can supply?

  • Problems with the Migration assistant from a case-sensitve MacPro/Mavericks to a case-insensitive iMac5K/Yosemite

    Hello
    My previous Mac was a 2008 8-core 2.8GHz MacPro with Mavericks and a case-sensitive file system.
    I received my iMac5K yesterday and attempted a migration.
    I was surprised to see that my 1.5TB of data went through the FW800/TB link within 6 hours.
    Actually it skipped many things including my Aperture library, my iTunes directoy, my Video/FCP project directory and, most importantly my mail...
    This morning I tried to start a new migration assistant using my Mac Pro's USB3 Time Machine backup hooked to the iMac.
    The iMac could not see it at all.
    What do I perform the wrong way?
    Thanks for your help: there's all my life on this Mac Pro, and I want it tranfered to this better, modernersystem.
    Mirko

    Did you try a Spotlight search?
    I actually found the files but everything is all over the place in private/var/folders/zz/zyxvpxvq6csfxvn_n0000000000000 (yes I don't know what this is)
    /cleanupatstartup/SMSsandboxTools-tmp/users/(user) and there they are.
    Seems like a complete wipe, reinstall, and try it all over again is in order.

  • Problems with the Proxy Programme--Please help

    Hi All,
    I have written a simple proxy server in the form of a servlet. I changed the proxy config of my browser to connect to this servlet hosted on the default context(http://localhost:8080) of the Tomcat 5.0.25 . Well , this servlet internally connects to the proxy of the corporate LAN . The logic that I have applied is as follows. The servlet gets the request from the client (ie the browser in this case) , extracts the headers and contents from the request, sets them to a new request that it forms and finally send this new request to the proxy. When the proxy responds, the servlet collects the response headers and contents adn writes them in its response. To sum up , this servlet transparently carries the requests and responses between the client(browser) and the corporate LAN proxy. Now the problem is this. Let's say , now I am accessing http://www.google.com.The browser sends a request to my servlet with the following headers as they are extracted by my servlet.
    ProxyServer:::>posting request
    ProxyServer:::>headerValue::> headerName = accept : headerValue=*/*
    ProxyServer:::>headerValue::> headerName = referer : headerValue=http://www.google.com/
    ProxyServer:::>headerValue::> headerName = accept-language : headerValue=en-us
    ProxyServer:::>headerValue::> headerName = proxy-connection : headerValue=Keep-Alive
    ProxyServer:::>headerValue::> headerName = user-agent : headerValue=Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; UB1.4_IE6.0_SP1; .NET CLR 1.0.3705; .NET CLR 1.1.4322)
    ProxyServer:::>headerValue::> headerName = host : headerValue=www.google.com
    ProxyServer:::>headerValue::> headerName = cookie : headerValue=PREF=ID=1be27c0a74f198ca:TM=1082058853:LM=1082058853:S=bu6ORrygzm8AUkm8
    ProxyServer:::>postRequest
    I set these headers into a new connection opened to the proxy and post a fresh request to the proxy,which, in turn responds with the following headers.
    ProxyServer:::>posted request successfully
    ProxyServer:::>writing response
    ProxyServer:::>writeResponse-->headerName = Proxy-Connection : headerValue = [close]
    ProxyServer:::>writeResponse-->headerName = Content-Length : headerValue = [257]
    ProxyServer:::>writeResponse-->headerName = Date : headerValue = [Tue, 13 Jul 2004 14:01:40 GMT]
    ProxyServer:::>writeResponse-->headerName = Content-Type : headerValue = [text/html]
    ProxyServer:::>writeResponse-->headerName = Server : headerValue = [NetCache appliance (NetApp/5.5R2)]
    ProxyServer:::>writeResponse-->headerName = Proxy-Authenticate : headerValue = [Basic realm="Charlotte - napxyclt2"]
    ProxyServer:::>writeResponse-->headerName = null : headerValue = [HTTP/1.1 407 Proxy Authentication Required]
    ProxyServer:::>writeResponse exiting
    ProxyServer:::>wrote response successfully
    I write these headers back to the client. According to what I was thinking, the client ie the browser would open a new dialog box asking for username/password owing to the presence of the "Proxy-Authenticate " header. But it does not happen that way. Rather the browser stops responsding and displays a blank page. Does anyone know why it happens this way? I am pasting the server prog below for everybody's reference.
    package server.proxy;
    //import all servlet related classes
    import javax.servlet.*;
    import javax.servlet.http.*;
    import java.util.*;
    import java.io.*;
    import java.net.*;
    import server.resources.*;
    //My Proxy server --->Currently it is very simplea and relies on
    //other proxy servers of an already connected network.
    public class ProxyServer extends HttpServlet
    //stores the resource bundle
    private ServerResBundle resBundle = null;
    //checks for the mode of operation
    private boolean proxySet = false;
    private String proxy = null;
    //storing the original System out/err etc
    private PrintStream sysOutOrig = null;
    private PrintStream sysErrOrig = null;
    private InputStream sysInOrig = null;
    //initialise certain features that are required later
    public void init() throws ServletException
    try
    //initialise the resource bundle
    this.initResBundle();
    System.out.println("ProxyServer:::>res bundle init");
    //set the mode of operation
    this.setMode();
    System.out.println("ProxyServer:::>mode set");
    //set the system out and err --System.setOut etc
    this.setSystemOutErr();
    System.out.println("ProxyServer:::>in/out/err set");
    }//End try
    catch(Exception e)
    System.out.println("Exception in init..."+(e.getMessage()));
    throw new ServletException(e);
    }//Edn
    catch(Throwable e)
    System.out.println("Irrecoverable Error...");
    throw new ServletException(e);
    }//End
    }//End init
    //method to init the resource bundle;
    private void initResBundle()
    this.resBundle = ServerResBundle.getBundle();
    }//End
    //method to set the mode of the server--proxy or direct
    private void setMode()
    //read the target proxy property from the bundle and
    //if it is set,take that URL
    String temp = (String)(this.resBundle.getResource(ResKeys.PROXY_SERVER));
    if ( (temp != null) && (temp.length() > 0) )
    this.proxySet = true;
    this.proxy = temp;
    temp = null;
    }//End
    }//End
    //method to set the system out and err etc
    private void setSystemOutErr() throws Exception
    //keep a copy of the original system out and error
    this.sysOutOrig = System.out;
    this.sysErrOrig = System.err;
    try
    //read the options adn if they are set, take the values directly
    String newOutStr = (String)(this.resBundle.getResource(ResKeys.SYSTEM_OUT));
    String newErrStr = (String)(this.resBundle.getResource(ResKeys.SYSTEM_ERR));
    if ((newOutStr != null) && (newOutStr.length() > 0))
    System.setOut(new PrintStream(new FileOutputStream(new File(newOutStr),true),true));
    }//End if
    if ((newErrStr != null) && (newErrStr.length() > 0))
    System.setErr(new PrintStream(new FileOutputStream(new File(newErrStr),true),true));
    }//End if
    }//End
    catch(Exception e)
    //restore the stuff
    System.setOut(this.sysOutOrig);
    System.setErr(this.sysErrOrig);
    }//End
    }//End
    //this is where the proxy functionalities will be embedded
    public void service(HttpServletRequest req,HttpServletResponse resp)
    throws ServletException,java.io.IOException
    //conenction URL
    URL target = null;
    //conenction to the remote object
    URLConnection targetConn = null;
    //stores the OOS and the OIS
    ObjectOutputStream oos = null;
    ObjectInputStream ois = null;
    try
    //check for the mode of operation
    if (proxySet)
    URLConnection objects go through two phases: first they are created, then they are connected.
    After being created, and before being connected, various options can be specified
    (e.g., doInput and UseCaches). After connecting, it is an error to try to set them.
    Operations that depend on being connected, like getContentLength, will implicitly perform the connection,
    if necessary.
    //for the URL to the proxy
    target=new URL(this.proxy);
    //conenct to the proxy
    targetConn = target.openConnection();
    //set the details of the connectuon
    targetConn.setDoInput(true);
    targetConn.setDoOutput(true);
    targetConn.setUseCaches(false);
    // If true, this URL is being examined in a context in which it makes sense to allow user interactions such as popping up an authentication dialog. If false, then no user interaction is allowed
    targetConn.setAllowUserInteraction(true);
    //connect to the remote object
    // targetConn.connect();//call this only when all the request properties are set
    System.out.println("ProxyServer:::>posting request");
    //post the received request to the URL
    this.postRequest(targetConn,req);
    System.out.println("ProxyServer:::>posted request successfully");
    System.out.println("ProxyServer:::>writing response");
    //receive the response
    //write the received response to the client
    this.writeResponse(targetConn,resp);
    System.out.println("ProxyServer:::>wrote response successfully");
    }//End if
    else
    //currently this functionality is not supported
    throw new ServletException(
    (String)(this.resBundle.getResource(ResKeys.ERR_FUNC_NOTSUPPORTED)));
    }//End
    }//End try
    catch(Exception e)
    if(e instanceof ServletException)
    throw (ServletException)e;
    }//End
    if (e instanceof IOException)
    throw (IOException)e;
    }//End
    //wrap it up in ServletException
    throw new ServletException(e);
    }//End
    }//End
    //method to write the response back to the client
    private void writeResponse(URLConnection targetConn,HttpServletResponse resp)
    throws ServletException
    //get all the header fields from the response connection and set them to the
    //response of the servlet
    Map headerFields = null;
    Iterator headerFieldEntries = null;
    Map.Entry header = null;
    //stores the input stream to the conn
    BufferedReader brConn = null;
    //stores the writer to the response
    PrintWriter prResp = null;
    //checks if the proxy authentication needed or not
    boolean proxyAuthReqd = false;
    try
    //juste ensuring that the proxy authentication is reset
    proxyAuthReqd = false;
    if( (targetConn != null) && (resp != null) )
    //Returns an unmodifiable Map of the header fields.
    //The Map keys are Strings that represent the response-header field names.
    //Each Map value is an unmodifiable List of Strings that represents the corresponding
    //field values
    headerFields = targetConn.getHeaderFields();
    //Returns a set view of the mappings contained in this map
    Set temp = headerFields.entrySet();
    //Returns an iterator over the elements in this set
    headerFieldEntries = temp.iterator();
    if (headerFieldEntries != null)
    while (headerFieldEntries.hasNext())
    Object tempHeader = headerFieldEntries.next();
    if (tempHeader instanceof Map.Entry)
    header = (Map.Entry)tempHeader;
    Object headerName = header.getKey();
    Object headerValue=header.getValue();
    System.out.println("ProxyServer:::>writeResponse-->headerName = "+headerName+" : headerValue = "+headerValue);
    //do not select the key-value pair if both the key adn the value are null
    if ( ( headerName == null) && (headerValue == null) )
    continue;
    }//Enmd
    if (headerValue != null)
    List headerValList = null;
    if (headerValue instanceof List)
    headerValList = (List)headerValue;
    }//End
    if(headerValList != null)
    for (int i=0;i<headerValList.size();i++)
    Object headerValueStr = headerValList.get(i);
    if (headerValueStr instanceof String)
    //note that the header-key can not be null for addHeader
    //I have made this temporary provision to make the programme work.
    resp.addHeader(( (headerName==null)? ("null_header"+i) :(String)headerName),
    (String)headerValueStr);
    //check if the proxy authentication required or not
    if (((String)headerValueStr).
    indexOf(resp.SC_PROXY_AUTHENTICATION_REQUIRED+"") != -1)
    System.out.println("ProxyServer:::>writeResponse-->proxy auth needed");
    //proxy authentication is needed
    proxyAuthReqd = true;
    }//End
    }//Ednd of
    else if (headerValueStr == null)
    resp.addHeader(( (headerName==null)? null :(String)headerName),
    null);
    }//End
    }//End for
    }//End if
    }//End if
    }//End
    }//End while
    }//End if
    //get the writer to the client
    prResp = resp.getWriter();
    System.out.println("ProxyServer:::>writeResponse-->proxyAuthReqd="+proxyAuthReqd);
    //juste test a simple header
    System.out.println("Proxy-Authenticate = "+(resp.containsHeader("Proxy-Authenticate")));
    //if the proxy asks you for authentication,pass on the same to the client
    //from whom you have received the request.When this flag is true,the connection
    //is closed by the remotehost adn hence any attempt to open in input steram
    //results in an error ie IOException
    if (!proxyAuthReqd)
    //now get the content adn write it to the response too
    brConn = new BufferedReader(new InputStreamReader(
    targetConn.getInputStream()));
    String tempStr = null;
    while ((tempStr = brConn.readLine())!=null)
    prResp.println(tempStr);
    }//End while
    //close the connections
    brConn.close();
    }//End if
    else
    prResp.println("Proxy Authentication needed...");
    }//End
    //close the streams
    prResp.flush();
    prResp.close();
    }//End if
    System.out.println("ProxyServer:::>writeResponse exiting\n");
    }//End try
    catch(Exception e)
    throw new ServletException(e);
    }//End
    }//End
    //method to post request to the internet
    private void postRequest(URLConnection targetConn,HttpServletRequest req)
    throws ServletException
    //extract the header parameters and the body content from the incoming request
    //and set them to the new connection
    Enumeration reqHeaders = null;
    //reads the incoming request's content
    BufferedReader brReqRd = null;
    PrintWriter prResWt = null;
    //stores temp header names and values
    String headerName = null;
    String headerValue = null;
    try
    if( (targetConn != null) && (req != null) )
    reqHeaders = req.getHeaderNames();
    //extract a header adn set it to the new connection
    while (reqHeaders.hasMoreElements())
    headerName = (String)(reqHeaders.nextElement());
    headerValue = req.getHeader(headerName);
    targetConn.setRequestProperty(headerName,headerValue);
    System.out.println("ProxyServer:::>headerValue::> headerName = "+headerName+" : headerValue="+headerValue);
    }//End
    System.out.println("ProxyServer:::>postRequest\n");
    //establis the actual connection
    //calling this method bfore the above loop results in IllegalStateException
    targetConn.connect();
    //NOTE : try reading from and writing into OIS and OOS respectively
    //now read the contents and write them to the connection
    // brReqRd = req.getReader(); //this hangs for some reason
    brReqRd = new BufferedReader(new InputStreamReader(req.getInputStream()));
    System.out.println("Got the reader..brReqRd = "+brReqRd);
    if (brReqRd != null)
    String temp = null;
    //establish the printwriter
    // prResWt = new PrintWriter(targetConn.getOutputStream(),true);
    prResWt = new PrintWriter(targetConn.getOutputStream());
    System.out.println("trying to read in a loop from brReqRd.. ready="+(brReqRd.ready()));
    while( (brReqRd.ready()) && ((temp=brReqRd.readLine()) != null) )
    System.out.println("In while::>temp = "+temp);
    prResWt.println(temp);
    }//Emd while
    //close the streams adn go back
    brReqRd.close();
    prResWt.flush();
    prResWt.close();
    }//End
    }//End outer if
    System.out.println("ProxyServer:::>postRequest exiting\n");
    }//End try
    catch(Exception e)
    throw new ServletException(e);
    }//End
    }//End
    }//End

    Hi serlank ,
    Thanks for your reply. Well , I initially I thought of not pasting the code,as it was too long. But I could not help it,as I thought I must show in code what I exactly meant. That's why I followed a description of my problem with the code. You could probably have copied the code and pasted it in one of your favourite editors to take a look at it. Did you,by any chance, try to read it on the browser? And as regards reposting the same message, I can say that I did it as I felt the subject was not quite appropriate in the first posting and I was not sure as to how I could delete/alter the posting. I am not asking for a code-fix,but some suggestions from some one who might ever have come across such a thing.Anyway, lemme know if you have any idea on it. Thanks...

  • Web Dynpro & case sensitive selection of Adobe Forms

    Hi Community
    how can I solve this issue:
    I have a Web Dynpro View with a button. Clicking this button generates a Adobe form and displays it.
    So long everything's fine.
    Here's my problem:
    There are 4 different case sensitive forms in dependence of the user's selection. How can I solve this?
    The form is assigned to the view via layout, so do I have to create 4 views,related to the amount of forms? And additionally the pdf's are displayed in dialog windows, so do I have to create 4 windows additionally where I have to embed a view for each of them?
    Is there any other way to solve it? It looks for me like a not very nice solution.
    Thanks in advance,
    Tan

    Hi Tan,
    Solutions that i am proposing may not be the best solution but you need to take a call on the best one:
    Solution 1 :
    1. Try Creating only one view and one window for pop up ( in addition to your existing view with button )
    2. in the view add an interactive form and bind it to one of the form.
    3. in WDDOMODIFYVIEW method , depending on the situation try to change the mapping to this interactive form
    4. This embedded view in the pop up window is always called, only based on the conditions the adobe forms changes.
    Solution 2:
    1. in your view add 4 Interactive forms , bind them to different nodes as per its mapping requirement
    2. create 4 Visibility context attributes , bind them with each of the forms
    3. depending on the condition , hide or make visible the adobe forms.
    4. show this view in the pop up window.
    My suggestion would be to go with Solution 2 , since it does not involve dynamic modifications at runtime.
    Regards,
    Ashish Shah

  • Case-sensitive passwords in 11g

    Hello,
    This is a rather silly post, but I've been Googling and can't find whether SQL Developer supports case-sensitive login or not. I've read that some other clients always send an "uppercase" password (no matter how you typed it) which causes problems with Oracle 11g. Is SQL-Developer "compatible" with the new 11g case-sensitive policy?
    Thank you.

    Yes SQL Developer is definitely compatible with 11g case insensitive password.

  • Make material number in MM01 case sensitive

    Hi Experts,
    I got an requirement like to make MM01 transaction while creating material number it has to accept both Lower and Upper Case..
    Say for example : "a12"   as one material
                                  "A12" as another one material
    any suggestions please send.....
    Thanks.
    Preethi jose

    First check conversion-exit of domain MATNR (something like MATN1) with Customizing behind, you will have to analyze your Customizing (and the list of extensions, solutions installed on your system) to find the actual field(s) which contains the external format of the material master id (e.g. MARA-MFRPN for a sample) AND look at table MATERIALID (domain MATNR_EXT is also not case sensitive), then you may, with a SSCR key for the object as it will be a change of the standard, change the domain(s) definition to allow lowercase. But consider before some problems like search help becoming case sensitive, it is usually (at least) not a good idea to have key fields case-sensitive...
    If possible, my advice is to not make this change by a developement, but to look for Customizing, check
    Regards,
    Raymond

  • Problem with Rewriter / SAP ITS/EBP

    Hi,
    i want to rewrite some JS-Function, but i need some help.
    I have this JS-Function and want to rewrite the variable sessURL (it is from a SAP ITS-Server).
    any ideas?
    thanks Jonathan
    Portal Q4/04
    <script language="JavaScript1.2" type="text/javascript">
    function SAPCLT_SessInfo() {
    var prot = ( "on" == "on" ? "https://" : "http://" ) ;
    this.protocolVersion = "1.0";
    this.sessUrl = prot+"some.server.com:443"+"/scripts/wgate"+"/"+"bbpstart"+"/?~session="+"TSx:luxxxx:0000.0011.2e9f9913.6c7e";
    this.GUSID      = "TSx:luxxxx:0000.0011.2e9f9913.6c7e";
    this.lastSessCmd = "";
    this.redirectURL = "";
    this.redirectFromGlobal = "";
    this.dTimeout = "3600";
    } // SAPCLT_SessInfo()
    var g_sapcltsessioninfo = new SAPCLT_SessInfo();
    var gbo_sapcltsessinfosend = false;
    </script>

    we found the problem: the variable name is case sensitive!
    <Variable name="*sessUrl*" type="EXPRESSION"/>

  • Problems with migrating from access to oracle

    OMWB has a few problems with upper and lower case letters, when i try to modify my old access DB OMWB cant find the new table in Oracle:
    (3011 The Microsoft Jet database engine could not find the object <name>. Make sure the object exists and that you spell its name and the path name correctly. )
    the problem is that it searching for AP_BILD.A990BILDER but the correct name is AP_BILD.a990Bilder
    when i recreate the table as AP_BILD.A990BILDER it worked.
    but i cant do that for almost 400 tables!
    any suggestion how to fix this?
    also have a problem when creating the trigger:
    OMWB puts the tablename into 2 double quotation marks each side (""name"") and of course it tells me something of a tablenamelength of NULL and it doesnt work
    working with release 9.2.0.1.0 of OMWB

    update: if i try to link the table from access directly it also cant find the table, but can find other tables (the others are in upper case).
    could it be a problem with the odbc driver? does it automatically look for upper case names?
    anyone know how to fix this?
    thanks in advance

  • Problem with case sensitivity 7.3.4

    Hi,
    We are having a problem with JDBC being unable to handle a lower
    case on a SQL statement execution. For eg: Like '%S%' works but
    not '%s%'.
    Any suggestions
    Thanks,
    Ganesh
    null

    Hi Ganesh,
    it's not a jdbc problem. when u try to query
    using matches (%'s), it looks for exact match.
    u can Compare the values by converting them
    to uppercase using to_upper.
    ex: where to_upper(table_field_name) = to_upper('%
    ur_string_value%') ...
    ATB
    MohanE
    Ganesh (guest) wrote:
    : Hi,
    : We are having a problem with JDBC being unable to handle a
    lower
    : case on a SQL statement execution. For eg: Like '%S%' works
    but
    : not '%s%'.
    : Any suggestions
    : Thanks,
    : Ganesh
    null

Maybe you are looking for

  • How do I control a data log session with period and sample time?

    I need a data logging system where the operator can select 2 logging parameters: Log Period and Sample Time. I also need a START and STOP button to control the logging session. For example, set the log period for 1 hour and the sampling time for 1 se

  • Movies added to iTunes won't appear, but music added to iTunes does....

    When I drag and drop movies into iTunes, I see the ghost outline and the blue plus, but once I drop it, nothin happens.  No error messages, no failed attempt indication of any sort.  I have also tried the Add File To Library method, but same result. 

  • Presenting binary file content as HTML inside a Portlet

    Hello folks, Do any of you has a piece of code that does that? Grabbing a word doc, pdf, ppt and such and convert it to HTML in order to present it inside a portlet? The easiest way would possibly be to use Dynamic Converter API, right? Is there any

  • Why can't i buy products in other country ?

    for example, i am in germany and i want to buy a movie ? can't i use a german card ? thanks ! ruben

  • Ipod Sound Is Weird...

    Okay so about a week ago my iPod jsut stopped doing sound altogether...i plugged it into my computer and did the 5 R's and now the sound was fine for a while. Last night while trying to watch a movie...I noticed that random songs are playing during t