Navigating between components on jsp page

Hi,
I develop aplication on JSF,ADF BC. I need to focus on a certain component on the page by pressing enter key. For example If I have 3 commandButtons on the bage
like but1,but2,but3, by pressing enter key I want to focus on but3 from but1.Anyone who knows how to do that??
Thanks in advance,
Regards

Hi, I have the same problem too.Can you help me?

Similar Messages

  • Pass Object Between Applet and JSP Page

    Hi all,
    How can I pass an Object(such as Vector, File), rather than just string to the Applet from a JSP page?
    Thank you.

    I used Base64Encoder and Base64Decoder from servlets.com utilities.
    * convert any serializable object to a String
    public synchronized static String objectToString(Serializable obj) throws Exception {
        ByteArrayOutputStream bos = new ByteArrayOutputStream(100);
        ObjectOutputStream oos = new ObjectOutputStream(bos);
        oos.writeObject(obj);
        byte[]bytes = bos.toByteArray();
        bos = new ByteArrayOutputStream(); //to save the encoded String
        Base64Encoder enc = new Base64Encoder(bos);
        enc.write(bytes);
        String encodedString = bos.toString();
        //close all
        enc.close();   
        oos.close();
        bos.close();
        return encodedString;
    * Recreates the object from the encoded String
    public synchronized static Object stringToObject(String str) throws Exception {
        ByteArrayInputStream bis = new ByteArrayInputStream(str.getBytes());
        Base64Decoder dec = new Base64Decoder(bis);
        ObjectInputStream ois = new ObjectInputStream(dec);
        Object obj = (Object)ois.readObject();
        ois.close();
        dec.close();
        bis.close();
        return obj;
    }

  • View navigation between components

    Hi everyone,
    Till now i had used only the webdynpro projects...now, i am implementing the DC projects.
    1) i had create one dc component which will have 4 views.
    2) i had added this component to public parts.
    Now i had created another DC Component which will have the links to display the views in the previous component. i.e, if i click on the link in this component, one of the view should open in first component i created.
    1) i had added the first component in this component as used components.
    now my question is how to make the code to navigate to first component view by clicking on the link.
    sunil kumar

    Hi mukesh,
    i had already done this before....
    I have Comp A and Comp B.
    Comp A is my parent component and Comp B is my child component.
    1. Expose The webdynpro component of Comp B as a public part.
    2. In Comp A, Go to Used DCs add the Comp B as a used DC
    3. In Comp A, Go to UsedWebdynpro component section and add the Comp B.
    4. In the view part of Comp A, create a view from a Interface view, and Create one more view of parent component
    5. Go the diagram view of Comp A and create a outbound plug from View of Comp A to Interface view of Comp B
    6. Go to the implementation tab
    7. On the button action in the view of Comp A , fire the outbound plug.
    wat i want is... when the view in comp B is displaying, it is displaying the default view...i have other views in that component...i want to display those views depending upon the condition in the comp A.
    I want to pass one argument to Comp B so that, depending on that it should display the view.

  • RANGE_PAGING LAST RECORD IN JSP PAGE

    Hi.
    I'm working in JDeveloper 10g, and I would like to know what should be the behavior for the Last button on a jsp page when I use the method setAccessMode with RANGE_PAGING mode?, I mean, when I press that button in my jsp page it doesn't go to the last record result of the query.
    Thanks in advance.

    Thanks for your help.
    My range size is 10.
    But I have a question, vo.last does the same that the last button (navigation bar) on a jsp page?
    For example, if I have navigated through 50 records (with nextSet button) and I press last button, and I know that the query result in the view object is 1000 records, but I'm using RANGE_PAGING, how can I go to the last record?
    Because I tried with last button, but it goes to other record different to the last one.
    Thanks in advance.

  • How to navigating between layers?( as if they were pages of a book?)

    I need a good advice on design and navigating between some different layers.
    I am a Adobe Director user, and I am used to think of “navigating between frames”. also frames as pages of a book, while in flash time-frames.
    In Director one can navigate between different frames with each containing many components.
    And this does not make any conflict since the frames are some kind of pages of a book, you go to any page you want and back again.
    I am designing math training application in falsh-CS6, in which the user should be able to navigate from start-menu by choosing an
    exercise number and then go to the wanted exercise and then create an exercise by a create_excercise button, there back again to menu to choose another and so on. How I can do it clean in flash?
    As I see I have to place everything in the same “frame” in flash, and it becomes little practical and confusing since there
    are many things all gathered in the same frame, where they should instead appear in their respective “pages”.
    I have done some works in flash:  made 4 layers in flash with the following contents:
    layer 1: for my menu( contains 3 buttons, q1bt, q2bt, q3bt)
    layer 2: for question 1( contains 3 buttons  makeQ1bt, chekAns1bt, and  gotoMenuBtn)
    the same is for layer 3 and 4.
    I see no options rather than making different components visible or invisible whole way! but is there a better way?
    I appreciate any help.

    Flash does allow more than one frame - that is one of the foundations of working with it.  You can restrict yourself to using just one frame if you like, but it is not required and very often people use the timeline instead of keeping things in one place.
    I have no familiarity with Director, but what you just described sounds like designing using the timeline of Flash.  With Flash you can use the timeline in the fashion you just described where different pages occupy different frames of the timeline and you can navigate from one to another.  You are not stuck with one frame in Flash... you can create a new keyframe at any point along the timeline and add new/different content to it, while retaining a menu that exists across all pages (or not - it's your choice)..

  • Single signon between JSP page and Net.Data page

    I am trying to setup a single signon between a JSP page hosted on a tomcat server, and a Net.Data page hosted on an IBM HTTP server. Both of these servers are running on an AS400. The JSP page (www.jsppage.com/menu) contains a link to the Net.Data page (www.netData.com/page2). In order to access www.jsppage.com/menu the user needs to login. Once this happens I want them to be able to go back and forth between the two pages without having to log in when they switch servers. Page navigation is handled through myServlet.java so that when a user clicks on a link the request is forwarded on to myServlet.java where the servlet determines where to redirect the user to. The servlet uses
    RequestDispatcher requestDispatcher = getServletContex().getRequestDispatcher(url);
    requestDispatcher.forward(request, response);
    to forward the user to the correct page. This works fine for the JSP pages but when I forward to www.netData.com/page2 I get an error telling me the address doesn't start with a /. I also need to send the user name and password for the net.data pages to avoid the second login window to popup.
    I understand that the requestDsipatcher.forward() method directs the browser to a page that is relative to the current root directory. If I try to use response.sendRedirect(url) I get sent to the right page but the signon window pops up. I would appreciate any help.

    I am trying to setup a single signon between a JSP
    page hosted on a tomcat server, and a Net.Data page
    hosted on an IBM HTTP server. Both of these servers
    are running on an AS400. The JSP page
    (www.jsppage.com/menu) contains a link to the Net.Data
    page (www.netData.com/page2). In order to access
    www.jsppage.com/menu the user needs to login. Once
    this happens I want them to be able to go back and
    forth between the two pages without having to log in
    when they switch servers. Page navigation is handled
    through myServlet.java so that when a user clicks on a
    link the request is forwarded on to myServlet.java
    where the servlet determines where to redirect the
    user to. The servlet uses
    RequestDispatcher requestDispatcher =
    getServletContex().getRequestDispatcher(url);
    requestDispatcher.forward(request, response);
    to forward the user to the correct page. This works
    fine for the JSP pages but when I forward to
    www.netData.com/page2 I get an error telling me the
    address doesn't start with a /. I also need to send
    the user name and password for the net.data pages to
    avoid the second login window to popup.
    I understand that the requestDsipatcher.forward()
    method directs the browser to a page that is relative
    to the current root directory. If I try to use
    response.sendRedirect(url) I get sent to the right
    page but the signon window pops up. I would
    appreciate any help.You can't do that without passing username and password.
    The servers keep track of the user by storing a cookie on the clients computer. The cookie is only valid for the domain that created it.
    So, to make this work you need to send the username and password as part of the sendRedirect. the forward() method won't work.
    What you could do is create some code on the .net machine that accepts username, password and target URL as input. Once it receives those parameters it should perform the .net login procedure and redirect to the correct page.
    In your servlet you should pass those parameters on to the .net machine and the user should get the correct page without ever seeing any login windows.
    Make sure to use https if you decide to follow this scheme since http will transmit the username/password in cleartext.
    /Christopher

  • How can I share values between different jsp pages?

    Hi,
    I'm doing a jsp, bc4j application (JDeveloper 9.0.3), and I need to share some values between different jsp pages. To do this,
    I have used the tag <jsp:usebean.....></jsp:usebean> in this way:
    on pageone.jsp
    <jsp:useBean id="param" scope="session" class="MyPackage.Parameters" ></jsp:useBean>
    on pagetwo.jsp     
    <jsp:useBean id="param" scope="session" class="MyPackage.Parameters" ></jsp:useBean>
    and so on, in order to refer to the same instance of the class "Parameters".
    After deploying, the application works well only if the client is the same pc where the AS resides, otherwise the variables of "Parameters" are null.
    Please, could you help me?
    Thanks
    Nunzio.

    I am seeing an indication on 9.0.3 that static includes are not static, but instead always dynamic. The compiler generates a call to the included page, and doesn't include the content in the calling page as it should.

  • How can I make the jsp pages not displayed by using the navigation class?

    I'm right now implementing a function on my program GUI . It's like whenever I click "STOP THE SERVER" button on the main page, I need those jsp pages relates to the server running to be not displayed, even by directly type in the URL(that's just stay in the main page), How can I do that? I heard that a navigation class might do it, but I'm not sure how. It might be great if some experts could help me!! Thanx a million !!
    Shannon

    See:
    * [[Removing the Search Helper Extension and Bing Bar]]
    You can use one of these extensions to adjust the default font size and page zoom on web pages:
    * Default FullZoom Level - https://addons.mozilla.org/firefox/addon/6965
    * NoSquint - https://addons.mozilla.org/firefox/addon/2592

  • Java.lang.NullPointerException warning beside components on ADF JSP page

    java.lang.NullPointerException warning beside components on ADF JSP page problem
    Hello
    i developed a web application with the help of the Adf technology On jdeveloper 10.1.3.3.0 . Everything is Ok.
    But when i use application sometimes on the page i take a java.lang.NullPointerException warn beside the some components like a inputbox or a radio button ..)
    i looked the logs but nothing.
    How can i solve this problem.
    Have you got any idea?

    Hi,
    it's the validator property on inputText components that causes it. not validation or StateValidation or EnableTokenValidation.
    Paste your inputText source from the page if you are not sure.
    Brenden

  • 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

  • Navigation between pages

    Dear All,
    A few days ago i started to work with webcenter portal and i have a problem:
    My use case:
    I have 2 pages(both based on default template), each of them contains single task flow with single page fragment:
    page1 - contains task flow tf1.xml with page fragment view1.jsff
    page2 - contains task flow tf2.xml with page fragment view2.jsff
    I need to navigate between this 2 pages with custom buttons(or links) which have to be created inside page fragments.
    I added both pages to default-navigation-model.xml and after running the application i am able to navigate between them using links, which template creates dynamiclly(taking all the default-navigation-model's content into iterator and creating navigation links on page load).
    The code from template file(skipping the iterator):
    <af:commandLink id="pt_cl1" text="#{node.title}"
    inlineStyle="font-size:small;#{node.selected ? 'font-weight:bold;' : ''}"
    action="pprnav"
    disabled="#{not node.navigable}"
    actionListener="#{navigationContext.processAction}"
    clientComponent="#{node.attributes['Target'] == '_popup' ? true : false}">
    <!-- pass node to processAction for setting current selection and navigation -->
    <f:attribute name="node" value="#{node}"/>
    all this works just fine.
    Now i need to create a button in my view1.jsff(page fragment from first task flow on page1) , which would navigate me to my second page.
    I am able to do this with goLink setting
    navigate="#{naviagtionContext.defaultNavigationModel.node[page2].goLinkPrettyUrl}", but this reloads the whole template what i don't need, and also i would like to add some actionListener to this link or button later so i need to navigate using commandLink or commandButton.
    The example from page template doesn't work for my pages:
    My commandLink looks like this:
    <af:commandLink id="pt_cl1" text="Go page 2"
    action="pprnav"
    actionListener="#{navigationContext.processAction}"
    clientComponent="false">
    <f:attribute name="node" value="#{navigationContext.defaultNavigationModel.node['page2']}"/>
    </af:commandLink>
    but second line - action="pprnav" throws some empty screen and nothing else happens(guess it's because there is no partial page refresh in this case).
    Without this line it works, i was able to insert some output text fields in my page and see, that the value of
    #{navigationContext.defaultNavigationModel.currentSelection.title} is changing properly(when i removed the action="pprnav" line, of couse without it navigation itself does not happen).
    If i drop taskflows into my default-navigation-model.xml, skipping the pages action="pprnav" work fine(no empty screens appear and navigation happens), but i need to use the pages.
    Is there any replacement to action="pprnav", to be able to navigate between these two pages?
    Or may be there is another method to do this, which i couldn't find in Google?
    BR,
    Artur

    It's an old thread, but I keep running into this issue every now and then.
    The clue is:
    Any task flow that uses the navigation model to trigger navigation within an application must include a parent-action activity named "wcnav_parentAction" in the task flow definition that propagates the "wcnav_outcome" to the root level, as follows:
    <parent-action id="wcnav_parentAction">
    <root-outcome>wcnav_outcome</root-outcome>
    </parent-action>
    See the following Support note:
    Invoking A WebCenter Page From ADF Taskflow Failing In WebCenter 11.1.1.6 and Opens an Empty Popup Window [ID 1450568.1]
    Jaap

  • Applet to Applet communication between two seperate threads and jsp pages

    Hi,
    have two java applets running on two separate jsp pages. I am trying to have one applet talk to the other applet. I have tried putting the applets in a static hashtable, but I found out (through trial and error) that the memory is not shared between the applets. Needless to say the appletcontext object will not work as well. I have also tried to put the applet threads into a thread group, but it seems that the second applet can't find the first applet's threads. Is there a funky way that I need to create the threads for the threadgroup? Is there a way or type of object that I can use that will share the static memory between plugins? I am using 1.6 in IE. Or am I looking at this wrong and there is an easy way to do this and I am not seeing it.
    Thanks,
    Marc

    Hi Mylene,
    I hope I have understood your problem correctly. I can try to give you a tip. The times I've had to do a pop-up, for instance to show details or a part of the data in a table, I call a javascript function with the required parameters (an ID for details or an array of rows) when the button is pressed or a link is clicked. The function then builds a URL with all the paremeters and uses it to call the standard window.open function. After that the request is handled "as usual", ie as if you didn't actually do a pop-up but simply displayed a new page. The content of the pop-up is a jsp with all the required code to build the table and/or display the data. The contents of the table or data are retrieved with the help of the parameters sent.
    I'm not sure if the portal kit provides some kind of standard functionality for this, but in the cases I've worked with J2EE solutions this has been the most common way of solving the problem.
    I hope this helps.
    kind regards,
    Dionisios

  • Navigation between records in a JSP application

    Hi,
    I would like to know how to provide navigation between records in a tabular form liked JSP application using JDeveloper 3.2
    without using the Oracle or Default template.
    I can do it with a singular record view but not in a tabular view. I like to know now I can mimic the navigation provided in Oracle template in which the current selected record is hightlighted. Can we navigate between records using Up and Down
    arrow key like in Oracle form instead of using Navigation Bar. Please provide details code.
    Thanks a bunch,
    Khanh Hoang

    You can refer to the source code in jbohtmlsrc.zip for deriving your own implementation.

  • Need help on sharing a jsp page between clients?

    Hi,
    Let me explain this:
    In my jsp application I have two jsp pages that work as a find dialog like applet find dialog.One of those shows the columns from rowset(which user can enter the criteria ) and the other gets the values from first one, makes the sql query and execute the query against the rowset and retrieve the data. There is no pure servlet, both are jsp pages.
    This application is deployed on AS9i-oc4j.
    Problem is : When this find dialog is working for a client. The other client could not load this find dialog until the work for the first one be done. I mean only one client could load and fire the sql statement via this jsp pages(find dialog) at the same time. Which is not acceptable in web applications. Seems only one instance of these pages created by oc4j . if I am right on this then
    Question is : Why oc4j doesn’t create the number of instances based on the number of clients that call these pages? Did I miss something. Or any property in Application module need to be set?
    I would appreciate to share me your idea on this.
    Thanks.

    In my primary mind maybe the bottleneck is where the execution of rowset happens. Since that portion of code takes time to retrieve data for business components. If this is the case then Is this problem goes away if I define a thread for this portion of code?
    Thanks in advance for any idea.

  • Error doing simple navigation in a JSP page

    Hi
    When I do a click on the login.jsp page of a project, the next page do not show. Instead of that, JBoss shows the next dump in its console:
         at javax.faces.component.UIComponentBase.isIdValid(UIComponentBase.java:1050)
         at javax.faces.component.UIComponentBase.setId(UIComponentBase.java:274)
         at javax.faces.webapp.UIComponentTag.createComponentInstance(UIComponentTag.java:721)
         at javax.faces.webapp.UIComponentTag.findComponent(UIComponentTag.java:596)
         at javax.faces.webapp.UIComponentTag.doStartTag(UIComponentTag.java:312)
         at org.apache.jsp.consulta.listardestinos_jsp._jspx_meth_t_navigationMenuItem_0(listardestinos_jsp.java:264)
         at org.apache.jsp.consulta.listardestinos_jsp._jspService(listardestinos_jsp.java:159)
         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:334)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
         at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
         at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:463)
         at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:398)
         at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)
         at org.apache.myfaces.context.servlet.ServletExternalContextImpl.dispatch(ServletExternalContextImpl.java:416)
         at org.apache.myfaces.application.jsp.JspViewHandlerImpl.renderView(JspViewHandlerImpl.java:234)
         at org.jenia.faces.template.handler.ViewHandler.renderView(ViewHandler.java:74)
         at org.jenia.faces.template.handler.ViewHandler.renderView(ViewHandler.java:74)
         at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:384)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:138)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
         at org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:144)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
         at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
         at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
         at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
         at org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
         at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
         at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
         at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
         at java.lang.Thread.run(Unknown Source)
    19:41:59,109 ERROR [[Faces Servlet]] Servlet.service() for servlet Faces Servlet threw exception
    javax.faces.FacesException: Subsequent characters of component identifier must be a letter, a digit, an underscore ('_'), or a dash ('-')! But component identifier contains " "
         at org.apache.myfaces.context.servlet.ServletExternalContextImpl.dispatch(ServletExternalContextImpl.java:422)
         at org.apache.myfaces.application.jsp.JspViewHandlerImpl.renderView(JspViewHandlerImpl.java:234)
         at org.jenia.faces.template.handler.ViewHandler.renderView(ViewHandler.java:74)
         at org.jenia.faces.template.handler.ViewHandler.renderView(ViewHandler.java:74)
         at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:384)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:138)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
         at org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:144)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
         at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
         at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
         at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
         at org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
         at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
         at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
         at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
         at java.lang.Thread.run(Unknown Source)
    Caused by: org.apache.jasper.JasperException: Subsequent characters of component identifier must be a letter, a digit, an underscore ('_'), or a dash ('-')! But component identifier contains " "
         at org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:512)
         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:395)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
         at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
         at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:463)
         at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:398)
         at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)
         at org.apache.myfaces.context.servlet.ServletExternalContextImpl.dispatch(ServletExternalContextImpl.java:416)
         ... 27 more
    19:50:25,968 ERROR [[jsp]] Servlet.service() for servlet jsp threw exception
    java.lang.IllegalArgumentException: Subsequent characters of component identifier must be a letter, a digit, an underscore ('_'), or a dash ('-')! But component identifier contains " "
         at javax.faces.component.UIComponentBase.isIdValid(UIComponentBase.java:1050)
         at javax.faces.component.UIComponentBase.setId(UIComponentBase.java:274)
         at javax.faces.webapp.UIComponentTag.createComponentInstance(UIComponentTag.java:721)
         at javax.faces.webapp.UIComponentTag.findComponent(UIComponentTag.java:596)
         at javax.faces.webapp.UIComponentTag.doStartTag(UIComponentTag.java:312)
         at org.apache.jsp.consulta.listardestinos_jsp._jspx_meth_t_navigationMenuItem_0(listardestinos_jsp.java:264)
         at org.apache.jsp.consulta.listardestinos_jsp._jspService(listardestinos_jsp.java:159)
         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:334)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
         at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
         at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:463)
         at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:398)
         at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)
         at org.apache.myfaces.context.servlet.ServletExternalContextImpl.dispatch(ServletExternalContextImpl.java:416)
         at org.apache.myfaces.application.jsp.JspViewHandlerImpl.renderView(JspViewHandlerImpl.java:234)
         at org.jenia.faces.template.handler.ViewHandler.renderView(ViewHandler.java:74)
         at org.jenia.faces.template.handler.ViewHandler.renderView(ViewHandler.java:74)
         at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:384)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:138)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
         at org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:144)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
         at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
         at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
         at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
         at org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
         at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
         at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
         at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
         at java.lang.Thread.run(Unknown Source)
    19:50:25,968 ERROR [[Faces Servlet]] Servlet.service() for servlet Faces Servlet threw exception
    javax.faces.FacesException: Subsequent characters of component identifier must be a letter, a digit, an underscore ('_'), or a dash ('-')! But component identifier contains " "
         at org.apache.myfaces.context.servlet.ServletExternalContextImpl.dispatch(ServletExternalContextImpl.java:422)
         at org.apache.myfaces.application.jsp.JspViewHandlerImpl.renderView(JspViewHandlerImpl.java:234)
         at org.jenia.faces.template.handler.ViewHandler.renderView(ViewHandler.java:74)
         at org.jenia.faces.template.handler.ViewHandler.renderView(ViewHandler.java:74)
         at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:384)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:138)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
         at org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:144)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
         at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
         at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
         at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
         at org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
         at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
         at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
         at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
         at java.lang.Thread.run(Unknown Source)
    Caused by: org.apache.jasper.JasperException: Subsequent characters of component identifier must be a letter, a digit, an underscore ('_'), or a dash ('-')! But component identifier contains " "
         at org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:512)
         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:395)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
         at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
         at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:463)
         at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:398)
         at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)
         at org.apache.myfaces.context.servlet.ServletExternalContextImpl.dispatch(ServletExternalContextImpl.java:416)
         ... 27 more
    the faces-config.xml is this:
    <?xml version='1.0' encoding='UTF-8'?>
    <!DOCTYPE faces-config PUBLIC
    "-//Sun Microsystems, Inc.//DTD JavaServer Faces Config 1.1//EN"
    "http://java.sun.com/dtd/web-facesconfig_1_1.dtd">
    <faces-config>
         <application>
         <locale-config>
         <default-locale>es</default-locale>
         <supported-locale>en</supported-locale>
         <supported-locale>de</supported-locale>
         <supported-locale>fr</supported-locale>
         </locale-config>
         </application>
         <navigation-rule>
              <description>Navegaci�n desde p�gina de login</description>
              <from-view-id>/general/login.jsp</from-view-id>
              <navigation-case>
                   <from-outcome>loginAction</from-outcome>
                   <to-view-id>/consulta/listardestinos.jsp</to-view-id>
              </navigation-case>     
         </navigation-rule>
         <navigation-rule>
              <description>Reglas de Navegacion del Men�</description>
         <from-view-id>*</from-view-id>     
         <!-- Incluir aca cada uno de los casos de navegaci�n del men� -->
         <navigation-case>
         <from-outcome>listDestiniesAction</from-outcome>
         <to-view-id>/consulta/listardestinos.jsp</to-view-id>
         </navigation-case>
         <navigation-case>
         <from-outcome>createPackageAction</from-outcome>
         <to-view-id>/envio/crearpaquete.jsp</to-view-id>
         </navigation-case>
         <navigation-case>
              <from-outcome>createLoadAction</from-outcome>
              <to-view-id>/envio/crearpaquete.jsp</to-view-id>
         </navigation-case>
         <navigation-case>
              <from-outcome>confirmLoadAction</from-outcome>
              <to-view-id>/envio/confirmardespachocarga.jsp</to-view-id>
         </navigation-case>
         </navigation-rule >
         <!-- Beans -->
         <managed-bean>
         <description>Este objeto maneja los envios</description>
         <managed-bean-name>envioBean</managed-bean-name>
         <managed-bean-class>despachador.web.bean.EnvioBean</managed-bean-class>
         <managed-bean-scope>session</managed-bean-scope>
         </managed-bean>
         <managed-bean>
         <description>Este objeto maneja las consultas</description>
         <managed-bean-name>consultaBean</managed-bean-name>
         <managed-bean-class>despachador.web.bean.ConsultaBean</managed-bean-class>
         <managed-bean-scope>session</managed-bean-scope>
         </managed-bean>
    </faces-config>
    Could somebody help me with this problem?

    It is a pretty weird problem indeed.
    I know little about Oracle Portal. When I googled, I found the following in http://www.oracle.com/technology/obe/obe1014portal/standards_portlets/stdsplts.htm
    "Note: If you receive the following message, then the portlet is in a transient state. Simply refresh the page.
    Error: Could not get markup. The cookie or session is invalid or there is a runtime exception."
    In case you are still searching for an answer, it should be better that you post to one of the portal forums in Fusion Middleware forums

Maybe you are looking for

  • Home Directory is Full - moving envelope index not working

    Hoping someone can help! I am getting the popular "your home directory is full" message and am unable to open Mail. I searched prior discussions and it looks like most people were able to move the envelope index from home>library>mail to the desktop

  • Apple TV started having streaming issues with Netflix

    Several days ago my Apple TV is no longer providing consistent streaming throught Netflix. Before that, I had great streaming through all content for many months. Issues, configuration and some actions already taken: Video quality starts suffering, t

  • JPanel methods arn't being overriden in my subclass.

    Basically I have a JPanel class which I want to use as a template (super class) for other GUI Items. These other GUI items extend off this class, but also have the ability of altering the appiernece of the panel by overiding some functions. As far as

  • Weblogic server 6.1

    hi friends, I am new to EJB. So far, i have a little experience with J2EE server. now i want to start working on WEblogic Server 6.1. Is it ok to start with Weblogic 6.1 or I should better have a handson on WL5.0. Secondly, I am still not clear abt h

  • How to install cs3

    link to download and install cs3