I am quite new to ICEfaces but already have experience with JSF/Facelets and the Java EE in general.
Currently, I am not using to much of ICEfaces except some utility tags like ... |
I have a form with 3 fields (simplyfied example).
The first one is a checkbox.
<ice:selectBooleanCheckBox value="#{backingBean.bean.visible}" ID="checkbox1" partialSubmit="true" >
The second one is a
<ice:inputText ID="text1">
The third one is also a
<ice:inputText ... |
I have a IceFaces-form and several input fields.
Let's say I have this:
<ice:selectOneMenu id="accountMenu"
value="#{accountController.account.aId}"
validator="#{accountController.validateAccount}">
<f:selectItems id="accountItems"
...
|
Can I add JSF components dynamically?
I know this should be possible in JavaScript somehow. Do anybody know how to do this in JSF? I think the major problem is how ... |
HI All,
I am desperately looking for the assistance on adding and removing the fields and rows using JSF. I am using ICE Faces for the rich UI look. The following is ... |
I have two pages having page one got datatable and a few LOV's.
When I navigate from page one to page two, could the values in LOV's and datatable pagination be preserved ... |
I am getting the following error on my Facelet page, which simply consists of an IceFaces form with two fields and two buttons:
The form component needs to have ... |
hi, i am new to icefaces. My requirement is: Having a icefaces page (Registration.iface) containing one panel group and inside that i am having 15 text fields and one submit button. if submit button is clicked it should load the same registration page with values what i have given for those 15 fields. actually can i use requestmap for fetching these ... |
|
|
|
Hi everybody, i'm a new in this forum, i'm from Chile :D and i got some troubles with the use of form component on icefaces. The thing is, i have a few jspx pages with some Backing Beans, and those pages have interactions with the Backing bean through commadLinks and/or commandButtons, for example. But suddenly, the pages is reloaded, but not ... |
|
Hi Troy, Try pre-setting your String properties to an empty String. Normally, a partial submit will only fire the validation for the triggering component, because normally, even though a partial submit still submits the entire form, the triggering component's value is the only one that has changed. The exception to this is on a first partial submit after the first page ... |
|
|
|
|
|
A general question I'd like to ask other users is how they determine if a form is dirty. I don't want to constantly show Save & Cancel buttons, so I need to determine if an object has changed before I render them. Just wondering how others do that.. I've been playing around with hashcodes, keeping a track of the hash of ... |
|
Is it possible to have seperate forms for the popups ? My scenario is I want to display a small form to the user via a popup.. so they can still see the main form in the background.. But I need all the validation etc when they click a submit button on popup to only apply to the popup. As it ... |
|
Hi all, I have created the example of the CRUD application in Netbeans as per the tutorial. I have a second form with multiple inputs to populate new rows in my database. How do I get these components to follow the table at the bottom no matter of the height of the table? I tried all the icefaces layout options with ... |
|
|
|
Hi, I have written a java class which implements Validator interface. But the validate method is only called if there is some value in the text field. But i want to check whether the text field is null or not (i can not use required=true). Is there any way to do so? |
Hello, I would need to make forms dynamically in my icefaces application. User uploads xml document and based on that i would need to make a form. Is there some way to achieve this? I tried writing facelet to temporary directory and then tried to include that facelet with ui:include but that throwed FileNotFoundException: Not Found in ExternalContext as a Resource. ... |
|
|
I have a form like this | | ....and same structure reapeting 300 times with different outputext and inputtext value ofcourse which i solved with and in the second solution table has 300 records. Is there ... | Hello Community... i know for you as experts my question looks some kind of underpriveleged but i am no programer.. just a IT project manager who tries to understand the arguments of his programming team. So the challange is, that we have a business application in development with some views containing a huge form. within the form (which is generated quite ... | For those interested, here is a little sample web application with standard J2EE form based logon/logoff. Note that this post is not intended to start a discussion about wether to use the standard facilities of the application server container or add another library to handle security. If you reached the decision to use the standard facilities of the application server container, ... | Hi fasta, Converters, validators and actions (eg commandLink) come into play in different lifecycle phases, so they should have no problem working together. In your case, setting immediate="true" on the clean button makes perfect sense, but it should work without it too. I'd suggest you check more basic stuff like: is the btnClean method called, is the methods' logic correctly clearing ... | public class KcUploadBean extends BaseBean { private KcData kcdata; public KcUploadBean() { this.kcdata = new KcData(); } public void saveDataListener(ActionEvent e) { Logger.getLogger(KcUploadBean.class).info(kcdata.toString()); } public KcData getKcdata() { return kcdata; } public void setKcdata(KcData kcdata) { this.kcdata = kcdata; } public void uploadFile(ActionEvent event) { InputFile inputFile = (InputFile) event.getSource(); FileInfo fileInfo = inputFile.getFileInfo(); if (fileInfo.getStatus() == FileInfo.SAVED) { kcdata.setFile(new InputFileData(fileInfo)); ... | | | Hi all, I posted this topic this morning but after checking for any responses, I saw the post had not been correctly submitted. If this is a duplicate I beg your pardon in advance. I am developing an app with IceFaces and am facing the following problem. If I have a page with several forms, is there any way of selectively ... | | | | hi! I have a simple Icefaces login form (name, password filelds + send button) The form has a backing bean which maintains a button press event. I would like to put something is a session (examle a simple uid variable) when somebody logged on correctly. I noticed that icefaces is using jspx extension therfore i cannon put jsp code inside it. ... | | | | Hello, 2 questions that I would like some advice/help with: 1. Is there a way to determine if the components inside the have been modified, as a whole, instead of adding a valueChangeListener to each and every component? Eg. When navigating away from a page, throw a prompt if any of the fields in a form have been modified. or ... | | | | | | | | Hello, Is there an example or documentation that would clarify how to wire two different ice:forms (or ice:xxx) to react on changes? My case is that I've two portlets with two ice:forms (A and B) in those. ice:form A has dataTable with submit button which calls bean #{bean.select}. Bean is Seam enhanced SFSB. Now i'ld like to get a notification to ... | | Caused by: javax.faces.el.EvaluationException: /top100.jspx @61,91 action="#{searcher.find}": java.lang.IllegalStateException: No session co ntext active at com.sun.facelets.el.LegacyMethodBinding.invoke(LegacyMethodBinding.java:73) at org.apache.myfaces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:63) ... 35 more Caused by: java.lang.IllegalStateException: No session context active at org.jboss.seam.ScopeType.getContext(ScopeType.java:133) at org.jboss.seam.Component.outjectDataModel(Component.java:1276) at org.jboss.seam.Component.outjectDataModels(Component.java:1264) at org.jboss.seam.Component.outject(Component.java:1215) at org.jboss.seam.interceptors.BijectionInterceptor.aroundInvoke(BijectionInterceptor.java:48) at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:69) at org.jboss.seam.interceptors.MethodContextInterceptor.aroundInvoke(MethodContextInterceptor.java:27) at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:69) at org.jboss.seam.interceptors.SynchronizationInterceptor.aroundInvoke(SynchronizationInterceptor.java:31) at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:69) at org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:103) at org.jboss.seam.intercept.JavaBeanInterceptor.interceptInvocation(JavaBeanInterceptor.java:154) at org.jboss.seam.intercept.JavaBeanInterceptor.intercept(JavaBeanInterceptor.java:89) at com.mycomp.PacketsSearcher$$EnhancerByCGLIB$$84679ea3.find() at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) ... | | I get the above error when I try to embed the form inside panelTabs instead of around panelTabSet. I've 7 panelTabs, each including a different jspx (enclosed in subviews). If I surround the panelTabSet with ice:form, then this will result in ALL input items being sent in one form. Which means, if there is a validation error in one of the ... | Hi, I am creating a form using JSF components and defined the Managed Bean class and also the faces-config.xml file well as per knowledge. To my surprise, it is not taking the action. The code for the loginForm.jspx is as follows: Login Form User Verification | | I am using ICEFaces 1.6DR4 with JBoss Seam and myfaces. I have a single template that I populate with information from a variety of backing beans. I'm trying to create a bio page for my site users that allows them to upload an image for their profile. What I'm seeing is that when I submit the form, which is an isolated ... | Hi I recently update my icefaces's lib to new version 1.6 but I get 2 warning and 1 error of javascript, I see that in Error Console of Firefox 2.0 the warning and error are: Warning: Unknown property 'filter'. Declaration dropped. Source File: http://localhost:8084/vsuite/xmlhttp/css/xp/xp.css Line: 146 .iceSelInpDateIFrameFix { z-index: -1; position: absolute; display: block; filter: mask(); ----> line 146 } Warning: ... | The release notes for 1.6 says that all ICEfaces Component Suite components must be enclosed in a JSF form component. My current application uses 1.5.3 and uses components like ice:dataTable, ice:panelGroup, ice:panelBorder which are outside the form and they are working fine. So if I upgrade than it seems my application won't work. I don't intend to do any submit's with ... | | Is it possible to create a shell form in jsp and then programmatically (using Java, not jsp tags) add components (TextBox's, ComboBoxs, etc) and allow for a form post so I can grab the values programmatically as well? This would include doing some sort of grid in code (not jsp code) that would position the labels and widgets appropriately? We currently ... | | | I am new to JSF and IceFaces and working on a small web application for managing some files. On a page i have a form for uploading a file to the server and save some additional informations about it. Now when i press Upload i want to save the file and the additional inputfields. Saving the file works fine but if ... | zzzz8 Joined: 07/12/2005 00:00:00 Messages: 246 Offline I've been trying out ICEfaces with form validation and I've found it works very well. Unfortunately, I'm wondering if I'm doing it the best way - as I've experienced while evaluating the product, I find myself doing things in alternative ways. I've tried looking at some of your demos, especially the address demo, but ... | private void clearSubmittedValues(Object obj) { if (obj == null || obj instanceof UIComponent == false) return; List chld = ((UIComponent)obj).getChildren(); if (chld.size() != 0) { for (int i = 0; i < chld.size(); i++) { clearSubmittedValues(chld.get(i)); } } if (obj instanceof HtmlInputText) { ((HtmlInputText)obj).setSubmittedValue(""); }else if (obj instanceof UIInput) { ((UIInput)obj).setSubmittedValue(null); ((UIInput)obj).setValue(null); ((UIInput)obj).setLocalValueSet(false); } } | | | | | | | | I just integrated icefaces in my application, changing from tiles to facelets. I have to use both the Sun and IceFaces(D2D) FaceletsViewHandlers in order to submit my forms. If I use Icefaces alone, then I have trouble getting the welcome file to work. I am cautious about using only IceFacelets because this is a 2-year old app with 94 jsp pages ... | We would like to enable/disable the ice:form, rather than setting enabledOnUserRole for each component of an ice:form. Looking at the source of com.icesoft.faces.component.ext.HtmlForm, there are two members, enabledOnUserRole and renderedOnUserRole. Yet, only the later on the javadoc, and enabledOnUserRole does not have any effect. Any particular reasons ? Is this deliberate ( we are using 1.7.1 ) ? | | | 81. Form icefaces.orgI am moving a php application over to Ice faces. In this application there is quite a bit of JavaScript that enabled/disabled form fields based on different things. Here is an example: function disableRankingDropDown(listselection) { if(listselection.value == "all" ){ document.emailPlayersForm.ranking.disabled = true; } else{ document.emailPlayersForm.ranking.disabled = ""; } } This isn't working in the ICE Faces application. So I viewed the ... | Hi I Have a form on my jsf page, first input is for persons idetyfication number. It has a value change listener atached to it. When user provides a number of person that is already in the database I want the rest of form fields fill automatically, I assign values to those fields inside my value change listener but I want ... | | | | | | | |
| |