users@glassfish.java.net

Re: Problems with JSF's 'links'

From: Ryan Lubke <Ryan.Lubke_at_Sun.COM>
Date: Mon, 24 Jul 2006 12:31:27 -0700

A few questions:

  - Is Javascript enabled in your browser? If not, enable it.
    The the command link uses it.
  - If Javascript is enabled, are there any javascript errors
    appearing in your browser's JS console?
  - You do have a navigation case set up for this right?



Gilberto Müller wrote:
> Hi there,
>
> I'm trying to use 'links' in my web application but it doesn't work.
> I don't know if I'm doing something wrong, it used to work at JBoss AS:
>
> I've tried this (both are not working properly):
>
> ----------------------------------
>
> <%@taglib prefix="f" uri="http://java.sun.com/jsf/core"%>
> <%@taglib prefix="h" uri="http://java.sun.com/jsf/html"%>
>
> <html>
> <head>
> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
> <title>JSP Page</title>
> </head>
> <body>
> <f:view>
> <h1><h:outputText value="Java Server Faces" /></h1>
> <h:form>
> <h:commandLink action="index" value="First test"/>
>
> </h:form>
> </f:view>
> </body>
> </html>
>
> ----------------------------------
>
> Can anyone give me a hand?
>
>
> Thank you in advance,
>
> Gilberto Müller
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>