BSP version of JSP's getParamIdForComponent

I need the BSP version of what you call in JSPs, anyone know the proper syntax?
Code:
<% data: textID TYPE STRING. %>
<htmlb:textView id = "H1"
text = "Hello World!"
design = "EMPHASIZED">
<% textID = document.getParamIdForCompnent(H1). %>
</htmlb:textView>
Error:
Field "DOCUMENT" is unknown. It is neither in one of the specified
I need the ABAP call to tell me what the BSP is about to call the HTML object. SAP was kind enough to not allow the name of the HTMLB id be represented in the HTML for DHTML calls so you have to use ABAP to find out what they are about to call it. Normally in HTML you'll see the object called htmlb_2349_01_124 versus taking on the name you gave it "H1". I know several ways of taking care of this feature of SAP's version of JSPs, I am looking for how this can be taken care of in BSPs.
Thanks,
Stephen

<b><% textID = document.getParamIdForCompnent(H1). %></b>
<% %>is the tag for scripts and the language you can use is based on whar the page language is .
for e.g if you had declared <%@page language="abap" %>
then whatever you place inside <% %> is treated as ABAP statement.
in your example  the system trys to treat document.getParamIdForCompnent(H1) ABAP statement and thus the error message "<b>Field "DOCUMENT" is unknown. It is neither in one of the specified</b> "
what i understand is that you are trying to pass some javascript returned value to an ABAP variable.
for this put the javascript returned value in a hidden form field and read it using get_form_field. for this to happend you have to make a server roundtrip.
(by the way i have not seen document.getParamIdForCompnent(H1) - so i did a search in google but didnt find anything )
Hope this helps.
Regards
Raja

Similar Messages

  • How to identify version of jsp in web app

    How to identify which version of JSP the web application is developed.
    Is it based on Servlet Version
    Where can i get information for Servlet version XX to ---> JSP Version XX

    Hi ElaKeen62,
    Just follow the instructions posted by Andrej.
    Alternative you can also make a right click on My Computer and choose Properties. In new window you can also see the OS version. ;)

  • Version of JSP in Jdev 10.1.3.3

    Hi,
    What is the version of JSP in Jdev 10.1.3.3??
    Thanks for help,
    Leo

    JSP 2.0 (or JSP 1.2 if you want to).
    JDeveloper 10.1.3 supports Java EE 1.4 (and EJB 3.0).
    You can download JDeveloper 11 technology preview that supports the full set of Java EE 5.0 technologies.

  • Checking a product's version using JSP?

    Hi,
    I'm rather new JSP, and I'm looking for a solution to a certain problem.
    If we have a certain software on a user's computer, and we would like the user to be able to check for updates to that software using the website (e.g. a "check for updates" button, similar to windows update), is it possible to do this using JSP?
    I know that when using ASP or ASP.Net, it's possible to use activeX to do this (though i'm not so sure), and I would like to be able to do something like that.
    I appreciate all the help.
    Thank you.

    Consider using java web start. The swing application would be stored as a jar within a web application. A link in a html page inside the web application would launch the swing application on the user's desktop. It removes the nightmares of versioning ( the code is built and distributed at a single point ). Java web start supports caching the application on the user's desktop, checking for tha latest version of the jar hosted on the web and so on. 'Neat' is too little a word for it :)
    ram.

  • Incompatible versions -- gsearch.jsp

    When i enter http://localhost/ultrasearch/query/jsp/gsearch.jsp
    the page display
    Incompatible versions:
    PL/SQL Package Version: null
    Ultra Search Query Tool Version: 1.0.3.0.0

    Answered this question. I found I had turned off open directory on the master to see if it would rebuild on turning on and got distracted. So this error actually means. "there is no open directory mastre on that machine you idiot" - me that is. so I am now back to error from last night from my upgraded one so the problem appears to be on the OD master.
    8/10/12 8:43:41.433 PM Server[580]: An error occurred while configuring mahuserver4 as a directory replica:
    Error Domain=XSActionErrorDomain Code=-1 "A child action failed" UserInfo=0x7f93e0c706c0 {XSActionErrorActionsKey=(
        "Creating Open Directory replica"
    ), NSLocalizedDescription=A child action failed}
    So I am now going to backup my OD master using terminal command
    slapconfig -backup <filename>
    then destroy the OD master and try to creat a blank new OD master and then try to create a replica of this and then see if I restore whether I can link up then. There does seem to be a message that flicks up whn starting the OD master suggesting it is having difficulty connecting to a replica - which may be its old ones. so I wonder if removing replicas before migrating might have been a good idea.

  • Print version for JSP pages

    Hi,
    I have the following requirement. I have a site consisting of JSP pages. I need to provide a print version for every page.
    The problem is, while printing, if a webpage spans for multiple printing pages, I need to put a footer on each of these pages. But, this footer must appear only once (at the bottom of the page).
    How do I achieve this? any help will be greatly appreciated.

    there is one work around for doing this... in order to print the header and footer...generate a dummy page with the exact format...
    Header
    20-25 Lines Text
    Footer
    Header
    20-25 Lines Text
    Footer
    and so on...
    so when this is flushed to the printer....u would get every page formatted with Header and Footer as this is going to happen in the background...there willl be no pblm to users...
    hope this helps u...

  • Version a JSP page?

    Hi we r making some projects with JSP as front end and SQL as a back end and we want to version our Site but i dont know how to version a web based application ....cuz we are not using any of activeX controls or any other control/component..........plz help me

    Hi we r making some projects with JSP as front end and
    SQL as a back end and we want to version our Site but
    i dont know how to version a web based application
    ....cuz we are not using any of activeX controls or
    any other control/component..........plz help me
    Are you sure everyone is talking about the same thing?
    "Version Control" software is used to backup software as developers work on it. It does this by allowing a developer to check in new versions of the code. It also allows a developer to revert to a previous version.
    That is what all of the other posts are describing.
    But that doesn't have anything to do with 'web' or 'activex'. Unless you are looking for a version control system that is available from the web and does not need to support binary(activex) stuff. But that last seems a little odd since these days binary stuff is often used - word docs, icons, etc.

  • Calling BSP through a JSP button in EP

    Hello
    Can i call a BSP page from backend and display it into a pop up window using Enterprise portal by clicking on a button...?
    Earlier this page is coming by a clicking on teamviewer.mbo
    thanx in advance

    You can find same help on following forum:
    - Publishing BSP Page
    Have a nice day,
    Nicola

  • How to detect Browser Version using JSP ?

    Hi friends,
    Previously i have asked regarding browser detection.
    Now i want to inquiry regarding version detection.
    I have to block the users other than IE6+.
    So how i do that ??
    Remember : Other than IE6+ users are blocked.
    Please Help Me...

    well in general request.getHeader("user-agent"); should help you but in few cases it may not work in because of few security reasons.
    the best work around for this problem would be usage of javascript and sending browser realted information via hidden parameter
    and here is an example for you
    <body>
    <form name="sampleForm" action="randomAction">
       <input type="hidden" id="browserVersion" name="browserVersion" />
       <input type="hidden" id="userAgentHeader" name="userAgentHeader"/>
         <input type="hidden" id="appCode" name="appCode"/>
    </form>
    <script language="javascript">
      this.document.getElementById('browserVersion').value = navigator.appName+' '+navigator.appVersion;
       this.document.getElementById('userAgentHeader').value = navigator.userAgent;
       this.document.getElementById('appCode').value = navigator.appCodeName;
    </script>
    </body>and you would get the info by getting
    request.getParameter("appCode");and etc..
    hope this might help :)
    REGARDS,
    RaHuL

  • Struts version of JSP include?

    JSP has a really straightforward way of including files:
    <%@ include file = "../footers.html" %>
    The downside is that if your directory structure changes, you need to go back and change all the links.
    I believe with Struts, you can use some kind of variable like
    <tiles:insert page="myfooter">
    But I've been looking at tutorials, and I don't know how exactly to define this. It doesn't seem straightforward at all. All the tiles:insert that I've seen contain actual file references which is precisely what I do **NOT** want--I want a variable that I can reuse in all my pages, like
    footer, then define this in a single location. To add to the confusion, the tiles insert seems to contain several put tags within it--but all I want is to just have that "myfooter" for example defined as pointing to say "../footer.html" in some config file, so that the same variable name can be reused.
    Is this possible with Struts?
    Thanks.

    hmm..actually i think i was thinking of it the wrong way.
    With tiles, you apparently can't insert pages. Instead there's a default frame, where you can specify a body, and other pages can decide what exactly goes in that body tag.
    It seems like that has a disadvantage over jsp's ability to pull in outside pages. Say for example there are 5 pages that all include the same file. The layout may be slightly different, but each one can use the same jsp:include tag, that maybe looks up the filename from a props file. With tiles, it may be a bit more complicated than a simple include.

  • Please tell the right tool for managing the Version of JSP pages

    Hello Friends
    We are developing a software for hospital, we need to maintain versioning of the software. Can you give information about the open source version management software
    Thanking You
    Ajit Saha

    subversion is an excellent choice.
    %

  • Retrieve connector version using JSP

    Hi,
    Is there any script i can run in java to retrieve what mysql-connector-java i'm runing? i'm making a system info page so any other useful coding to get versions etc will be great...
    Regards

    Consider using java web start. The swing application would be stored as a jar within a web application. A link in a html page inside the web application would launch the swing application on the user's desktop. It removes the nightmares of versioning ( the code is built and distributed at a single point ). Java web start supports caching the application on the user's desktop, checking for tha latest version of the jar hosted on the web and so on. 'Neat' is too little a word for it :)
    ram.

  • Weblogic 8.1.6.0 JSP version

    What version of JSP is Weblogic 8.1.6.0 running?
    According to documentation:
    http://download.oracle.com/docs/cd/E13222_01/wls/docs81/jsp/intro.html#49347
    it's 1.2
    but when I execute the following in a JSP page
    <%= JspFactory.getDefaultFactory().getEngineInfo().get SpecificationVersion() %>
    it prints 1.1
    Thanks

    WLS 8.1 supports both JSP 1.1 and JSP 1.2
    http://download.oracle.com/docs/cd/E13222_01/wls/docs81/notes/new.html#1184292

  • Difference b/w jsp versions

    hi this is surendra
    can u tell me pls
    what are diffences b/w different versions of jsp?
    thank u
    surendra

              sendRedirect sends information back to the browser in the httpHeader telling it
              to send out a new http requests. This request can be to the same server or a different
              server - it is just as though you typed the new URL in the browser and hit return.
              jsp:forward simply calls the service() method of the jsp that you are calling
              - without the browser knowing about it. As such, the url you are forwarding to
              must be in the same server.
              Mike
              "Ashish Jain" <[email protected]> wrote:
              >Can anybody please list differences b/w jsp:forward and response redirectURL
              >to go different page.
              >One i know, browser shows different URL incase of sendredirect() function.
              >
              >
              

  • Problem on running sample application: Versioning

    Hi,
    I have downloaded the sample application
    (Building Versioning Applications with the Oracle Internet File System) and installed step by step as said from the installation guide.
    I use AIX 4.3.3, JDK 1.2.2, Oracle DB 8.1.7.1 and IFS 1.1.9.
    When I try to login, the following message is shown :
    The servlet named IfsDavServlet at the requested URL
    http://server1/ifs/jsp-in/versioning/login.jsp
    reported this exception: sun/tools/javac/Main. Please report this to the administrator of the web server.
    java.lang.NoClassDefFoundError: sun/tools/javac/Main at oracle.jsp.app.JspJavacCompiler.compile(Compiled Code) at oracle.jsp.app.JspAppLoader.reloadPage(Compiled Code) at oracle.jsp.app.JspAppLoader.loadPage(Compiled Code) at oracle.jsp.app.JspAppLoader.getPage(Compiled Code) at oracle.jsp.app.JspApplication.dispatchRequest(Compiled Code) at oracle.jsp.JspServlet.doDispatch(Compiled Code) at oracle.jsp.JspServlet.internalService(Compiled Code) at oracle.ifs.protocols.dav.impl.IfsDavServlet.processJsp(Compiled Code) at oracle.ifs.protocols.dav.impl.IfsDavServlet.doGet(Compiled Code) at oracle.ifs.protocols.dav.DavServlet.processRequest(Compiled Code) at oracle.ifs.protocols.dav.DavServlet.service(Compiled Code) at oracle.ifs.protocols.dav.impl.IfsDavServlet.service(Compiled Code) at javax.servlet.http.HttpServlet.service(Compiled Code) at com.sun.server.ServletState.callService(Compiled Code) at com.sun.server.ServletManager.callServletService(Compiled Code) at com.sun.server.ProcessingState.invokeTargetServlet(Compiled Code) at com.sun.server.http.HttpProcessingState.execute(Compiled Code) at com.sun.server.http.stages.Runner.process(Compiled Code) at com.sun.server.ProcessingSupport.process(Compiled Code) at com.sun.server.Service.process(Compiled Code) at com.sun.server.http.HttpServiceHandler.handleRequest(Compiled Code) at com.sun.server.http.HttpServiceHandler.handleRequest(Compiled Code) at com.sun.server.HandlerThread.run(Compiled Code)
    Which configuration steps I miss?
    How to fix it??
    Thanks a lot.
    null

    I have installed based on the instructions but it doesn't works too.
    I think there is typo error on the Oracle doc.( vborb.jar should be vbjorb.jar). Right?
    Is the settings for AIX platform different?
    From which Oracle JAR file, sun/tools/javac/Main.class cab be found?
    I find it in the /usr/java_dev2/lib/tools.jar and include it in the classpath but it still won't work.
    How come?
    null

Maybe you are looking for

  • Ipod dont work

    my ipod mini dont work by that i meen it will not turn on i tride to restart it but that dosnt work also to connect to the cop but it dosnt react help me i need it as soon as posibol

  • Turning off the camera shutter sound

    How do you turn off the shutter sound of the camera? Even in vibrate only sound profile the camera still makes the noise when taking pictures.

  • Trying to upgrade iPhoto library

    I'm trying to up prepare a v7 iphoto library for use in iphoto v9.5.1. When I try open it I get an error message that says "To open your library with this version of iPhoto, it first needs to be prepared. To prepare the library, use the iPhoto Librar

  • Msg 2114 error when i try to text this one person with my iPhone 4S???

    I seem to have an issue when i try to text this one person..... They do NOT recieve my texts.....but i can recieve theirs. I get a message after i send them a text from 923-0 that says i used the invalid number of digits.....MSG 2114 Tried deleting t

  • Missing tool in DW CS5.5?

    Today, when I moved my css-template from FW into the DW, somehow a div (mainContent) disappeared. I remember, that in the earlier versions of DW CS4, there was an option on the toolbar that allowed to draw div- tags manually. But in the DW CS5.5 I mi