tapestry-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Elad Messing" <El...@sphera.com>
Subject RE: Reference to a .jwc 's component in its .html
Date Thu, 29 Jan 2004 07:53:26 GMT
It worked !!  Thanks !!

What does the 'direction="auto"' means  ?!?

Elad

-----Original Message-----
From: Harish Krishnaswamy [mailto:hkrishnaswamy@comcast.net] 
Sent: Wednesday, January 28, 2004 6:38 PM
To: Tapestry users
Subject: Re: Reference to a .jwc 's component in its .html

Try

<parameter name="cache" type="java.lang.String" required="yes"
direction="auto" />

-Harish

PS. Erik, I got this message alright.


Elad Messing wrote:

>Here they are :
>
>+ACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKg
>+AqACo-Border.jwc+ACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAK
>+gAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACo-
>+ACoAKgAqACo-
><component-specification 
>	class="com.sphera.rd.layout.Border"
>allow-informal-parameters="no">
>	
>    <parameter name="cache" type="java.lang.String" required="yes" /> 
>........
>    
>+ACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKg
>+AqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoA
>+KgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAq-
>+ACoAKg-
>
>
>
>+ACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKg
>+AqACo-Border.html+ACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoA
>+KgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAq-
>+ACoAKgAqACoAKg-
><html jwcid="shell">
><span jwcid="shellBlock">
>	<META jwcid="+AEA-Any" http-equiv="Pragma" content="ognl:cache"
/> 
></span> ........
>+ACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKg
>+AqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoA
>+KgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAq-
>+ACoAKg-
>
>
>
>+ACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKg
>+AqACoAKgAq-Border.java+ACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgA
>+qACoAKgAqACoAKgAqACoAKgAqACoAKgAqACo-
>+ACoAKgAq-
>package com.sphera.rd.layout;
>
>import org.apache.tapestry.BaseComponent;
>
>public class Border extends BaseComponent +AHs-
>
>	private String sPageName = "";
>	public String getPageName() +AHs-
>		return(sPageName);
>	+AH0-
>	public void setPageName(String value) +AHs-
>		sPageName = value;
>	+AH0-
>
>+AH0-
>+ACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKg
>+AqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoA
>+KgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAq-
>+ACoAKg-
>
>Error: 
>Unable to resolve expression 'cache' for 
>com.sphera.rd.layout.Border+ACQ-Enhance+AF8-0+AEA-643edd[Home/border].
>
>ognl.NoSuchPropertyException
>Cache
>
>target: 
>com.sphera.rd.layout.Border+ACQ-Enhance+AF8-0+AEA-643edd[Home/border]
>
>Stack Trace: 
>ognl.ObjectPropertyAccessor.getProperty(ObjectPropertyAccessor.java:123
>)
>
>ognl.OgnlRuntime.getProperty(OgnlRuntime.java:1219)
>ognl.ASTProperty.getValueBody(ASTProperty.java:108)
>.....
>
>
>
>Hope this would be enough...
>
>Thanks
>
>Elad
>-----Original Message-----
>From: Erik Hatcher [mailto:erik+AEA-ehatchersolutions.com] 
>Sent: Wednesday, January 28, 2004 3:41 PM
>To: Tapestry users
>Subject: Re: Reference to a .jwc 's component in its .html
>
>
>On Jan 28, 2004, at 6:57 AM, Elad Messing wrote:
>
>  
>
>>Hi Erik
>>	thanks for the answer - but I still get an exception :
>>
>>" Unable to resolve expression 'cache' for
>>com.sphera.rd.layout.Border+ACQ-Enhance+AF8-0+AEA-1e82b72[Home/
>>border  "
>>"ognl.NoSuchPropertyException"
>>
>>What is missing ?
>>    
>>
>
>I don't know.  Please post your latest .jwc and the .html/.page that is
>using it (as succinct as possible please).  Something mangled the code
>in your message.
>
>	Erik
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail:
tapestry-user-unsubscribe+AEA-jakarta.apache.org
>For additional commands, e-mail:
tapestry-user-help+AEA-jakarta.apache.org
>
>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail:
tapestry-user-unsubscribe+AEA-jakarta.apache.org
>For additional commands, e-mail:
tapestry-user-help+AEA-jakarta.apache.org
>
>
>  
>

---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org


Mime
View raw message