Hi,

I'm trying to use symfony to create a frontend (basically just a gui)
to several intertwined cooperating business applications. Each of
these have their own symfony app.

What I would like to solve is embedding a graphical-component
belonging to one of the apps into the other somehow.  To make it more
understandable ( or understandable at all) here's a small example.

I have 2 apps, a GIS app, and a logistics app. I would like to embed
an address selector form-section of the GIS app into the new
destination form of the logistics app.

When I have ajax, I can do this easily, but I would like to create
something that has a fall back for non ajax enabled browsers/setups/
whatever.

so I should have a form like:

cargo: textfield
cargotype: dropdown
---- target destination ----
   zip textfield
   street textfield
   number textfield
   addressID hidden
   address select/validate button
----
amount: textfield
delivery request submit button

the expected behavior would be:
if the user presses the select address button, the form is sent (no
ajax) and the whole form is resent with a map inside that section.
when clicking on the map the addressID changes appropriatelly. If
typing in a zip code and going to the next field (or pressing a get
streets button), possible street names are shown, and the map zooms
to  the appropriate section. Each of these happen through submitting
and reloading the whole form.

the internal operation of the address-selector-gui-component should
reside in the GIS app, since addresses are selected, stored, validated
and supplied with ID there, and all the selection details and
operation should only be implemented once.

once I press the delivery request submit button, the createNewDelivery
action of the logistics app is called.

The key would be that all such apps reference each others gui-
components this way.

The question is what symfony features, elements, hacks, tricks or
rewrites should I use to accompish this, if possible at all.

If I'm asking something very dumb, please point that out to me, and
direct me what to read.

thanks in advance: s85


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to