Slimy37
14 years agoOccasional Contributor
putting variables back into properties
I have found the following code that uses a value from a Property and processes it, with the intention of putting it back into the same property. I feel like I'm missing something obvious here, but I just can't figure out how to put it back into the property;
temp = context.expand( '${Properties#viewstate1}' );
temp = temp.replaceAll("\\+","%2B");
temp = temp.replaceAll("\\/","%2F");
How do I put temp back into Properties#viewstate1?
temp = context.expand( '${Properties#viewstate1}' );
temp = temp.replaceAll("\\+","%2B");
temp = temp.replaceAll("\\/","%2F");
How do I put temp back into Properties#viewstate1?