× This forum has been locked. Please submit new Feature Requests on GitHub: github.com/Jensen-Technologies/component-creator-issues/issues

Use loose coupled layout to display all our JForms

8 años 11 meses antes #840 por Walt Sorensen
With Joomla 1.6+ we should strive for a more loosely coupled layout to display all our JForms

Here is a tutorial on how this can be done, so that the view iterates the JForm XML fields and fieldsets rather than needing to specify every field.
www.ostraining.com/blog/how-tos/developm...-started-with-jform/

Here is an example Joomla 2.5+ component that includes this decoupled xml form and view layout
github.com/thg303/AqJform

Why this is important? By using this loosely coupled layout we can modify our JForm XML without the need to mess around with our layouts.

Por favor, Identificarse o Crear cuenta para unirse a la conversación.

8 años 10 meses antes #891 por Walt Sorensen
Respuesta de Walt Sorensen sobre el tema Use loose coupled layout to display all our JForms
Looking more at the JForm documentation a simpler method would be to use  renderFieldset  () which will render each field set in your form.

Por favor, Identificarse o Crear cuenta para unirse a la conversación.

Tiempo de carga de la página: 1.714 segundos
Gracias a Foro Kunena

Utilizamos cookies propias y de terceros para mejorar nuestros servicios y mostrarle publicidad relacionada con sus preferencias mediante el análisis de sus hábitos de navegación. Si continua navegando, consideramos que acepta su uso.