Hi Ed,

> txtFld.getLayoutParent().setVisibility("excluded");

This is a solution, but you are right, not a very clean one.  
The better solution would be, to write a Render who extends 
"qx.ui.mobile.form.renderer.AbstractRenderer" and not the Simple Renderer.

You can take the simple renderer as reference (or just copy the necessary 
functions).

The use case, that somebody wants to hide a mobile form row, is important. 
Could you please open a bug for this?


Greetz Christopher


Am 19.09.2012 um 21:43 schrieb Ed Adasiewicz:

> I am curious as to how this should be done.  I determined that I can exclude
> an entire row which includes a TextField (e.g. txtFld) with the following:
> 
> txtFld.getLayoutParent().setVisibility("excluded");
> 
> I'm not sure if this is considered a "clean" solution, but you are still
> left with an extra "Separation" row.  I tried extending the Single renderer
> but in order to do this cleanly I needed to override several protected
> members (functions) which accessed private members (__rows and __labels). 
> This caused several warnings in the source app and from what I can find
> searching this forum, these private accesses will be optimized out in the
> build version.  Am I missing something?
> 
> 
> 
> --
> View this message in context: 
> http://qooxdoo.678.n2.nabble.com/Hide-form-components-tp7581404p7581412.html
> Sent from the qooxdoo mailing list archive at Nabble.com.
> 
> ------------------------------------------------------------------------------
> 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


------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://ad.doubleclick.net/clk;258768047;13503038;j?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to