[jboss-user] [JBoss Seam] - Re: JSF or Seam Question?

2008-01-19 Thread [EMAIL PROTECTED]
Sorry, I'm not really understanding what you are saying, can you explain again? 
If there is a problem with s:defaultAction (it behaves differently to pressing 
the commandButton with the mouse) then we should fix it.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4121547#4121547

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4121547
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: JSF or Seam Question?

2008-01-18 Thread rhasselbaum
Even with this tag, there are problems when the form is submitted via ENTER. 
For example, it appears that in Firefox, the redirect following the form 
submission is executed as a POST. That's the way it looks in Wireshark, anyway.

In my case, if the user presses ENTER on the last page of a wizard and the 
action method ends the conversation, I see the wizard complete page flash up 
for a second, but then it redirects me to my no-conversation-view-id page and 
there's a warning in the Seam log about the conversation having expired.

As a workaround, I'm disabling the ENTER key for text fields in my forms. The 
code on this site seems to do the trick nicely: 
http://www.webcheatsheet.com/javascript/disable_enter_key.php

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4121474#4121474

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4121474
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: JSF or Seam Question?

2007-09-08 Thread baz
i was routed from here 
http://www.jboss.com/index.html?module=bbop=viewtopict=118074
to this thread.
I hope that the default action will solve my problem.
So i can specify something like this
defaultAction type=SUBMIT action=...
  | 
form will submitted and action is the same thing zhat is possible with a 
commandButton
defaultAction type=DONOTHING
nothing happens and Focus stays in the field where the enterButton is pressed.
defaultAction type=ADVANCEFOCUS
focus advances to the next input element

is this the way the corresponded Jira issue is targeted at?


View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4082328#4082328

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4082328
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: JSF or Seam Question?

2007-09-08 Thread [EMAIL PROTECTED]
No, I don't think we need to alter the default behaviour of the enter button - 
simply make it correspond to the 'normal' html behaviour - i.e.

h:commandButton action=...
  |s:defaultAction /
  | /h:commandButton

You can of course do what you are after using javascript.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4082329#4082329

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4082329
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: JSF or Seam Question? - Now, hopefully, to be a Seam enh

2007-09-03 Thread [EMAIL PROTECTED]
Sounds good.
I added my vote.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4080384#4080384

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4080384
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: JSF or Seam Question?

2007-09-02 Thread matt.drees
I haven't used this, but it claims to do what you're asking:

http://www.jsftutorials.net/defaultActionTag.html


View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4080325#4080325

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4080325
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: JSF or Seam Question?

2007-09-02 Thread [EMAIL PROTECTED]
That looks good.

Could be a candidate for seam JSF enhancement?

It appears like JSF goes hunting for the closest submit button it could find 
when you hit enter in a text field (including captcha .. which is the problem 
in my case).

I have users moaning the captcha doesn't work as they keep hitting enter after 
entering the text and it finds a cancel (it's hard enough to guess the letters 
anyhow without this!)

The workaround I found is to make the submit button for the page the closest 
button but this feels like a bit of a hack!


View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4080327#4080327

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4080327
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: JSF or Seam Question?

2007-09-02 Thread [EMAIL PROTECTED]
If someone creates a feature request in JIRA we can add this type of control to 
Seam UI.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4080329#4080329

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4080329
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: JSF or Seam Question?

2007-09-02 Thread fernando_jmt
I will be great to have this in Seam UI. Thanks.

JIRA issue added: http://jira.jboss.com/jira/browse/JBSEAM-1893

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4080335#4080335

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4080335
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user