Hello,
every thing looks ok, only the call to setter/getter. The first letter
should be in capital format so instead of getmia_proprieta() use
getMia_prorieta() and setMia_proprieta(12); //12 for example.
Hope this works
matteomasina wrote
>
> ok I try to explain better with one example :
>
> test.js
>
> qx.Class.define("esempio.test",
> {
> extend : qx.ui.window.Window,
> properties : {
> mia_proprieta: { init : 0, check: "Integer" }
> },
> construct : function()
> {
>
> this.base(arguments, "Nuova pratica");
>
> this.icon= "icon/16/edeaworld/nuovapratica.png";
> this.setShowStatusbar(true);
>
> var layout = new qx.ui.layout.Grid(10, 5);
>
> this.setLayout(layout);
>
> var prova=this.getmia_proprieta();
>
>
> alert(prova);
>
>
> });
>
> Application.js
>
> qx.Class.define("esempio.Application",
> {
> extend : qx.application.Standalone,
> members :
> {
> main: function()
> {
> this.base(arguments);
>
> var finestra= new esempio.test();
>
> finestra.setStatus("Applicazione pronta");
> finestra.setShowMaximize(false);
> finestra.setShowMinimize(false);
> finestra.setmiaproprieta(22);
>
> finestra.open();
>
>
> }
>
> });
>
>
> I try to set a value to the window property "miaproprieta"
>
> Where I'm wrong ?
>
> matteo
>
--
View this message in context:
http://qooxdoo.678.n2.nabble.com/how-to-send-parameter-to-a-windows-tp7235924p7236798.html
Sent from the qooxdoo mailing list archive at Nabble.com.
------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel