on 08-20-2008 2:36 PM
Hello Friends,
I have a element in the Soruce side and I would like to get the value which is in the element into the udf and wants to concatenate(add) to a string . and result want to place it in target element.how to do this ...
Please provide the code ,if possible and (what I needs to take paramters for this and whether cache to take or context to take in this case)
U mean u want to make some changes in src element also.
wat is ur actual requirement?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Alternate way
src------------->
textfunction(Concat)---->tgt
constant------>
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 predefined functions CONCAT to obtain u r functionality. no need to use UDF for this.
Thanks,
Madhav
Note:points if useful
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
use cache parameter - value
public String concat(String a,Container container)
{
//write your code here
String value = "";//inser the string which u want to add to element
String target = " ";
target = a + value;
return target;
}
source->udf(concat)->tgt
Edited by: malini balasubramaniam on Aug 20, 2008 3:43 PM
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 | |
10 | |
7 | |
6 | |
6 | |
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.