Open topic with navigation

TIBCO BusinessEvents® Enterprise Edition 6.3.1

# Adding a Rule Template View

First, add a rule template. One rule template can be associated with multiple views. .

Procedure
1. Right-click the folder where you want to store the rule template view, and select New > Other > TIBCO BusinessEvents > Rule Template > View. You see the New Rule Template View Wizard.
2. In the Rule Template field, click Browse and select the rule template whose bindings you want to use in this view.
3. In the Rule Template View Name field, type a name for the rule template view. In the Description field, type a description.
   Note: You cannot change the name in the editor. To change the name of any project element, right-click the element in BusinessEvents Studio Explorer and select Refactor > Rename. See Element Refactoring Operations for more details.
4. Click Finish. You see the Rule Template View editor.
5. Add or edit the description.
6. As needed, browse and select a different rule template
7. As needed, click the Rule Template link to edit the selected rule template, for example to add new bindings.

   Bindings defined in the rule template appear in the Bindings section of the Presentation section.

8. In the Presentation tab, use plain text or HTML to define an input form. Drag and drop the bindings into the Presentation section, or type them.
   The syntax for a binding is as follows (the closing tag is required):

          <binding id="bindingName"></binding>

   You can apply styling and JavaScript to these HTML view bindings. For more details about this, see Rule Template Views.

   You can click the Preview tab to see how the view appears in WebStudio.

   Note: Currently, when you click on the Preview tab, the preview of the CSS and JavaScript styling is not displayed.
9. Click the HTML tab and click Browse to select an HTML file, which can be used for the input form.
   Use the binding ID in the HTML file for creating the text box or drop-down for the binding. The syntax for the binding is same as specified earlier step. You can apply styling and JavaScript to these HTML view bindings.
   Note: Currently, when you click on the Preview tab, the preview of the HTML file is not displayed.
10. Save the resource.

Did you find this helpful?

YesNo
Great!
Thanks for taking the time to give us some feedback.
Sorry about that

Why wasn't this helpful? (check all that apply)

Could not find what I was looking for
Instructions confusing or unclear
Instructions did not work

Want to tell us more?

Please select at least one option or provide details about the issue!!

Error occurred while submitting feedback.

Error2 occurred while submitting feedback.

TIBCO BusinessEvents® Enterprise Edition

Copyright © 2004-2024. Cloud Software Group, Inc. All Rights Reserved.