Category:App

From JRapid

(Redirected from App)
Jump to: navigation, search

It‘s the root node of the XML document that defines the JRapid application.

Useage:

<app 
    name = NAME
    basepackage = BASEPACKAGE
    ((config|entity|enumset|panel|report)*,
    reference*)
/>

The app tag must contain the following attributes:

  • name: name of the application or module.
  • basepackage: indicates the base package where the Java classes for the project will be created. e.g: com.jrapid.

JRapid Designer:

The applications source code can be edited using the JRapid Designer through its visual point and click features or directly in the Source Editor Panel.

Source Editor Panel

Example:

  • Empty JRapid application:
<?xml version="1.0" encoding="UTF-8"?>
<app basepackage="com.races" engine="forms-0.8" name="Main">

    <config>
        <usestylesheet location="../jrapid-runtime/css/ui-lightness/jquery-ui-1.8rc2.custom.css"/>
        <usescript location="../jrapid-runtime/jquery-1.4.2.min.js"/>
        <usescript location="../jrapid-runtime/jquery-ui-1.8rc2.custom.min.js"/>
        <usewidget jquery="datepicker" jqueryoptions="{changeMonth: true, changeYear: true, dateFormat: 'dd/mm/yy'}" name="jdatepicker">
            <usescript location="../jrapid-runtime/extras/widget-jdatepicker/js/jquery.ui.datepicker.min.js"/>
        </usewidget>
    </config>

    <panel name="Index" title="Default main page">
        <menu/>
    </panel>
</app> 

Subcategories

This category has the following 5 subcategories, out of 5 total.

C

E

P

R

Pages in category "App"

The following 2 pages are in this category, out of 2 total.

B

N