|
|
|
mport javax.faces.event.ValueChangeEvent; import azk.dataexchange.PortletSessionUtil; import com.icesoft.faces.async.render.OnDemandRenderer; import com.icesoft.faces.async.render.RenderManager; import com.icesoft.faces.async.render.Renderable; import com.icesoft.faces.context.DisposableBean; import com.icesoft.faces.webapp.xmlhttp.PersistentFacesState; import com.icesoft.faces.webapp.xmlhttp.RenderingException; public class CompanySelectedModel implements DisposableBean,Renderable { private static final String COMPANY_RENDER_GROUP = "COMPANY_RENDER_GROUP"; private PersistentFacesState _persistentFacesState; private RenderManager _renderManager; public CompanySelectedModel() { _persistentFacesState=PersistentFacesState.getInstance(); } public RenderManager getRenderManager() { return _renderManager; } public void setRenderManager(RenderManager manager) { _renderManager = manager; OnDemandRenderer onDemandRenderer = getRenderManager().getOnDemandRenderer(COMPANY_RENDER_GROUP); onDemandRenderer.add(this); } ... |
well...when i do it this way, i get an exception... Code: HTTP ERROR: 500 javax.faces.FacesException: org.xml.sax.SAXParseException: The value of attribute "value" associated with an element type "ice:outputText" must not contain the '<' character. RequestURI=/Konfigurator/konfiguratorIndex.jspx Caused by: java.lang.Exception: javax.faces.FacesException: org.xml.sax.SAXParseException: The value of attribute "value" associated with an element type "ice:outputText" must not contain the '<' character. at com.icesoft.faces.context.View.servePage(View.java:142) at com.icesoft.faces.webapp.http.core.SingleViewServer.service(SingleViewServer.java:52) at ... |
|
|
|
|
|
|
|
|
I'm not an expert here but I know some of the answers. 1) Untagged text is fine for most uses -- I notice many of the examples using it. However if you use the outputText tags you have access to the XML attributes those tags offer, such as id= and rendered= 2) The ice: form adds a few attributes that the ... |
|
Hello, I am new to ICEFaces, and need help. The outputText component is not allowing me to change the text color using styleclasses. I am in the process of converting woodstock component based pages to ICEFaces, but am unable to get the outputText components to accept the colors defined in styleclasses in our custom stylesheet. These classes contain nothing but the ... |
|
|
|
thanks wouedmouss, it works. a further question for you is that if i've got quite many inputs, it could be quite much work to set every value in the bean class. and if an input should be added or dropped, the bean class must be changed accordingly. is there any easier way to let all these inputs know that they should ... |
Hi everybody, I recognized a very strange behaviour of the outputText component. When I use this JSF code i always get an diplicate error or ... 17:27:08,590 ERROR [Parser] Failed to execute JSP lifecycle. java.lang.IllegalStateException: Duplicate component ID : ... |
|
When trying to display currency symbol in outputText component using the following entity: & pound ; & yen ; & euro ; the symbols (, , ) does not show up, but rather the actual value (e.g. & pound ;) shows up. What is the solution to display the actual symbols using outputText component? |
|
|
StringBuffer contents = new StringBuffer(); BufferedReader input = null; try { input = new BufferedReader( new FileReader("c:\\temp\\OutPut.txt") ); String line = null; // contents.append(" "); while (( line = input.readLine()) != null){ contents.append(line); contents.append(" "); contents.append(System.getProperty("line.separator")); } // contents.append(""); } catch (FileNotFoundException ex) { ex.printStackTrace(); } catch (IOException ex){ ex.printStackTrace(); } finally { try { if (input!= null) { //flush and close both ... |
|
|
|
|
|
|
|