Issue Details (XML | Word | Printable)

Key: MYFACES-882
Type: Bug Bug
Status: Closed Closed
Resolution: Invalid
Priority: Major Major
Assignee: Unassigned
Reporter: Alberto Molpeceres
Votes: 0
Watchers: 2
Operations

If you were logged in you would be able to see more operations.
MyFaces Core

CommandLink doesn't work if javascript is disabled

Created: 29/Nov/05 02:44 AM   Updated: 17/Apr/06 08:53 PM
Component/s: General
Affects Version/s: 1.1.1
Fix Version/s: None

Time Tracking:
Not Specified

Environment: Mac OS X + Apple's JDK 1.5 + Tomcat 5.5

Resolution Date: 29/Nov/05 02:58 AM


 Description  « Hide
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.

 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Mike Kienenberger made changes - 29/Nov/05 02:58 AM
Field Original Value New Value
Status Open [ 1 ] Closed [ 6 ]
Resolution Invalid [ 6 ]
sean schofield made changes - 22/Feb/06 10:06 PM
Workflow jira [ 12344215 ] MyFaces Workflow [ 12348453 ]
sean schofield made changes - 28/Feb/06 06:42 AM
Workflow MyFaces Workflow [ 12348453 ] MyFaces Workflow2 [ 12351095 ]
sean schofield made changes - 28/Feb/06 06:42 AM
Workflow MyFaces Workflow [ 12348453 ] MyFaces Workflow2 [ 12351150 ]
sean schofield made changes - 10/Apr/06 10:03 AM
Workflow MyFaces Workflow2 [ 12351150 ] MyFaces Workflow [ 12354838 ]
sean schofield made changes - 13/Apr/06 02:20 AM
Workflow MyFaces Workflow [ 12354838 ] MyFaces Workflow2 [ 12356124 ]
sean schofield made changes - 14/Apr/06 12:42 AM
Workflow MyFaces Workflow2 [ 12356124 ]  MyFaces Workflow [ 12357830 ]
sean schofield made changes - 17/Apr/06 08:53 PM
Workflow  MyFaces Workflow [ 12357830 ] MyFaces Workflow2 [ 12360572 ]