[Logo] Enterprise Client Community
  [Search] Search   [Recent Topics] Recent Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
Messages posted by: kretzler  XML
Profile for kretzler -> Messages posted by kretzler [73] Go to Page: Previous  1, 2, 3, 4, 5
Author Message
Hello,

my problem is that the method with a colon as a parameter name is not getting through to the fronted.

All of the methods below getting through the frontend except the SetFieldList Method. Is there maybe a problem with a colon as a parameter name.

2008:00:00 15:23:24:986 | 12 | INFO | Executing command: SetLayoutFormat(1);SetFieldList(BIRTHDATE:Geburtsdatum,CARD_NUMBER:Ausweisnummer);SetLayout(johnDoe,);SetStrParam(CardBitmapDataFormat,
jpg) .......... org.eclnt.client.elements.impl.ACTIVEXElement>processCommand
2008:00:00 15:23:24:988 | 12 | INFO | Executing method: SetLayoutFormat .......... org.eclnt.client.elements.impl.ACTIVEXElement>executeMehod
2008:00:00 15:23:25:000 | 12 | INFO | Executing method: SetFieldList .......... org.eclnt.client.elements.impl.ACTIVEXElement>executeMehod
2008:00:00 15:23:25:000 | 12 | INFO | Executing method: SetLayout .......... org.eclnt.client.elements.impl.ACTIVEXElement>executeMehod
2008:00:00 15:23:25:000 | 12 | INFO | Executing method: SetStrParam .......... org.eclnt.client.elements.impl.ACTIVEXElement>executeMehod
Thanks a lot.

Ralph
Hello,

we have one statusbar within our mainpages but we have also popups where we need a statusbar. Do we get proplems if each popup gets his own statusbar?



Cheers,

Ralph
Hello Björn,

Thanks a lot, it works fine now.

Ralph

Hello,

I tried to use an actionListener together with a radiobutton but the actionListener isnt called. Then I used the same actionListener together with an icon and the actionListener worked fine.

Is it possible that the actionlistener attribute in the radiobutton isnt working?


Cheers,

Ralph

ohh, I understand. I abused the table, thats why I do not need a header and the outer borders but it would look a little bit nicer without the outer border.


Thanks,

Ralph
Hello Björn,

BORDERHEIGHT and BORDERWIDTH is the height and widht between the cells of the grid but I want to remove the outer border. If I set height and with to zero there is always a border left.

Ralph
Hello,

I would like to remove the table header and set border and padding to zero. The table header I removed with the attribute suppressheadline but how could I set border and padding to zero?


Thanks,

Ralph
Hello,

I create many checkboxes and put this checkboxes into an arrayList. Then I want to know which checkboxes in the arrayList are checked or not.

There is some code to explain my problem.

Code:
 private ArrayList<CHECKBOXComponentTag> checkboxes = new ArrayList<CHECKBOXComponentTag>();
 
 // create checkboxes
 for (int i = 0; i < 5; i++) {
   ...
   CHECKBOXComponentTag cct = new CHECKBOXComponentTag();
   checkboxes.add(cct);
   ...
 }
 
 // which checkboxes are checked?
 for (CHECKBOXComponentTag cct : checkboxes) {
   //there is no cct.getSelected or cct.isSelected
 }
 


Cheers,

Ralph
Code:
 java.lang.Error: Could not read org/eclnt/editor/resources/controlevents.xml
         at org.eclnt.util.file.ClassloaderReader.readUTF8File(ClassloaderReader.java:74)
         at org.eclnt.editor.ControlEvents.<clinit>(ControlEvents.java:79)
         at org.eclnt.editor.Editor$ControlNode.getEvents(Editor.java:109)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at com.sun.faces.el.PropertyResolverImpl.getValue(PropertyResolverImpl.java:79)
         at org.eclnt.jsfserver.util.LastPropertyResolver.getValue(LastPropertyResolver.java:31)
         at com.sun.faces.el.impl.ArraySuffix.evaluate(ArraySuffix.java:167)
         at com.sun.faces.el.impl.ComplexValue.evaluate(ComplexValue.java:151)
         at com.sun.faces.el.impl.ExpressionEvaluatorImpl.evaluate(ExpressionEvaluatorImpl.java:243)
         at com.sun.faces.el.ValueBindingImpl.getValue(ValueBindingImpl.java:173)
         at com.sun.faces.el.ValueBindingImpl.getValue(ValueBindingImpl.java:154)
         at javax.faces.component.UIComponentBase$AttributesMap.get(UIComponentBase.java:1375)
         at org.eclnt.jsfserver.elements.BaseComponent.encodeBegin(BaseComponent.java:130)
         at org.eclnt.jsfserver.elements.BaseComponent.encodeSubComponent(BaseComponent.java:300)
         at org.eclnt.jsfserver.elements.BaseComponent.encodeSubComponent(BaseComponent.java:309)
         at org.eclnt.jsfserver.elements.BaseComponent.encodeSubComponent(BaseComponent.java:309)
         at org.eclnt.jsfserver.elements.BaseComponent.encodeSubComponent(BaseComponent.java:309)
         at org.eclnt.jsfserver.elements.BaseComponent.encodeSubComponent(BaseComponent.java:309)
         at org.eclnt.jsfserver.elements.BaseComponent.encodeSubComponent(BaseComponent.java:309)
         at org.eclnt.jsfserver.elements.BaseComponent.encodeSubComponent(BaseComponent.java:309)
         at org.eclnt.jsfserver.elements.BaseComponent.encodeSubComponent(BaseComponent.java:309)
         at org.eclnt.jsfserver.elements.BaseComponent.encodeSubComponent(BaseComponent.java:309)
         at org.eclnt.jsfserver.elements.BaseComponent.encodeSubComponent(BaseComponent.java:309)
         at org.eclnt.jsfserver.elements.BaseComponent.encodeSubComponent(BaseComponent.java:309)
         at org.eclnt.jsfserver.elements.BaseComponent.encodeSubComponent(BaseComponent.java:309)
         at org.eclnt.jsfserver.elements.BaseComponent.encodeSubComponent(BaseComponent.java:309)
         at org.eclnt.jsfserver.elements.BaseComponent.encodeSubComponent(BaseComponent.java:309)
         at org.eclnt.jsfserver.elements.BaseComponent.encodeSubComponent(BaseComponent.java:309)
         at org.eclnt.jsfserver.elements.BaseComponent.encodeSubComponent(BaseComponent.java:309)
         at org.eclnt.jsfserver.elements.BaseComponent.encodeSubComponent(BaseComponent.java:309)
         at org.eclnt.jsfserver.elements.BaseComponent.encodeSubComponent(BaseComponent.java:309)
         at org.eclnt.jsfserver.elements.BaseComponent.encodeChildren(BaseComponent.java:290)
         at javax.faces.webapp.UIComponentTag.encodeChildren(UIComponentTag.java:607)
         at javax.faces.webapp.UIComponentTag.doEndTag(UIComponentTag.java:544)
         at org.apache.jsp.editor.tools_jsp._jspx_meth_t_005frowinclude_005f0(tools_jsp.java:202)
         at org.apache.jsp.editor.tools_jsp._jspx_meth_f_005fsubview_005f0(tools_jsp.java:170)
         at org.apache.jsp.editor.tools_jsp._jspx_meth_h_005fform_005f0(tools_jsp.java:143)
         at org.apache.jsp.editor.tools_jsp._jspx_meth_f_005fview_005f0(tools_jsp.java:111)
         at org.apache.jsp.editor.tools_jsp._jspService(tools_jsp.java:77)
         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:393)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
         at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:654)
         at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:445)
         at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:379)
         at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:292)
         at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:322)
         at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:130)
         at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:87)
         at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:200)
         at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:117)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:198)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
         at org.eclnt.jsfserver.util.ThreadingFilter.doFilter(ThreadingFilter.java:101)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
         at org.eclnt.jsfserver.util.CompressionFilter.doFilter(CompressionFilter.java:33)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:263)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:584)
         at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
         at java.lang.Thread.run(Unknown Source)
 
Hello,

there isnt' a new beta in the download section. Maybe you forgot to upload?


Cheers,

Ralph
Hello,

I would like to build my own widget, for that I want to extend a RowComponentTag to include Labels, Fields, ...

But I get some errors (see below)


Another question is, what is the best way to build your own widgets.

The first possibility is to extend from a ROWComponentTag, FieldComponentTag, ... and then put Labels, Fields, ... inside. Then use the componentbinding attribute to add the widget to a component.

The second possibility could be to design a jsp page with the enterprise client. Then use the rowinclude component to add the jsp page. For the jsp page you could write a managed bean.

Code:
 public class VpsRow extends ROWComponentTag {
     public VpsRow() {
         super();
     }
 }
 
 public void addRow (ActionEvent event) {
     VpsRow row = new VpsRow();
 }
 


Code:
 2007-12-14 13:42:52,971 ERROR [http-8080-2] lifecycle.ApplyRequestValuesPhase (ApplyRequestValuesPhase.java:84) - java.lang.StringIndexOutOfBoundsException: String index out of range: -6
 javax.faces.el.EvaluationException: java.lang.StringIndexOutOfBoundsException: String index out of range: -6
 	at com.sun.faces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:130)
 	at org.eclnt.jsfserver.elements.BaseActionComponent.broadcast(BaseActionComponent.java:68)
 	at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:249)
 	at javax.faces.component.UIViewRoot.processDecodes(UIViewRoot.java:307)
 	at com.sun.faces.lifecycle.ApplyRequestValuesPhase.execute(ApplyRequestValuesPhase.java:79)
 	at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:200)
 	at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:90)
 	at javax.faces.webapp.FacesServlet.service(FacesServlet.java:197)
 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
 	at org.eclnt.jsfserver.util.ThreadingFilter.doFilter(ThreadingFilter.java:95)
 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
 	at org.eclnt.jsfserver.util.CompressionFilter.doFilter(CompressionFilter.java:33)
 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
 	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
 	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
 	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:433)
 	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
 	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
 	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
 	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:263)
 	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
 	at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:584)
 	at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
 	at java.lang.Thread.run(Unknown Source)
 Caused by: java.lang.StringIndexOutOfBoundsException: String index out of range: -6
 	at java.lang.String.substring(Unknown Source)
 	at org.eclnt.jsfserver.elements.ComponentRepository.getTagNameForComponentTagClass(ComponentRepository.java:325)
 	at org.eclnt.jsfserver.elements.BaseComponentTag.<init>(BaseComponentTag.java:58)
 	at org.eclnt.jsfserver.elements.impl.ROWComponentTag.<init>(ROWComponentTag.java:12)
 	at de.vps.icms.ui.cardtyp.VpsRow.<init>(VpsRow.java:7)
 	at de.vps.icms.ui.cardtyp.CardMasterdataTemplate.onTemplate(CardMasterdataTemplate.java:81)
 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
 	at java.lang.reflect.Method.invoke(Unknown Source)
 	at com.sun.faces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:126)
 	... 26 more
 14.12.2007 13:42:52 org.eclnt.jsfserver.util.ThreadingFilter doFilter
 SCHWERWIEGEND: 
 javax.servlet.ServletException: java.lang.StringIndexOutOfBoundsException: String index out of range: -6
 	at javax.faces.webapp.FacesServlet.service(FacesServlet.java:209)
 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
 	at org.eclnt.jsfserver.util.ThreadingFilter.doFilter(ThreadingFilter.java:95)
 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
 	at org.eclnt.jsfserver.util.CompressionFilter.doFilter(CompressionFilter.java:33)
 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
 	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
 	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
 	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:433)
 	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
 	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
 	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
 	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:263)
 	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
 	at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:584)
 	at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
 	at java.lang.Thread.run(Unknown Source)
 Caused by: javax.faces.el.EvaluationException: java.lang.StringIndexOutOfBoundsException: String index out of range: -6
 	at com.sun.faces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:130)
 	at org.eclnt.jsfserver.elements.BaseActionComponent.broadcast(BaseActionComponent.java:68)
 	at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:249)
 	at javax.faces.component.UIViewRoot.processDecodes(UIViewRoot.java:307)
 	at com.sun.faces.lifecycle.ApplyRequestValuesPhase.execute(ApplyRequestValuesPhase.java:79)
 	at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:200)
 	at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:90)
 	at javax.faces.webapp.FacesServlet.service(FacesServlet.java:197)
 	... 19 more
 Caused by: java.lang.StringIndexOutOfBoundsException: String index out of range: -6
 	at java.lang.String.substring(Unknown Source)
 	at org.eclnt.jsfserver.elements.ComponentRepository.getTagNameForComponentTagClass(ComponentRepository.java:325)
 	at org.eclnt.jsfserver.elements.BaseComponentTag.<init>(BaseComponentTag.java:58)
 	at org.eclnt.jsfserver.elements.impl.ROWComponentTag.<init>(ROWComponentTag.java:12)
 	at de.vps.icms.ui.cardtyp.VpsRow.<init>(VpsRow.java:7)
 	at de.vps.icms.ui.cardtyp.CardMasterdataTemplate.onTemplate(CardMasterdataTemplate.java:81)
 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
 	at java.lang.reflect.Method.invoke(Unknown Source)
 	at com.sun.faces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:126)
 	... 26 more
 
At Mangaged Server Beans, when I click on the small triangle in front of an action event an error occur.

The error occures only at action events.


Cheers,

Ralph
 
Profile for kretzler -> Messages posted by kretzler [73] Go to Page: Previous  1, 2, 3, 4, 5
Go to:   
Powered by JForum 2.1.6 © JForum Team