2005-09-30
About @@max in tapestry
You can call a static method using the syntax @class@method(args). If
you leave out class, it defaults to java.lang.Math, to make it easier to
call min and max methods. If you specify the class, you must give the
fully qualified name.
If you have an instance of a class whose static method you wish to call,
you can call the method through the object as if it was an instance method.
If the method name is overloaded, OGNL chooses the right static method
to call using the same procedure it uses for overloaded instance methods.
you leave out class, it defaults to java.lang.Math, to make it easier to
call min and max methods. If you specify the class, you must give the
fully qualified name.
If you have an instance of a class whose static method you wish to call,
you can call the method through the object as if it was an instance method.
If the method name is overloaded, OGNL chooses the right static method
to call using the same procedure it uses for overloaded instance methods.
发表评论
最近加入圈子
最新评论
-
Tapestry5开发系列:如何 ...
我的也是出现找不到slf4j.logger问题.但我按楼主的图片进行,在user ...
-- by biaoming -
Tapestry5-如何在根目录下 ...
o,是我看的不仔细。不过我都是放在class相对应的资源包中。
-- by KorbenZhang -
Tapestry5-如何在根目录下 ...
文章提到的是组件类的模板,页面类默认是在根目录的。
-- by tapestry -
Tapestry5-如何在根目录下 ...
过时了,T5已经把tml文件放在根目录了。
-- by KorbenZhang -
Tapestry5开发系列:如何 ...
我删掉了依赖,加了servlet还是不行,jetty就是不起来,说没找到logg ...
-- by leegorous







评论排行榜