Hello, Unfortunately I do not have T4 experience with these components.
It cannot find that property so perhaps you have the path wrong. If you send your 3 files to my email I will look at them and see if I can help. --James -----Original Message----- From: Cathy_123 [mailto:ndgt...@yahoo.com] Sent: January-21-09 10:50 AM To: users@tapestry.apache.org Subject: [Spam Rating:3.18] RE: RE: Re: Table and carriage return I get Unable to read OGNL expression '<parsed OGNL expression>' of ...... ognl.NoSuchPropertyException Stack Trace: ognl.ObjectPropertyAccessor.getProperty(ObjectPropertyAccessor.java:123) ognl.OgnlRuntime.getProperty(OgnlRuntime.java:1616) ognl.ASTProperty.getValueBody(ASTProperty.java:96) ognl.SimpleNode.evaluateGetValueBody(SimpleNode.java:170) ognl.SimpleNode.getValue(SimpleNode.java:210) ognl.ASTChain.getValueBody(ASTChain.java:109) ognl.SimpleNode.evaluateGetValueBody(SimpleNode.java:170) ognl.SimpleNode.getValue(SimpleNode.java:210) ognl.Ognl.getValue(Ognl.java:333) ognl.Ognl.getValue(Ognl.java:310) org.apache.tapestry.services.impl.ExpressionEvaluatorImpl.readCompiled(Expre ssionEvaluatorImpl.java:91) $ExpressionEvaluator_11ef9a9af22.readCompiled($ExpressionEvaluator_11ef9a9af 22.java) org.apache.tapestry.binding.ExpressionBinding.resolveExpression(ExpressionBi nding.java:110) org.apache.tapestry.binding.ExpressionBinding.getObject(ExpressionBinding.ja va:103) org.apache.tapestry.binding.AbstractBinding.getObject(AbstractBinding.java:8 7) $Insert_6.getValue($Insert_6.java) org.apache.tapestry.components.Insert.renderComponent(Insert.java:42) org.apache.tapestry.AbstractComponent.render(AbstractComponent.java:617) org.apache.tapestry.AbstractComponent.renderBody(AbstractComponent.java:434) org.apache.tapestry.components.BlockRenderer.render(BlockRenderer.java:75) org.apache.tapestry.components.Delegator.renderComponent(Delegator.java:44) org.apache.tapestry.AbstractComponent.render(AbstractComponent.java:617) org.apache.tapestry.AbstractComponent.renderBody(AbstractComponent.java:434) org.apache.tapestry.components.Any.renderComponent(Any.java:48) org.apache.tapestry.AbstractComponent.render(AbstractComponent.java:617) org.apache.tapestry.AbstractComponent.renderBody(AbstractComponent.java:434) org.apache.tapestry.components.ForBean.renderComponent(ForBean.java:137) org.apache.tapestry.AbstractComponent.render(AbstractComponent.java:617) org.apache.tapestry.BaseComponent.renderComponent(BaseComponent.java:92) org.apache.tapestry.AbstractComponent.render(AbstractComponent.java:617) org.apache.tapestry.AbstractComponent.renderBody(AbstractComponent.java:434) org.apache.tapestry.components.RenderBody.renderComponent(RenderBody.java:44 ) ********** James Sherwood wrote: > > Hello, > > What is the exception you are getting? > > --James > > -----Original Message----- > From: Cathy_123 [mailto:ndgt...@yahoo.com] > Sent: January-21-09 9:40 AM > To: users@tapestry.apache.org > Subject: [Spam Rating:3.18] RE: [Spam Rating:3.18] Re: Table and carriage > return > > > Thank you for this issue, It's OK for the carriage return but I have a > little > problem again > > I have to format the value of the column. Instead to do > > <component id="pagesTable" type="PagesTable"> > <binding name="source" value="myDataModel"/> > <binding name="columns" value="literal:!column1,!,!column2"/> > </component> > > I do > > <component id="pagesTable" type="PagesTable"> > <binding name="source" value="myDataModel"/> > <binding name="columns" value="literal:!column1,!,=column2Column"/> > </component> > > because column2 is a List of data. So with the code java, I use > ITableColumnEvaluator and read the list and return list.get(0) + "<br/>" > +list.get(1) + "<br/>" +list.get(2)... > > so if I have a "insert", I do > > <component id="pagesTable" type="PagesTable"> > <binding name="source" value="myDataModel"/> > <binding name="columns" value="literal:!column1,!,!columnFormat"/> > </component> > > <component id="columnFormatColumnValue" type="Block"/> > <component id="columnFormat type="Insert"> > <binding name="value" > value="components.pagesTable.tableRow.column2Column"/> > <binding name="raw" value="true"/> > </component> > > But I have an exception because of <binding name="value" > value="components.pagesTable.tableRow.column2Column"/> > How can I do to format column2 with Insert (format column2 for each line > of > table) ? > > thank you for your help > > Cathy > > > James Sherwood wrote: >> >> Hello, >> >> I have not used T4 going from T3 to T5 but I assume most of the >> components >> are the same. >> >> If you are using the standard insert component you can just declare the >> raw >> parameter as true so you output is changed in any way: >> >> <component id="insertText" type="Insert"> >> <binding name="value" expression="message"></binding> >> <static-binding name="raw">TRUE</static-binding> >> </component> >> >> >> --James >> >> -----Original Message----- >> From: Cathy_123 [mailto:ndgt...@yahoo.com] >> Sent: January-21-09 7:30 AM >> To: users@tapestry.apache.org >> Subject: [Spam Rating:3.18] Re: Table and carriage return >> >> >> Thank you for your answer, but I use Tapestry 4, are there another >> solutions >> or I have to change the version ? It's a project of my company so it's >> difficult to change ... >> >> Thank you for your help >> >> cathy >> >> >> >> Thiago HP wrote: >>> >>> On Wed, Jan 21, 2009 at 8:40 AM, Cathy_123 <ndgt...@yahoo.com> wrote: >>> >>>> I set these values on the java code and I try to add ' \n\r' or '\r\n' >>>> or >>>> '<br>' on the string but tapestry >>>> doesn't understand this carracters. Do you know how to do it ? >>> >>> HTML completely ignores newline (\n, \r) characters unless they're >>> surrounded by a <pre> tag. >>> By the way, Tapestry templates *must* be valid XML, so you should use >>> <br/> in your templates, not <br>. >>> >>> By default, Tapestry converts < the character in <, > in > , etc. >>> The OutputRaw component >>> >> > (http://tapestry.apache.org/tapestry5/tapestry-core/ref/org/apache/tapestry5 >> /corelib/components/OutputRaw.html) >>> does not do this conversion, so it can be a solution to your problem. >>> >>>> And I would like that the table doesn't add automatically the carriage >>>> return when my string is too long like too. >>> >>> This is a pure HTML question, not Tapestry related. And I don't know >>> the answer . . . Maybe you can try the <pre> tag. >>> >>> -- >>> Thiago >>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org >>> For additional commands, e-mail: users-h...@tapestry.apache.org >>> >>> >>> >> >> -- >> View this message in context: >> http://www.nabble.com/Table-and-carriage-return-tp21580648p21581350.html >> Sent from the Tapestry - User mailing list archive at Nabble.com. >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org >> For additional commands, e-mail: users-h...@tapestry.apache.org >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org >> For additional commands, e-mail: users-h...@tapestry.apache.org >> >> >> > > -- > View this message in context: > http://www.nabble.com/Table-and-carriage-return-tp21580648p21583339.html > Sent from the Tapestry - User mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > For additional commands, e-mail: users-h...@tapestry.apache.org > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > For additional commands, e-mail: users-h...@tapestry.apache.org > > > -- View this message in context: http://www.nabble.com/Table-and-carriage-return-tp21580648p21584614.html Sent from the Tapestry - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org