Re: Inline Elements
Re: Inline Elements
- Subject: Re: Inline Elements
- From: "Thomas Grass (01SoftwareSolutions)" <email@hidden>
- Date: Mon, 10 Jun 2013 11:01:15 +0200
Hi,
my build.properties file looks like the following, but it still not work? What did i wrong?
----
#Wed Oct 17 16:20:52 CEST 2012
webXML_CustomContent=
project.name=XYZ
embed.Network=true
embed.System=true
webXML=false
embed.User=true
principalClass=eu.xyz.XYZ
embed.Local=true
classes.dir=bin
project.name.lowercase=xyz
customInfoPListContent=
embed.Project=true
project.type=application
component.inlineBindingPrefix=$
component.inlineBindingSuffix=
----
Thanks
Am 10.06.2013 um 10:27 schrieb Þór Sigurðsson <email@hidden>:
> It all depends on your settings in the $PROJECTROOT/build.properties file "component.inlineBindingPrefix" and "component.inlineBindingSuffix".
>
> If you have:
> component.inlineBindingPrefix=[
> component.inlineBindingSuffix=]
>
> Then you'd use:
>
> <wo:str value="[someVariable]" />
> or
> <wo:string ... />
>
> but if you've got
>
> component.inlineBindingPrefix=$
> component.inlineBindingSuffix=
>
> Then you'd use:
>
> <wo:str value="$someVariable" />
> or
> <wo:string ... />
>
> See the pattern?
>
> I use the latter - and I suspect you do too, although I have seen the former around...
>
> /Thor
>
> On 10.6.2013, at 07:38, Thomas Grass (01SoftwareSolutions) wrote:
>
> 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@hidden<mailto:email@hidden>>:
>
> 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@hidden<mailto:email@hidden>> 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@hidden<mailto:email@hidden>)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden<mailto:email@hidden>
>
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list (email@hidden<mailto:email@hidden>)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
>
>
> ________________________________
>
> Fyrirvari á tölvupósti / e-mail disclaimer
> http://us.is/fyrirvari
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden