I would probably suggest FreeMarker over Velocity anyway ;-)

The reason for the JSP (versus the SAML method we have) was due to the fact
that there was a higher chance people would "adjust" the XML returned.   If
we can achieve the same level of flexibility (possible via appropriate
template methods) then I think we could move to the same method we use for
SAML.


On Mon, Jul 28, 2014 at 4:46 AM, Misagh Moayyed <mmoay...@unicon.net> wrote:

> My feeling is that the view that is impacted most often is the validation
> response.  Not much else changes. Right now, we’ve got a fair bit of code
> and logic embedded inside the JSP that over time would be hard to maintain
> and confusing for people to modify, particularly. It would possibly be
> easier if all that code was moved to the appropriate layer, (similar to
> SAML views) and we’d let the view handle just the rendering of it (which
> isn’t much really). I don’t think the problem we are trying to solve is
> related to the choice of the rendering engine.
>
>
>
> P.S: Specifically on Velocity, I used the engine when I was writing a
> content management portlet for uPortal. Not the best experience, especially
> because the project is very dated and Spring support is far better with
> JSPs. (Google tells me the last release was 2010).
>
>
>
> *From:* Scott Battaglia [mailto:scott.battag...@gmail.com]
> *Sent:* Sunday, July 27, 2014 7:50 PM
> *To:* cas-dev@lists.jasig.org
> *Subject:* Re: [cas-dev] Switch from JSPs for protocol views
>
>
>
> Is there enough complexity to our protocol views to make it worth it?  If
> so I've got nothing against it.
>
>
>
> On Wed, Jul 23, 2014 at 10:36 AM, Dmitriy Kopylenko <dkopyle...@unicon.net>
> wrote:
>
> CAS devs,
>
>
>
> there is a little thread here https://github.com/Jasig/cas/issues/612 about
> a possibility of switching from JSPs for CAS protocol views to a more
> modern and appropriate template technology e.g. Velocity, etc.
>
>
>
> The idea is to discuss it here. There you have it.
>
>
>
> Best,
>
> Dmitriy.
>
> --
>
> You are currently subscribed to cas-dev@lists.jasig.org as: 
> scott.battag...@gmail.com
>
> To unsubscribe, change settings or access archives, see 
> http://www.ja-sig.org/wiki/display/JSG/cas-dev
>
>
>
>
>
> --
>
> You are currently subscribed to cas-dev@lists.jasig.org as: 
> mmoay...@unicon.net
>
> To unsubscribe, change settings or access archives, see 
> http://www.ja-sig.org/wiki/display/JSG/cas-dev
>
>  --
> You are currently subscribed to cas-dev@lists.jasig.org as: 
> scott.battag...@gmail.com
> To unsubscribe, change settings or access archives, see 
> http://www.ja-sig.org/wiki/display/JSG/cas-dev
>
>

-- 
You are currently subscribed to cas-dev@lists.jasig.org as: 
arch...@mail-archive.com
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/cas-dev

Reply via email to