"document.redirect.ticket.value;"

That's JavaScript so its clearly not going to work ;-)

You'll most likely want something like ${serviceTicketId}

I think that's it but I can't remember for sure off the top of my head.

-Scott Battaglia
PGP Public Key Id: 0x383733AA
LinkedIn: http://www.linkedin.com/in/scottbattaglia


On Tue, Feb 24, 2009 at 10:15 PM, Osburn, Andy G <[email protected]> wrote:

> Hi All,
>
> I'm working on the Iframe login/redirect technique for uPortal. Everything
> seems to be *almost* working. I don't know how to get the service ticket
> (ST) value in the CAS redirect view.
>
> My question is... What JSP tag goes into the value attribute here?:
>
> <input type="hidden" name="ticket" id="ticket" value="" />
>
> Just like there is a tag for the service url:
>
> <input type="hidden" name="service" id="service" value="${service}"/>
>
>
> Here's the CAS redirectView for reference:
>
> ../webapps/cas/WEB-INF/view/jsp/default/ui/redirectView.jsp
>
> <html>
> <head>
> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
> <script type="text/javascript">
> function redirect(){
>  redirectUrl = document.redirect.service.value + "?ticket=" +
> document.redirect.ticket.value;
>  window.top.location.href = redirectUrl;
> }
> </script>
> </head>
> <body onload="redirect()">
>    <form name="redirect" action="">
>        <input type="hidden" name="service" id="service"
> value="${service}"/>
>        <input type="hidden" name="ticket" id="ticket" value="" />
>    </form>
> </body>
> </html>
>
>
> Many thanks,
>
> Andy Osburn
> Sacramento State
> University Web Developer
>
>
> --
> You are currently subscribed to [email protected] as:
> [email protected]
> To unsubscribe, change settings or access archives, see
> http://www.ja-sig.org/wiki/display/JSG/cas-user
>

-- 
You are currently subscribed to [email protected] as: 
[email protected]
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/cas-user

Reply via email to