I have an event called getCategories that returns me an array of
records. Pretty standard stuff.

Now with in my display code I have the following block of code. Inside
this loop I need to call another event called getArticleByCategory,
but I am not sure how to call this event. I have read through the
event api and I do not see how one can call an event from with inside
a loop.

Any information you can give me is greatly appreciated.

                <cfloop array="#articleCategories#" index="j">
                        <div id="more-articles-header1" 
style="background-image:url
(#j.getCategoryColorImageURL()#);">
                                 &nbsp;
                                <div class="success-articles-header-text">
                                         #j.getCategoryDescription()#
                                </div>
                                <div class="success-articles-view-all">
                                        <a href="">VIEW ALL >></a>
                                </div>
                        </div>
                        <br />
                        <div class="more-articles-content">
                                <div class="success-stories-articles-image">
                                        <img src="" width="100" height="78" />
                                </div>
                                <div class="success-stories-articles-text">
                                        <h1>Title</h1>
                                         <a href="">Read More...</a>
                                </div>
                                <div class="more-articles-footer">
                                        <a href=""><span 
class="related-articles">Related Articles</
span></a>
                                </div>
                        </div>
                </cfloop>

-- 
Model-Glue Sites:
Home Page: http://www.model-glue.com
Documentation: http://docs.model-glue.com
Bug Tracker: http://bugs.model-glue.com
Blog: http://www.model-glue.com/blog

You received this message because you are subscribed to the Google
Groups "model-glue" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/model-glue?hl=en

Reply via email to