Kendo - form, message box - forms

I am evaluating different JavaScript frameworks.
Does Kendo UI includes 'helpers' that simplify creating forms and message windows?
Thanks, alon

Kendo web is a suite of component that operate in the client. Speak about form has no sense, because the kendo components works with json ajax request with the server services. The suite can works over WEB pure html component, also integrate with MVC 4. Exist a community edition that you can download from Telerik(r) web site if you want to test it.
The suite has a Window widget. You can construct from it your message box, but does not have message box individual component. Exists a third party extension with many of these boxes. (Kendo UI Extension).
I hope that this help you

Related

Defining standard event handlers in SAP UI5 when not using MVC

We are using SAP UI5 in SAP MII and if we use MVC it is not getting displayed in Portal, as portal in IE 9 makes rendering mode to Quirks whereas UI5 on MVC requires Standard mode in IE 9 to display the web page. We have also found that if we don't use MVC then UI5 web pages from portal are being displayed in Quirks mode itself. But the only problem we are facing on how to define the event handlers of UI5 standard events such as onAfterRendering. As there is no controller, the framework is not able to recognize the event handler when we define it in the usual way.
Any pointer on how to define standard event handler for UI5 in JS file shall be highly appreciated.
Thanks,
Dipankar
Not sure why not using MVC and in particular a controller would enable the controls to work in quirks mode. I wouldn't expect the controls to render correctly etc, and not using the MVC pattern doesn't sound like a maintainable workaround.
There are a few blogs and SAP notes related to the quirks mode on the SCN, I've enclosed a few below.
SAPUI5 on Portal
Does SAPUI5 actually work in the SAP Portal?
Regards,
Jason
Instead of trying to run UI5 in Quirks Mode, why not run Web Dynpro applications in Standart Mode by implementing OSS Note 1911889 ? Then, you can put your UI5 and Web Dynpro content in Unified Framework Page on EP.

LightBox Plugin that Supports Forms

I am developing a Spring MVC application and i am looking for a Lightbox plugin that supports forms, meaning i can call my form in it and it will be displayed just like a picture does. Has anyone ever done this before please advise.
I would also like to know if there is any specific call to the light box when using an MVC design pattern or will a simple call to the forms url will work.

Use of Orbeon Forms into Liferay

I wanted to know how Orbeon Forms work in Liferay because the Web Forms portlet is very limited, so I visited Orbeon's website and read its documentation. Then I downloaded it and ran in a Tomcat server, I built a form with the Form Builder and then tried it with the Form Runner.
My question is, how can I export one of the forms I created with the Form Builder to include it in Liferay as a portlet for example? Is that possible? Can I export a form into a WAR for example and then deploy it into Liferay?
I know you can deploy Orbeon Forms into liferay but I only want to include a specific form, not all the application with the Form Builder, the examples etc.
Could anyone help me?
First, a clarification: if what you mean is that you just want "the form", in the sense of just the XHTML, that can't work because any form built with Orbeon Forms needs a runtime to function. If the form is created with Form Builder, that means the Form Runner runtime. Either way you will need an Orbeon Forms portlet or servlet.
The forms you create, when published, are stored into a database. By default this is the built-in eXist XML database, but you can use Oracle, MySQL, or your custom persistence layer.
In order to see forms in Liferay, you have two possibilities:
The Form Runner Liferay proxy portlet
The full Orbeon Forms portlet
I recommend you peruse these two pages for details.
How it works depends on which type of portlet you use.
If using the proxy portlet, then the portlet is very lightweight and just forwards requests to a separate webapp running the Form Runner runtime. You configure the portlet to point to a specific form.
If using the full portlet, then Form Runner runs directly as a portlet. Here the portlet will load a landing page, and you probably will want to modify that landing page to point to the forms you want your users to see.
In both cases, your published form will be found as long as Form Runner points to the right database.
In your case it seems like the proxy portlet might be your best option. Note that lots of bug fixes have taken place with the proxy portlet since 3.9, so I would recommend a nightly build. For reference here is the source of the proxy portlet.

Google web toolkits - multiple pages

On the google website there an example of a simple GWT appliatoin, following is a link:
http://code.google.com/webtoolkit/doc/1.6/tutorial/create.html
The above application has a host page:StockWatcher.html
and StockWatcher.java is the entry point.
If I wanted to add more html pages to this application, we keep one single host page and the entry point will add different panels depending on which link the user clicked on? In this case, how to know which link the user clicked on? If I create a navigation panel and each link has a request parameter, then after the user clicks on the link, How to get the request parameter?
Are there any tutorials available online on how to create a fully functional application? The one example google provides is too simple.
Thanks so much in advance
You have two options to have multiple page web application using gwt.
1) Use gwt history feature and listen for the history change. In this approach at the initial page load itself browser downloads all the javascripts(Including the widgets which are not useful in current link). Still this can be avoided by using gwt code splitting.
2) Create multiple modules. In this case you have to create multiple html pages and GWT entry points. For each major functionality create a gwt module and link that with [modulename].html file. In this approach browser downloads only particular feature's javascript. Not all the javascripts.
Based on your application requirement you can pick one of the option. IMHO I would suggesst second option.

GWT and templating engine

I want to design a website using GWT. This is my understanding of how GWT pages will be delivered to the client browser - When the user puts in the URL into her browser she receives all the static HTML + GWT javascript, and then the javascript queries the server for the dynamic page content and adds it to the DOM. eg - For a blog page the content of the blog is queried by the javascript. is my understanding correct?
If I know that the content will surely be a part of the page(add does not depend on user clicking an expand button etc.), Will it be more efficient if the blog content was a part of the HTML initially served? Something that could be done by using a templating engine like django.
Is there a way to make a templating mechanism in GWT?
Yes, putting your content into the HTML will reduce the number of round trips the client makes to your server. It also means that the blog content won't have to wait for your GWT javascript to load before it can be displayed.
GWT itself isn't useful for a template system, but most servers that run GWT servlets will also support JSP pages. GWT works fine with these pages, you just need to put the GWT script tag in as usual. You will no doubt be able to find a ready-made templating solution but rolling your own is not too hard.