Re: Creating new components on the fly in T5 using AJAX/JSON

2008-07-01 Thread Denis McCarthy
Thanks for that - we'll hopefully get a chance to do a bit of experimentation on this over the next few days. 2008/7/1 Brian Lough <[EMAIL PROTECTED]>: > You can. Adding a contributer to BeanBlockSource for a given property will > allow you to "check" if it should be displayed, and if so, generat

Re: Creating new components on the fly in T5 using AJAX/JSON

2008-06-30 Thread Brian Lough
You can. Adding a contributer to BeanBlockSource for a given property will allow you to "check" if it should be displayed, and if so, generate the html markup to display or present the input for the given property. IMHO, since most [other] framework coders just "hide" whatever property they d

Re: Creating new components on the fly in T5 using AJAX/JSON

2008-06-30 Thread Udo Abel
Hi Denis, that's a similiar problem I had (and partly still have): to render a component based on current application data. The suggested solution was to either - use the "if" - component to include the rendering of a component based on a test-condition. The test-condition is an application pr

Re: Creating new components on the fly in T5 using AJAX/JSON

2008-06-30 Thread Lance Java
I only know how how to populate zones with form submits or event links. I'm sure you can take a look at the eventlink component and copy / paste. Then all you need to do specify the zone to populate and return: - A class object for your component - The name (String) of the component - A component