Hi Paul,
thank you for your reply. I tried it, but it won't work for me. Here is a 
better description for my problem (or the thing i want to do):

Example for the WOComponent "TestComponent":

I've a variable like this in my TestComponent.java:

        public String aTestString = "Hello WO";

In my TestComponent.html i've tried to request the string:

        <wo:string value = "[aTestString]" />


The final output will be now:

        <wo:string value = "[aTestString]" />

It looks like the tag will not me translated. Is there any setting which i have 
to set?

Thank you,

Thomas



Am 09.06.2013 um 13:48 schrieb Paul Yu <[email protected]>:

> Thomas
> 
> If you want to use the testString as a variable, then it should be 
> "$testString"
> 
> Paul
> 
> Sent from my iPad
> 
> On Jun 9, 2013, at 7:05 AM, "Thomas Grass (01SoftwareSolutions)" 
> <[email protected]> wrote:
> 
>> Hello Community,
>> i want to use inline elements such like this:
>> 
>> <h1><wo:string value="testString" valueWhenEmpty = "-" /></h1>
>> 
>> But webobjects ignores such statements (there is no output and no error 
>> message). What must be set to use it? For some cases I don't want to use the 
>> "default" and write a WOD and a HTML.
>> 
>> Thanks 
>> Thomas
>> 
>> 
>> _______________________________________________
>> Do not post admin requests to the list. They will be ignored.
>> Webobjects-dev mailing list      ([email protected])
>> Help/Unsubscribe/Update your Subscription:
>> https://lists.apple.com/mailman/options/webobjects-dev/pyu%40mac.com
>> 
>> This email sent to [email protected]


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to