On 08/24/2012 04:39 PM, kora wrote:
> Hi,
> I've made my first experience with qooxdoo in developing mobile web
> applications.
> Now I've read that article "Development ->  Using Parts".
> I tried to change my config.json but it won't work.
> I noticed that the default "config.json" for desktop type differs a lot to
> the mobile type.

I'm no mobile expert, but I don't see a reason why part loading 
shouldn't work with mobile apps. (Other people with more mobile 
knowledge might correct me on that). Mobile apps use the same loader 
template as desktop apps, and there should also be no restriction on the 
framework classes you need for parts (like e.g. the qx.io.PartLoader).

> Can anybody tell me how to change the default "config.json" fot the mobile
> type to be
> able to "Use Parts" with ?

What have you tried so far? The manual page your refering to [1] suggest 
you put up a little parts definition in a job named "my-parts-config", 
and then extend the 'source' and 'build' jobs with it. If you are 
working with a 'mobile'-type skeleton app, I suggest adding your 
my-parts-config job to the 'extend' list of the 'mobile-common' job. 
This saves you from adding it to the build jobs in the config multiple 
times.

The second part of the manual page deals with adding calls to 
'qx.io.PartLoader.require' to your application code. Did you do that?!

T.

[1] http://manual.qooxdoo.org/2.0.x/pages/development/parts_using.html

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to