Featured post

c# - Usage of Server Side Controls in MVC Frame work -

i using asp.net 4.0 , mvc 2.0 web application. project requiremrnt have use server side control in application not possibl in noraml case. ideally want use adrotator control , datalist control. i saw few samples , references in codepleax mvc controllib howwver found less useful. can tell how utilize theese controls in asp.net application along mvc. note: please provide functionalities related adrotator , datalist controls not equivalent functionalities thanks in advace. mvc pages not use normal .net solution makes use of normal .net components impossible. a normal .net page use event driven solution call different methods service side mvc use actions , view completly different way handle things. also, mvc not use viewstate normal .net controlls require. found article discussing mixing of normal .net , mvc.

java - AspectJ pointcut on method variable, is it possible? -


i have been using aspectj while , works great on object scope fields containing annotations. ran situation want annotate variable of method scope work pointcut having trouble it.

here pointcut using. works fine if variable field object, if reduce scope method (variable declared inside method), doesn't work anymore , not sure why. let me know can do, thanks.

 after(final trigger trigger): set(@triggereable * *) && args(trigger)  {   system.out.println("trigger flush");  } 

also, here exmaple of want work. system.out.println above should fire when trigger instantiated:

public void foo() {    @triggereable    private trigger trigger = new trigger(); } 

aspectj not support pointcuts on local variables (read faq entry).

i seem recall recent discussion such feature possibly added soon, not find in aspectj issue tracker nor in mailing list archives


Comments

Popular posts from this blog

c# - Usage of Server Side Controls in MVC Frame work -

cocoa - Nesting arrays into NSDictionary object (Objective-C) -

ios - Very simple iPhone App crashes on UILabel settext -