Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 1A20C200BBC for ; Sun, 13 Nov 2016 11:39:05 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 14896160AF8; Sun, 13 Nov 2016 10:39:05 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 856B4160AF2 for ; Sun, 13 Nov 2016 11:39:04 +0100 (CET) Received: (qmail 25053 invoked by uid 500); 13 Nov 2016 10:38:58 -0000 Mailing-List: contact issues-help@struts.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@struts.apache.org Delivered-To: mailing list issues@struts.apache.org Received: (qmail 25038 invoked by uid 99); 13 Nov 2016 10:38:58 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 13 Nov 2016 10:38:58 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 77B892C4C70 for ; Sun, 13 Nov 2016 10:38:58 +0000 (UTC) Date: Sun, 13 Nov 2016 10:38:58 +0000 (UTC) From: "Lukasz Lenart (JIRA)" To: issues@struts.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (WW-3399) JCR(JSR-170) Struts2 plugin MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Sun, 13 Nov 2016 10:39:05 -0000 [ https://issues.apache.org/jira/browse/WW-3399?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15661274#comment-15661274 ] Lukasz Lenart commented on WW-3399: ----------------------------------- I'm wondering if this should be part of Struts Core, maybe it would be better to add it to https://github.com/struts-community-plugins > JCR(JSR-170) Struts2 plugin > --------------------------- > > Key: WW-3399 > URL: https://issues.apache.org/jira/browse/WW-3399 > Project: Struts 2 > Issue Type: New Feature > Components: Other > Reporter: Max Skripnikov > Fix For: 2.5.7 > > Attachments: patch.txt > > > Want to submit a patch for a new feature - plugin for the Struts2 and JCR(JSR-170) integration. It were developed as a part of the Sibutu project (http://code.google.com/p/sibutu/), but since it more relates to Struts2 we will be glad if you include this plugin into the Struts2 in future. Plugin consists of two parts - annotation based interceptor for preloading JCR nodes, and wrapper classes for transparent wrapping of JCR Nodes so they implement both javax,jcr.Node and java.util.Map. This approach allows node's properties to be set directly by Struts2, also validation can easily be done and JCR node's properties can be referenced in JSP pages in a standard way. -- This message was sent by Atlassian JIRA (v6.3.4#6332)