Oscar,

Yes, it's the SymbolSources configuration point you were looking for.
If you need to load symbols from a properties file you'll have to roll
your own symbol source. But that's really very easy.

The 'name' attribute (in conjunction with the 'before' and 'after'
attributes) is used for ordering symbol sources. Thus if you have
multiple symbol sources defining the same symbols you can define the
order of precedence of the sources.

HTH,

--knut

On 11/21/05, Oscar Picasso <[EMAIL PROTECTED]> wrote:
> Ok. I found it. Quite simple finally.
>
>  Just added
>
>  <contribution configuration-id="hivemind.SymbolSources">
>  <source name="symbolSources"
> class="org.apache.hivemind.impl.SystemPropertiesSymbolSource"/>
>
>  </contribution>
>
>  Not sure what's the purpose of the name attribute though.
>
>
> Oscar Picasso <[EMAIL PROTECTED]> wrote:
>  Hi,
>
>  I want to use symbols that comes from:
>  1- environement variables
>  and/or
>  2- a properties file
>
>  How to do that? I have read the docs, it should be simple but frankly I am
> lost.
>
>  And that from someone that found Tapestry really easy to learn (despîte my
> background with other frameworks).
>
>  Thanks.
>
>  Oscar
>
>
>  ________________________________
>  Yahoo! FareChase - Search multiple travel sites in one click.
>
>
>  ________________________________
>  Yahoo! FareChase - Search multiple travel sites in one click.
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to