Hi,
You can when using WOOgnl. Take a look here:
http://en.wikibooks.org/wiki/Programming:WebObjects/Project_WONDER/
Frameworks/WOOgnl
Here are two of the examples given there:
// Calling static methods
Repetition2: WORepetition {
item = arrayItem;
list =
"[EMAIL PROTECTED]@sortedArraySortedWithKey(anArray,
\"name\")";
}
// Accessing static ivars
String1: WOString {
value = "[EMAIL PROTECTED]@OgnlSpecialCharacters";
}
Of course you can do a *lot* more with WOOgnl.
Some more info on WOOgnl can be found here:
http://groups.google.com/group/wotips/browse_frm/thread/d89adb4015442ef0
http://groups.google.com/group/wotips/browse_frm/thread/466ef5224633521e
Timo
Then you can e.g. do
Am 22.03.2007 um 10:19 schrieb Helmut Schottmüller:
Let's add I know that I am capable of encapsulating the
System.getProperty method in a public method of my application or
session object to access it as a binding value.
What I want to know is: Is it possible to access static class
methods directly as a binding using some syntax magic (like the
caret for a parent component)
Regards,
Helmut
Am 22.03.2007 um 08:59 schrieb Helmut Schottmüller:
Hi,
Maybe this question is very stupid, but is there a direct way to
access system properties as a binding value?
System.Property.<PROPERTYNAME> does not work...
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/th-dev%
40onlinehome.de
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:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com
This email sent to [email protected]