jsf-1.1

JSF 1.1 - How to get the ID attribute of h:selectBooleanCheckbox in backing bean

烈酒焚心 提交于 2020-01-06 05:23:17
问题 So, here is the jsf component: <h:selectBooleanCheckbox id="cb#{index}" value="backingBean.value" /> And here is a part of the backing bean java: /** * getValue is a method which checks if a checkbox is selected or not, using the checkbox ID */ public boolean getValue() { //TODO: get the checkbox id String checkboxID = ?? if (getCheckedIDs().contains(checkboxID)) { return true; } return false; } When the page is loading the checkboxes, I want to check this way if the checkbox is selected or

Why usage of any a4j element in jsf add to page code second body and head tags?

爱⌒轻易说出口 提交于 2019-12-30 10:45:34
问题 In my jsf page code I have a structure similiar to this one : <frameset id="navframeset"> <frame name="navframe" src='<c:url value="TopNavigation.jsf"/>'/> <frameset> <frame name="leftframe" src='<c:url value="Test1.jsf"/>'/> <frame name="tabbedframe" src='<c:url value="Test2.jsf"/>' /> </frameset> In Test2.jsf i included following richfaces libraries : <%@ taglib uri="http://richfaces.org/a4j" prefix="a4j"%> <%@ taglib uri="http://richfaces.org/rich" prefix="rich"%> When I try to use any of

How to get component value from ActionEvent object?

拈花ヽ惹草 提交于 2019-12-24 14:26:19
问题 i am using ajax4jsf with jsf 1.1 and i have code like: <h:selectOneMenu id="INPUT_PO_DocCategory" binding="#{PrinceOfficeBean.PO_DocCategory}" style="width:200px;"> <f:selectItem itemLabel="test" itemValue="123"/> <f:selectItem itemLabel="test2" itemValue="456"/> <a4j:support event="onchange" actionListener="#{PrinceOfficeBean.processDocumentCategoryValueChange}" reRender="INPUT_PO_DocType" /> </h:selectOneMenu> this code is static and i can get selectOne value through PO_DocCategory binded

Where are the sources for jsf-impl.jar 1.1 and jsf-api.jar 1.1 located?

家住魔仙堡 提交于 2019-12-08 07:56:50
问题 Does anyone know where I can get the source code for jsf-impl.jar 1.1 and jsf-api.jar 1.1? I am facing a tricky issue. I am getting an exception in code, and I would really like to see the source. Grae 回答1: 1.1 (and 1.1_01) source is nowhere available on Internet as it was initially not open source, 1.1_02 source however is available on Internet. That said, are you well aware that 1.1 is so full of bugs and that a 1.1 app is fully forward compatible with 1.2, so you'd better just upgrade to

Where are the sources for jsf-impl.jar 1.1 and jsf-api.jar 1.1 located?

无人久伴 提交于 2019-12-07 00:56:28
Does anyone know where I can get the source code for jsf-impl.jar 1.1 and jsf-api.jar 1.1? I am facing a tricky issue. I am getting an exception in code, and I would really like to see the source. Grae 1.1 (and 1.1_01) source is nowhere available on Internet as it was initially not open source, 1.1_02 source however is available on Internet . That said, are you well aware that 1.1 is so full of bugs and that a 1.1 app is fully forward compatible with 1.2, so you'd better just upgrade to latest 1.2 which is 1.2_15. Only if you were relying on specific 1.1 bug(s) being the correct behavior, then