Return-Path: Delivered-To: apmail-tapestry-commits-archive@minotaur.apache.org Received: (qmail 23407 invoked from network); 1 Apr 2010 00:18:49 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 1 Apr 2010 00:18:49 -0000 Received: (qmail 68687 invoked by uid 500); 1 Apr 2010 00:18:49 -0000 Delivered-To: apmail-tapestry-commits-archive@tapestry.apache.org Received: (qmail 68670 invoked by uid 500); 1 Apr 2010 00:18:48 -0000 Mailing-List: contact commits-help@tapestry.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@tapestry.apache.org Delivered-To: mailing list commits@tapestry.apache.org Received: (qmail 68663 invoked by uid 99); 1 Apr 2010 00:18:48 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Apr 2010 00:18:48 +0000 X-ASF-Spam-Status: No, hits=-1189.7 required=10.0 tests=ALL_TRUSTED,AWL X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Apr 2010 00:18:47 +0000 Received: from brutus.apache.org (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 99710234C4B2 for ; Thu, 1 Apr 2010 00:18:27 +0000 (UTC) Message-ID: <197929034.621381270081107627.JavaMail.jira@brutus.apache.org> Date: Thu, 1 Apr 2010 00:18:27 +0000 (UTC) From: "Pierce Wetter (JIRA)" To: commits@tapestry.apache.org Subject: [jira] Updated: (TAP5-1093) BeanDisplay, Grid: should support nested properties in t:include, t:add In-Reply-To: <86724355.616811270071507225.JavaMail.jira@brutus.apache.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/TAP5-1093?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Pierce Wetter updated TAP5-1093: -------------------------------- Description: Say you have something one object removed you want to display like "user.firstName". If you try to blindly add this to a grid using t:include, you get an error because its "not part of the bean model" because despite the documentation stating that it "understands property expressions", it doesn't! Similarly, t:add="user.login" doesn't work either, because that adds an empty property! Unfortunately, this will be a challenge to fix without breaking all existing uses of t:add! Suggestion: If t:include or t:add sees prop:user.login, it should then interpret that as a nested property expression, and create the appropriate property conduit. was: Say you have something one object removed you want to display like "user.firstName". If you try to blindly add this to a grid using t:include, you get an error because its "not part of the bean model". Instead, it seems like any nested property in t:include should imply a t:add. Summary: BeanDisplay, Grid: should support nested properties in t:include, t:add (was: BeanDisplay, Grid: t:include should imply t:add ) > BeanDisplay, Grid: should support nested properties in t:include, t:add > ------------------------------------------------------------------------ > > Key: TAP5-1093 > URL: https://issues.apache.org/jira/browse/TAP5-1093 > Project: Tapestry 5 > Issue Type: Improvement > Components: tapestry-core > Affects Versions: 5.2.0 > Reporter: Pierce Wetter > > Say you have something one object removed you want to display like "user.firstName". > If you try to blindly add this to a grid using t:include, you get an error because its "not part of the bean model" because despite the documentation stating that it "understands property expressions", it doesn't! > Similarly, t:add="user.login" doesn't work either, because that adds an empty property! > Unfortunately, this will be a challenge to fix without breaking all existing uses of t:add! > Suggestion: If t:include or t:add sees prop:user.login, it should then interpret that as a nested property expression, and create the appropriate property conduit. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.