3
votes
1answer
14 views

JSF Form Rendering

I was reading the JSF implementation <h:form> rendering. To my surprise, I see that (in Mojarra, MyFaces + Tomahawk), they add a hidden input field on an encodeBegin() method. Here is the ...
0
votes
1answer
26 views

Dynamic dataTable form deletes its array when ajax is used

I have a dynamic dataTable that adds and removes objects. This works fine when I don't use ajax. However, when I use ajax, a problem occurs. Adding values initially is fine. However, when I start ...
0
votes
1answer
23 views

Nesting of EL expressions when creating own tag

I'm using JSF 2.0 and creating my own tag. The result I'd like to have is a label which I can use like this: <mytaglib:label attr="test" /> which would render an <h:outputLabel /> like ...
-1
votes
3answers
42 views

How to get field values by alias, not by name in JSF?

I've met with one problem: when I make SQL request to a database with aliases to field names I cannot display them with h:dataTable (I use JSF). Here the example. The request: SELECT ...
0
votes
3answers
38 views

Best practice to save the uploaded images

What is the best practice to save the uploaded images? Supposed that I have a form, each form has an ID. User can upload multiple images on a form. What I want to do is something like: WebContent ...
0
votes
2answers
33 views

How to run a thread in the backgound of a jsf website?

I am trying to do the following: I have a website and there are jsf pages im my website. In some of the pages i have a DataTable that is filled with some values from the database. I want to update ...
0
votes
1answer
44 views

Injected CDI Bean return null values

My JSF Page: <h:form> <p> <h:outputLabel for="phone">Phone: <h:message class="alert" for="phone"/> <h:message class="alert" for="phoneLogin"/> ...
0
votes
1answer
18 views

How to use the results of ResultSet in an ADF iterator?

I have a ResultSet being returned by a SQL statement. I wish to display the results using an ADF iterator. However, the <af:iterator> accepts only CollectionModel. I used the ResultSetDataModel ...
0
votes
1answer
45 views

JSF/Primefaces inline cell editing on xhtml doesnt work

was able to have inline edit of each cell under memebername and employee id and not able have a edit on amount field(Note those headers are dynamic was succefully able to show data and column values), ...
0
votes
2answers
23 views

Cannot paste from Office 2007 into p:editor

You cannot paste from Office 2007 into the primefaces editor control. When you paste in and press Save, the content is cleared out and nothing is persisted. In fact when you paste in, and then ...
0
votes
2answers
20 views

af:Calendar component, filter by column type

its been a while that I started using ADF Calendar component and I think it is really good. But the main problem that I faced till now is the lack of information about customization. There are too few ...
0
votes
0answers
42 views

JSF view stops on validation failure

I have a view with three command buttons processing a JSF form which is created dynamically in a back bean (reviewReportBean.dynamicPanelGrid): ... <h:form id="imageEditor"> <p:growl ...
0
votes
1answer
18 views

GlassFish Quandary

I am trying to install GlassFish (on a Mac) as directed by a book on Core JSF. When I go to http://localhost:8080 I see the page as displayed in the book, with no problems. However, when I copy ...
0
votes
0answers
18 views

JSF ImplementationVersion :: 2.2.0 throws java.lang.NoSuchMethodException: com.sun.faces.context.FacesContextImpl.externalContext()

I am using a custome Elsreolver written Java . in its getvalue method I a got public Object getValue(ELContext arg0, Object base, Object prop) { Method method = ...
0
votes
0answers
29 views

Why does action appear in JSF Form tag when I did not specify it

I'm trying to integrate JSF with Spring security. Below is the code I have written. <h:form id="loginForm" prependId="false" class="navbar-form pull-right"> <h:outputLabel ...

1 2 3 4 5 350
15 30 50 per page