Fork me on GitHub
Blog
The journal that this archive was targeting has been deleted. Please update your configuration.
« Transition Event | Main | View Reference »
Wednesday
Oct102012

Behavior Reference 

For every behavior in your application, JUIPP generates a constant identifier matching your behavior name and puts it in the BehaviorReference class for you to be able to refer to a behavior wiout you knowing the actual concrete implementation of the view. It enables Views to reference a Behavior when sending a Behavior Event (BE) to the Controller (C) without being aware of the concrete Behavior and how it is created.

//Generated by JUIPP
public static class BehaviorReference 
{
   public const string OpenHomeBehavior = "OpenHomeBehavior";
   public const string OpenStudentProfileBehavior = "OpenStudentProfileBehavior";
}

Reader Comments

There are no comments for this journal entry. To create a new comment, use the form below.

PostPost a New Comment

Enter your information below to add a new comment.

My response is on my own website »
Author Email (optional):
Author URL (optional):
Post:
 
Some HTML allowed: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>