[px] Added the possibility to have several PX actions in the same XHTML tag. If several PX action are defined, they are evaluated in this order: var, for, if.
This commit is contained in:
parent
1bc2a2f890
commit
5ece5c9831
6 changed files with 257 additions and 19 deletions
|
@ -21,8 +21,13 @@ NOT_UNO_ENABLED_PYTHON = '"%s" is not a UNO-enabled Python interpreter. ' \
|
|||
# ------------------------------------------------------------------------------
|
||||
class ToolWrapper(AbstractWrapper):
|
||||
|
||||
pxHome = Px('''<p>Hello home</p>''',
|
||||
template=AbstractWrapper.pxTemplate, hook='content')
|
||||
pxHome = Px('''
|
||||
<table width="300px" height="240px" align="center">
|
||||
<tr valign="middle">
|
||||
<td align="center">:_('front_page_text')</td>
|
||||
</tr>
|
||||
</table>
|
||||
''', template=AbstractWrapper.pxTemplate, hook='content')
|
||||
|
||||
def validPythonWithUno(self, value):
|
||||
'''This method represents the validator for field unoEnabledPython.'''
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue