Re: Logout as hyperlink rather than button

"Jonathan Ellis" <[email protected]> Fri, 04 May 2007 19:14:57 -0700
Newsgroups gmane.comp.python.spyce.general
Message-ID <[email protected]>
To make that work "right" you'd need to get <f:submit type=link /> to
work.  For the simplest case that is not hard, but if you want to allow
adding in things like onclick or onsubmit it gets complicated, which is
why I haven't done it yet. :)

(But, type=image works already in the 2.2 branch, so maybe that would be
enough.  You'd still have to hack the tagPush in form.py to use that,
but that's easy.)

If some hack at the html layer sounds easier to you, have at it. :)

On Fri, 4 May 2007 10:45:33 -0700, "Tim Kang" <tkang-pkbYaA/[email protected]>
said:
> Hi Jonathan,
> 
> Are you aware of any workaround?
> 
> I was thinking re-skinning the button but that might be a little hokey.
> 
> I was also thinking of some javascript hack. 
> 
> Any reference or guidance to an elegant solution would be very much
> appreciated.
> 
> Thanks,
> 
> Tim
> 
> -----Original Message-----
> From: Jonathan Ellis [mailto:[email protected]] 
> Sent: Thursday, May 03, 2007 5:34 PM
> To: Tim Kang; [email protected]
> Subject: Re: [Spyce-users] Logout as hyperlink rather than button
> 
> Not easily.
> 
> On Thu, 3 May 2007 16:09:34 -0700, "Tim Kang" <tkang-pkbYaA/[email protected]>
> said:
> > Hi,
> > 
> >  
> > 
> > Is there a way to change <spy:logout /> from form button to a hyperlink?
> > 
> >  
> > 
> > Thanks,
> > 
> >  
> > 
> > Tim
> > 
> 
> 

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/