[flexcoders] Flex Portal Integration - Flex as a Portlet

2005-07-14 Thread Craig McDonald
I've been trying in vain over the last few weeks to get a simple Flex 
app deployed as a portlet in Jetspeed-2 (as a JSR-168 portlet).

The resources I've found on the web so far have helped get me heading 
down the right track (both the articles on the Macromedia Dev site and a 
blog post by Cristophe Coenraets.

However, I still cant get it to work, simply because I can't get the 
portlet to look outside of its own context. For example, I have 
jetspeed-2 running on Tomcat at http://myserver.com/jetspeed/ - this 
displays the jetspeed landing page.

Flex is installed on the same Tomcat instance, at 
http://myserver.com/flex - however, when I create the portlet and try 
and point the .java to a view.jsp - it only allows files to be 
viewed/exectued within the portlet that are contained within that 
portlet context.

This means that I can't put the mxml inside the portlet context because 
it is not within the Flex context (so it won't execute), and neither can 
I put the mxml outside in the flex context because my portlet can't 
access it.

Does anybody have a very basic cookbook for getting flex functioning 
within portlets. I know *somebody* out there must have done it, I know I 
am just not seeing/missing something obvious.

Any help, much appreciated.

Cheers,
Craig McDonald\

-- 
==
UCOnline Development Team
University of Canberra
e: [EMAIL PROTECTED]
p: +61-2-6201-5514





--
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/
 





Re: [flexcoders] Flex Portal Integration - Flex as a Portlet

2005-07-14 Thread Jeppe N. Madsen
On Thu, 14 Jul 2005, Craig McDonald wrote:

  I've been trying in vain over the last few weeks to get a simple
  Flex app deployed as a portlet in Jetspeed-2 (as a JSR-168
  portlet).
  

[...]

  However, I still cant get it to work, simply because I can't get
  the portlet to look outside of its own context. For example, I
  have jetspeed-2 running on Tomcat at http://myserver.com/jetspeed/
  - this displays the jetspeed landing page.
  
  Flex is installed on the same Tomcat instance, at
  http://myserver.com/flex - however, when I create the portlet and
  try and point the .java to a view.jsp - it only allows files to
  be viewed/exectued within the portlet that are contained within
  that portlet context.

[...]

Do you need Flex to run in a separate context? If not, you can deploy
the Flex classes etc. to the jetspeed context

rgds
Jeppe



--
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/
 




Re: [flexcoders] Flex Portal Integration - Flex as a Portlet

2005-07-14 Thread Craig McDonald

Do you need Flex to run in a separate context? If not, you can deploy
the Flex classes etc. to the jetspeed context
  

How exactly do I go about doing this - do I deploy the entire Flex war 
file in the jetspeed container? Or is there a sub-selection of 
appropriate flex libraries that will allow flex to function without 
having to deploy the entire flex app.

What implications does this have for licensing if I am deploying two 
instances of Flex - one in one context and another in the jetspeed context?

I guess my problem is stemming from a slightly incorrect installation of 
Flex then, correct? If so, what is the procedure for installing Flex in 
a portal environment? I am guessing I have to allow flex to run in the 
/jetspeed/flex context rather than the /flex context.

Thanks for your help so far.

Cheers,
Craig




--
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/