The deploy process of a Web application is the final step of the application development. In a structured company, the Web application must pass different tests before going to production.
Usually companies have several different environments where the Web application must be deployed and tested.
...
This lesson gives you the basic knowledge required to define reusable portions of IFML models using the module and module definition concepts.
Working on real-world Web applications may require modeling a large project. In this situation it’s important to be able to manage the project to avoid loss...
This lesson gives you the basic knowledge required to define common content in an IFML Model through the "Master Page" concept.
Working on real-world Web applications may require modeling a large project. In this situation it’s important to be able to manage the project to avoid loss of control and...
In Apache Tomcat, the Manager element represents the session manager that will be used to create and maintain HTTP sessions as requested by the associated Web Application.
Read this article to know how to disable the Persistent Session Management in any Tomcat installation.
WebRatio support all the databases that are supported by Hibernate. Nevertheless, the list of the database types that you have at disposal when creating a new database connection does not contain the full list, but it proposes the most used. Therefore WebRatio gives you the chance to integrate a new...
The Java Naming and Directory Interface (JNDI) is an API for directory service that allows clients to discover and lookup data and objects via a name. Like all Java APIs that interface with host systems, JNDI is independent of the underlying implementation. Additionally, it specifies a service provi...
A search engine uses a set of well known rules to decide the visibility of a website. One of these rules is to have simple URLs containing the keywords the page should be indexed with. WebRatio 6 introduces a new feature named URL Fragments. This feature allows to increase the search engine ranking ...
WebRatio Platform gives you the chance to add a Captcha control to the forms of your Web Project.
Read this article to know more about the Captcha control.
The Connect Operation is an operation used to enable the association between instances of two entities (the source entity and the target entity), connected by a specific relationship role.
This article guides you to the usage of the Connect showing also a working example.
The Disconnect Operation is an operation used to delete the association between instances of two entities (the source entity and the target entity), connected by a predefined relationship role.
This article guides you to the usage of the Disconnect showing also a working example.
The Reconnect is an Operation Component used to modify the association between instances of two entities (the Source Entity and the Target Entity), connected by a predefined Relationship Role.
The Reconnect can manage single instances or sets of instances in order to connect or disconnect one in...
The Query Component is available starting from the WebRatio 5.1 version. It's a Utility Component that permits to execute a custom edited query using the HQL(Hibernate Query Language) or SQL query language. Moreover it can dynamically compose an HQL query depending on the incoming Domain Model ident...
The Stored Procedure is an Operation that allows calling a procedure stored in a database.
To use this Component correctly, the procedure must be previously created in your database.
Discover how to use the Stored Procedure reading this article.
The Parameter Collector Operation permits one to collect a set of parameters from multiple sources and to redistribute them to multiple targets. In this way, the operation reduces the model complexity by deleting some data flows, improving its reading and creating a neater model.
The Jump Operation permits to jump forward and backward within the application without modeling an explicit navigation flow. A forward jump redirects the user to the specified Parameter Collector Operation. A backward jump redirects the user to the last visited Jump Operation and follows that operat...
The Math is an Utility Component designed to parse and evaluate mathematical expressions. A mathematical expression is composed by variables and operators and can be either statically defined at modeling time or dynamically provided through an input parameter at run-time. The Math replaces the varia...
Implementing a custom component sometimes means querying the database in the component service class. This article wants to give you an introduction on how to retrieve the hibernate session in the component service and how to use Hibernate efficiently to query the database.
Sometimes may happens that a user has to access to a content and depending on some parameters or actions that content has to change. By the alternative pages,it's possible to decide which content has to be shown depending on one or more conditions defined at run time.
Alternative element is usefu...
WebRatio introduced the chance to use Visibility Conditions in a Web Project. This feature allows you to disable or show elements in the generated Web application if the conditions specified for those elements are verified.
It is now possible to integrate the horizontal profiling of the Web appli...
A job is a sequence of operations that has to be executed asynchronously by the application. It's possible to schedule a job at a specific time or interval, which means that jobs can be automatically triggered (scheduled when the application starts). It's also possible to schedule a job at runtime: ...
In a Web application you may need to specify a piece of business logic that is executed periodically.
In this case, the execution is not triggered directly by a user interaction on the Web application, but is triggered automatically at a specific timestamp. WebRatio Platform lets you model this ...
Reloading an entire page can be expensive in terms of computational costs: it means recomputing all the components contained on a page and the queries included in them. This operation can take some time and have a significant impact on performance. For this reason, a partial refresh of the page can ...
Popups are a commonly used rich interaction. By using a popup you can open a new layer above the current main page. If the popup is set as “Modal”, it also prevents any interaction with the rest of the web application. When the popup window is closed, the underlying main page becomes active again, a...
Rich forms are forms in which the user interaction triggers an event and the execution of a specific business logic. The aim is facilitate the form compilation and improve the user’s experience in the web Application. Many events can be managed to enrich the user’s interaction with a form, and some ...
Autocompletion allows you to specify an information source to be used as a suggestion for the fill-in of a text field. In this way, the user can type only the initial letters of the word or of the value to be inserted in the field. The Web application shows different options from which the user can ...
The Periodical Page Refresh is a feature that allows you to add a trigger to a navigation flow with the selective refresh enabled. In this way, it’s possible to automate clicking on a link to update some information in real time. This feature is very useful when you need to execute a business logic ...
The Excel Style is a predefined style available in WebRatio Platform. This style allows to export the content of a modeled page in an Excel spreadsheet file. The generation process creates a JSP page containing XML code that is processed by a custom tag that invokes the Apache POI engine to render t...
The Domain Model Utility Component is available starting from the WebRatio 5.1 version.
It's a hybrid unit, which means that it can be placed in every View (Site View, Module Definitions View, Service View).
It permits to retrieve information about entities and relationship of the Domain Model....
Tomcat Application Server is able to manage by default all the ISO-8859-1 characters to encode URIs.
If your Application uses characters that does not belong to this character set, you have to configure the Application Server or your Application in order to correctly manage them.
If not config...
Let's suppose that you want to deploy your project directly on the remote host that will contain the Web Application. You have to configure the Deploy Configuration that allows you to obtain the final Web Application package in order to be able also to upload the package on the remote host. This art...
The "java.lang.ClassFormatError: Invalid method Code length" error, is an error that you can get generating the layout of your Web Project, it means that you used a template in the Web Project that is too large to be compiled.
Read this article to discover more about how to handle and prevent this ...
The UnsupportedClassVersionError can occurr in a Web Project that uses custom components, such as custom validation rules, servlets or listeners.
All these components are developed using a different project (e.g. a Java project) in which you have to compile the Java classes and create a jar file...
The purpose of this article is to provide the basics to operate with styles in WebRatio. A Style Project contains the layout templates needed to generate the graphical elements of your Web Application; the project includes also the resources used in the templates.
An important aspect of a Web Application is the visual identity it has.
The Visual Identity represents all the graphic widgets that you may want to use in order to make the Web Application good looking and in order to have a great user experience.
Since it's possible to specify a personalized ...
The Layout View lets you organize view components in the page using the 960 Grid System. The 960 Grid System (http://960.gs) is very popular CSS framework for defining page layout and is known for its ease and flexibility. The framework is a set of style sheets with CSS rules. It provides two grids:...
Showing more than one component as a single one is a very common need that may occur while creating the style of a WebRatio Web application.
The first option to achieve this is to use the customization available from the Layout View of the specific page, which offers a wide set of criteria to pla...
In WebRatio it's possible to create URLs dinamically using a Script Utility Component.
Learn how to do it reading this article.
The WebRatio variables allow to configure the folder in which the Web Application of a Web Project will be generated when one of the following commands is used: Generate Full Web Project, Generate Selection, Generate Logic Descriptor Only, Generate Layout Pages Only. This articles describe which are...
WebRatio allows the user to define Context Parameters and to add Variables, these model elements are used to accomplish different tasks.
Context Parameters are strictly related to session storage, as they save information in the sessionContext and make their content available for all the JSP sessio...
The WebRatio pageContext is a particular data structure which is created everytime the user performs a request in a WebRatio generated Web application. It's a map that contains information used in the computation of all the Units contained in the requested destination page and it is stored in the JS...
Working with templates allows you to make customization with number patterns. Suppose that you do not want to use the separator symbols for numbers according to the current locale, but you want to use custom character (unusual for separators). You just have to create a custom attribute template that...
In the Domain Model you can define BLOB attributes to store files.
This type of attribute is objectified using an instance of a particular object implementing the RTXBLOBData Interface. This type of object gives access to some properties such as the name, lenght and extension of the wrapped BLOB....
In WebRatio Platform, the state of a component is represented by the Component State Object, a particular data structure that represents the internal state of particular component. This means that each type of component has its particular Component State Object. In its implementation, a Component St...
Content is the most important part of a Web application, and it should be presented in an engaging and professional way to provide the best user experience. Designing, which is the way a specific piece of information must be rendered for the user, is a web designer’s main task when creating a Web ap...
IFML, the modeling language of WebRatio Platform, is built on very few, highly composable concepts, which can be used to assemble complex Web applications for publishing or updating content. The key aspect of IFML is the capability of defining a Web Model consisting of pages, view components, and op...
Validation is used to verify that the data inserted into a form by the user complies with the application domain’s requirements. WebRatio Platform includes several predefined types of Validation Rules that cover the most common validation cases. But sometimes, depending on the scope of the Web appli...
The deploy functionality is related to the process of installing your Web Application
on a local/remote machine, or even in the cloud. Deployment is configured in
WebRatio through the Deploy Configurations dialog which allows you to specify all
the deploy settings (e.g. the application to dep...
It’s a very common practice to display the number of active users of a web application.
WebRatio gives you the possibility to easily get the number of users which are currently navigating your Web application and add this feature to your Web application.
The solution proposed in this article ...
It is possible to execute the business logic contained in an Action Definition directly from a Script Utility Component.
To execute an Action Definition in a Script, you must use an instance of the RTXOperationUnitService, which is the Java service that describes the behavior of a generic Action De...
In WebRatio it's possible to generate PDF, Excel or RTF reports. This article discusses a particular usage of the WebRatio generated reports. The goal is to create a report in order to use it as attachment for a newsletter (or to store it in the database). Suppose you want to send an email to all th...