WIDGETS AND LIVE TEXT
About this task
Live Text is a recognized text pattern in the active document that users can act on to initiate a wizard action. You can add a recognizer to a widget to define how the widget will act relative to that Live Text by wiring recognized data to actions. Recognizers are defined using standard Java™ regular expressios. Live Text appears in the active document as dash-underlined text.
Recognizers can be wired to act with content types for a specific action when you create a widget. You can also see and act on other actions, content types, and recognizers in the Widget Management view by clicking Manage Actions, Content Types, and Recognizers from the My Widgets options menu.
Procedure
1. Click Configure Recognizer from the My Widgets options menu.
3. Choose an existing content type from the available list or create a new one by clicking New Type and entering one. For example, specify Address.
java.sun.com/j2se/1.5.0/docs/api/java/util/regex/Pattern.html
regex.powertoy.org
You must enter a valid expression. If the value you enter is an invalid regular expression, you will receive an error.
This entry appears in the Widget Management view's Recognizer tab in the Regex field.
Related concepts How do I create a new widget using the wizards? How do I create and share widgets?
Related tasks How do I configure a widget action? How do I wire a widget action? How do I change a published widget and update the catalog? How do I create a Notes widget from a form or document? What Recognizer tasks can I do in the Widget Management view?