forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thorsten Scherler <thors...@apache.org>
Subject Re: [Views]Enable to call twice the same contract with different properties...
Date Mon, 25 Jul 2005 11:13:07 GMT
On Mon, 2005-07-25 at 13:06 +0200, Cyriaque Dupoirieux wrote:
> Hi,
> 
>     It seems to be impossible to call twice the same contact with 
> different properties (arguments).
>     I tried to call twice a search-input contract of my own - which 
> accepts input field size argument - with two different size. Only the 
> first size is taken into account.
> 

Yes that is right. I am still thinking how to overcome this problem that
is based on the architecture. If you have an idea please let me know. I
will have a look on that ASAP. ATM I am busy to work off the holiday
stack. ;-)

salu2

>    
> ------------------------------------------------------------------------
>        <forrest:contract name="search-input">
>           <forrest:properties contract="search-input">
>             <forrest:property name="input-size">*25*</forrest:property>
>           </forrest:properties>
>         </forrest:contract>
>        . . .
>       <forrest:hook name="menu">
>         <forrest:contract name="pelt-nav-section"/>
>         <forrest:contract name="search-input">
>           <forrest:properties contract="search-input">
>             <forrest:property name="input-size">*18*</forrest:property>
>           </forrest:properties>
>         </forrest:contract>
>        
> ------------------------------------------------------------------------
> The size of the search form Input field is 25 in both cases.
> 
-- 
thorsten

"Together we stand, divided we fall!" 
Hey you (Pink Floyd)


Mime
View raw message