on 5/25/01 11:56 AM, "Christopher Cain" <[EMAIL PROTECTED]> wrote:
> Jakarta Taglibs was one of the featured articles in the JDC Newsletter
> this morning. Here is the address for those of you not subscribed to it:
>
> http://developer.java.sun.com/developer/technicalArticles/javaserverpages/Jak
> Nick Bauman wrote:
>
>> As far as mixing presentation logic and business logic together, well,
>> you can do that with Velocity, too. Although it makes you think longer
>> and harder about it. Here's a recent template snippet I wrote. This is
>> something you wouldn't necessarily be proud of do
Nick Bauman wrote:
> As far as mixing presentation logic and business logic together, well, you
> can do that with Velocity, too. Although it makes you think longer and
> harder about it. Here's a recent template snippet I wrote. This is something
> you wouldn't necessarily be proud of doing with
Well, you're exposing an Event API for this application, for starters. And,
ahem, "getRole()" smells like some serious business logic, eh?
> On Fri, 25 May 2001, Nick Bauman wrote:
>
>> 8<
>>
>> #foreach( $event in $events )
>> $yapper = $meeting.getParticipation(
>> ((MeetingEvent)$
On Fri, 25 May 2001, Nick Bauman wrote:
> 8<
>
> #foreach( $event in $events )
> $yapper = $meeting.getParticipation( ((MeetingEvent)$event).getFromId() )
> #if( $repRole.equals($yapper.getRole() )
> $repId = $yapper.getParticipantId()
> $yapper.getName()
> #else
> $yapp
> Now, I wonder if I could successfully rekindle a Velocity vs. JSP
> flamewar ... ... don't ask me, I'm strictly a servlet guy.
> Mixing business and presentation logic is exhilirating, kinda like
> running with scissors or jumping in the pool less than 30 minutes after
> a meal.
>
> - Christop