Acegi and tapestry login page

2008-06-03 Thread 滕训华
I made my own login.tml and integrate acegi for my security.But when I run
the login page in IE,there is a error icon after username and password filed
even the first time to access it.

 

I don’t know why,

 

The login.tml is:

 

html xmlns:t=http://tapestry.apache.org/schema/tapestry_5_0_0.xsd;

 

head

link href=${asset:context:css/style.css}  rel=stylesheet
type=text/css /

titleYOUR TITLE HERE!/title

 

/head

 

body scroll=no

 

div class=header

  div class=header_interiorimg src=${asset:context:/images/logo.gif}
alt=Logo width=44 height=44 style=float:left; margin-right:10px; / 

  h1 class=titleCall Center for JILIN Tax Revenue /h1

  /div

/div

 

div class=header_shadow /div

 

  div class=content_interior

 

 

div class=login_table

br /

br/

br/

t:form t:id=loginForm

   table

   tr

  tdusername:/td

  tdinput t:type=TextField type=text t:id=j_username
//td

   /tr

   tr

  tdpassword:/td

  tdinput t:type=PasswordField  type=password
t:id=j_password //td

   /tr

   /table





/t:form

  /div

/div

div class=footerdiv class=footer-inner

 



br clear=all /

hr width=100%  noshade=noshade  style=border-top:1px solid #FF;
border-bottom: none; margin-bottom:5px; /

div style=text-align:center;Copyright ? 2008 YourName 

  !-- Thanks Again -- /div

/divbr clear=all //div

/body

/html

 



Re: Acegi and tapestry login page

2008-06-03 Thread Josh Canfield
 I made my own login.tml and integrate acegi for my security.But when I run
 the login page in IE,there is a error icon after username and password filed
 even the first time to access it.

There are error images injected after all of the tapestry form
elements. They are hidden using a class defined in the default
tapestry css file. Is it possible that your page is not getting the
default tapestry css loaded? Look at the generated html to see.


-- 
--
TheDailyTube.com. Sign up and get the best new videos on the internet
delivered fresh to your inbox.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]