viewData is not individual customer nor corporate customer ?

On Sat, Jan 10, 2009 at 6:25 PM, Jan Limpens <jan.limp...@gmail.com> wrote:

> Hello,
>
> this is a pretty basic code block:
>
>     subView = "xx"
>     if viewData.Customer isa IndividualCustomer:
>         subView = "IndividualCustomer"
>         output "indie"
>     elif viewData.Customer isa CorporateCustomer:
>         subview = "CorporateCustomer"
>         output "suit"
>     end
>     output "<br/>subview: ${subView}"
>
> this outputs (in the corporate case):
>
> suit
> <br/>subview: xxx
>
> which is not what I would expect. Is there a way around this? Seems
> brail/boo is way more functional that it might appear...
>
> --
> Jan
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Castle Project Users" group.
To post to this group, send email to castle-project-users@googlegroups.com
To unsubscribe from this group, send email to 
castle-project-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/castle-project-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to