[gen] Added px.override allowing to modify PX code; bugfixes; added migration code for converting File instances to FileInfo instances.
This commit is contained in:
parent
be145be254
commit
c002b5cb59
8 changed files with 71 additions and 21 deletions
|
@ -1,11 +1,10 @@
|
|||
# ------------------------------------------------------------------------------
|
||||
import os.path, time
|
||||
import appy
|
||||
from appy.gen.mail import sendMail
|
||||
from appy.shared.utils import executeCommand
|
||||
from appy.gen.wrappers import AbstractWrapper
|
||||
from appy.px import Px
|
||||
|
||||
from appy.gen.mail import sendMail
|
||||
from appy.gen.wrappers import AbstractWrapper
|
||||
from appy.shared.utils import executeCommand
|
||||
# ------------------------------------------------------------------------------
|
||||
class ToolWrapper(AbstractWrapper):
|
||||
|
||||
|
@ -233,7 +232,7 @@ class ToolWrapper(AbstractWrapper):
|
|||
</x>
|
||||
|
||||
<!-- Predefined searches -->
|
||||
<x for="search in searchInfo.searches">
|
||||
<x for="search in searchInfo.searches" var2="field=search">
|
||||
<x if="search.type == 'group'">:search.px</x>
|
||||
<x if="search.type != 'group'">:search.pxView</x>
|
||||
</x>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue