⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 demo-portlets.xreg

📁 jetspeed源代码
💻 XREG
📖 第 1 页 / 共 3 页
字号:
        <category group="Jetspeed">database</category>
    </portlet-entry>
    <portlet-entry name="InstanceExample" hidden="false" type="instance" application="false">
        <classname>org.apache.jetspeed.portal.portlets.BogusPortlet</classname>
        <media-type ref="html"/>
        <meta-info>
            <title>Instance Attribute Example</title>
        </meta-info>
        <category>persistence</category>
    </portlet-entry>
    <portlet-entry name="SecurityExample" hidden="false" type="ref" parent="Velocity" application="false">
        <security-ref parent="user-view_admin-all"/>
        <meta-info>
            <title>SecurityExample</title>
            <description>Simple Security Example</description>
        </meta-info>
        <parameter name="template" value="SecurityExample" hidden="true"/>
        <media-type ref="html"/>
        <category>demo</category>
        <category>velocity.demo</category>
    </portlet-entry>
    <portlet-entry name="BloomingtonWeather" hidden="false" type="ref" parent="WeatherPortlet" application="false">
        <meta-info>
            <title>Weather - Bloomington,IN</title>
            <description>Current weather conditions</description>
        </meta-info>
        <parameter name="weather_city" value="Bloomington" type="invisible" hidden="false"/>
        <parameter name="weather_state" value="IN" type="invisible" hidden="false"/>
        <parameter name="weather_style" value="infobox" type="style" hidden="false">
            <meta-info>
                <title>Style</title>
            </meta-info>
        </parameter>
        <media-type ref="html"/>
        <category>weather</category>
    </portlet-entry>
    <portlet-entry name="IstanbulWeather" hidden="false" type="ref" parent="WeatherPortlet" application="false">
        <meta-info>
            <title>Weather - Istanbul,Turkey</title>
            <description>Current weather conditions</description>
        </meta-info>
        <parameter name="weather_station" value="17060" type="invisible" hidden="false"/>
        <parameter name="weather_style" value="infobox" type="style" hidden="false">
            <meta-info>
                <title>Style</title>
            </meta-info>
        </parameter>
        <parameter name="_showtitlebar" value="false" hidden="true"/>
        <media-type ref="html"/>
        <category>weather</category>
    </portlet-entry>
    <portlet-entry name="parameter_demo" hidden="false" type="ref" parent="JSP" application="false">
        <meta-info>
            <title>Parameter Styles Demo</title>
            <description>Examples of defining parameter styles</description>
        </meta-info>
        <parameter name="template" value="parameter-demo-portlet.jsp" hidden="true" cachedOnName="true" cachedOnValue="true"/>
        <parameter name="sort" value="Symbol" type="style" hidden="false" cachedOnName="true" cachedOnValue="true">
            <meta-info>
                <title>Sort</title>
                <description>Column to sort by</description>
            </meta-info>
        </parameter>
        <parameter name="sort.style" value="ListBox" hidden="true" cachedOnName="true" cachedOnValue="true"/>
        <parameter name="sort.style.items" value="Symbol,Volume,PChange" hidden="true" cachedOnName="true" cachedOnValue="true"/>
        <parameter name="columns" value="Symbol,Quote,Date,Time,Change,PChange,Open,High,Low,Volume" type="style" hidden="false" cachedOnName="true" cachedOnValue="true">
            <meta-info>
                <title>Columns</title>
                <description>Columns to display</description>
            </meta-info>
        </parameter>
        <parameter name="columns.style.items" value="Symbol,Quote,Date,Time,Change,PChange,Open,High,Low,Volume" hidden="true" cachedOnName="true" cachedOnValue="true"/>
        <parameter name="columns.style.layout" value="$eastwest" hidden="true" cachedOnName="true" cachedOnValue="true"/>
        <parameter name="columns.style" value="CheckBoxGroup" hidden="true" cachedOnName="true" cachedOnValue="true"/>
        <parameter name="symbols" value="MSFT,ORCL,SUNW,EMC,INTU" type="style" hidden="false" cachedOnName="true" cachedOnValue="true">
            <meta-info>
                <title>Symbols</title>
                <description>List of comma-separated stock symbols</description>
            </meta-info>
        </parameter>
        <parameter name="symbols.style" value="TextArea" hidden="true" cachedOnName="true" cachedOnValue="true"/>
        <parameter name="date1" value="Jul-14-1789" type="style" hidden="false" cachedOnName="true" cachedOnValue="true">
            <meta-info>
                <title>Bastille Day</title>
                <description>Date with popup calendar. Format pattern: mmm-dd-yyyy</description>
            </meta-info>
        </parameter>
        <parameter name="date1.style" value="PopupCalendar" hidden="true" cachedOnName="true" cachedOnValue="true"/>
        <parameter name="date1.style.format" value="mmm-d-yyyy" hidden="true" cachedOnName="true" cachedOnValue="true"/>
        <parameter name="date2" value="06/18/1812" type="style" hidden="false" cachedOnName="true" cachedOnValue="true">
            <meta-info>
                <title>Battle of Waterloo</title>
                <description>Date with popup calendar. Format pattern: mm/dd/yyyy</description>
            </meta-info>
        </parameter>
        <parameter name="date2.style" value="PopupCalendar" hidden="true" cachedOnName="true" cachedOnValue="true"/>
        <parameter name="date2.style.format" value="mm/dd/yyyy" hidden="true" cachedOnName="true" cachedOnValue="true"/>
        <parameter name="password" value="secret" type="style" hidden="false" cachedOnName="true" cachedOnValue="true">
            <meta-info>
                <title>Velocity Password</title>
                <description>Velocity based password presentation style. Note that this presentation style does not require any custom objects in the context and therefore we can use VelocityParameterPresentationStyle. If custom objects were required, you would extend VelocityParameterPresentationStyle and override buildContext method.</description>
            </meta-info>
        </parameter>
        <parameter name="password.style" value="VelocityParameterPresentationStyle" hidden="true" cachedOnName="true" cachedOnValue="true"/>
        <parameter name="password.style.template" value="Password.vm" hidden="true" cachedOnName="true" cachedOnValue="true"/>
        <parameter name="password1" value="secret" type="style" hidden="false" cachedOnName="true" cachedOnValue="true">
            <meta-info>
                <title>JSP Password</title>
                <description>JSP based password presentation style. Note that this presentation style does not require any custom objects in the context and therefore we can use JspParameterPresentationStyle. If custom objects were required, you would extend JspParameterPresentationStyle and override buildContext method.</description>
            </meta-info>
        </parameter>
        <parameter name="password1.style" value="JspParameterPresentationStyle" hidden="true" cachedOnName="true" cachedOnValue="true"/>
        <parameter name="password1.style.template" value="Password.jsp" hidden="true" cachedOnName="true" cachedOnValue="true"/>
        <parameter name="multiple" value="item1" type="style" hidden="false" cachedOnName="true" cachedOnValue="true">
            <meta-info>
                <title>List box</title>
                <description>List with multiple select on</description>
            </meta-info>
        </parameter>
        <parameter name="multiple.style" value="ListBox" hidden="true" cachedOnName="true" cachedOnValue="true"/>
        <parameter name="multiple.style.items" value="item1,item2,item3" hidden="true" cachedOnName="true" cachedOnValue="true"/>
        <parameter name="multiple.style.multiplechoice" value="true" hidden="true" cachedOnName="true" cachedOnValue="true"/>
        <parameter name="multiple.style.layout" value="list" hidden="true" cachedOnName="true" cachedOnValue="true"/>
        <media-type ref="html"/>
        <url cachedOnURL="true"/>
        <category group="Jetspeed">demo</category>
        <category group="Jetspeed">jsp.demo</category>
    </portlet-entry>
    <portlet-entry name="BBCFrontPage" hidden="false" type="ref" parent="RSS" application="false">
        <meta-info>
            <title>BBC Front Page News</title>
        </meta-info>
        <url>http://www.bbc.co.uk/syndication/feeds/news/ukfs_news/front_page/rss091.xml</url>
        <category>news</category>
        <category>news.frontpage</category>
        <category>news.headlines</category>
    </portlet-entry>
    <portlet-entry name="BBCTechnology" hidden="false" type="ref" parent="RSS" application="false">
        <meta-info>
            <title>BBC Technology News</title>
        </meta-info>
        <url>http://www.bbc.co.uk/syndication/feeds/news/ukfs_news/technology/rss091.xml</url>
        <category>news</category>
        <category>news.technology</category>
    </portlet-entry>
    <portlet-entry name="BBCUK" hidden="false" type="ref" parent="RSS" application="false">
        <meta-info>
            <title>BBC UK News</title>
        </meta-info>
        <url>http://www.bbc.co.uk/syndication/feeds/news/ukfs_news/uk/rss091.xml</url>
        <category>news</category>
        <category>news.uk</category>
    </portlet-entry>
    <portlet-entry name="BBCWorld" hidden="false" type="ref" parent="RSS" application="false">
        <meta-info>
            <title>BBC World News</title>
        </meta-info>
        <url>http://www.bbc.co.uk/syndication/feeds/news/ukfs_news/world/rss091.xml</url>
        <category>news</category>
        <category>news.world</category>
    </portlet-entry>
    <portlet-entry name="JakartaWeb" hidden="false" type="ref" parent="WebPagePortlet2" application="false">
        <meta-info>
            <title>JakartaWeb</title>
            <description>Jakarta Home Page</description>
        </meta-info>
        <url>http://jakarta.apache.org/</url>
        <category>sites</category>
    </portlet-entry>
    <portlet-entry name="XSLTDemo" hidden="false" type="ref" parent="XSL" application="false">
        <meta-info>
            <title>XSLT Demo</title>
            <description>Example of using XSLT Portlet</description>
        </meta-info>
        <url>/xml/footballers.xml</url>
        <media-type ref="html"/>
        <parameter name="stylesheet.text/html" value="/xml/footballers.xsl" hidden="false"/>
        <category>xslt</category>
    </portlet-entry>
    <portlet-entry name="JspStockQuote" hidden="false" type="ref" parent="JSP" application="false">
        <meta-info>
            <title>Jsp Stock Portfolio</title>
            <description>Stock Portfolio Portlet using JSP with simple action events (refresh and sort)</description>
        </meta-info>
        <parameter name="template" value="StockQuotes.jsp" hidden="true"/>
        <parameter name="action" value="portlets.JspStockQuoteAction" hidden="true"/>
        <parameter name="sort" value="Symbol" type="style" hidden="false">
            <meta-info>
                <title>Sort</title>
                <description>Column to sort by. Only sorts in ascending order.</description>
            </meta-info>
        </parameter>
        <parameter name="sort.style" value="ListBox" hidden="true"/>
        <parameter name="sort.style.items" value="Symbol,Price,Change,Volume" hidden="true"/>
        <parameter name="columns" value="Symbols,Price,Change,Volume" type="style" hidden="false">
            <meta-info>
                <title>Columns</title>
                <description>Columns to display</description>
            </meta-info>
        </parameter>
        <parameter name="columns.style.items" value="Symbol,Price,Change,Volume" hidden="true"/>
        <parameter name="columns.style.layout" value="$eastwest" hidden="true"/>
        <parameter name="columns.style" value="CheckBoxGroup" hidden="true"/>
        <parameter name="symbols" value="MSFT,IBM,ORCL,SUNW" type="style" hidden="false">
            <meta-info>
                <title>Symbols</title>
                <description>List of comma-separated stock symbols. You may also enter symbols in the input field provided in body of portlet. These symbols will remain active until you hit "Get Quotes" with no symbols OR your session expires OR you log off and log back in. At that time, the portlet will display quotes for default symbols specified in the portlet customizer. </description>
            </meta-info>
        </parameter>
        <parameter name="symbols.style" value="TextArea" hidden="true"/>
        <media-type ref="html"/>
        <media-type ref="wml"/>
        <url cachedOnURL="true"/>
        <category group="Jetspeed">web services</category>
        <category group="Jetspeed">finance.stocks</category>
        <category group="Jetspeed">jsp</category>
    </portlet-entry>
    <portlet-entry name="JetspeedQuestionnairePortlet" hidden="false" type="ref" parent="JSP" application="false">
        <security-ref parent="user-only"/>
        <meta-info>
            <title>Jetspeed Questionnaire</title>
            <description>Polls the Jetspeed community for information
                about their Jetspeed-powered sites</description>
        </meta-info>
        <parameter name="template" value="JetspeedQuestionnaire.jsp" hidden="true" cachedOnName="true" cachedOnValue="true"/>
        <parameter name="confirm.template" value="JetspeedQuestionnaireConfirmation.jsp" hidden="true"/>
        <parameter name="action" value="portlets.QuestionnaireAction" hidden="true" cachedOnName="true" cachedOnValue="true"/>
        <parameter name="q1" value="" type="style" hidden="false" cachedOnName="true" cachedOnValue="true">
            <meta-info>
                <title>Site Name and Brief Description of How It Is Used</title>
                <description>For example: Allows employees and customer
                    to manage order, catalogs, documentation, etc</description>
            </meta-info>
        </parameter>
        <parameter name="q1.style" value="TextArea" hidden="true" cachedOnName="true" cachedOnValue="true"/>
        <parameter name="q2" value="Internet" type="style" hidden="false" cachedOnName="true" cachedOnValue="true">
            <meta-info>
                <title>Site Type</title>
                <description>Please e-mail a sample snapshot of your
                    portal if it&apos;s an Intranet or not yet available
                    via Internet</description>
            </meta-info>
        </parameter>
        <parameter name="q2.style" value="ListBox" hidden="true" cachedOnName="true" cachedOnValue="true"/>
        <parameter name="q2.style.items" value="Internet,Intranet" hidden="true" cachedOnName="true" cachedOnValue="true"/>
        <parameter name="q3" value="Prototype" type="style" hidden="false" cachedOnName="true" cachedOnValue="true">
            <meta-info>
                <title>Implementation Stage</title>
            </meta-info>
        </parameter>
        <parameter name="q3.style" value="ListBox" hidden="true" cachedOnName="true" cachedOnValue="true"/>
        <parameter name="q3.style.items" value="Prototype,Beta,Production" hidden="true" cachedOnName="true" cachedOnValue="true"/>
        <parameter name="q4" value="" type="" hidden="false" cachedOnName="true" cachedOnValue="true">
            <meta-info>
                <title>Site URL (if internet site)</title>
            </meta-info>
        </parameter>
        <parameter name="q5" value="1.4 Beta 3" type="style" hidden="false" cachedOnName="true" cachedOnValue="true">
            <meta-info>
                <title>Version of Jetspeed Used</title>
            </meta-info>
        </parameter>
        <parameter name="q5.style" value="ListBox" hidden="true" cachedOnName="true" cachedOnValue="true"/>
        <parameter name="q5.style.items" value="1.3x,1.4 Beta 1, 1.4 Beta 2, 1.4 Beta 3,CVS" hidden="true" cachedOnName="true" cachedOnValue="true"/>
        <parameter name="q6" value="" type="" hidden="false" cachedOnName="true" cachedOnValue="true">
            <meta-info>
                <title>Operating System Platform</title>
            </meta-info>
        </parameter>
        <parameter name="q7" value="Tomcat" type="style" hidden="false" cachedOnName="true" cachedOnValue="true">
            <meta-info>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -