Hi Steven,

thanks a lot for having added this. I have a few remarks:

* adding the ID in the XML isn't needed and can actually confuse RIFE since it doesn't know which ID belongs to which implementation class when you refer to the class. In your case (since you just use the short class name), you can leave the ID out completely. If you what to add one, it's best to do so in annotations.

* you don't have to prefix the URLs with a /, RIFE does that automatically for you

* the destClassIdPrefix doesn't have to end with a dot, RIFE does that automatically for you

* it might be more appropriate to use related IDs for destClassIdPrefix instead of absolute ones in case you integrate your elements in other sites: ^Admin

That's it :-)

Take care,

Geert

On 12 Jul 2006, at 06:40, Steven Grimm wrote:

Sure thing! I've added a section to that page, with a bunch of additional explanatory text which will hopefully be helpful to people who aren't too familiar with RIFE's annotations. Comments (or edits) welcome, naturally.

-Steve


Tyler Pitchford wrote:
Steven,

 Could you add your Annotations information to the Best Practices
page in the wiki? I'd like to start using your format (seems to reduce
some clutter), but I'm not 100% sure on what your site.xml ends up
looking like.

Thanks,
 Tyler


_______________________________________________
Rife-users mailing list
[email protected]
http://lists.uwyn.com/mailman/listinfo/rife-users


--
Geert Bevin
Uwyn "Use what you need" - http://uwyn.com
RIFE Java application framework - http://rifers.org
Music and words - http://gbevin.com


_______________________________________________
Rife-users mailing list
[email protected]
http://lists.uwyn.com/mailman/listinfo/rife-users

Reply via email to