backing-beans Questions

5

Solved

Is there any way of providing a file download from a JSF backing bean action method? I have tried a lot of things. Main problem is that I cannot figure how to get the OutputStream of the response i...
Smackdab asked 22/2, 2012 at 9:7

4

I am new to JSF and want to have a button, which when clicked, will call a method of the backing bean. Is this possible or I have to use AJAX or something? I tried things like <button onc...
Simonette asked 2/1, 2014 at 7:2

11

Solved

I came across the terms "managed bean" and "backing bean" in several forums. Many people think both are the same. But, there seems to be a slight difference. Can any one help me to understand the e...
Hirohito asked 17/1, 2011 at 13:9

1

There is an error each time a button calls an action from the backing-bean. Only applies to beans with a view scope and I haven't found a way to fix it without regression over other modules in the ...
Chair asked 17/7, 2015 at 22:58

2

I have a Facelet that might be used in different applications. I don't to copy it, but reuse it. I need to pass the backing bean that will manage the view as a parameter, as some logic may vary ac...
Saddler asked 30/5, 2013 at 17:55

2

Solved

I have a form with a variable number of input elements, like this: <ui:repeat var="_lang" value="#{myBean.languages}"> <h:inputTextarea value="${_lang.title}" id="theTitle" /> <h:...
Chinquapin asked 2/10, 2013 at 7:4

2

Solved

I'm new to JSF and I have been trying to store data from a form that uses a h:selectOneMenu to get the category of a product. The h:selectOneMenu is being populated from the DB, however, when...
Mayfield asked 1/11, 2012 at 17:43

1

Solved

Does it make sense to use Entities as JSF Backing Beans? @Entity @ManagedBean @ViewScoped public class User { private String firstname; private String lastname; @EJB private UserService ser...
Kaceykachina asked 24/4, 2012 at 15:44

1

Solved

I recently read this article from Neil Griffin Making Distinctions Between Different Kinds of JSF Managed-Beans and it got me thinking about the distinction between different beans in my own applic...
Kaolinite asked 28/8, 2011 at 18:37

3

Solved

I'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 look for what can be done...
Krasnodar asked 20/6, 2011 at 14:11
1

© 2022 - 2024 — McMap. All rights reserved.