Sean Schofield schreef:

Your instincts are right.  This is not really the ideal way to do
this.  You are mixing your business logic with your presentation
logic.  Your presentation logic (JSP/JSF tags) shouldn't care what
role you are.

I agree, but I'm still in the prototyping/mockup stage, without any real business logic connected.

[snip]...
ps. Your quotation marks do not match up which is probably why your EL
expression was failing.

Thanks, that was indeed the problem! I never noticed the single quotation mark; the JSP syntax coloring in JBoss IDE has some bugs, so I didn't see the typo. Works like a charm now.

--
Patrick Hubers

Reply via email to