Pages

Affichage des articles dont le libellé est Form. Afficher tous les articles
Affichage des articles dont le libellé est Form. Afficher tous les articles

[9i] Form 9i interact with html page? sujet

samedi 1 février 2014




technical environment : (Forms [32 Bit] Version 9.0.2.9.0), oracle JInitiator Version 1.3.1.9, WebUtil Version 1.0.2(Beta), window xp service pack 2 build 2600, Internet Explorer 8).

i m looking for how form Oracle9i form builder:
pass values to a html web page
and
execute a trigger written on a button as well in a html web page.

In detail:
there is web page called metar_taf.html has:
metar text item which contains airport code for example (OLBA, LCLK, LFPO ....)and
button called submit, if it' is clicked all the metars messages for the airport having a code mentioned in the metar text_item are displayed in a generated html file.
also
i create my form called read_web_file.fmb

My question is how i can through my fmb form:
set metar text_item found in metar_taf.html by the airports code (OLBA, LCLK,...)
and
run the trigger already written on the button submit found in the metar_taf.html to generate new html file that contains all airport code messages for (olba lclk....)

save the generated html file which contains the airport messages as pdf extension

Any help i appreciate it.




[twig] Affichage des form sujet

jeudi 30 janvier 2014




Bonjour,

Dans mon controleur je crée un form qui est un choice basé sur les différentes valeurs d'une entity.

Code:


$builder->add('champ1','entity',array('label' => 'label champ1:',
                                                'class' => 'DataBaseBundle:RefPosition',
                                                'property' => 'value',
                                                'required' => false,
                                                'expanded' => true,
                                              ))


Quand j'affiche mon form dans twig, il affiche :

Code:


{{ form_widget(formchamp1) }}

1er radio button
valeur du radio
2eme radio button
valeur du radio
...


avec les lignes les unes en dessous des autres
Je voudrais "customizer" tout cela et notamment pouvoir mettre sur la même ligne le radio bouton et la valeur associée.
Comment on peut faire cela ?
Merci de votre aide.