On Wed, 10 Nov 2004 21:41:53 -0800, Craig McClanahan <[EMAIL PROTECTED]> wrote: > A lot of my feelings on this have been posted on another thread, so I > just want to ask one question from Mark's message. > > On Wed, 10 Nov 2004 10:55:25 +0100, Mark Lowe <[EMAIL PROTECTED]> wrote: > [snip] > > As an auxilary point I have no idea why rendering javascript links was > > considered a good option for commandLink. As its the only means of > > generating dynamic menus with the standard tags, it ,means that those > > rancid little spiders that cant read javascript wont be able to index > > the pages. > > Can you please describe a technique whereby a hyperlink can submit a > form, *without* using JavaScript? I'm sure the JSF RI team would be > happy to implement that; we didn't like having to use JavaScript > either, but could not identify a solution that met the submission > requirement.
Craig Okay submitting a form perhaps not, but having a mechanism where outputLink or something can call an action/action listener. As things are there is no provision to be able to simply generate a simple navigation bar/list of links. Perhaps allowing commandLink outside a form would, that renders differently could be one idea. So when <h:commandLink action="#{fooBean.someLink}" /> it would render a link. How that link would render to call the target method in the backing bean I'm not certain. The link is still a command. Despite disliking the javascript, I was prepared to live with it. But there's little I can do if it doesn't work. I hope JSF does come through, but as a user I've been stung badly and as a result less brave in my choices of technology adoption. I didn't touch JSF for 1.0 to avoid any bleeding edge problems, waited until 1.1 figured I'd live with multipart forms not being supported. But still ended up getting cut. Mark > > Note that just composing the correct URL into a hyperlink and doing a > GET doesn't count -- that won't restore the state of the component > tree if the application developer is using client side state saving. > > Craig > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]