Sytax highlighiting for Jsp Dyn Pages for portal development.

Hey,
I am doing JSP with the htmlb taglib for portals. When I edit a jsp page in the Developer Studio, I expect syntax highlighting. This is what I see in the documentation for jsp editing as well - you know where the keywords are highlighted.
Sytax highlighiting for jsp in Developer Studio for portal development.
http://help.sap.com/saphelp_nw04s/helpdata/en/ce/e0a341354ca309e10000000a155106/content.htm
OutputSuccess.jsp, OutputSuccessText.jsp are the two jsp's that are syntax highlighted on this page.
In my Developer Studio this is not the case. Is a JSP editor and its highlighting not part of the Developer Studio. If it is, how do I get it to work.
I also know that given the right taglib's, the editor also gives autocomplete for taglibs with its settings. I am hoping to speed up my development with this.
Right now I am using a text editor for this. There are a couple of jsp plugin's such as Exadel or Lomboz which I can integrate if a jsp syntax editor is not there in the Developer Studio. I just wanted to know the right way to go about this.
Thank you for your help.
Sumit.

Never mind. I was in the preview mode.

Similar Messages

  • Where to mention the IP address in a  JSP dyn page

    Hi ,
    I am creating a mail sending system with Javamail.
    Created the JSP dyn page,
    wrote the event handler in the java file. and all.
    now I have to mention the IP address of the SMTP server.
    where should I do this....
    inside the event handler itself?
    Thanks in advance.

    Hi
    The button tag in the jsp looks like this
    <hbj:button
            id="sendEmail"
            text="sendEmail"
            width="125px"
            tooltip="Click here to send mail"
            onClick="sendEmail"
            disabled="false"
            design="STANDARD"
            />
    The function to handle the button eventing occurs in the dynpage  . The function looks like
    public void sendEmail (Event event) { ..coding.. }
    Now when the button is clicked, the control is transferred to this event handler sendEmail and the code with init starts executed.
    Hope it is clear...
    Regards,
    Ganesh N

  • Can SQL*Loader be used for Oracle html pages, for e.g Customer, Tasks etc

    Hi,
    Can SQL*Loader be used for Oracle html pages, for e.g Customer, Tasks etc.
    Reason: We have a job that creates leads, tasks in 11i, but r12 is not working as expected, an SR is open with Oracle for a long time and no solution so far. I am thinking of using SQL*loader to populate the data, but these are html pages. Will SQL* Loader work?
    12.1.4 / 11g db
    Appreciate your inputs.
    Thanks,
    K

    Can SQL*Loader be used for Oracle html pages, for e.g Customer, Tasks etc. It should work.
    Reason: We have a job that creates leads, tasks in 11i, but r12 is not working as expected, What is the issue you have with R12?
    an SR is open with Oracle for a long time and no solution so far. I am thinking of using SQL*loader to populate the data, but these are html pages. Will SQL* Loader work?What was Oracle feedback? Did they say it is certified and can be used?
    Thanks,
    Hussein

  • Support for jsp:include page tag

    Is there a support for the jsp:include page tag ?
    I get an exception when trying to include jsp's
    Thanks

    Hi
    I use a page with a one column template
    I print a JSP that include another JSP using <jsp:include page="my_shopping_cart.jsp"
    flush="true"/>
    i get this exception :
    java.lang.IllegalStateException: Can not set buffer size after writing data. at
    com.bea.portlet.container.HttpServletResponseImpl.setBufferSize(HttpServletResponseImpl.java:179)
    at weblogic.servlet.jsp.PageContextImpl.initialize(PageContextImpl.java:66) at
    weblogic.servlet.jsp.PageContextImpl.(PageContextImpl.java:105) at weblogic.servlet.jsp.JspFactoryImpl.getPageContext(JspFactoryImpl.java:37)
    at jsp_servlet._portlets._oci.__my_shopping_cart._jspService(my_shopping_cart.jsp)
    at com.bea.portlet.jsp.PortletJspBase.service(PortletJspBase.java:110) at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1053)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:387)
    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:28) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
    at com.bea.p13n.servlets.PortalServletFilter.doFilter(PortalServletFilter.java:313)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
    at com.bea.wlw.netui.pageflow.PageFlowJspFilter.doFilter(PageFlowJspFilter.java:101)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
    at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:597)
    at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:409)
    at weblogic.servlet.jsp.PageContextImpl.include(PageContextImpl.java:155) at jsp_servlet._portlets._oci.__oci._jspService(oci.jsp:209)
    at com.bea.portlet.jsp.PortletJspBase.service(PortletJspBase.java:110) at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1053)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:387)
    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:28) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
    at com.bea.p13n.servlets.PortalServletFilter.doFilter(PortalServletFilter.java:313)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
    at com.bea.wlw.netui.pageflow.PageFlowJspFilter.doFilter(PageFlowJspFilter.java:101)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
    at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:597)
    at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:409)
    at com.bea.portlet.container.PortletRequestDispatcherImpl.include(PortletRequestDispatcherImpl.java:98)
    at com.cgi.poc.jsr168.MyAccountsPortlet.doView(MyAccountsPortlet.java:107) at
    javax.portlet.GenericPortlet.doDispatch(GenericPortlet.java:208) at javax.portlet.GenericPortlet.render(GenericPortlet.java:137)
    at com.bea.portlet.container.PortletStub.render(PortletStub.java:370) at com.bea.portlet.container.AppContainer.renderStub(AppContainer.java:501)
    at com.bea.portlet.container.AppContainer.invokeRender(AppContainer.java:436)
    at com.bea.portlet.server.PortletHttpServer.invoke(PortletHttpServer.java:218)
    at com.bea.portlet.server.PortletHttpServer.process(PortletHttpServer.java:162)
    at com.bea.portlet.server.PortletHttpServer.doGet(PortletHttpServer.java:119)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:740) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1053)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:387)
    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:28) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
    at com.bea.p13n.servlets.PortalServletFilter.doFilter(PortalServletFilter.java:313)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
    at com.bea.wlw.netui.pageflow.PageFlowJspFilter.doFilter(PageFlowJspFilter.java:101)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
    at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:597)
    at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:409)
    at com.bea.netuix.servlets.controls.content.JavaPortletContent.fireRender(JavaPortletContent.java:246)
    at com.bea.netuix.servlets.controls.content.JavaPortletContent.renderInternal(JavaPortletContent.java:146)
    at com.bea.netuix.servlets.controls.content.JavaPortletContent.beginRender(JavaPortletContent.java:108)
    at com.bea.netuix.nf.ControlLifecycle$7.visit(ControlLifecycle.java:424) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:427)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:436)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:436)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:436)
    at com.bea.netuix.nf.ControlTreeWalker.walk(ControlTreeWalker.java:172) at com.bea.netuix.nf.ControlTreeWalker.walk(ControlTreeWalker.java:95)
    at com.bea.netuix.nf.Lifecycle.run(Lifecycle.java:380) at com.bea.netuix.nf.UIControl.render(UIControl.java:580)
    at com.bea.netuix.servlets.controls.PresentationContext.render(PresentationContext.java:341)
    at com.bea.netuix.servlets.util.RenderToolkit.renderChild(RenderToolkit.java:123)
    at com.bea.netuix.servlets.jsp.taglib.RenderChild.doStartTag(RenderChild.java:58)
    at jsp_servlet._framework._skeletons._bellca.__gridlayout._jspService(gridlayout.jsp:29)
    at com.bea.portlet.jsp.PortletJspBase.service(PortletJspBase.java:110) at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1053)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:387)
    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:28) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
    at com.bea.p13n.servlets.PortalServletFilter.doFilter(PortalServletFilter.java:313)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
    at com.bea.wlw.netui.pageflow.PageFlowJspFilter.doFilter(PageFlowJspFilter.java:101)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
    at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:597)
    at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:409)
    at com.bea.netuix.servlets.controls.JspRenderer.renderAlt(JspRenderer.java:187)
    at com.bea.netuix.servlets.controls.JspRenderer.beginRender(JspRenderer.java:90)
    at com.bea.netuix.nf.ControlLifecycle$7.visit(ControlLifecycle.java:420) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:427)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:436)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:436)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:436)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:436)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:436)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:436)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:436)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:436)
    at com.bea.netuix.nf.ControlTreeWalker.walk(ControlTreeWalker.java:172) at com.bea.netuix.nf.Lifecycle.runOutbound(Lifecycle.java:220)
    at com.bea.netuix.nf.Lifecycle.run(Lifecycle.java:158) at com.bea.netuix.servlets.manager.UIServlet.runLifecycle(UIServlet.java:363)
    at com.bea.netuix.servlets.manager.UIServlet.service(UIServlet.java:207) at com.bea.netuix.servlets.manager.PortalServlet.service(PortalServlet.java:584)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1053)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:387)
    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:28) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
    at com.bea.p13n.servlets.PortalServletFilter.doFilter(PortalServletFilter.java:313)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6316)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118) at
    weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3622)
    at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2569)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197) at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
    Subbu Allamaraju <[email protected]> wrote:
    Could you please post more details of the exceptions?
    Thanks
    Subbu
    Carl Samson said the following on 12/09/2003 01:15 PM:
    Is there a support for the jsp:include page tag ?
    I get an exception when trying to include jsp's
    Thanks

  • Which jar file is required for jsp dynpro page programming ?

    Hi all:
       I use NWDS wizard to create one small jsp dynpro page application. However the project has some errors, it said "
    This compilation unit indirectly references the missing type com.sapportals.htmlb.page.DynPage (typically some required class file is referencing a type outside the classpath)     Test1.java     NewParProject1/src.core/com/xinao/test     line 0
    " However, I found the class DynPage is not found in current project.
    I have already added com.sap.portal.htmlb_api.jar into my project.
    Where can I locate and find that jar file (which include the DynPage class ) ?

    Hi,
      Refer the following link content. It has answer to your question.
      class path incomplete at first portal component project
    Rds,
    Shanthakumar.
    points r welcome.

  • While Consuming a WebService in JSP Dyn Page - There is an Error

    Hi Friends,
    I have a web service created in ASP.NET web Service.
    And I have Consumed the Web Service using WSDL URL.
    I need to write a code to refer that class in the JSP DynPage
    I have created like this in DoIntialization
    MyServiceName obj=(MyServiceName) PortalRuntime.getRuntimeResources().getService(MyServiceName.KEY);
    int a = 10;
    int b = 20;
    obj.Add1(a,b);
    but it shows an error
    "The method Add1 Method(Add1 Method) is the type. MySErviceName is not Applicable for the arguements(int,int)"
    Please Help me in this regard.
    Thanks in Advance
    Thanks & Regards,
    Palani

    Hi Andy,
    I will let u know the sequence which i followed to consume the Webservice.
    NWDS --> File --> New --> Project --> Portal Application --> Create New Portal App Project.
    The Project is created.....
    After that i want to consume the Webservice for the same project...
    for that...
    NWDS --> File --> New --> Other --> Portal Application --> Create New Portal Application Object --> Selecting My Project?(intended prjct) --> Portal Webservice --> Portal Service from WSDL file - Client Side --> My WSDL URL --> Selecting the methods which i need to expose from the Webservice --> I gave unique name for my 1) Service 2) Alias 3) Package....and that was done....(other way is to add from portalapp.xml ??)
    After that i created a new JSPDyn page for my application in DoInitialization() method i tried to access the method from that webservice using the following code...
    MyServiceName obj=(MyServiceName) PortalRuntime.getRuntimeResources().getService(MyServiceName.KEY);
    I am successfully able to access the method from the webservice using the object which i have created but i am not able to pass arguments to that method...???
    I tried consuming same webservice created in .NET in .NET itself and i am able to pass arguments successfully.
    I tried to consume webservice created in ABAP in .NET and able to implement successfully...
    but the same ABAP webservice when  i tried to consume its not working with this NWDS.
    Is there any thing else i need to follow while consuming a webservice in the EP Perspectice of NWDS ???
    Deployable Proxy is required for that ?? if required how to create and use that ??
    Thanks in Advance,
    Palani

  • Jsp dyn page open form results in new window

    Hi everybody,
    I have a problem dispaying results in new window.
    My portal component is a dyn page that dispay several jsp pages based on a integer switch parameter checked in the
    doProcessBeforeOutput method.
    One page is a form with a button that call onSearch custom method inside my component; this method process the request,
    fill the bean and set the integer switch that doProcessBeforeOutput check then get the right jsp.
    All works fine but I want to display the onSearch method results in a new window.
    What I have to do?
    Thanks,
    Andrea

    Hi Andrea,
         I am also facing the same issue.
    Were you able to call the component method from the JavaScript code.
    I have to display the results in a new page.
    Will all the methods like doProcessBeforeOutput() be executed when we traverse after the search button is clicked ?
    Thanks in advance,
    Brian.
    Edited by: Brian Fernandes on Mar 30, 2010 12:34 PM

  • Can we edit simultaneously in Pages for iCloud and Pages for OS X?

    I know that it's possible for multiple users to edit a document in Pages for iCloud (beta). But what happens if one user is using Pages for iCloud, and another person is editing the same document in Pages for OS X? Will the changes be updated in real time? Is there a danger of creating two different documents, as sometimes happens in Dropbox?
    I ask because Pages for Mac still offers more features and tools than Pages for iCloud. So some users may be able to work in the iCloud version, but at least one of wants to use the OS X version to make the final graphic tweaks and edits. Is this possible, or are we asking for trouble by using two different editions of Pages?

    Well... it looks like you were right. While Pages for iCloud theoretically supports simultaneous editing, in actual practice it's very difficult. There's no way to add comments or chat (as Google Docs allows), so it's hard to discuss what each of us is doing. And certain UI elements work differently in the OS X vs. iCloud versions, so results can be unpredictable.
    iWork for iCloud will only succeed when all versions of the iCloud apps (OS X, iOS and iCloud) are 100% compatible with each other. Fingers crossed.

  • Hyperlink URL for an iweb page for press release

    I am writing a press release in Word and I want to create a hyperlink in Word directly to the third page on my iweb site which is http://web.mac.com/decouvrir/mamaloosemusic/Welcome.html. But that adress is for the welcome page. But I want to get directly to another page.
    The other page name on my navigation bar is Mamaloose, but the internal title in my iweb list is "mamaloosecorpinfo". What should the resulting URL be in order to go directly to that page?

    Okay, firstly you need to sort out your site name. Is this your site here? http://web.me.com/decouvrir.
    Your url link does not work, so there is something wrong somewhere. Go into iWeb and check your site name and perhaps re-publish. Also, you need to be using web.me.com and not web.mac.com as you have.
    Also, if you are linking from a Word document, it is not the navigation menu that you need to link to, it is the page name from the url and you need to link to in iWeb - so it does not matter what your navigation link is, if you named your page "mamaloosecorpinfo", then your page will be this that followed by .html and it is this that you need to link to, to take you to that page of your website.

  • Reading R3 table in JSP Dyn Page...URGENT

    Hi All,
    I have created an JSP Dynpage Application after reading this thread:
    <a href="https://www.sdn.sap.com/irj/sdn/thread?messageID=3417619#3417619">https://www.sdn.sap.com/irj/sdn/thread?messageID=3417619#3417619</a>
    <b>My PortalApp.xml file is:</b>
    <?xml version="1.0" encoding="utf-8"?>
    <application>
      <application-config>
        <property name="PrivateSharingReference" value="com.sap.portal.htmlb"/>
      </application-config>
      <components>
        <component name="InteractiveList">
          <component-config>
            <property name="ClassName" value="com.abb.InteractiveList"/>
            <property name="ComponentType" value="jspnative"/>
            <property name="JSP" value="pagelet/InteractiveList.jsp"/>
          </component-config>
          <component-profile>
                <property name="tagLib" value="/SERVICE/htmlb/taglib/htmlb.tld"/>
          </component-profile>
        </component>
      </components>
      <services/>
    </application>
    My InteractiveList.java file contains:
    package com.amit;
    import java.util.Vector;
    import com.sap.engine.lib.xml.signature.Data;
    import com.sap.mw.jco.IFunctionTemplate;
    import com.sap.mw.jco.JCO;
    import com.sapportals.htmlb.page.DynPage;
    import com.sapportals.htmlb.page.PageException;
    import com.sapportals.htmlb.table.DefaultTableViewModel;
    import com.sapportals.portal.htmlb.page.JSPDynPage;
    import com.sapportals.portal.htmlb.page.PageProcessorComponent;
    import com.sapportals.portal.prt.component.IPortalComponentProfile;
    import com.sapportals.portal.prt.component.IPortalComponentRequest;
    public class InteractiveList extends PageProcessorComponent {
      public DynPage getPage(){
        return new InteractiveListDynPage();
      public static class InteractiveListDynPage extends JSPDynPage{
        private DataBean DataBean = null;
        public void doInitialization(){
          IPortalComponentProfile profile = ((IPortalComponentRequest)getRequest()).getComponentContext().getProfile();
          Object o = profile.getValue("DataBean");
          if(o==null || !(o instanceof DataBean)){
               System.out.println("In the IF ");
            DataBean = new DataBean();
            profile.putValue("DataBean",DataBean);
          } else {
              DataBean = (DataBean) o;
           String name = "Amit ";
           DataBean.setname(name);
          // fill your bean with data here...
           //InteractiveList interactive_list = new InteractiveList();     
        public void doProcessAfterInput() throws PageException {
        public void doProcessBeforeOutput() throws PageException {
          this.setJspName("InteractiveList.jsp");
      public DefaultTableViewModel getData(String USER, String PWD,String R3ip) {
                     com.sap.mw.jco.IRepository repository;
                     JCO.Pool pool = JCO.getClientPoolManager().getPool("R3");
                     if (pool == null) {
                          //JCO.removeClientPool("R3");
                          JCO.addClientPool(
                               "R3",
                               10,
                               "120",
                               USER,
                               PWD,
                               "EN",
                               "138.223.4.106",
                               "00");
                     repository = JCO.createRepository("TTL", "R3");
                     JCO.Client client = null;
                     //               Get a function template from the repository
                     IFunctionTemplate ftemplate =
                          repository.getFunctionTemplate("BAPI_SALESORDER_GETSTATUS");
                     //           Create a function from the template
                     JCO.Function function = ftemplate.getFunction();
                                    client = JCO.getClient("R3");
                                    JCO.ParameterList input = function.getImportParameterList();
                     input.setValue("0053100700", "SALESDOCUMENT");
                                    client.execute(function);
                     JCO.Table sales_orders =
                          function.getTableParameterList().getTable("STATUSINFO");
                     Vector row = new Vector();
                     Vector tbl = new Vector();
                     Vector colNames = new Vector();
                     //     Loop over all rows
                     do {
                          //     Loop over all columns in the current row
                          for (JCO.FieldIterator e = sales_orders.fields();
                               e.hasMoreElements();
                               JCO.Field field = e.nextField();
                               row.add(field.getString());
                               //System.out.println(field.getName() + ":\t" + field.getString());
                          } //for
                          tbl.add(row);
                     } while (sales_orders.nextRow());
                     sales_orders = null;
                     sales_orders =
                          function.getTableParameterList().getTable("STATUSINFO");
                     sales_orders.nextRow();
                     for (JCO.FieldIterator e = sales_orders.fields();
                          e.hasMoreElements();
                          JCO.Field field = e.nextField();
                          colNames.add(field.getName().toString());
                     DefaultTableViewModel dtvModel =
                          new DefaultTableViewModel(tbl, colNames);
                     JCO.releaseClient(client);
                     return dtvModel;
    And my Bean Class contains following code:
    package com.amit;
    import java.io.Serializable;
    import com.sapportals.htmlb.table.DefaultTableViewModel;
    public class DataBean implements Serializable {
         public DefaultTableViewModel model;
         public String name;
         public DefaultTableViewModel getModel() {
              System.out.println("Hi There ");
              return model;
         public void setModel(DefaultTableViewModel model) {
              this.model = model;
         public String getname(){
              return name;
         public void setname(String name){
              this.name = name;
    When I try  to Run the par file I am getting the Static Text in TextView but Text from myBean.getname() is not coming.
    Can you tell me the reason. Is there any problem in the code.
    Thanks in Advance,
    Amit
    Message was edited by:
            Amit

    Double post http://forum.java.sun.com/thread.jspa?threadID=647550&tstart=0

  • Response object in JSP Dyn page

    Hi SAP EP Gurus,
    I want to use response.setStatus() mehtod in jspdynpage but it is not working as expected. I am able to use other methods of response object like response.write().
    As per my knowledge if i set response.setStatus(200) is should send error to client but it is not seding error.
    It is working as same for both response.setStatus(200) and response.setStatus(500).
    Is there any special way to use response.setStatus() in portal? It is working as expected in normal jsp application.

    I tried but had no luck. Below is my JSPDYNPAGE code...
    <%@ page import="javax.servlet.http.HttpServletResponse" %>
    <%@ page import="com.sapportals.portal.prt.component.IPortalComponentRequest,com.sapportals.portal.prt.component.IPortalComponentResponse"%>
    <HTML>
         <head>
         </head>
         <body>
    <%
    IPortalComponentRequest request = (IPortalComponentRequest) this.getRequest();
    HttpServletResponse servletResponse = request.getServletResponse(true);esss
    servletResponse.setStatus(500);
    %>
              </body>
         </HTML>
    It is not working showing portal run time error

  • JSP Dyn Page want to display "Loading..." img + message

    Hi, we have EP6 SP2 environment. I have a JSPDynPage component that does a lot of preprocessing then loads the jsp page. Most of the time it spends in doProcessBeforeOutput() (has to connect to 2 backends and pull some data out). it is very slow loading. Can anybody tell me how we can show a nice loading image and a message WHILE the preprocessing is done? Thank you in advance.

    Well, was messing with it for a few hours last night since I got no replies - and that is what I did: I am writing out a <span><loading image> Loading...</span> in my doInitialization() function in Java (before it is doing all the backend connect). Then in a .jsp file I am hiding it with ...display ="none" call. It is a hack, but will do for now till I figure out how to display it sooner.
    After deploying this to our dev Portal (which is not slow, the prod is), I realized that most of the "loading" time it spends pregenerating "other" html that is dumped on the page before my code. So will try to figure out how to speed that up. Will keep you posted.

  • Modify MSS with version 60.1.18  ( JSP Dyn Page Concept)

    Hi All,
    We are working with MSS Business package.Our requirement is to display the custom fields data(infotype P0006) in Emergency contact details in the employee profile details.We were able to track the par file from the business package.
    It is com.sap.pct.hcm.eeprofileemergencycontact
    Also SAP has not given Source code to modify, can we use de compilers to get the code and modify it as per the requirement.
    What needs to be done by us to achieve this.
    It is using JCO to connect to SAP.
    It is calling the bapi HRWPC_RFC_ADDRESS_GETLIST.
    Now if we require those custom fields I think I need to copy the code of the SAP FM and need to change it.And also observed that Class names , data stucture names are hardcoded in the code.
    For example Hrwpc_S_AddressType is one of the class used.
    How is SAP creating these class files. What I guess there must be standard way to generate the required class files when I need to call a FM in SAP.
    Can any one let me know the way to achieve this requirement.
    Regards,
    ND.

    Hello Roy,
    Did you create two aliases for the R3 system named "SAP_R3_HumanResources" and "SAP_R3_Finanacials".
    Just confirm the names (case sensitive)
    Hope this helps..
    Pradeep

  • Pass parameters from JSP Dyn Page to WDJ Application

    Hi,
    I am trying to pass parameters from my JSPDyn Page to WDJ Application.
    I am using NWDS 7.1 EHP1
    My code is :
    function to_WEBDYNHK()
          EPCM.relaxDocumentDomain();
          EPCM.doNavigate
        ('ROLES://pcd:portal_content/Himanshu.Himanshu/TestDynUIApp?DynamicParameter="hkparam%3Dqwertyuio"');
    This method is being called on click of a button.
    hkparam is the parameter in question.
    The JSPDyn page is an iView and the WDJ application is a page and both have been assigned to a role.
    In the properties of the WDJ Page, I have removed DymanicParameter from "Do not Forward These Parameters To Web Dynpro" property.
    However I am getting null as the value of hkparam in my WDJ application.
    The code used is :
    IWDRequest request = WDProtocolAdapter.getProtocolAdapter().getRequestObject();
           String param1= request.getParameter("hkparam");
    What seems to be missing here.
    Please help.
    I went through the documentation on SDN but it does not seem to help.
    TIA,
    Himanshu

    Hi Himanshu,
    Try this code.
    EPCM.doNavigate("ROLES:portal_content/Himanshu.Himanshu/TestDynUIApp?hkparam=Dmypass1123")
    if the parameter is hkparam and the value to be passed is Dmypass1123. You need not change any design time property of the WD page, and WDProtocolAdapter should retrive the parameter.
    Regards,
    Vishweshwara P.K.M.

  • How to set default encoding and charsets for jsp and servlets.

    Hi,
    Is there any possibility to set default encoding or charset for jsps and servlest (for both request and response)?
    For example in Weblogic such parameters can be set in weblogic specific configuration files (weblogic.xml).
    Thanks in advance.

    Hi,
    I created one request with logo in the header an page in the footer etc. and called StyleSheet. After you can import this formats by each request.
    You can do this in compound layout.
    Regards,
    Stefan

Maybe you are looking for

  • Webservices

    Hi guys, I've a little problem when I m trying to invoke a webservice : (Proxy to Soap ) I 've this error in the monitor :   <?xml version="1.0" encoding="UTF-8" standalone="yes" ?> - <!--  Call Integration Server   --> - <SAP:Error xmlns:SAP="http:/

  • ConditionSortStep with measure based sorting

    Hi, i have problem with ConditionSortStep with measure based sorting. I use this code : Selection sel = query.findSelection(dimensionID); OlapQDR qdr = new OlapQDR(measureDim.getUniqueID()); qdr.addDimMemberPair(dimTime.getUniqueID(),"YR2004"); qdr.a

  • Youtube displaying widescreen movies in letterbox on widescreen tv

    Hello all, I hope I can get some help here. I have a dual-monitor setup where I have a 19" main monitor running on 1280x1024 as my main desktop, and I have my 42" widescreen full-HD tv connected to the secondary output of my GeForce 9600GT. I like to

  • Apple OS 10.5.8 on new macs that came with Snow Leopard!

    I want all who read this to know that I am and have been using OS 10.5.8 on my Imac 21.5" core 2 duo that came with 10.6 Snow Leopard. Everyone at Apple said it could not work but that is wrong. I am running OS 10.5.8 in a Bootcamp partitian with gre

  • Program to execute Process Chains in APO

    I'm trying to find a program in APO that can execute Process Chains. Is there any standard program in APO that enables to execute Process Chain? or does a custom program need to be created?