Code Monkey home page Code Monkey logo

zkbooks's People

zkbooks's Issues

zkspringws with spring webflow 2.2.1 and zk 5.0.7.1 does not perfectly work

What steps will reproduce the problem?
1. Running zkspringwf in firefow
2. application is running well, except while clicking on 2 buttons
3. See post: 
http://www.zkoss.org/forum/listComment/16638-zkspringwf-zkspring-issues-Running-
Issues-and-Eclipse-Issues

What is the expected output? What do you see instead?
Expected Output: no errors.
Instead, I see error messages in a popup window

What version of the product are you using? On what operating system?
On June, 21st, trunk source code.

Please provide any additional information below.
it was a little bit painfull, but I successfully downloaded and ran the source 
code of zkspringwf (from the trunk) in my eclipse environment.
I have 1) Running Issues and 2) Eclipse issues.

My job:
I Checked out the source code from the trunk repository with svn
I created a new maven webapp project in Eclipse.
After few changes, I was able to compile and launch the project within Tomcat 
server (from Eclipse).
(XML errors pending).

1) Running Issues:
Tomcat internal server is running without errors.
I can use the application with Firefox.
But I have 2 issues during the main flow:

a) Change search does not work

Let search string with blank value
Click on Find Hotels button
Then click on change Search
a popup window appearing with the following message:
org.springframework.webflow.execution.FlowExecutionException: Exception thrown 
in state 'changeSearchCriteria' of flow 'main'

The console view displays these lines (it looks like a file is missing in the 
zkspring library).

>>org.zkoss.zk.ui.UiException: Page not found: 
~./zul/zkspring/webflow/popupTemplate.zul
>> at 
org.zkoss.zk.ui.http.ExecutionImpl.getPageDefinition(ExecutionImpl.java:372)
>> at 
org.zkoss.zk.ui.impl.AbstractExecution.createComponents(AbstractExecution.java:2
38)
>> at org.zkoss.spring.web.servlet.view.ZkView.renderPopup(ZkView.java:156)
>> at 
org.zkoss.spring.web.servlet.view.ZkView.renderMergedOutputModel(ZkView.java:86)
>> at 
org.springframework.web.servlet.view.AbstractView.render(AbstractView.java:250)
>> at 
org.springframework.webflow.mvc.servlet.ServletMvcView.doRender(ServletMvcView.j
ava:50)
>> at 
org.springframework.webflow.mvc.view.AbstractMvcView.render(AbstractMvcView.java
:180)

after some search with google, I found two classes using this file:
ZkView and ViewState but I can't locate the expected file.

b) More results button does not work

Let search string with blank value
Click on Find Hotels button
then, click on More results

a popup window appears with the following message:
Unknown exception: java.lang.NullPointerException.

SEVERE: Failed to invoke class 
org.zkoss.spring.security.ui.ZkExceptionTranslationListener
java.lang.RuntimeException: java.lang.NullPointerException
at 
org.zkoss.spring.security.ui.ZkExceptionTranslationListener$1.doFilter(ZkExcepti
onTranslationListener.java:148)
at 
org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(Exce
ptionTranslationFilter.java:97)
at 
org.zkoss.spring.security.ui.ZkExceptionTranslationListener.doExceptionTranslati
onFiltering(ZkExceptionTranslationListener.java:135)
at 
org.zkoss.spring.security.ui.ZkExceptionTranslationListener.cleanup(ZkExceptionT
ranslationListener.java:117)
at 
org.zkoss.zk.ui.util.Configuration.newEventThreadCleanups(Configuration.java:509
)

For this one, I don't know what happened. Any idea?

2) Eclipse Errors (But the war can be compiled an executed within Tomcat) with 
XML files.
I am using Spring STS / Maven (I think version is not important).

a)
cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can 
be found for element 'zksp:flow-builder-services'.

b)
cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can 
be found for element 'zksp:flow-controller'.



Original issue reported on code.google.com by [email protected] on 21 Jun 2011 at 11:45

drag fill for zkss 2.5 or zk 6.5.2 causing no method found error.

What steps will reproduce the problem?
1. type some string value in any cell and try to drag fill to other columns
2. this particular drag fill causing no method found error.

3. this feature was working fine in zk 5. for integers and floats the drag fill 
or auto fill working fine.

stack trace details: 
00000074 zkoss         E org.zkoss.zk.ui.impl.UiEngineImpl handleError:1352 
>>java.lang.NoSuchMethodError: 
java/text/DateFormatSymbols.getInstance(Ljava/util/Locale;)Ljava/text/DateFormat
Symbols;
>>      at 
org.zkoss.zss.model.impl.ShortWeekData.getInstance(ShortWeekData.java:41)
>>      at 
org.zkoss.zss.model.impl.BookHelper.getShortWeekIndex(BookHelper.java:3221)
>>      at org.zkoss.zss.model.impl.BookHelper.isShortWeek(BookHelper.java:3233)
>>      at 
org.zkoss.zss.model.impl.BookHelper.getWeekMonthSubType(BookHelper.java:3259)
>>      at org.zkoss.zss.model.impl.BookHelper.access$000(BookHelper.java:144)
>>      at 
org.zkoss.zss.model.impl.BookHelper$StepChunk.<init>(BookHelper.java:3329)
>>      at 
org.zkoss.zss.model.impl.BookHelper.getRowStepChunk(BookHelper.java:3804)
>>      at org.zkoss.zss.model.impl.BookHelper.fillDown(BookHelper.java:3899)
>>      at org.zkoss.zss.model.impl.BookHelper.fill(BookHelper.java:3211)
>>      at org.zkoss.zss.model.impl.RangeImpl.fillRef(RangeImpl.java:1356)
>>      at org.zkoss.zss.model.impl.RangeImpl.autoFill(RangeImpl.java:1317)
>>      at org.zkoss.zss.ui.impl.Utils.fillRows(Utils.java:1256)
>>      at org.zkoss.zss.ui.impl.Utils.fillCells(Utils.java:1280)
>>      at 
org.zkoss.zss.ui.au.in.SelectionChangeCommand.process(SelectionChangeCommand.jav
a:97)
>>      at org.zkoss.zss.ui.Spreadsheet.service(Spreadsheet.java:4645)
>>      at org.zkoss.zk.ui.impl.DesktopImpl.service(DesktopImpl.java:698)
>>      at org.zkoss.zk.ui.impl.UiEngineImpl.execUpdate(UiEngineImpl.java:1194)
>>      at 
org.zkoss.zk.au.http.DHtmlUpdateServlet.process(DHtmlUpdateServlet.java:583)
>>      at 
org.zkoss.zk.au.http.DHtmlUpdateServlet.doGet(DHtmlUpdateServlet.java:481)
>>      at 
org.zkoss.zk.au.http.DHtmlUpdateServlet.doPost(DHtmlUpdateServlet.java:489)
>>      at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
>>      at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
>>      at 
com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1068)
>>      at 
com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1009)
>>      at 
com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java
:145)
>>      at 
org.acegisecurity.util.FilterChainProxy.doFilter(FilterChainProxy.java:131)
>>      at 
org.acegisecurity.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:98)
>>      at 
com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrap
per.java:190)
>>      at 
com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java
:130)
>>      at 
com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.jav
a:87)
>>      at 
com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.
java:771)
>>      at 
com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.
java:679)
>>      at 
com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java
:539)
>>      at 
com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.ja
va:478)
>>      at 
com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWr
apper.java:90)
>>      at 
com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:744)
>>      at 
com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1455)
>>      at 
com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:115)
>>      at 
com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpIn
boundLink.java:454)
>>      at 
com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpIn
boundLink.java:383)
>>      at 
com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCal
lback.java:102)
>>      at 
com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCom
pletionListener.java:165)
>>      at 
com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217
)
>>      at 
com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.jav
a:161)
>>      at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:136)
>>      at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:195)
>>      at 
com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:743)
>>      at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:873)
>>      at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1473)



What is the expected output? What do you see instead?
if i write my name in cell and do a drag fill .. it should copy my name to 
other rows as well

What version of the product are you using? On what operating system?
using zkss 2.5 on linux os

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 12 Aug 2013 at 2:16

How to get Dynamically columns?

What steps will reproduce the problem?
1.
2.
3.

What is the expected output? What do you see instead?
Dynamically columns from database.

What version of the product are you using? On what operating system?
Window Xp

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 28 May 2011 at 1:04

Attachments:

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.