Examples of VelocityPortlet


Examples of org.apache.jetspeed.portal.portlets.VelocityPortlet

     */
    public void doUpdate(RunData rundata, Context context)
    {
        String pageSize = null;

        VelocityPortlet portlet = (VelocityPortlet) context.get("portlet");
        if (portlet != null)
        {
            String peid = portlet.getID();
            if ((peid != null)
                && peid.equals(rundata.getParameters().getString(PEID)))
            {
                pageSize = rundata.getParameters().getString(PAGE_SIZE);
            }
View Full Code Here

Examples of org.apache.jetspeed.portal.portlets.VelocityPortlet

     * @param data The turbine rundata context for this request.
     * @param context The velocity context for this request.
     */
    public void doRefresh(RunData rundata, Context context)
    {
        VelocityPortlet portlet = (VelocityPortlet) context.get("portlet");
        PortletSessionState.clearAttribute(portlet, rundata, PROFILE_ITERATOR);
        rundata.getParameters().remove(FILTER_VALUE);
        buildNormalContext(portlet, context, rundata);
    }
View Full Code Here

Examples of org.apache.jetspeed.portal.portlets.VelocityPortlet

     * @param data The turbine rundata context for this request.
     * @param context The velocity context for this request.
     */
    public void doFilter(RunData rundata, Context context)
    {
        VelocityPortlet portlet = (VelocityPortlet) context.get("portlet");
        PortletSessionState.clearAttribute(portlet, rundata, PROFILE_ITERATOR);
        buildNormalContext(portlet, context, rundata);
    }
View Full Code Here

Examples of org.apache.jetspeed.portal.portlets.VelocityPortlet

     * @param context
     * @see VelocityPortletAction#doCancel
     */
    public void doCancel(RunData data, Context context)
    {
        VelocityPortlet portlet = (VelocityPortlet) context.get("portlet");
        buildNormalContext(portlet, context, data);
    }
View Full Code Here

Examples of org.apache.jetspeed.portal.portlets.VelocityPortlet

     * @param data The turbine rundata context for this request.
     * @param context The velocity context for this request.
     */
    public void doUpdate(RunData rundata, Context context)
    {
        VelocityPortlet portlet = (VelocityPortlet)context.get("portlet");
        String sql = getRequestParameter(portlet, rundata, SQL);
        String pageSize = getRequestParameter(portlet, rundata, WINDOW_SIZE);

        if (sql!=null)
        {
View Full Code Here

Examples of org.apache.jetspeed.portal.portlets.VelocityPortlet

     * @param data The turbine rundata context for this request.
     * @param context The velocity context for this request.
     */
    public void doRefresh(RunData rundata, Context context)
    {
        VelocityPortlet portlet = (VelocityPortlet)context.get("portlet");
        if(isMyRequest(portlet,rundata))
        {
            clearDatabaseBrowserIterator(portlet, rundata);
        }
        buildNormalContext(portlet, context, rundata);
View Full Code Here

Examples of org.apache.jetspeed.portal.portlets.VelocityPortlet

    {
        String text = data.getParameters().getString("text");
       
        if (text!=null)
        {
            VelocityPortlet portlet = (VelocityPortlet)context.get("portlet");
            portlet.setAttribute("text",text,data);
            context.put("text",text);
            context.put("message", "Text successfully updated");
        }
        else
        {
View Full Code Here

Examples of org.apache.jetspeed.portal.portlets.VelocityPortlet

     */
    public void doUpdate(RunData rundata, Context context)
    {
        String pageSize = null;

        VelocityPortlet portlet = (VelocityPortlet) context.get("portlet");
        if (portlet != null)
        {
            String peid = portlet.getID();
            if ((peid != null)
                && peid.equals(rundata.getParameters().getString(PEID)))
            {
                pageSize = rundata.getParameters().getString(PAGE_SIZE);
            }
View Full Code Here

Examples of org.apache.jetspeed.portal.portlets.VelocityPortlet

     * @param data The turbine rundata context for this request.
     * @param context The velocity context for this request.
     */
    public void doRefresh(RunData rundata, Context context)
    {
        VelocityPortlet portlet = (VelocityPortlet) context.get("portlet");
        PortletSessionState.clearAttribute(portlet, rundata, PROFILE_ITERATOR);
        rundata.getParameters().remove(this.FILTER_VALUE);
        buildNormalContext(portlet, context, rundata);
    }
View Full Code Here

Examples of org.apache.jetspeed.portal.portlets.VelocityPortlet

     * @param data The turbine rundata context for this request.
     * @param context The velocity context for this request.
     */
    public void doFilter(RunData rundata, Context context)
    {
        VelocityPortlet portlet = (VelocityPortlet) context.get("portlet");
        PortletSessionState.clearAttribute(portlet, rundata, PROFILE_ITERATOR);
        buildNormalContext(portlet, context, rundata);
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.