1. closing browser from backing bean stackoverflow.comi had i situation in which i need to open a pop up on clicking a link and depending on the action performed in the pop up something like close etc ... |
2. JSF: Backing Beans with nested objects? stackoverflow.comJSF 1.1, using a backing bean with a nested objects inside I can read all properties of the nested object. For example assuming a backing bean named "foo" with a nested object ... |
3. JSF backing bean structure (best practices) stackoverflow.comI hope that in this post, I can get people's opinions on best practices for the interface between JSF pages and backing beans. One thing that I never can settle on is ... |
4. Faces Backing Bean initializing stackoverflow.comI have a backing bean, and I'd like to load up a few lists when the bean is instantiated, so that the list may be used in a dropdown. Is there a ... |
5. How get selected items in backing bean for |
6. Jsf custom managed bean instantination handler stackoverflow.comWhich JSF 1.2 component is responsible for instantiating managed bean specified in faces-config.xml? I'd like to replace this component with my custom-made version which will perform some additional tasks after bean instance ... |
7. accessing jsf bean from blazeds client stackoverflow.com
|
8. JSF in jetty-equinox, Cannot find Bean classes in other bundles! stackoverflow.comI have problems running JSF in an OSGi environment. I am using jetty web container and equinox to provide the OSGi functionality. The structure of my application is as follows: The first ... |
9. when to use Serializable backing bean in JSF? stackoverflow.comwhen to use Serializable backing bean in JSF? is there any factors to go for serialization like View Scope, Session Scope, Application Scope or is anything else which requires bean to be ... |
10. Bean value update problem in jsf 1.1 stackoverflow.comI have One Jsf form that contains 2 Beans. First Bean scope: Session. Second Bean scope: request. When some values are added via First Bean to second Bean, the updated value ... |
11. How JSF2.0 binds Managed Beans with xhtml? stackoverflow.comi have very basic question about How JSF2.0 binds Managed Beans with xhtml? say i have inputtext with value="#{MymanagedBean.property}" how this MymanagedBean reference is resolved in JSF 2 ? please consider following points ... |
12. How can I get the package path of a JSF managed bean? stackoverflow.comI'm trying to upload an external image and I need to save it in a folder where I have a managed bean. Any idea how I could do this? |
13. JSF backing bean can't access the override method of the nested calss stackoverflow.comi'm using jsf1.2 The xhtml as followings:
then the backing bean looks like:
|
14. Curious problem with JSF - web bean doesn't get invoked until the second submit click stackoverflow.comI'm having a simple form on which I want to check some basic functions - edit, delete, add. The web bean (supplier) has 4-5 attributes - id, name, surname and comment. ... |
15. JSF backing bean should be serializable? stackoverflow.comI'm getting these messages: [#|2010-07-30T11:28:32.723+0000|WARNING|glassfish3.0.1|javax.faces|_ThreadID=37;_ThreadName=Thread-1;|Setting non-serializable attribute value into ViewMap: (key: MyBackingBean, value class: foo.bar.org.jsf.MyBackingBean)|#]Do these mean that my JSF backing beans should implement Serializable? ... |
16. How to get a caller principal in my backing bean? stackoverflow.comThis is my backing bean (deployed to GlassFish):
|
17. How to read a value from a h:inputHidden in the managed bean stackoverflow.comI have a JSF page which has a |
18. How to send a List from JSF to backing Bean stackoverflow.comI am using a Datatable in JSF1.2 to populate the data received from Seam component/ using a List. The data is getting fetched when I use the list. But when, ... |
19. New value is not getting updated in the jsf backing bean when submit button is clicked stackoverflow.comI am creating a user manager page which updates and adds users in the same page. Relevant parts of the view:
|
20. Best practice for implementing MVC in JSF2 managed beans stackoverflow.comAs the complexity of the web projects that I am working on increases, the need to include a MVC structure is becoming more urgent. My model classes are well defined, ... |
21. How to set value in bean using use c:set with jsf? stackoverflow.comI have another problem to solve. I have a code on my xhtml page:
The problem is that value of 'fid' ... |
22. How to get all the selected values from h:selectManyListbox in the backend bean in case of JSF? stackoverflow.comHow to get all the selected values from h:selectManyListbox in the backend bean in case of JSF? If someone can help with an example, that would really help. |
23. Automatic Bean Creation stackoverflow.comQuestion: will using
cause a new Bean to be instantiated each time the code runs through these statements? Or will it simply refer ... |
24. JSF2: Exeptions while submiting to Bean stackoverflow.comIf I press the submit` button error messages are thrown at server log
|
25. Best practice, how to alter css file in JSF (Solved: How to access JSF 2.0 resources from Managed Bean) stackoverflow.comI know how to access resources form view, but how can I access JSF resources from Managed Bean for example to edit css file ? Or I shouldn't try to do ... |
26. Changing beans initialized before in faces-config.xml stackoverflow.com
|
27. IDEA does not resolve the el for jsf beans stackoverflow.comI have declared my beans in faces config for instance:
and I have this code in my xhtml file:
|
28. Are ApplicationBeans Methods buffered? stackoverflow.comI have a JSF 2.0 WebApp that has one application bean that runs a method for drawing a number for example. I don't want 2 requests to run at the same ... |
29. JSF Managed Beans performance stackoverflow.comI have a web page that has many forms. One for logging in, another for creating an article and another for submitting a comment. Now, each of these forms is backed ... |
30. Best way to unit test jsf 2.0 Managed Bean stackoverflow.comWhat is the most effective way of unit testing JSF 2.0 managed beans. I have seen JSFUnit from JBoss but it looks like its for testing the components in the facelets ... |
31. JSF 2 : How do you partition your JSF Beans? stackoverflow.comI've had a confusing time determining how to partition my JSF Beans. What i have in mind currently :
|
32. jsf make backing bean method synchronized stackoverflow.comi have a method in backing bean that adds a product in to db. it checks if product is duplicate. however, it's a slow process and JSF UI could fire multiple ... |
33. Separation of concerns in JSF Beans? stackoverflow.comIm currently using JSF2, and i notice the JSF bean could have a lot of responsibility, and if combined will look like lots of codes. These include :
|
34. Help understanding JSF's multiple calls to managed bean stackoverflow.comI'm using h:datatable, here's the revelant line of my code:
then I have a Request scoped managedBean with the getter for the latest Incomes:
|
35. single converter class multiple beans issue stackoverflow.comi have the next declaration in faces-config.xml:
|
36. JSF managed bean naming conventions stackoverflow.comThese days I used to work with JSF, but there's a "convention" I'm in doubt if I should use. While working with managed beans, people used to name it as |
37. JSF polling a database from an application bean at timed intervals stackoverflow.comHey all, I'm pretty new to jsf so if this is a poor question then I apologize. I'm currently working on a school project where I need to access a database ... |
38. How can I initiate `genericBean` with some managed bean as a default value at the beginning of an application? stackoverflow.comIf I had a generic bean in a JSF page. Like this:
and this bean was not a managed bean, i.e. in faces-config there were only 2 managed beans :
|
39. why NPE in this bean? stackoverflow.comI have a session bean:
I inject this into a request bean:
|
40. JSF 1.2 Managed bean inheritance not working stackoverflow.comWe are inherting a base bean for all our mangagedbeans. The basebean has some common properties defined in it. But we are not able to retrieve the value set in the Base ... |
41. Getting a path to a resource file from managed-bean in JSF stackoverflow.comI have this situation: I am trying to remove an old avatar image for a user before putting a new one from the managed bean.
|
42. JSF 2 - How can I get a message bundle string from inside a managed bean? stackoverflow.comI would like to be able to retrieve a string from a message bundle from inside a JSF 2 managed bean. This would be done in situations where the string is ... |
43. How Can use one connection in all my beans? stackoverflow.comI have created 3 classes: The first for connection(Connectionx),the second I'am using it to fill UI as checkbox,selectonemenu(BeanTools) and the third is for my "operations"(NumberOfIssue). 1)The problem that I want to connect ... |
44. How to (or should you) avoid long methods/classes in jsf stackoverflow.comI'm mostly working with legacy code in a JSF based project and there are lots of quite long classes and methods in backing beans. This is constantly bugging me but when I ... |
45. JSF : Disable drop down does not set value to backing bean stackoverflow.comI have a requirment in which I need to disable a drop down on certain event through JavaScript and then submit the form. The problem is that when the drop down ... |
46. JSF. Not call beans method stackoverflow.comGood day. This problem is not caused by the method of the bean, although beann is created, and other fields after the initialization is visible. A method for obtaining the ... |
47. Preserving bean values between views stackoverflow.comI'm looking for best practices regarding preserving bean values between views using JSF 2.
Consider the following scenario: |
48. JSF - Two instanciations of the managed-bean stackoverflow.comWhen I access to my page for the fist time, the managed bean used by the page is instanciate two times (I pass two times in the contructor, with the same ... |
49. Seperate Managed bean for a popup dialog stackoverflow.comI have three screens |
50. Accessing one managed bean from another stackoverflow.comI have a simple authorization page which intends the user to type login and password. Based on the results of user input, I define the next page to display. I have ... |
51. Distinction between different types of managed beans stackoverflow.comI recently read this article: http://blog.icefaces.org/blojsom/blog/default/2009/04/23/Making-distinctions-between-different-kinds-of-JSF-managed-beans/ and it got me thinking about the distinction between different beans in my own application. To quickly summarise the gist:
|
52. JSF Bean data reset issue stackoverflow.comOn my xhtml page, I am accessing to a variable as #{managedbean.bean.variable} to draw a chart using fusion chart. I also have filter panel on the page to redraw chart. Components ... |
53. How get managed bean name from inside the backing bean? stackoverflow.comI'm using JSF 1.1. I have the following in my
I want get the managed bean name beanInstance1 ... |
54. How to invoke a method on a managed bean when pressing backbutton or F5? stackoverflow.comHow can I invoke a method on a managed bean when pressing backbutton or F5? |
55. Browser back button doesn't clear old backing bean values stackoverflow.comWe use JSF2, we have a page with form fields with command button linked to backing bean. When we access the form page, enter the values and submit, the backing bean ... |
56. ApplicationScope bean that uses a TimerTask (sheduler), good or bad? stackoverflow.comI would like to know if it's ok to use TimerTasks inside application |
57. Are both getters and setters mandatory in JSF's managed beans? stackoverflow.comI have a JSF component which is initialized from a managed bean's getter |
58. How to reference JSF managed beans which are provided in a JAR file? stackoverflow.comI have a WAR file with the following structure:
The JSF managed bean |
59. Insert new line in a backing bean string value stackoverflow.comHow to insert a new line between words for a backing bean value and display it on UI using JSF 2.0 framework? If we have address. The street name should be ... |
60. browser back + viewscope beans stackoverflow.comWhat the problem is : What happens when clicking on the browser back button --> opens up a page whose viewscoped-managedbean is already destroyed --> submit a request from a commandButton from ... |
61. How many views should a backing bean belong to? stackoverflow.comI just read through this question: JSF backing bean structure (best practices) and I am trying to understand when I should make a new backing bean in my application. If ... |
62. set itemDisabled from backing bean method for each item in list stackoverflow.comI have a radiobutton list and would like to disable some items according to the outcome of a backing bean method.
|
63. t:saveState to save state of Managed Bean with RequestScope - State for Pagination System stackoverflow.comI am trying to work with tomahawk-saveState, but it is simply not working. I inserted the following code to my xhtml file (JSF2.0):
Using a managed bean like this one:
|
64. jsf |
65. not changing backing Bean coderanch.com |
66. Managed-bean vs. Reference-bean coderanch.comThe "referenced-bean" element represents at design time the promise that a Java object of the specified type will exist at runtime in some scope, under the specified key. This can be used by design time tools to construct user interface dialogs based on the properties of the specified class. The presence or absence of a referenced bean element has no impact ... |
67. Value bean or backing bean? coderanch.com |
68. Initialize Data Table using Managed Bean coderanch.comHi, I have a simple class like customer that has these properties: - name, id, address, date of birth I would like to define some |
69. Calling a backing bean method from onClick? coderanch.comI have some HtmlGraphicImages (h:graphicImage) on a page and I'd like to give the user the ability to click on the images and have another web page brought up that shows a larger version of the image they clicked on. How can this be done? I know how to do it using a button (since it has an action event that ... |
70. Bean from Bean coderanch.com |
71. Bean Access coderanch.com |
72. The Managed Bean in the faces-config.xml File coderanch.com |
73. JSF uses reflection for backing bean members? coderanch.com |
74. gettting managed bean names coderanch.com |
75. JSF bean access in Java code coderanch.com |
76. a href to call a backing bean impl? coderanch.comI have a tag where I write out the response from a segment of code. writer.write(foo.getView()) where the getView() method returns "" I would like to have the on click invoke a backing bean method. In other words, I would like the foo.getView() method to return back a |
77. Bean generated zip file to browser coderanch.com |
78. Accessing a managed bean from within another managed bean coderanch.comHi, I'm just starting out using JSF and I'm a bit confused. I'm writing a web app that has very complex user roles and everything you do within the app needs to be determined by your user role. As a result all of my commandButtons and commandLinks point to methods of my managed user bean which determines whether the user can ... |
79. How many backing bean? coderanch.com |
80. how to get the param value to backing bean method??? coderanch.com |
81. Managed Bean Life cycle coderanch.com |
82. recover application direcory from bean coderanch.com |
83. invoke a bean's method in JSF data table coderanch.com |
84. managed -and backing beans question. coderanch.comhi, here some uncertainties from my side: backing beans are related (->as model) to the components in a jsf-page (like swing beans). Does it mean, that per control and site(e.g. |
85. Calling a backing bean method with no user input coderanch.com |
86. Are managed-beans shared? coderanch.com |
87. Create HtmlSelectOneRadio through backing bean coderanch.com |
88. Backing bean vs Managed bean coderanch.comWell, if you want to get really pedantic, a "Managed Bean" is a bean constructed/initialized via injection in the faces-config.xml file. A "Backing Bean" is a bean referenced by JSF pages and is defined in the faces-config.xml file. Few people will probably care about the difference. Usually if it's one, it's also the other. |
89. Applet communicating with Managed Bean coderanch.comThere are two possibilities. 1. Use HTTP tunneling. This will require some sort of servlet to handle the actual communications with the bean, as neither http nor the servlet spec provide for direct access to Java session objects. A heavier variant of HTTP tunnelling is to implement a Web Service. 2. Use an RMI interface. Either raw RMI or an EJB. ... |
90. kommunication between beans coderanch.comThe soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - ... |
91. How to create managed beans at startup coderanch.comI have some application-scoped managed beans that I'm defining in my faces config file. So far, so good, that's all standard. But I'd like them to be instanciated at application start-up, rather than later when they happen to be first referenced. Is there a standard way to trigger their creation at application start-up? |
92. A Bit of Backing Bean Lifetime Confusion coderanch.comOk, say I have a backing bean and the scope is request. The form associated with said bean gets submitted. I know that a new instance of said bean is being created. So is it safe to assume or a true statement to say that the properties of said bean are persisted across the request but the bean object is not? ... |
93. Horizontal line break code in Backing bean Java code coderanch.com |
94. sun java creator studio IDE compatability with Net Beans IDE coderanch.com |
95. Trouble in calling a bean twice coderanch.com |
96. Backing Bean query coderanch.comI am having a screen in which all values being dislayed are stored in java backing bean. i have to code particular functionality under which whenever a person cliks OK button at end of screen a call needs to be made to server to compare current values on screen with stored value in backing beans. If values are different an alert ... |
97. Not creating managed bean coderanch.com |
98. Failing to do lookup in Backing Bean coderanch.com |
99. Accessing a managed bean directly coderanch.comHi there, I'm new to Java web engineering, so please be patient. ) In my web application, there is a servlet that's transforming XML by XML to HTML. From the resulting web pages, I would like to update a shopping cart -- I was thinking of using AJAX to call a remote servlet or JSF page (without reloading the current user ... |
100. How can I get a reference to my beans from PhaseListener coderanch.com |