JSF isn't designed to handle GET requests, so just modifying the link wouldn't be sufficient. In any case, the parameters generated would be far too large :) Take a look at a JSF form submit sometime.
The idea of providing an error if you try to use JSF without javascript isn't a bad one. I'm not sure what to suggest, though. I don't think rendering a message stating that you can't use links without javascript is the best solution. Perhaps the server should simply throw a FacesException if someone attempts to render a component that requires javascript, and the parameter is set to false. Maybe some of the other committers can comment on this. On 11/28/05, Alberto Molpeceres <[EMAIL PROTECTED]> wrote: > On 11/28/05, Mike Kienenberger (JIRA) <[email protected]> wrote: > > [ > > http://issues.apache.org/jira/browse/MYFACES-882?page=comments#action_12358688 > > ] > > > > Mike Kienenberger commented on MYFACES-882: > > ------------------------------------------- > > > > Well, we can discuss it on the mailing lists, but the short answer is that > > javascript is required to make the link submit the form. Normal anchor > > tags can't submit forms, so the anchor tag has to use javascript to click a > > submit button. > > > > > Hi Mike. > > I was just wondering, why something to "simply" should need > javascript. I mean, why not simply add all needed parameters to the > link?. Or if really that's not possible, it would be better just write > a message like "don't use commandLink with js disabled" instead of > just rendering a broken link. > > Don't get me worng, I know it's my failure if I don't know what the > specification says, only I have lost around three hours looking for a > solution and am a bit frustrated. > > al. >
