42lines / wicket-fullcalendar Goto Github PK
View Code? Open in Web Editor NEWIntegration of FullCalendar javascript lib with Wicket
License: Other
Integration of FullCalendar javascript lib with Wicket
License: Other
Hi there,
If you try to reload the web page this results in an endless loop (the HomePage flickers and will be reloaded endless).
I like this component but I've no clue how to fix this.
I've a quickstart for the Wicket guys, but you can try your code, it should be reproducible.
I don't know wether it's a bug here or in Wicket.
Regards
Kai
The renderCount of the PageProvider (line 302) doesn't match the renderCount of the pageInstance:
private IRequestablePage getStoredPage(final int pageId)
{
IRequestablePage storedPageInstance = getPageSource().getPageInstance(pageId);
if (storedPageInstance != null &&
(pageClass == null || pageClass.equals(storedPageInstance.getClass())))
{
pageInstance = storedPageInstance;
pageInstanceIsFresh = false;
if (pageInstance != null)
{
if (renderCount != null && pageInstance.getRenderCount() != renderCount)
{
throw new StalePageException(pageInstance);
}
}
}
return storedPageInstance;
}
org.apache.wicket.request.mapper.StalePageException
at org.apache.wicket.request.handler.PageProvider.getStoredPage(PageProvider.java:302)
at org.apache.wicket.request.handler.PageProvider.resolvePageInstance(PageProvider.java:257)
at org.apache.wicket.request.handler.PageProvider.getPageInstance(PageProvider.java:165)
at org.apache.wicket.request.handler.ListenerInterfaceRequestHandler.getPage(ListenerInterfaceRequestHandler.java:100)
at org.apache.wicket.request.handler.ListenerInterfaceRequestHandler.respond(ListenerInterfaceRequestHandler.java:165)
at org.apache.wicket.request.cycle.RequestCycle$HandlerExecutor.respond(RequestCycle.java:781)
at org.apache.wicket.request.RequestHandlerStack.execute(RequestHandlerStack.java:64)
at org.apache.wicket.request.cycle.RequestCycle.execute(RequestCycle.java:255)
at org.apache.wicket.request.cycle.RequestCycle.processRequest(RequestCycle.java:212)
at org.apache.wicket.request.cycle.RequestCycle.processRequestAndDetach(RequestCycle.java:283)
at org.apache.wicket.protocol.http.WicketFilter.processRequest(WicketFilter.java:185)
at org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:241)
Hi
I've just started to use your full-calendar component. It sounds great! I just can't resize nor drop the events. Is not it implemented yet or it is my fault?
Actually "onEventDropped" and "onEventResized" events are never fired, but there is no problem with firing "onDateRangeSelected" and "onEventClicked".
Sincerely
/Goli
Hi there,
I have tried the wicket full calendar example using 1.3-SNAPSHOT for wicket 1.5.
I tried encoding ULRs using CryptoMapper as suggested on wiki's Request mapping page (https://cwiki.apache.org/WICKET/request-mapping.html) and I'm afraid that full calendar functionality no longer works.
Steps I took:
On WicketApplication class for wicket-fullcalendar-examples project, I added the following:
@OverRide
public void init()
{
super.init();
IRequestMapper cryptoMapper = new CryptoMapper(getRootRequestMapper(), this);
setRootRequestMapper( cryptoMapper );
}
With the above implementation of the CryptoMapper, wicket full calendar example no longer works.
If I remove it, then it works as expected.
Is this a bug with wicket-fullcalendar or am I just implementing url encryption the wrong way?
I do apologise if the error is on my side and I hope I am not wasting your time.
Thanks in advance,
Lucas
Hello Igor,
After some time of inactivity, wicket will throw an "InvalidBehaviorIdException" if I try to do any other ajax call, probably because of the session expiring.
Is this related to https://issues.apache.org/jira/browse/WICKET-4116 ? How can I fix this?
Thanks. Very nice project!
Hello i have an isue with fullcalendar, the problem is after i resize an event fullcalendar dont let me resize again unless i refresh the page. Im loosing the class fc-resize after i update an envent (drop/resize)
Hi!
I'm trying to do some client-side stuff when the user clicks on an event. Basically I want to do a javascript confirm to stop the server callback if the user chosses no.
I'm trying to do it using Config.setSelect method but my value is always overrided by the dateRangeSelected callback.
If I force the browser to reload page then it falls into loop and starts reloading page continously. The problem can be reproduced with latest snapshot under IE 9.0.8 , Chrome 19.0.1084.52 m and FF 11.0.
Hi,
I'm using wicket-fullcalendar from Maven (version 1.2.1, compatible with wicket 1.4.17).
By the way, thanks for making it easy with Wicket.
I'm facing an issue, checkboxes generated when added a new EvenSourceSelector to a FullCalendar are not created, in my project.
I git clone your repo and checkout release/1.2.1, and there is the same issue in your example, same for origin/wicket-1.5.x
It turns out that this issue is fixed only in wicket-calendar origin/wicket-6
Is it a know issue?
Thanks for your time.
Regards,
cAhmad
Hi.
I have a problem with "eventResize" and "eventResizeStop" callbacks. It fires "viewRender" instead and resizing Drag and Drop breaks.
On the other hand "eventDrop" works perfect.
Hi,
I try to add a new Event into the Calendar in these following steps:
How can I make the Calendar to be refreshed after closing the modalWindow??
/Goli
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.