property « IceFaces « JSF Q&A





1. JSF and links: the target property doesn't work?    stackoverflow.com

I need to render a simple link in a page that open a pdf file in a new browser window. I wrote the following tag:

  <h:commandLink target="_blank" 
    ...

2. IceFaces 1.8.2 "couldn't find container for property: bridge" on button click    stackoverflow.com

I have a two simple IceFaces buttons created this way. (I don't use xhtml but create things from Java code.)

HtmlCommandButton comp = new HtmlCommandButton();
comp.setId(id);
comp.setImmediate(immediate);
boolean clientSide = props.getBooleanValue("clientside", false);
if(clientSide) {
   ...

3. Property strings in Icefaces    coderanch.com

6. URGENT ::: Problem with validator property of Icefaces Input Text    icefaces.org

public void validateName(FacesContext context, UIComponent validate, Object value) { // string value entered in input field String nameToCheck = (String)value; try { // checking if its null and in the range and calling the validate from another file too checkSum = (nameToCheck == null || nameToCheck.trim().length() < 1 || nameToCheck.trim().length() > 255) ? false : CommonUtils.isFirstLetterAlphaNumeric(nameToCheck); System.out.println("checkSum = " + checkSum); ...

7. Error on faces-config.xml with properties    icefaces.org

JSF1001: No se pudo crear el bean administrado MyBean. Failed to execute JSP lifecycle. javax.servlet.jsp.JspException: javax.faces.FacesException: javax.faces.FacesException: javax.faces.FacesException: No se puede definir la propiedad de Bean administrado: shape. at com.icesoft.faces.component.OutputTextTag.doStartTag(OutputTextTag.java:536) at com.icesoft.faces.webapp.parser.Parser.executeJspLifecycle(Parser.java:204) at com.icesoft.faces.webapp.parser.Parser.executeJspLifecycle(Parser.java:229) at com.icesoft.faces.webapp.parser.Parser.executeJspLifecycle(Parser.java:229) at com.icesoft.faces.webapp.parser.Parser.executeJspLifecycle(Parser.java:229) at com.icesoft.faces.webapp.parser.Parser.executeJspLifecycle(Parser.java:229) at com.icesoft.faces.webapp.parser.Parser.executeJspLifecycle(Parser.java:229) at com.icesoft.faces.webapp.parser.Parser.executeJspLifecycle(Parser.java:229) at com.icesoft.faces.webapp.parser.Parser.executeJspLifecycle(Parser.java:229) at com.icesoft.faces.webapp.parser.Parser.parse(Parser.java:162) at com.icesoft.faces.application.D2DViewHandler.renderResponse(D2DViewHandler.java:464) at com.icesoft.faces.application.D2DViewHandler.renderView(D2DViewHandler.java:153) at com.sun.rave.web.ui.appbase.faces.ViewHandlerImpl.renderView(ViewHandlerImpl.java:283) at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:106) at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251) at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:144) at ...

8. Properties in jspx    icefaces.org

9. Push server properties    icefaces.org





11. Alter style property on a DIV rendered by Ice:DataTable    icefaces.org

I have a datatable and I'm in need of altering one of the DIV that is rendered by the Ice:DataTable. It does not provide any CSS on the div and I don't see how I can modify html output for it. I'm talking about a

between:
that's where Header table/div stops and

14. Rendered VS Visible Property    icefaces.org





17. how can i intercept a required property from inputText tag    icefaces.org

Hello, when a field is required through required property from inputText tag i need to do some functionality, but i don'y know how to intercept the required tag. I need help!!! Otherwise how can i access to a validator at the stage of validation when de inputText is empty? something like this:

21. Linefeed in .properties    icefaces.org

hello folks, i m looking for an answer to insert linefeeds in a .properties of a message bundle file. what i want is this output on my website: value1 value2 what i have tried: key=value1 \n\ value2 key=value1 \n\ value2 key=value1 \n value2 key=value1 \n value2 key=value1
value2 does anybody have an idea, how to build-in a linefeed?

24. Setting Bean property    icefaces.org

Hello, im new to the ICEface framework. We've used Struts before. Now im Trying to use ICEface with Spring Security. I'd like to have a page that fills the clients browser. My first try was to use the 100%(height) attribute but it doesn't work in a Static Tabset because it's a

and i cant set the
height, so i ...

25. Getting a property through a Dynamic Proxy => javax.el.PropertyNotFoundException    icefaces.org

Hello Has anyone tried to access a property through a dynamic proxy instead of a regular getter (or setter) without getting the exception above? It looks like 'proxyBean.wantedProperty' isn't resolved by means of something resembling : proxyBeanInvocationHandler.invoke(proxyBean,getWantedProperty, args) but only by looking at the actual getters and setters of that proxy The exception message I'm getting is just 'Property not found ...

26. Problem with immediate property and panelPopup    icefaces.org

In that post I see two options: 1. Binding for every component, which it works properly. 2. Use the function: private void resetFormValue(String input) { UIForm form = (UIForm) FacesContext.getCurrentInstance().getViewRoot().findComponent(input); if (form != null) { form.getChildren().clear(); } } In this case it doesn't work properly because I need to click the buttons two times. Do you know any way to solve ...

27. Change Button property    icefaces.org

28. "couldn't find container for property: bridge" again..    icefaces.org

I have a two simple IceFaces buttons created this way. (I don't use xhtml but create things from Java code.) Code: HtmlCommandButton comp = new HtmlCommandButton(); comp.setId(id); comp.setImmediate(immediate); boolean clientSide = props.getBooleanValue("clientside", false); if(clientSide) { comp.setOnclick(props.getValue("script") + ";return;"); } else { // ignore } I create two buttons this way: one with clientSide == true with a simple alert('hello'); script and ...

29. Sorting on Nested Objects Properties    icefaces.org

I am not sure how to do this, but I have Object1 and a NestedObject On my datatable I have Object1.nestedObject.field1 being displayed fine, but how do I properly resolve the bean and comparator for a list of Object1 sorted on field1 of the nested object? I tried changing the column name to nestedObject.field1 and even just in the comparator for ...

30. How to get ckicked button properties?    icefaces.org

32. PcX2 has no properties    icefaces.org

33. Property is not on type error    icefaces.org

34. Exception getting value of property    icefaces.org

37. Set bean property with JavaScript + PartialSubmit    icefaces.org

It has been a month since I last updated this topic, so I thought I'd try again ;-) Since my last post here, the problem has evolved into the following: * The above approach works with 1.5.1 and 1.6.0 * An application that is already made with 1.5.3 has to use the technique of setting a bean value with JS, but ...

41. how to use var in c:forEach as an index to a HashMap backing bean property    icefaces.org

In the following code, I can see the output from ice:outputText picking up the values from 0 to some number. But I can't use the var "index" to retrieve the element stored in the HashMap "columnHeaders". If I hard code the actual value, i.e. "... columnHeaders["0"]", I am able to get the specific element in the HashMap. I am kind getting ...

45. rowSelector -> "a has no properties"    icefaces.org

46. submit property disappears    icefaces.org

49. Problem testing property 'name' in bean of type 'null'    icefaces.org

Hi, I got this problem with an inputText inside a panelTab and a panelGrid... Yes..yes..I know that I should check for my getters and setters, and if the tpCusto, objAlterar objects aren't null That's all fine!!, I am using spring 2.0 and I inject my dependencies in the faces-config.xml, and I allready check that it is working this ...

50. Possibility of getting managed-property of bean directly in constructor    icefaces.org

Hello! My question is next: Is it possible somehow get managed-property of bean directly in constructor of bean? I mean not wait until property will be initialized by setter. For example: in faces-config.xml we have bean myBean com.foo.MyBean request someProperty someValue in MyBean.java will be next: public class MyBean { public MyBean() { ... /* Here I ...

52. Firefox "A has no properties" problem    icefaces.org

56. _2ef.contentAsDOM() has no properties    icefaces.org

fileName: "http://localhost:8080/mbl/xmlhttp/1200769260009/icefaces-d2d.js" lineNumber: 2716 message: "_2ef.contentAsDOM() has no properties" name: "TypeError" stack: ([object Object])@http://localhost:8080/mbl/xmlhttp/1200769260009/icefaces-d2d.js:2716 ((function (_2ef) {_2e7.deserializeAndExecute(_2ef.contentAsDOM().documentElement);}),1)@http://localhost:8080/mbl/xmlhttp/1200769260009/icefaces-d2d.js:690 ((function (_2ef) {_2e7.deserializeAndExecute(_2ef.contentAsDOM().documentElement);}))@http://localhost:8080/mbl/xmlhttp/1200769260009/icefaces-d2d.js:250 ((function (_49) {try {_47(_49, _48++);} catch (e) {if (e != $continue) {throw e;}}}))@http://localhost:8080/mbl/xmlhttp/1200769260009/icefaces-d2d.js:429 ((function (_e0) {_e0(_df);}))@http://localhost:8080/mbl/xmlhttp/1200769260009/icefaces-d2d.js:248 ([object Object])@http://localhost:8080/mbl/xmlhttp/1200769260009/icefaces-d2d.js:689 ([object Object])@http://localhost:8080/mbl/xmlhttp/1200769260009/icefaces-d2d.js:2522 apply([object Object],[object Array])@:0 ([object Object])@http://localhost:8080/mbl/xmlhttp/1200769260009/icefaces-d2d.js:51 ([object Object])@http://localhost:8080/mbl/xmlhttp/1200769260009/icefaces-d2d.js:1132 ((function (_181) {if (test(_181)) {_180(_181);}}),2)@http://localhost:8080/mbl/xmlhttp/1200769260009/icefaces-d2d.js:1108 apply([object Object],[object Array])@:0 ((function (_181) {if (test(_181)) {_180(_181);}}),2)@http://localhost:8080/mbl/xmlhttp/1200769260009/icefaces-d2d.js:51 ((function ...

61. Managed Property Problems!    icefaces.org

62. selectInputDate backing bean property    icefaces.org

63. Managed properties question    icefaces.org

Hello all, I'm trying to use ICEFaces and Spring together. I read in the Spring manual that all one must do to inject a manager into a backing bean is to define manager property in the backing bean and set it as managed in faces-config. Spring also requires a resolver to be set up in faces-config, which I did. I actually ...

64. import properties file in bean class    icefaces.org

65. Managed bean property with no setter method    icefaces.org

Hi, I am new to JSF and ICEFaces. Can I defined a managed bean property with only a getter method and no setter method. In my sample application, I have a managed bean that has a property "needLogin". I have defined only a getter method. The value of this property will be set by the "login" action within the bean. I ...

67. ice:inputText problem with access a property in object in backing bean    icefaces.org

Hello, I'm trying to acces a property in a object in the backing bean with ice:inputText, but i have the next error: GRAVE: Error testing property 'nombre' in bean of type null javax.faces.el.PropertyNotFoundException: Error testing property 'nombre' in bean of type null I have the next jspx: in backing bean usuarioBean: public class usuarioBean() { private UsuarioOT usuarioOT; public ...

68. Editing and Saving Properties file    icefaces.org