Forward to JSP page without using Navigation Model

How can I forward to a JSP page without using the Navigation Model?

It's done in the cardemo example in
ImageMapEventHandler.processAction() Is there a reason
for it there?Ah ... that makes sense.
That code in CarDemo was written before there was such a thing as a NavigationHandler, and we didn't have time to update it to the new approach before the EA4 release. That'll be changed before the next one. In the mean time, I'd recommend that you use the navigation rules mechanism where it works for you, because it encourages good separation of business logic and presentation logic that will lead to more maintainable applications.
Craig

Similar Messages

  • Use navigation model and runtime created pages

    Hi,
    I have my Portal Application created in JDeveloper, with set of base pages. Pages are stored in default-navigation-model, so I could use i18n in navigation rendering. I'd also like to use runtime pages management. When I enter admin panel, I can add new pages, change order of pages created in jdeveloper, or show/hide them. However those changes are not reflected in the portal, navigation always looks the same, still displays pages I've marked as hidden - is navigation cached somewhere?
    If I create new page in admin panel, it isn't displayed in navigation too. However I could click on this page title in admin panel, go to this page and edit its content - of course even then page is not displayed in the meny, none of menu items is marked a highlited.
    What am I doing wrong? I followed Yannick's tutorial http://www.yonaweb.be/webcenter_tutorial/closer_look_at_navigation_model and switched from page hierarchy to navigation model. Maybe this is the reason?

    I got back to your tutorial and haven't found a place where it'd be explained directly. Maybe "between the lines", but as for Webcenter newbie I haven't notice it.
    I switched back to pages hierarchy. I was using navigation model to achieve i18n in navigation, however I also had problems about that, and as you suggested me once in another thread I changed page titles to PortalBundle keys and rendered values from bundles manually.
    Therefore now comes the second question in this area - is it possible to use page hierarchy, runtime crated pages and still localize page titles?
    P.S. As an experienced Liferay Portal developer, I really try to see any benefits of Webcenter in building custom portals area and still I can hardly find any... ;)

  • How to navigate to a specific part of a page using Navigation Model

    Hi....
    I need to navigate to a specific part of the page using navigation models.
    When I click on a link it should navigate to a div in the middle of the page instead of showing page from starting.
    How to achieve this using webcenter navigation models?
    Thanks.

    Hi All,
    Even I have the same requirement in my project.
    I need to navigate to a specific part of a page instead to the top of page using navigation models.
    I have a navigation model with name aboutUsNavigation.xml which have 5 links(About Us, Contact Us, Carrers, ...).
    I have used the adf tree Component to show the links.
    <af:tree id="about" var="node" initiallyExpanded="false" summary="AboutUs" value="#navigationContext.navigationMode
    l['modelPath=/oracle/webcenter/portalapp/navigations/aboutUsNavigation'].treeModel['includeStartNode=false']}" >
    <f:facet name="nodeStamp">
    <af:commandImageLink id="cil2" text="#{node.title}"
    actionListener="#{navigationContext.processAction}"
    action="pprnav"
    icon="#{node.attributes[pageFlowScope.tnBean.iconKey]}"
    disabled="#{not node.navigable}"
    inlineStyle="#{node.onSelectedPath ? 'font-weight:bold;' : ''}">
    <f:attribute name="node" value="#{node}"/>
    </af:commandImageLink>
    </f:facet>
    </af:tree>
    All the 5 links should navigate to the about.jspx. but each to a part of the page. how to achieve this?_
    Thanks..

  • How to forward a JSP page to another dynamically generated JSP

    Hi gurus,
    I have a problem with forwarding a JSP page, to another dynamic jsp page.
    I have to forward a jsp page to (say X1 ) to another JSP page (say X2).
    Iam choosing the name of the page X2, dynamically from a list of JSP pages in a directory depending upon some parameters.
    Here is my code for ur better understanding...
    <java>
    // this gives me the name of the page X2 to which my page X1 should be forwarded.
    <TR> <TD><%=request.getParameter("codeins")%></TD></TR>
    <%
    if(request.getParameter("codeins").length() != 0)
    %>
    // if i use this forward tag i get the error
    <a href=" 
                <jsp:forward page=Ins/<%=request.getParameter("codeins")%">.jsp">
         <jsp:param name="a" value="<%=request.getParameter("a")%>" />     
         <jsp:param name="b" value="<%=request.getParameter("b")%>" />
         <jsp:param name="c" value="<%=request.getParameter("c")%>" />
         <jsp:param name="p" value="<%=request.getParameter("p")%>" />
         <jsp:param name="q" value="<%=request.getParameter("q")%>" />
    </jsp:forward>">GNSS Instantiation</a>
    <%
    else {
    out.println("No entry in the database! ");
    } %>
    </java>
    I am getting the exceptions like
    <java>
    org.apache.jasper.JasperException: /Newspg.jsp(162,67) equal symbol expected
         at org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:94)
         at org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:428)
         at org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:126)
         at org.apache.jasper.compiler.Parser.parseAttribute(Parser.java:169)
         at org.apache.jasper.compiler.Parser.parseAttributes(Parser.java:136)
         at org.apache.jasper.compiler.Parser.parseForward(Parser.java:517)
         at org.apache.jasper.compiler.Parser.parseAction(Parser.java:661)
         at org.apache.jasper.compiler.Parser.parseElements(Parser.java:803)
         at org.apache.jasper.compiler.Parser.parse(Parser.java:122)
         at org.apache.jasper.compiler.ParserController.parse(ParserController.java:199)
         at org.apache.jasper.compiler.ParserController.parse(ParserController.java:153)
         at org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:227)
         at org.apache.jasper.compiler.Compiler.compile(Compiler.java:369)
         at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:473)
         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:190)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
         at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:432)
         at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:356)
         at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:430)
         at org.apache.jsp.SPVariablesg_jsp._jspService(SPVariablesg_jsp.java:425)
         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:210)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2417)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
         at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:193)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:781)
         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:549)
         at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:589)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:666)
         at java.lang.Thread.run(Thread.java:534)
    </java>
    please help me out to let me know, where iam doing wrong.
    Thanx
    mark.

    Hi,
    in reference to the above subject i did like to know what is wrong in the following code of mine:
    <%
         String name = "admin"; // this is line which is being indicated in error message
         int password = 4589;
    %>
    <!-- <script language="javascript" src="init.js"></script> -->
    <head>
    <script>
    function checking()
         if name != document.test.user.value || password != document.test.password.value)
              alert("ur not authorised to view the requested url");
              forward("Firstpage.jsp");
    %>
    </script>
    its says :
    org.apache.jasper.JasperException: /webpg/Dec2Firstpage.jsp(4,21) equal symbol expected
    any solutions?
    thanx in advance

  • Cannot see entire page without using the bottom scroll bar.

    Cannot see the entire page without using the bottom scroll bar. Unfortunately some websites do not have the scroll bar and I am unable to complete my transaction because the area I need to click is on the right of the screen and that does not show on my page. If I change the view, the font is to small and it is blurry making in illegible.

    Weird. Be sure zoom is to default value (press Ctrl+0 -zero- in FF). In addition, restart FF in safe mode, maybe an add-on is the culprit.

  • Display Chinese Character jsp page  by using UTF-8

    hi all,
    I have one jsp page have Chinese character, need to allow user input Chinese character into db, right now my situation is if I set <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> , the Chinese character in my jsp page I can't display correcly, but the inser is okI have to set encoding to big5, then I can't insert chinese character into my db correctly.
    can I use UTF-8 to display my jsp page, which have Chinese Character in there?Thank you!

    Hi Niklas
    thank you for the suggestion. somebody told me UTF-8 suppose work, only if you typing your Chiness character in UTF-8 formate, i don't know that is true or not, but that realy a challenge for me, I using jdbc , some time ago, and then stop, and on that period,if I got free time, I did try to learn some tutorials on struct, hibernate, like http://javaboutique.internet.com/tutorials/Struts/; http://courses.coreservlets.com/Course-Materials/struts.html
    recently I need to deal with some online form , first I want to use struct, but I keep got forwad problem, I forget the detail error message, and found not place to ask questions, so , I pick jdbc again, so ,if you have some useful link in struct or a nice community for people to learn struct, I am look forward to
    know that,
    by the way I set *<meta http-equiv="Content-Type" content="text/html; charset=big5" /> in my jsp*
    String dbURL="jdbc:mysql://localhost/survey?useBig5=true&characterEncoding=Big5"; in jdbc
    keep UTF-8 setting in mysql, it looks solute the problem that I had, hope that can enhabce our knowledge in that
    thank you for the help and wish good luck for future.

  • EL for a specific page in a Navigation Model with a Pages Query

    In WebCenter Portal: Spaces we are using the Default Navigation Model, which includes a Pages Query which shows all the accessible pages for the current space.
    How do I create an EL Expresion that allows me to perform navigation from within a page?
    <af:commandLink text="Link"
    id="cl1"
    actionListener="#{navigationContext.processAction}"
    action="pprnav" >
    <f:attribute name="node"
    value="#{navigationContext.defaultNavigationModel.rootNode.childByIndex[1]}"/>
    </af:commandLink>
    this gets me a reference to the desired page, but only as long as the Pages Query is the first item in the model and my page is at index 1 in the Pages Query. Not very robust.
    Is there any way to refer to a page by its title or something like that?
    I know Business Role Pages in Spaces have a direct URL I could use, but I want to use partial page navigation wherever possible.

    Jaap,
    Can you describe your exact use case in a bit more detail?
    Do you wish to link to a specific page or generate links to all pages (iterating through the pages) in the space? If it is the former, how do you identify the specific page? If it is the latter, consider creating a custom navigation model that contains only a pages query and iterate over this.

  • Can we call a javascript fun through jsp page without any event

    Hi ,
    I am new to jsp,javascript and i have a little question.
    If i make a function in a js file and want to call it from a jsp file without any event ,ie can i write some thing like <%abc()%> in ths jsp page ,which call the function from another .js file.
    I suppose that it can be done as gmail page reloads it self after some time and for http mostly we use pull ie request from the client side ,so i think that they must be doing something like timer expiry and reload themselves.
    please help me with the solution.
    Thanks & Regards
    Saurabh

    sorta....
    The JS runs in the client, not on the server, so you would just be writing JS code as HTML... If your page is like this and the myscript.js file defines 2 functions (function1, function2), you can call them on page load in either of these ways. I'm not sure offhand which would get called first, but the scripts called inline in the page would be called in the order they are defined in the page. But that is all HTML, it has nothing to do with JSP.
    <head>
    <script language="JavaScript" type="text/javascript" src="myscript.js" />
    </head>
    <body onload="function1();">
    <script language="JavaScript" type="text/javascript">
    function2();
    </script>
    </body>

  • Navigate to other page without using task flow

    Hi.,
    I m using jdeveloper 11.1.1.5
    I had created a Following jspx pages
    =>glm0101.jspx
    =>cfs0010.jspx
    =>generalledger.jspx
    =>glm2080.jspx
    =>login.jspx
    I need to create following
    GLm ----> While user clicks this it should navigate to glm0101.jspx
    CFS ----> While user clicks this it should navigate to cfs0010.jspx
    GeneralLedger ----> user clicks this it should navigate to generalledger.jspx
    Querry -----> user clicks this it should navigate to glm2080.jspx
    could anyone help me to provide the solution without using the task flow

    I had used The following procedure
    In adfc config i had created a unbound task flow as given below
    http://www.4shared.com/photo/BFcI1zVp/E024.html
    I had draged and dropped ADF:Link and anmed it as General Ledger
    In its action i wrote gl [which i had specified in TaskFlow]
    When i click this i am getting this error
    oracle.adf.controller.activity.ActivityLogicException: ADFC-02013: The ADF Controller cannot find metadata for activity 'GeneralLedger'.
         at oracle.adfinternal.controller.util.Utils.createAndLogActivityLogicException(Utils.java:230)
         at oracle.adfinternal.controller.engine.ControlFlowEngine.doRouting(ControlFlowEngine.java:928)
         at oracle.adfinternal.controller.engine.ControlFlowEngine.doRouting(ControlFlowEngine.java:778)
         at oracle.adfinternal.controller.engine.ControlFlowEngine.routeFromActivity(ControlFlowEngine.java:552)
         at oracle.adfinternal.controller.engine.ControlFlowEngine.performControlFlow(ControlFlowEngine.java:148)
         at oracle.adfinternal.controller.application.NavigationHandlerImpl.handleAdfcNavigation(NavigationHandlerImpl.java:109)
         at oracle.adfinternal.controller.application.NavigationHandlerImpl.handleNavigation(NavigationHandlerImpl.java:78)
         at org.apache.myfaces.trinidadinternal.application.NavigationHandlerImpl.handleNavigation(NavigationHandlerImpl.java:43)
         at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:130)
         at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:190)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:92)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:361)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:96)
         at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:102)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:92)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:361)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:96)
         at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:96)
         at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:475)
         at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:756)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._invokeApplication(LifecycleImpl.java:788)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:306)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:186)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:205)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:106)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
         at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:271)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:177)
         at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:175)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
         at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
         at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:94)
         at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:161)
         at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:136)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)and also i m getting error as
    <ViewXmlImpl> <parse> ADFc: /WEB-INF/adfc-config.xml:
    <ViewXmlImpl> <parse> ADFc: Failed to find/parse page name for view activity.
    <ActivityXmlImpl> <parse> ADFc: /WEB-INF/adfc-config.xml:
    <ActivityXmlImpl> <parse> ADFc: Activity metadata could not be parsed. [Activity Type, ID] = ['view', 'Cfs0010'].
    <ViewXmlImpl> <parse> ADFc: /WEB-INF/adfc-config.xml:
    <ViewXmlImpl> <parse> ADFc: Failed to find/parse page name for view activity.
    <ActivityXmlImpl> <parse> ADFc: /WEB-INF/adfc-config.xml:
    <ActivityXmlImpl> <parse> ADFc: Activity metadata could not be parsed. [Activity Type, ID] = ['view', 'GeneralLedger'].
    <ViewXmlImpl> <parse> ADFc: /WEB-INF/adfc-config.xml:
    <ViewXmlImpl> <parse> ADFc: Failed to find/parse page name for view activity.
    <ActivityXmlImpl> <parse> ADFc: /WEB-INF/adfc-config.xml:
    <ActivityXmlImpl> <parse> ADFc: Activity metadata could not be parsed. [Activity Type, ID] = ['view', 'GLM0101'].
    <ViewXmlImpl> <parse> ADFc: /WEB-INF/adfc-config.xml:
    <ViewXmlImpl> <parse> ADFc: Failed to find/parse page name for view activity.
    <ActivityXmlImpl> <parse> ADFc: /WEB-INF/adfc-config.xml:
    <ActivityXmlImpl> <parse> ADFc: Activity metadata could not be parsed. [Activity Type, ID] = ['view', 'Glm2080'].

  • How to forward a jsp page in flex application ( when a button is clicked)

    i am a fresher to this FLEX 2.0 , i designed the UI part in
    flex, but when i click the submit button it has to forward to the
    JSP page to check against the valid user,password , so how to
    forward the page to jsp(i mean from flex to jsp) , if u can suggest
    me with an example, it will be easy for me, is Flex Data Service 2
    is necessary for this
    thanks for ur speedy reply, hopping to get the solution for
    this issue,
    sandeep

    Your JSP is, as far as Flex is concerned, just a data service
    which it will request and read its response. I'd suggest using
    <mx:HTTPService>. For example:
    <mx:HTTPService id="authorize" url="validate.jsp"
    fault="handleFault(event)" result="handleResult(event)">
    <mx:request>
    <userid>{username.text}</userid>
    <password>{password.text}</password>
    </mx:request>
    </mx:HTTPService>
    Flex creates the request:
    http://{server}.{port}{context.root}/validate.jsp?userid=fred&password=flintstone
    assuming that you have <mx:TextInput id="username" />
    and <mx:TextInput id="password" /> components.
    Your Submit button then does: authorize.send()
    (note: you can also pass the request parameters in the send()
    method - check the Flex docs on HTTPService).
    Flex will listen for the response from your JSP. Typically a
    JSP would respond with an HTML page, but you don't want to do that
    for Flex. Your JSP should produce either a simple string ("yes" or
    "no" or "error" etc) or an XML document.
    The handleResult method can examine the response and do
    what's necessary.

  • JSP on BEA  Weblogic: random error when loading a jsp page that uses a Bean

    Hi!
    I wrote a simple jsp page that stores a String in a JavaBean, and then forwards to another jsp page to display that String. The jsp pages are deployed on a BEA Weblogic 6 Server, but I get a weird behaviour when loading the page into my browser. Usually I get an error message:
    /Response.jsp(9): class 'query.jsp.QueryBean' could not be loaded
    probably occurred due to an error in /Query.jsp line 9:
    <jsp:useBean id = "queryBean" scope = "request" class = "query.jsp.QueryBean" />
    But the funny thing is that after reloading the page a few times it eventually works. The bahaviour seems to be totally random - sometimes it works, sometimes it claims not finding the JavaBean class.
    Anyone experienced something similar?
    Thank you very much,
    Charlie

    Is QueryBean.class located under '<appname>/Web_inf/query/jsp/'?
    If it is please try changing the package name to something else like com.myclass or something like that.

  • Creation of custom page without using NetWeaver Developer Studio

    Hi Experts,
    In my project, we have not installed NetWeaver Developer Studio. We are using EP 7.0.
    We have to create a custom page for the project. In this page, we have to provide seperate iViews links.
    The page should look like this:
    iView 1 - Link                iView 2 - Link        iView 1 - Link
    Help iView 1-Link        Help iView 1-Link     Help iView1-Link
    I tried to do so by creating a page. In the page, I tried to use 'Three Coloumn Page' layout. The iviews are getting displayed in following way:
    iView 1 (iView is getting displayed .Link not getting displayed)
    Help iView 1 (iView is getting displayed .Link not getting displayed)
    iView 2(iView is getting displayed .Link not getting displayed)
    I can not display link of all six iViews. Further more iViews are getting displayed in one coloumn and 3 rows. I can see the iViews directly. I am not able to display links for iViews.
    I need 3 coloumns and 2 rows layout.
    Can you please let me know how to achieve this?
    Whether I have to create new layout? For this whether we will need NetWeaver Developer Studio?
    Can we do it by creating HTML page. In the HTML page, we will have many links. These links will point to the iViews stored in SAP EP's KM. If so, what be the steps?
    I know that it can be done by creating a PAR file and deploying it. But, we don't have Netweaver Developer Studio.
    Can we acheive above without using NetWeaver Developer Studio?
    Please help me.
    Regards,
    Brian

    Hi Kedar,
    Thanks. My requirement is that six iViews links should be shown in the portal content area.
    The iViews links should be like
    iView 1-Link         iView 2-Link           iView 3-Link
    Help iView 1-Link Help iView 2-Link    Help iView3-Link
    When user will click on any iView link, the relevant iView should be displayed.  The iView can be displayed in seperate new page. So naturally five iView link will not be displayed.
    I am planning to create one HTML page and store it in KM. I will call this page in portal content area.
    There will be hyperlink on this HTML page. The hyper link will be attached to other iView links in  KM.
    Whenever user will click on any Help link or iView link the corresponding iView will be called from  KM.
    So in KM we will store 7 objects. 3 HTMLpages for help. 1 HTML page for main page.
    Other 3 will point to iView-Link1, iView-Link2 and iView-Link3.
    Can I do so? Will it sort out my problem?
    Thanks

  • How do I change the colour of a page in Pages without using a floating shape or text box?

    I want to change the colour of a page in Pages without having to stretch out a floating coloured shape or using a text box to write the text in. I have been stretching shapes and using text boxes for years but surely there is an simpler and more elegant way to do this? Plus, I want to be able to type several pages of continuous text and not have to split the text up into multiple text boxes. Any help most welcome.

    bigj wrote:
    I want to change the colour of a page in Pages without having to stretch out a floating coloured shape or using a text box to write the text in. I have been stretching shapes and using text boxes for years but surely there is an simpler and more elegant way to do this?
    There are a whole lot more really essential features missing in Pages than this.
    bigj wrote:
    Plus, I want to be able to type several pages of continuous text and not have to split the text up into multiple text boxes. Any help most welcome.
    What is stopping you?
    Peter

  • How to delete a JTable row without using its model

    I need to delete a row or insert a row in a JTable without using it's model. The table model for the current JTable extends AbstractTableModel so there are no defined deleteRow or insertRow methods as there are in DefaultTableModel.
    Basically, I don't know if the JTables models are going to have a deleteRow or insertRow method as all the models are AbstractTableModels and might or might not have these methods.
    Thanks.

    I interpreted "I don't have access" as meaning that there isn't a table model for that JTable. For example, you can construct a JTable this way:
    public JTable(Vector rowData, Vector columnNames)
    And the Vector of row data is what you manipulate to add or delete rows and yet you're not using a table model. If that's how your code is written then you would simply manipulate the rowdata Vector.
    However, if you mean that there is a Table model and you're not allowed to change it, then you REALLY need to get permission from your boss to change that table model. Adding a deleteRow(int) method to the TableModel wont break anything that currently exist. And to try to do an end run around the code is a nasty hack. The right way to do it is to add a method to whatever class extends AbstractTableModel and is set as the table model for this JTable.

  • How do I get the bean property to JSP page for use in a Scriplet

    Hi all,
    I am new to JSF and would like to know how can I get the Bean property to a JSP page and then use that property to dynamically display the contents.
    Thank in advance,

    Hi,
    I think the following page will be helpfull.
    http://java.sun.com/developer/technicalArticles/javaserverpages/JSP20/
    Akif

Maybe you are looking for

  • Why wont my iPod touch let me download a big app?

    I have 1.4 GB of space on my iPod. I keep trying to download a 618 MB app, however, it says I need more storage. Yes, I can download smaller apps. Why is this happening? What do I do to fix it?

  • Error for ERS settlement of frieght POs

    Hello All We have an issue where user is trying to settle Automated Freight POs with search criteria as (company code US20) and GR posting date (From- Blank/ To - till date) through MRRL transaction. Errors: 1.Posting date is initial for few of them

  • To find attributes, parameters in the class

    Hello... Can anyone help me, I need to write an ABAP program, which should display all the Attributes and Parameters  in the given Class. And the Output should be in HTML form. For Example: In the selection selection screen if I give CLC2DIR_AGENT. t

  • Ways to run javacode

    how to let java run on apache not on command line ? who can help me ? thanks !

  • Headphone and mic jacks do not work

    I disabled the onboard audio drivers to install an Audigy 2ZS board in my new Dimension 900. Now the Dell factory installed mic and headphone jacks on the front of the computer do not work. I'm assuming thats because I disabled the onboard drivers? A