Ya I thought so...  technically no it isn't "wrong"  it's just not what flex was meant for.  Instead of writing multiple small flex SWF "pages" you'd write one user interface in flex and use ActionScript to control the interaction on the client.  There are so many advantages of doing it this way over your traditional JSP/HTML application I really wouldn't know where to start.  (client side caching... zero post backs... drag and drop... drawing...  ).  Flex is a beautiful framework to write web apps in and based on what you've said your leveraging very few of what flex has to offer.  I would SERIOUSLY consider re-architecting your application.  The data interaction you've already written can still be used with flex through remote objects and unless you have an incredibly large JSP app I'm willing to bet recoding it in mxml would be very painless. 

On 11/3/05, Pablo Apanasionek <[EMAIL PROTECTED]> wrote:
Sure!

First of all, I have my JSP based application, which manages all the
interaction between pages and business objects.

When reaching the frontend subject, we thought of Flex for that job.
So we began analyzing building some UI components which combine
business logic in a fancy way. Those components (in SWF format),
we'd like to use several times across the application, in different
use cases.

At the bottom line, we end up having (for example) a JSP page with
2+ embedded SWF/Flex files, that we would like to interact with each
other. For instance, imagine a "Registration" component working with
a "Shopping Cart" component as two different SWF files in the same
JSP, and then reusing the "Registration" one with another SWF file
in another page.

I might be looking it the wrong way, but it's the approach we were
looking for. (By the way, I'd be really interesting to find out it
is wrong.) =)

Thanks in advance

--- In [email protected], Clint Modien <[EMAIL PROTECTED] ...> wrote:
>
> Can you tell the list a bit more about your trying to do... it
sounds like
> your going about this the wrong way?
>
>  On 11/3/05, Pablo Apanasionek <[EMAIL PROTECTED]> wrote:
> >
> > Hi,
> >
> > i'm extremely new to Flex and, although I've seen in a few days
part
> > of the potential it has to give, I still got a lot to learn.
> >
> > Question comes here: I've tested the ability to drag-and-drop
between
> > two different custom components and it works amazingly well
without
> > demanding a lot of code. However, I'd like to do this between two
> > different Flex files embedded in a JSP page (to accomplish some
reuse
> > of the SWF "pages" through the whole JSP application).
> >
> > I've tested a few things and googled about it, without getting
any
> > conclusion. Is this possible? If so, how?
> >
> > Thanks in advance
> > Pablo Apanasionek
> >
> >
> >
> >
> >
> >
> > --
> > Flexcoders Mailing List
> > FAQ:
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> > Search Archives: http://www.mail-archive.com/flexcoders%
40yahoogroups.com
> > Yahoo! Groups Links
> >
> >
> >
> >
> >
> >
> >
>







------------------------ Yahoo! Groups Sponsor --------------------~-->
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/nhFolB/TM
--------------------------------------------------------------------~->

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
Yahoo! Groups Links

<*> To visit your group on the web, go to:
   http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
   [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
   http://docs.yahoo.com/info/terms/






--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com




YAHOO! GROUPS LINKS




Reply via email to