[gen] Added the possibility to define dict someClass.styles (with, currently, a single entry 'title'), allowing to specify alternative CSS classes for class-related elements (here, 'title' allows to define an alternative CSS class for the link allowing to click on some instance of the class on a query or ref).
This commit is contained in:
parent
ca16f8989c
commit
1c3555fd28
8 changed files with 61 additions and 42 deletions
|
@ -118,6 +118,7 @@ class AbstractWrapper(object):
|
|||
return self.search1('User', noSecurity=True,
|
||||
login=self.o.getUser().getId())
|
||||
elif name == 'fields': return self.o.getAllAppyTypes()
|
||||
elif name == 'siteUrl': return self.o.getTool().getSiteUrl()
|
||||
# Now, let's try to return a real attribute.
|
||||
res = object.__getattribute__(self, name)
|
||||
# If we got an Appy type, return the value of this type for this object
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue