How to develop WEBLOGC portlets can refer to the development guide http://edocs.bea.com/wlp/docs92/portlets/index.html
After creating the WEBLOGC Portal Web project, copy the Flex-portal.jar to Web-inf/lib, if the Web project does not LCDs Or blazeds Web apps, you copy Flex-messaging-common.jar to Web-inf/lib.
On WebContent, the new Java-type portlet is Portlet-class set to Flex.portal.GenericFlexPortlet
When finished, open the Portlet.xml file under web-inf/to modify it
<?xml version= "1.0" encoding= "UTF-8"?> <portlet-app version= "1.0" xmlns= "http://java.sun.com/xml/ns/" Portlet/portlet-app_1_0.xsd "xmlns:xsi=" http://www.w3.org/2001/XMLSchema-instance "> <portlet>< Description/> <portlet-name>trms_1</portlet-name> <portlet-class> Flex.portal.genericflexportlet</portlet-class> <supports> <mime-type>text/html</mime-type > <portlet-mode>view</portlet-mode> </supports> <portlet-info><title>mytrms</ title></portlet-info> <portlet-preferences> <preference> <name>app_uri</name> <value>http://192.168.102.233/trms/trms.swf</value> <read-only>false</read-only> </ preference> <preference> <name>normal_width</name> <value>100%</value> < read-only>true</read-only> </preference> <preference> <name>normal_height</name> <value>100%</value> <read-only>true</read-only> </preference> <preference> <name>max_width</name> <value>100%</value> <read-only>true</read-only> </preference> <preference> <name>max_height</name> <value>100%</value> <read-only>true</read-only> </ preference> </portlet-preferences> </portlet> <portlet><description></description > <portlet-name>myportlet_1</portlet-name> <portlet-class>MyPortlet</portlet-class> <supports> <mime-type>text/html</mime-type> <portlet-mode>view</portlet-mode> </ supports> <portlet-info><title>java portlet</title></portlet-info> </portlet> </portlet-app>
App_uri parameter is the full URL of the SWF
More parameter Description Reference http://livedocs.adobe.com/livecycle/es/sdkHelp/programmer/lcds/wsrp_2.html#186216
Sample Engineering
http://download.csdn.net/source/1454224
Test page