icefaces-1.8

JSF 1.2 Life Cycle understanding: Executing the ValueChangeListener method in InvokeApplication phase

倾然丶 夕夏残阳落幕 提交于 2020-01-14 06:26:22
问题 I am using a <h:selectBooleanCheckbox> in the facet header of a DataTable. All the rows content for that <h:column> DataTable are <h:selectBooleanCheckbox> . The rows are getting selected perfectly the way I wanted. Below is the code I used: <h:form> <h:dataTable value="#{employeeService.employeeList }" var="empl" binding="#{employeeService.dataTablebinding }"> ...... ...... ...... <h:column> <f:facet name="header"> <h:selectBooleanCheckbox id="chkBoxAll" value="#{employeeService.checkedHdr }

why do i get the protected page instead of the login page?

女生的网名这么多〃 提交于 2019-12-23 05:51:46
问题 I'm using JAAS to secure my web-application. As the title says, the problem is that i get the home page which is in the protected folder instead of the login page. Actually the home page is my welcome page. By the way, it works fine when i write the URL (/myappJaas/protected/admin/homeadmin.xhtml) in the web browser. This is the web.xml file: <welcome-file-list> <welcome-file>/protected/admin/homeadmin.xhtml</welcome-file> </welcome-file-list> <security-constraint> <web-resource-collection>

why do i get the protected page instead of the login page?

拟墨画扇 提交于 2019-12-23 05:51:18
问题 I'm using JAAS to secure my web-application. As the title says, the problem is that i get the home page which is in the protected folder instead of the login page. Actually the home page is my welcome page. By the way, it works fine when i write the URL (/myappJaas/protected/admin/homeadmin.xhtml) in the web browser. This is the web.xml file: <welcome-file-list> <welcome-file>/protected/admin/homeadmin.xhtml</welcome-file> </welcome-file-list> <security-constraint> <web-resource-collection>

Autocomplete list not aligned properly under selectInputText

戏子无情 提交于 2019-12-11 08:18:35
问题 I have a selectInputText in my jsf <ice:panelPopup page which gets invoked upon clicking a button. Issue I am facing is selectInputText has autocomplete list and the list is getting displayed in the right bottom corner of my jsf page. How can I make the autocomplete list displayed just below the selectInputText. Below is the screenshot of my selectInputText You can see my list getting appeared in the right bottom corner, I have greyed out the list values though. Regards Code in my jspx <h

ui:repeat doesn't work with f:selectItem

戏子无情 提交于 2019-12-01 03:49:57
问题 i am using icefaces select on menu to select a user from list of users and i want to repeat the selectItem for each user here's what i tried: <ice:selectOneMenu id="users"> <ui:repeat value="#{user.getUserList()}" var="user"> <f:selectItem itemLabel="#{user.name}" itemValue="#{user.id}"/> </ui:repeat> </ice:selectOneMenu> UserBean: @Component("user") @Scope("view") Public class UserBean{ Public List<User> getUserList() throws Exception { return userService.getAllUsers(); } } NOTE: UserBean