Hi,

Thanks for replying, I understand your point, but I think this will be
more
interesting if
there were a mechanisism that do this automaticaly instead of  passing
the
value trhough the controller.

I will investigate further..

Regards


On 2 dic, 09:35, James Curran <[email protected]> wrote:
> "submit" would need to be an object in the PropertyBag, whose "key"
> property knows to load the string from the resource and return it.
> Fairly straightforward.  The only trickier part is reading from the
> resource file, which is an implementation detail on your side.
>
> On Wed, Dec 2, 2009 at 10:10 AM, [email protected]
>
>
>
> <[email protected]> wrote:
> > Hello,
>
> > I want to know if there is a chance that I can put all my string
> > constants into a external file...  Like a resource bundle in java.
>
> > Example:
>
> > if I have this
>
> > [Code]
> > <input type="submit" value="TEST" />
>
> > I want
>
> > [Code]
> > <input type="submit" value="{submit.key}" />
>
> > and submit.key=TEST <--- This will be in a resource bundle
>
> --
> Truth,
>     James

--

You received this message because you are subscribed to the Google Groups 
"Castle Project Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/castle-project-users?hl=en.


Reply via email to