This content has been marked as final.
Show 2 replies
-
1. Re: Is a4j too smart about not including duplicate javascript functions?
lfryc Aug 25, 2011 4:21 AM (in response to bleathem)I have used solution similar to 3) in Ajocado project and it worked pretty well, but generated name wasn't very readable then.
In Ajocado, I'm using id generated with String#hashCode() to check whenever given script is already included in the page.
-
2. Re: Is a4j too smart about not including duplicate javascript functions?
bleathem Aug 25, 2011 3:01 PM (in response to lfryc)I've implemented a solution using the MD5 algorithm to come up with the method name. It's unfortunate that the method name is now meaningless, but it resolves the uderlying problem of reproducing the method name.