Re: Small bug in NewAccount.vm?

2001-12-09 Thread Paul Spencer

Mark,
Thanks. I have committed the fix.

Paul Spencer

Nutter, Mark wrote:

  I saw a couple error messages in velocity.log when I tried submitting 
a new
  account request, and I think there are a couple lines in
  jetspeed/webapp/WEB-INF/templates/vm/screens/html/NewAccount.vm 
that need
  to be updated with new versions of the property names.  Here's the 
cvs diff:
 
  cvs diff NewAccount.vm (in directory D:\Jakarta
  CVS\jakarta-jetspeed\webapp\WEB-INF\templates\vm\screens\html\)
  Index: NewAccount.vm
  ===
  RCS file:
  
/home/cvspublic/jakarta-jetspeed/webapp/WEB-INF/templates/vm/screens/html/Ne
  wAccount.vm,v
  retrieving revision 1.6
  diff -r1.6 NewAccount.vm
  9,10c9,10
 #if ( $config.getString(new.user.approval) != on )
   #if ( $config.getString(confirm.email.enable) == true )
  ---
 
   #if ( $config.getString(newuser.approval.enable) != true )
 
  # my change
 
 #if ( $config.getString(newuser.confirm.enable) == true )
 
  # my change
 
  I'm not sure that I've guessed the best/correct property names, but 
this is
  what I used and it seems to work.  Note that I changed both the property
  name and the on value (for newuser.approval.enable).  The true seemed
  more consistent.  I'm very new to all this though, so I thought I'd 
just put
  this up for comment.
 
  Mark Nutter
  Manager, IT Applications Development
  Marconi
  [EMAIL PROTECTED]
  Your PC can help fight AIDS-- http://fightaidsathome.org/
 
 
 
  --
  To unsubscribe, e-mail: 
mailto:[EMAIL PROTECTED]
  For additional commands, e-mail: 
mailto:[EMAIL PROTECTED]
 
 




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




Small bug in NewAccount.vm?

2001-12-07 Thread Nutter, Mark

I saw a couple error messages in velocity.log when I tried submitting a new
account request, and I think there are a couple lines in
jetspeed/webapp/WEB-INF/templates/vm/screens/html/NewAccount.vm that need
to be updated with new versions of the property names.  Here's the cvs diff:

cvs diff NewAccount.vm (in directory D:\Jakarta
CVS\jakarta-jetspeed\webapp\WEB-INF\templates\vm\screens\html\)
Index: NewAccount.vm
===
RCS file:
/home/cvspublic/jakarta-jetspeed/webapp/WEB-INF/templates/vm/screens/html/Ne
wAccount.vm,v
retrieving revision 1.6
diff -r1.6 NewAccount.vm
9,10c9,10
   #if ( $config.getString(new.user.approval) != on )
 #if ( $config.getString(confirm.email.enable) == true )
---
   #if ( $config.getString(newuser.approval.enable) != true )
# my change
 #if ( $config.getString(newuser.confirm.enable) == true )
# my change

I'm not sure that I've guessed the best/correct property names, but this is
what I used and it seems to work.  Note that I changed both the property
name and the on value (for newuser.approval.enable).  The true seemed
more consistent.  I'm very new to all this though, so I thought I'd just put
this up for comment.

Mark Nutter
Manager, IT Applications Development
Marconi
[EMAIL PROTECTED]
Your PC can help fight AIDS-- http://fightaidsathome.org/



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