pracro:devas_corner
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next revisionBoth sides next revision | ||
pracro:devas_corner [2010/08/10 10:49] – deva | pracro:devas_corner [2010/08/10 10:52] – deva | ||
---|---|---|---|
Line 19: | Line 19: | ||
</ | </ | ||
- | <script> | + | <scripts> |
- | function foo() | + | |
- | -- this: current widget (widget that triggered the event) | + | |
+ | -- this: current widget (widget that triggered the event) | ||
- | | + | |
- | | + | |
- | | + | |
- | then | + | then |
- | | + | foo:setValue(' |
+ | end | ||
end | end | ||
- | | + | |
- | </script> | + | </scripts> |
<widgets caption=" | <widgets caption=" | ||
layout=" | layout=" | ||
Line 43: | Line 45: | ||
The script tag can either consist of inline code, or be a reference to a serverside file, that will be inserted in-place by the server before it is sent to the client. | The script tag can either consist of inline code, or be a reference to a serverside file, that will be inserted in-place by the server before it is sent to the client. | ||
<code xml> | <code xml> | ||
- | < | + | < |
- | --example | + | |
- | </ | + | < |
- | <script file=" | + | |
+ | </ | ||
+ | </scripts> | ||
</ | </ | ||
pracro/devas_corner.txt · Last modified: 2011/01/14 14:49 by deva