[pod] When inserting an image via statement do... from document(...), parameter 'sizeUnit' can now be 'pc' (percentage): in this case, percentages are expressed as a tuple (widthPercentage, heightPercentage) in parameter 'size' and must be integers from 1 to 100. [bin] backup.py: better error handling when contacting SMTP server. [gen] Calendar widget for Date fields: bugfix (when the date range is in reverse chronological order). [gen] Ref field: added hook 'afterLink' allowing to execute a method just after an object has been linked. [gen] Ref field: added attribute 'unlinkElement' allowing to define a specific condition for unlinking a given object (before, it was only possible to define, in attribute 'unlink', a global condition allowing to unlink any object from the Ref. [gen] Bugfix: the link to the home page, when clicking on the logo, is fixed.
This commit is contained in:
		
							parent
							
								
									268309045a
								
							
						
					
					
						commit
						25f0e8184e
					
				
					 10 changed files with 58 additions and 19 deletions
				
			
		|  | @ -153,7 +153,7 @@ class User(ModelClass): | |||
|                         'toTool'] | ||||
|     # All methods defined below are fake. Real versions are in the wrapper. | ||||
|     title = gen.String(show=False, indexed=True) | ||||
|     gm = {'group': 'main', 'width': 25} | ||||
|     gm = {'group': 'main', 'width': 34} | ||||
|     def showName(self): pass | ||||
|     name = gen.String(show=showName, **gm) | ||||
|     firstName = gen.String(show=showName, **gm) | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Gaetan Delannay
						Gaetan Delannay