Welcome to Jonic Developer Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

Recent questions tagged jsf

0 votes
1.5k views
1 answer
    I think I have run into a bug in Mojarra 2.1.0. Maybe I missed something but damned if I can see it. I rely a lot of @ViewScoped beans to save ... Is this a mojarra bug or am I doing something wrong here? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.4k views
1 answer
    To read a properties file in JSF2.0 with Glassfishv3 webserver, which is located at root directory of my web application, I am using below code- ... , at development stage and in war file also? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.6k views
1 answer
    Take a simple CDI (it could also be a JSF managed bean) bean as follows. import java.io.Serializable; import javax.inject.Named; import javax.faces.view. ... a parameter named cid is appended to the URL? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.7k views
1 answer
    I am trying to make a input form for answers in my application and I start with four "empty" answers which the view loops over and make input fields for. I have an ... 0; i < 4; i++) { addAnswer(); } } See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.7k views
1 answer
    I'm creating a dynamically generated menu. In the database, I have stored the directory (String) of each submenu and stored in an ArrayList in the ... another String. How can I achieve the requirement? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.6k views
1 answer
    I'm struggling to implement a fairly trivial functionality with JSF which involves dynamically displaying the content of a nested map on a page and editing ... the problem in a wrong way. Thanks! See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.4k views
1 answer
    My faces-config.xml likes below. <?xml version="1.0" encoding="UTF-8"?> <faces-config xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http:// ... java:227) How is this caused and how can I solve it? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.6k views
1 answer
    How do you create a validator in JSF that validates the input text if it is greater than zero? <h:inputText id="percentage" value="#{lab.percentage} ... zero is okay but not negative number. Any thoughts? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.5k views
1 answer
    I want the following form to use AJAX. So the comments are shown after clicking the command button and without reloading the page. What needs to be changed, using ... </h:column> </h:dataTable> </h:form> See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
3.1k views
1 answer
    I have a page contains a form and other form nested in a dialog. I need to pass parameter to dialog when button clicked in the main form <h:form ... .findById(formId); } } where am i wrong thanks See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.6k views
1 answer
    i have populate some values using c:forEach tag. I want to get those values in my javascript. If I click GetCtag value button, then i want to read from (c ... > </body> </html> Help me. Thanks in advance. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.6k views
1 answer
    i have an issue with nested UI components which is probably a known bug in PrimeFaces and Mojara. However I have no idea how can i solve it. We have a ... terrible... should I just use CSS to fix it? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.4k views
1 answer
    Is there a way to do pass an input value as a action's parameter without using managed properties? i.e. <h:form> <h:inputText id="input" /> <h:commandButton action="#{someBean.doSome(input)}" /> </h:form> See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.3k views
1 answer
    In my application in some places we are using @ManagedBean annoation for Person bean and for the same Person bean we defining in the faces-confing.xml like ... I do this for every Bean in my application? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.8k views
1 answer
    <p:commandButton value="Get Name List" update="nameinfo"/> <p:dataTable id="nameinfo" var="nam" value="#{namefinder.dofind}"></p:dataTable> "namefinder" ... " method is call 7 times. why doing like this? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.5k views
1 answer
    I have a small library (JAR) containing some custom JSF-components. Some of them are composite-components which are completely (or partly) implemented in ... my-company.com/my-components in the example). See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
2.0k views
1 answer
    I am using JSF 2.2 with PrimeFaces 4.0. I have a <p:dataTable> with live scrolling, lazy loading, row-expansion and cell-editing, etc. <p:dataTable id ... . How is this caused and how can I solve it? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
2.7k views
1 answer
    I am using <p:graphicImage> like below: <div id="mapp"> <h3>Country Map</h3> <p:graphicImage id="city" value="#{countryPages_Setup.countryMap}" width ... I can invoke the managed bean action that I want. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.4k views
1 answer
    I need to modify a user session object (SessionScoped bean - CDI) in a Servlet, so I have to obtain that bean somehow. I used injection in ... deal with it) when there are multiple UserSession objects? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
2.2k views
1 answer
    So I'm learning Spring and I'm using JSF with PrimeFaces. My question: I would like to know how (if possible) to authenticate and authorize user credentials ... And redirect to the right page. } } Thanks! See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.6k views
1 answer
    i have an application where i have a cascading dropdown, a simple dropdown and a submit commandButton. i wish to show report in datatable by selecting various ... -scope> </managed-bean> </faces-config> See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.5k views
1 answer
    Usually the PrimeFaces tag for messages shows the global as well as the field specific messages. What I want to do is to just show the global messages ( ... -box setting or does it have to be implemented? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.5k views
1 answer
    I need to implement the following: multiple file upload in ajax style (without refreshing whole page) description field per file it must be done with JSF ... description field in PrimeFaces and JSF 2.0? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
2.0k views
1 answer
    i have the following problem: I'm new to JSF2 and primefaces. I have a table in a page that will be populated with information, after the user ... if the processing in my bean is successful? Thanks. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.5k views
1 answer
    In layman speak, what does it mean when somebody says an object is a threadlocal singleton in Java? I was at a lecture about Java Server Faces, ... always reminded us that it is a threadlocal singleton. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
2.0k views
1 answer
    I try to recuperate data from association ManyToMany but i can't, this is my code. Entity Produit : @Entity public class Produit implements ... on type org.hibernate.collection.internal.PersistentSet See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.6k views
1 answer
    In JSF backed bean I got an IllegalStateException when the programmatically added action listener of a programmatically added Primefaces menu item is ... webapp.FacesServlet.service(FacesServlet.java:308) See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.9k views
1 answer
    I'm running Primefaces 3.2 and JSF 2.0 on Glassfish 3. I've tried a lot, to programatically set the selected node from a managed bean. That includes ... } Does anyone have any idea on how to do this? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
Ask a question:
Welcome to Jonic Developer Community for programmer and developer-Open, Learning and Share

548k questions

547k answers

4 comments

55.4k users

...