[ http://issues.apache.org/jira/browse/MYFACES-882?page=all ]
     
Mike Kienenberger closed MYFACES-882:
-------------------------------------

    Resolution: Invalid

JSF CommandLink requires javascript.  Javascript must be enabled to use this 
component.

http://java.sun.com/j2ee/javaserverfaces/1.1/docs/renderkitdocs/HTML_BASIC/javax.faces.Commandjavax.faces.Link.html


> CommandLink doesn't work if javascript is disabled
> --------------------------------------------------
>
>          Key: MYFACES-882
>          URL: http://issues.apache.org/jira/browse/MYFACES-882
>      Project: MyFaces
>         Type: Bug
>   Components: Implementation
>     Versions: 1.1.1
>  Environment: Mac OS X + Apple's JDK 1.5 + Tomcat 5.5
>     Reporter: Alberto Molpeceres

>
> This bug is very similar to: 
> http://issues.apache.org/jira/browse/MYFACES-198, closed due to lack of 
> interest. The solution given in that thread doesn't seem to work.
> I'm working with a SVN copy of MyFaces dated on 20-Nov-05.
> If I have context parameter org.apache.myfaces.ALLOW_JAVASCRIPT to false, 
> commandLinks seem to be rendered wrong. The following code:
>          <h:commandLink id="doit" action="#{bb.doIt}" immediate="true" >
>                <h:outputText value="Do it!" />
>          </h:commandLink>
> becomes something like:
>         <a .... href=id="A_VERY_LONG_URL">Do It!</a>
> what leads to a "page not found" in the browser.
> Setting org.apache.myfaces.ALLOW_JAVASCRIPT to "true" solves this problem, 
> because it creates a working javascript-link, so this isn't a showstopper.  
> However, I think this tag should work properly without javascript too.

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

Reply via email to