doc:appunti:linux:lezioni:pmapper_dev
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
doc:appunti:linux:lezioni:pmapper_dev [2011/02/21 18:46] – [Aggiungere del contenuto dinamico] niccolo | doc:appunti:linux:lezioni:pmapper_dev [2011/07/20 22:00] – [Dialog box con PM.Dlg.createDnRDlg] niccolo | ||
---|---|---|---|
Line 151: | Line 151: | ||
</ | </ | ||
- | I numeri interi | + | I **numeri interi** sono formattati senza decimali, i **float con solo 3 decimali** e tutto il resto rimane invariato. |
+ | |||
+ | ===== Dialog box con PM.Dlg.createDnRDlg ===== | ||
+ | |||
+ | Thanks to Armin Burger for the following details. | ||
+ | |||
+ | FIXME Add a paragraph //Using p.mapper dialogs with createDnRDlg// | ||
+ | |||
+ | <code javascript> | ||
+ | var dlgOptions = { | ||
+ | width: 640, | ||
+ | height: 480, | ||
+ | left: 100, | ||
+ | top: 50, | ||
+ | resizeable: true, | ||
+ | newsize: true, | ||
+ | container: ' | ||
+ | name: ' | ||
+ | }; | ||
+ | |||
+ | var dlg = PM.Dlg.createDnRDlg( | ||
+ | dlgOptions, | ||
+ | ' | ||
+ | popupUrl | ||
+ | ); | ||
+ | </ | ||
+ | |||
+ | Some of the options to create the dialog: | ||
+ | |||
+ | ^ '' | ||
+ | ^ '' | ||
+ | ^ '' | ||
+ | |||
+ | Reading the form values and transforming them to '' | ||
+ | |||
+ | ^ '' | ||
+ | ^ '' | ||
+ | |||
+ | < | ||
+ | resContainer = '#' | ||
+ | $(resContainer).html(response); | ||
+ | </ |
doc/appunti/linux/lezioni/pmapper_dev.txt · Last modified: 2011/07/21 09:44 by niccolo