myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mario Ivankovits (JIRA)" <...@myfaces.apache.org>
Subject [jira] Commented: (MYFACES-1167) No javascript with MyFaces & Facelets
Date Wed, 31 May 2006 12:58:31 GMT
    [ http://issues.apache.org/jira/browse/MYFACES-1167?page=comments#action_12414050 ] 

Mario Ivankovits commented on MYFACES-1167:
-------------------------------------------

using commandLink without form was always an enhancement of MyFaces and never worked with
JSF-RI, though, the way we (I) tried to make the move to tomahawk backward compatible broke
installations with JSF-RI due to non-compatible inheritance.

Current tomahawk svn head has this dummyForm feture disabled, could you please try the latest
nightly - there your problem should be fixed, tough, without dummyForm capability for sure.

Thanks!
Mario

> No javascript with MyFaces & Facelets
> -------------------------------------
>
>          Key: MYFACES-1167
>          URL: http://issues.apache.org/jira/browse/MYFACES-1167
>      Project: MyFaces Core
>         Type: Bug

>     Versions: 1.1.2-SNAPSHOT
>  Environment: Any OS, Resin 3.0.18, JDK 1.4.2
>     Reporter: Boris Kovalenko
>     Assignee: Mario Ivankovits

>
> When MyFaces are used with Facelets 1.0.12 there is no JavaScript generated if no <h:form>
is present.  Very simple example:
> <html xmlns="http://www.w3.org/1999/xhtml"
>       xmlns:ui="http://java.sun.com/jsf/facelets"
>       xmlns:h="http://java.sun.com/jsf/html"
>       xmlns:t="http://myfaces.apache.org/tomahawk">
> <head>
> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
> <title>Facelets: Number Guess Tutorial</title>
> <head>
> <link rel="STYLESHEET" type="text/css" href="/css/style.css"/>
> </head>
> </head>
> <body>
>     <h:commandLink value="Link" action="do"/>
> </body>
> </html>
> [root@boris /mnt/work.1/www]# [root@boris /mnt/work.1/www]# cat test.xhtml
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "">
> <html xmlns="http://www.w3.org/1999/xhtml"
>       xmlns:ui="http://java.sun.com/jsf/facelets"
>       xmlns:h="http://java.sun.com/jsf/html"
>       xmlns:t="http://myfaces.apache.org/tomahawk">
> <head>
> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
> <title>Facelets: Number Guess Tutorial</title>
> <head>
> <link rel="STYLESHEET" type="text/css" href="/css/style.css"/>
> </head>
> </head>
> <body>
>         <h:commandLink value="Link" action="do"/>
> </body>
> </html>
> When h:commandLink is inside h:form - all is ok. But... why we can't use h:commandLink
without form?

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Mime
View raw message