I would use the literal prefix binding like this:

<t:outputraw value="literal: &lt;&lt; "/>

See the list of Binding Expressions here:
http://tapestry.apache.org/component-parameters.html

Steve.




On 3 September 2011 12:22, Robert Zeigler <robert.zeig...@roxanemy.com> wrote:
> Default prefix for outputraw is "prop" (see 
> http://tapestry.apache.org/current/tapestry-core/ref/org/apache/tapestry5/corelib/components/OutputRaw.html).
>  Tapestry is trying to convert your string to a property expression.  
> Solution:
>  1) surround your string with ' ' (so: value="' &lt;&lt; '")
>  or
>  2) do: value="outputValue" in the template, and create: public String 
> getOutputValue() { return " &lt;&lt "; } to the java file. Also, if it's in 
> the java file, you ought to be able to use << directly since there won't be 
> parsing issues anymore, so: public String getOutputValue() { return " << "; }
>
> Robert
>
> On Sep 2, 2011, at 9/210:39 PM , Ken in Nashua wrote:
>
>>
>> Can someone help me resolve this markup...
>>
>> I went with the symbols but tap5 is not holding water.
>>
>> Thanks
>> KEN
>>
>> Could not convert ' << ' into a
>> component parameter binding: Error parsing property expression '
>> << ': Unable to parse input at character position 
>> 2.locationclasspath:org/tynamo/examples/hibernatesecurity/components/Gallery.tml,
>>  line 5045                         </td>46                 </tr>47           
>>       <tr>48                          <td align="left" NOWRAP="nowrap" 
>> colspan="2">49                                 <div style="font-size:10pt; 
>> text-align: center;">50                                             <a> 
>> <t:eventLink t:id="FirstPage"/> <t:outputraw value=" &lt;&lt; "/> </a>      
>> last line is the culprit
>> thanks
>>
>
>
> ---------------------------------------------------------------------
> 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

Reply via email to