All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.opensymphony.webwork.views.velocity.components.I18nDirective Maven / Gradle / Ivy

There is a newer version: 2.2.5
Show newest version
package com.opensymphony.webwork.views.velocity.components;

import com.opensymphony.webwork.components.Component;
import com.opensymphony.webwork.components.I18n;
import com.opensymphony.xwork.util.OgnlValueStack;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * @see I18n
 */
public class I18nDirective extends AbstractDirective {
    public String getBeanName() {
        return "i18n";
    }

    protected Component getBean(OgnlValueStack stack, HttpServletRequest req, HttpServletResponse res) {
        return new I18n(stack);
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy