users@glassfish.java.net

Re: Problems with JSF's 'links'

From: Gilberto Müller <kenpozeiro_at_yahoo.com.br>
Date: Mon, 24 Jul 2006 12:43:46 -0700 (PDT)

The answer for all questions is yes.

Here is my Netbeans project, it's small and maybe it could help!

Thanx,

Gilberto Müller



----- Original Message ----
From: Ryan Lubke <Ryan.Lubke_at_Sun.COM>
To: users_at_glassfish.dev.java.net
Sent: Monday, 24 July, 2006 4:31:27 PM
Subject: Re: Problems with JSF's 'links'

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
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
For additional commands, e-mail: users-help_at_glassfish.dev.java.net