jsf-2
JSF multiple @ViewScoped and @ManagedBeans on same page results in null injection
I have two classes as follows: @ManagedBean( name = \"randomBar\") @ViewScoped public class Soap { private List<Cat> cats;[详细]
2023-04-09 03:22 分类:问答Using Session Scope in Spring Beans
I\'m using JSF 2 for the view and Spring for the business logic. I\'m trying to set a session scope to one of my spring beans using annotations(@Scope(\"session\")), but I\'m getting this exception:[详细]
2023-04-09 02:37 分类:问答Change dynamic part of an snippet that is included via JSF-2.0 templateing
I have a problem with the JSF-2.0 templating mechanism. I implement some snippet that are included to template file. But one of my snippet contains dynamic content.[详细]
2023-04-09 02:05 分类:问答f:param not passed in ajax request
I\'m having trouble with the following code: <h:inputHidden value=\"autoCompleteHidden\" id=\"administradorAutocompleteType\">[详细]
2023-04-09 01:36 分类:问答Making a Composite Component in JSF2
I have a problem with my composite component in JSF2. I implement a list using ui and li. But if I use my component nothing happens. My list-tag is not replaced in code generated by facelet. So whats[详细]
2023-04-09 00:32 分类:问答use validateRequired through composite component
I\'m trying to forward \"f:validateRequired\" validator through a composite component without using required attribute.[详细]
2023-04-09 00:22 分类:问答JSTL xmlns namespace differences between JSF 1.2 and JSF 2.x?
I have a JSF 1.2 based webapp from which I copied the JSTL import xmlns:c=\"http://java.sun.com/jstl/core\"[详细]
2023-04-08 23:44 分类:问答Is there any difference between f:ajax and a4j:ajax?
Is there any significant difference between f:ajax and a4j:ajax tags? I know about a4j:ajax from Richfaces 4 is based on native f:ajax J开发者_如何学PythonSF2 tag adding some attributes not found in[详细]
2023-04-08 22:25 分类:问答Passing parameters to a4j:ajax method
I am trying to use <a4j:ajax> to feed a method with a value just entered on the form; <h:selectOneMenu id=\"aa\" value=\"#{colorClass.color}\">[详细]
2023-04-08 21:28 分类:问答How to use PrimeFaces Captcha?
I went thr开发者_开发技巧ough the user guide and the showcase but couldn\'t find a way to get the Captcha evaluation result in the backing bean. I can see the result on the top message bar on the UI b[详细]
2023-04-08 19:56 分类:问答