KendoUI scheduler getting data from database based on dates - kendo-ui

I am trying to get the KendoUI scheduler to retrieve only the data for the selected view (day, week, month) from the database.
Has anyone been able to do this ? Or can anyone point me in the right direction ?
Have been running in circles for a day....

There is code library project which does that (uses ASP.NET MVC as a backend): http://www.kendoui.com/code-library/mvc/mvc/scheduler/server-filtering.aspx

Related

Issue in OAF during page load

Actually I want to load the page again because for the first time when I am loading the page one of my VO is not getting initialized (fetchedrowcount is coming as 0),but when we go to home and then navigate to that page again then the rowcount is coming as 1. Can you please help me how can I achieve this on first time page load itself. Please do reply,I am stucked badly. Thanks
It sounds like an ordering issue - VO is likely being queried after the page is rendered.
Have you tried querying the VO explicitly in the PageRequest() method? The Oracle Application Framework Developer's Guide is a good resource if you don't know how to do that.

Oracle APEX 4.2 How to store string and access from any page?

I'm a complete noob and have only been learning this since last night.
I have an APEX application with a few forms and reports that I have managed to get working correctly if I provide the exact SQL statement in the source box. What I want to do is be able to set a variable that I can access from any page.
I want to be able to return its value to use in my SQL source clause in my forms when the pages load and I also want to be able to assign its value maybe via a process, branch or button (i'm still learning what they are propperly) on any page.
I've been at this for hours now and the tiny amount of help I can find on this is completely beyond me and its driving me mad, so if anyone can help me figure out how to do this it would be hugely appreciated.
You can create one application item (Shared Components -> Application Items) and then set it from your PL/SQL code using APEX_UTIL package (apex_util.set_session_state('TESTE', 'Hello').

Process huge no of records

I have developed a web application using spring mvc framework. My concern is I need to display huge no of records say around 100,000.
What would be the best approach to display those many no of records in UI.
Please use a front end framework like AngularJS get the data in JSON format and access the JSON data through your Angular code and use pagination. I have worked on a similar app and a fronted framework solved the problem.

How to build a simple form in CQ5

I have started a new AEM project in eclipse that has
core
launcher
tests
ui.apps
ui.content
I have a local instance of 5.6.1 running and I would like to create a very simple form (firstname, lastname) and have it persist data such that I can view data for all forms submitted. Also, I would like for the form to be approve/rejected (e.g. user1 submits the form, user2 accepts/rejects it).
I'm new to AEM and have been looking at docs and trying to find a tutorial for it for a while now but haven't been successful.
Question
Can someone please walk me through how to accomplish this simple form? Once I can do this I can build-up more functionality on my own.
What I've tried
I tried to create a form in the Geometrixx Media site but I don't see form template there.
I also tried following this tutorial but it didn't help since its for 6.0 and is confusing to the point that I don't follow it at all.
You need some basic understanding of how cq/aem works in order to accomplish the task you started. But in the simplest use case, you need the following things:
You can create new cq page component and define in the jsp the html markup of the form you need
Or you can build a page/component using the /libs/foundation/components/form components. Start reading the best from the page developing forms.
The form action can point to the component itself where you can store the data (if you create a page with a component who is responsible for rendering the form) and in this case you can let sling post processor to handle the data storage or you can define your own action with a servlet where you can create a node on your desired location.
The second part of you question is about approving/rejecting submitted data. I guess, that you are talking about workflows. Every time the form is submitted you have to create a new node (or let sling to create it) and than start a workflow for moderating the content. You use here as example the implementation of the social comments and the moderation workflow.

Dynamically update the UI when selecting a date

I'm trying to learn some basic knowledge of jsp, suppose that I have a project, in this project, after signing in, I have a Main.jsp with a calendar or a dropdown list in it, when selecting a date, I'll change the UI based on the data from database.
I can put all relevant data into request after signing in, and use JSTL in Main.jsp, but if the data is huge, this doesn't sound like a good idea, right?
Back to the old age when there's no JSTL or AJAX, how does jsp developer deal with this? And what is the best practice nowadays?
Thanks.
If you are talking to render about without JSTL or AJAX, the only option i see is to submit/send the form to server and get it back with updated view, but yes it will cost a lot in terms of performance.
I think for your use case:
1) you can get the data from server via AJAX on every update,
2) or, if the data is not customer dependent and is fixed in terms of UI, you can load it lazily in background, and change the view immediately on the user action.

Resources