This worked! thx.

Sebastiaan van Erk wrote:

Use the @InjectMeta annotation:

@InjectMeta("org.apache.tapestry.accepted-locales")
public abstract String getAcceptedLocales();

See also: http://jakarta.apache.org/tapestry/UsersGuide/injection.html

Regards,
Sebastiaan

Rudolf Baloun wrote:

Hi,

i got this in my web.xml:

<servlet>
       <servlet-name>B2xSale</servlet-name>
<servlet-class>de.atron.tapestry.contrib.SpringApplicationServlet</servlet-class> <init-param> <param-name>org.apache.tapestry.application-specification</param-name>
           <param-value>/WEB-INF/b2xSale.application</param-value>
       </init-param>            <init-param>
           <param-name>org.apache.tapestry.accepted-locales</param-name>
           <param-value>de,en</param-value>
</init-param> <load-on-startup>1</load-on-startup> </servlet>

How can i get the values of "org.apache.tapestry.accepted-locales" in my java-code? How i get the accepted-locales? Can i read them from IEngine or IApplicationSpecification?
When yes, how?

Best regards

Rudolf B.


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


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




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

Reply via email to