on 09-08-2008 11:13 AM
hi,
how can i add some text in textfield with a bind data? is there any concatenating symbol like + in others?
Viral, the TextEdit will show the data held in your context attribute bound to tue TextEdit. However, if you want to show in the TextEdit not only the contents but any other value you can set the property 'calculated = true' of the context attribute.
Then, in the generated get<attributeName> method you can return any message you like, and also can use the actual value of the attribute concatenated with any other strings.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI,
you can make the calculated property of the attribute
to true .
when u make it true , a get<attr>() method gets generated
there u can bind and return the strimg u want
eg:
return element+"hi";
Regards,
Satya.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
You can use the following
String str = "Sample Text" + wdContext.currentContextElement().get<AttributeName>();
wdContext.currentContextElement().set<AttributeName>(str);
Regards
Ayyapparaj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.