a4j « Seam « JSF Q&A

Home
JSF Q&A
1.API
2.Bean
3.Component
4.Control
5.Data
6.database
7.Datatable
8.Development
9.Exception
10.Facelets
11.Form
12.Glassfish
13.HTML
14.IceFaces
15.Internationalization
16.JPA
17.JSP
18.MyFaces
19.openfaces
20.Page
21.Portlet
22.PrimeFaces
23.RichFaces
24.Seam
25.Security
26.Servlet
27.Session
28.Tag
29.Test
30.Tomcat
31.validation
32.Web Service
JSF Q&A » Seam » a4j 

1. How to access javascript value in a4j    stackoverflow.com

I need to set a Bean value with one javascript return value. Something like:

<script type="text/javascript">
  function getUserId(){
     return 4;
  }
</script>

<h:inputText name="lala" value="getUserId()"/>
Thanks

2. Seam:token tag not being respected    stackoverflow.com

When I click a command button, and then hit the browser back button to the form and click it again, it submits a second time without throwing the proper exception... Even stranger, ...

3. Basic JSF: is it possible to SET a property value in EL?    stackoverflow.com

I need to do something like this:

<a4j:support even="onclick" action="#{myBean.myProperty = null}"/>
I would like to know if this is possible and which would be the proper syntax if so.

java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.