<portlet id="EchoIframe"> <portlet-name>EchoIframe</portlet-name> <display-name>lixin IFrame Portlet</display-name> <description>Prototype of the IFRAME2 portlet</description> <portlet-class>org.apache.jetspeed.portlet.IFrameGenericPortlet</portlet-class> <expiration-cache>-1</expiration-cache> <supports> <mime-type>text/html</mime-type> <portlet-mode>VIEW</portlet-mode> </supports> <portlet-preferences> <preference> <name>SRC</name> <value>http://www.sohu.com</value> </preference> <!-- Don't specify a HEIGHT if you want a normal filled out layout because percentage values result in the content not to be displayed on IE6. Specific values are ok though. --> <preference> <name>HEIGHT</name> <value>600</value> </preference> <preference> <name>WIDTH</name> <value>100%</value> </preference> <preference> <name>MAX-HEIGHT</name> <value>800</value> </preference> <preference> <name>MAX-WIDTH</name> <value>100%</value> </preference> <preference> <name>SCROLLING</name> <value>AUTO</value> </preference> </portlet-preferences> <supported-locale>en</supported-locale> <supported-locale>zh</supported-locale> <portlet-info> <title>搜狐网</title> <short-title>搜狐网</short-title> <keywords>iframe,frame,frame2,iframe2</keywords> </portlet-info> </portlet> |