[Logo] OLD FORUM - Use new one: https://www.CaptainCasa.online/forum
  [Search] Search   [Recent Topics] Recent Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
Fixgrid: new attributes  XML
Forum Index -> Development
Author Message
gargula

Power User

Joined: 18/01/2008 13:01:44
Messages: 34
Offline

Hi Björn, hi community

we need in the fixgrid two new features...
First:
If the grid has many rows, it is usefull to have two colors... one for the odd columns and a second for the even columns... Can you add this attributes on the fixgrid?

Seccond:
We have some grids, they are "static". In this grids the user shouldn't change the gridcols... Can you add an boolean-attribute f.e. changeColumns that we can prevent the gridchange on the GUI???

Thanks
Christian
CaptainCasa

Power User
[Avatar]

Joined: 21/11/2007 12:23:06
Messages: 5555
Offline

...yes, both features are useful: we will implement them quite short term.
Björn

Björn Müller, CaptainCasa GmbH
CaptainCasa

Power User
[Avatar]

Joined: 21/11/2007 12:23:06
Messages: 5555
Offline

...both features are available with this week's version 20080811...
Björn

Björn Müller, CaptainCasa GmbH
schmuck

Power User
[Avatar]

Joined: 08/04/2008 16:27:16
Messages: 83
Offline

Currently downloaded Version:

After setting the attibute "drawoddevenrows" to true, I run in an server side error. No Errorlog was sent to the client, but this stacktrace in the tomcat log:

Hint: I created the JSP file (and the fixgrid) before installing the new version.


Michael Schmuck



Code:
SCHWERWIEGEND: Servlet.service() for servlet jsp threw exception
 org.apache.jasper.JasperException: /gcc/schaden/liste_ZZZZZ_1219215680175.jsp(64,0) Attribute drawoddevenrows invalid for tag fixgrid according to TLD
 	at org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:40)
 	at org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:407)
 	at org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:236)
 	at org.apache.jasper.compiler.Validator$ValidateVisitor.checkXmlAttributes(Validator.java:1198)
 	at org.apache.jasper.compiler.Validator$ValidateVisitor.visit(Validator.java:819)
 	at org.apache.jasper.compiler.Node$CustomTag.accept(Node.java:1507)
 	at org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2338)
 	at org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2388)
 	at org.apache.jasper.compiler.Validator$ValidateVisitor.visit(Validator.java:838)
 	at org.apache.jasper.compiler.Node$CustomTag.accept(Node.java:1507)
 	at org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2338)
 	at org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2388)
 	at org.apache.jasper.compiler.Validator$ValidateVisitor.visit(Validator.java:838)
 	at org.apache.jasper.compiler.Node$CustomTag.accept(Node.java:1507)
 	at org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2338)
 	at org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2388)
 	at org.apache.jasper.compiler.Validator$ValidateVisitor.visit(Validator.java:838)
 	at org.apache.jasper.compiler.Node$CustomTag.accept(Node.java:1507)
 	at org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2338)
 	at org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2388)
 	at org.apache.jasper.compiler.Validator$ValidateVisitor.visit(Validator.java:838)
 	at org.apache.jasper.compiler.Node$CustomTag.accept(Node.java:1507)
 	at org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2338)
 	at org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2388)
 	at org.apache.jasper.compiler.Validator$ValidateVisitor.visit(Validator.java:838)
 	at org.apache.jasper.compiler.Node$CustomTag.accept(Node.java:1507)
 	at org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2338)
 	at org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2388)
 	at org.apache.jasper.compiler.Node$Visitor.visit(Node.java:2394)
 	at org.apache.jasper.compiler.Node$Root.accept(Node.java:489)
 	at org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2338)
 	at org.apache.jasper.compiler.Validator.validate(Validator.java:1737)
 	at org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:178)
 	at org.apache.jasper.compiler.Compiler.compile(Compiler.java:306)
 	at org.apache.jasper.compiler.Compiler.compile(Compiler.java:286)
 	at org.apache.jasper.compiler.Compiler.compile(Compiler.java:273)
 	at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:566)
 	at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:317)
 	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:111)
 	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)
 
[ICQ]
CaptainCasa

Power User
[Avatar]

Joined: 21/11/2007 12:23:06
Messages: 5555
Offline

...could you double check if you did upgrade your application? Please check <webapp>/eclntjsfserver/version.xml. Thanks...

Björn

Björn Müller, CaptainCasa GmbH
schmuck

Power User
[Avatar]

Joined: 08/04/2008 16:27:16
Messages: 83
Offline

Code:
<version name="2_1_20080818_1"/>


I installed the download setup and while opening my project with the new version I clicked on the red update button.


Michael Schmuck
[ICQ]
CaptainCasa

Power User
[Avatar]

Joined: 21/11/2007 12:23:06
Messages: 5555
Offline

OK. We'll check...
Björn

Björn Müller, CaptainCasa GmbH
CaptainCasa

Power User
[Avatar]

Joined: 21/11/2007 12:23:06
Messages: 5555
Offline

Hi,

I just doublechecked: the version 20080818 is correct, the eclnt.tld tag library contains the "drawoddevenrows" attribute. From my thinking it must have to do with "your" installation.

Could you please do the following: stop Tomcat, get into your deployed webapp (e.g. server/tomcat/webapps/<yourwebapp>) and remove the eclntjsfserver.jar file. Now start Tomcat, open a layout in the editor and presse "Reload server".

If this does not help: please check the eclntjsfserver.jar within your eclipse project (<project>/webcontent/WEB-INF/lib). Is this one the same as the one used in the webappaddons directory?

Björn

Björn Müller, CaptainCasa GmbH
schmuck

Power User
[Avatar]

Joined: 08/04/2008 16:27:16
Messages: 83
Offline

Okay, after deleting the jarfile & refresh, it works well.

Thanks!
[ICQ]
 
Forum Index -> Development
Go to:   
Powered by JForum 2.1.6 © JForum Team