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

net.anotheria.anosite.cms.action.LocalizationBundleImportMafAction Maven / Gradle / Ivy

There is a newer version: 4.1.2
Show newest version
package net.anotheria.anosite.cms.action;

import net.anotheria.anosite.gen.shared.action.BaseToolsAction;
import net.anotheria.maf.action.ActionCommand;
import net.anotheria.maf.action.ActionMapping;

import jakarta.servlet.http.HttpServletRequest;
import jakarta.servlet.http.HttpServletResponse;

/**
 * @author asamoilich.
 */
public class LocalizationBundleImportMafAction extends BaseToolsAction {


    protected boolean isAuthorizationRequired() {
        return true;
    }

    public ActionCommand anoDocExecute(ActionMapping aMapping, HttpServletRequest aReq, HttpServletResponse aRes) throws Exception {
        aReq.setAttribute("languages", getSupportedLanguages());
        aReq.setAttribute("selectedLanguage", "AT");
        return aMapping.success();
    }

    @Override
    protected String getTitle() {
        return "LocalizationBundleImport";
    }

    @Override
    protected String getCurrentDocumentDefName() {
        return null;
    }

    @Override
    protected String getCurrentModuleDefName() {
        return null;
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy