You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-dev@portals.apache.org by "Nutter, Mark" <Ma...@marconi.com> on 2001/12/07 22:26:56 UTC

Small bug in NewAccount.vm?

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
mark.nutter@marconi.com
Your PC can help fight AIDS-- <http://fightaidsathome.org/>



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: Small bug in NewAccount.vm?

Posted by Paul Spencer <pa...@apache.org>.
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
> mark.nutter@marconi.com
> Your PC can help fight AIDS-- <http://fightaidsathome.org/>
> 
> 
> 
> --
> To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>
> 
> 



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: Small bug in NewAccount.vm?

Posted by Paul Spencer <pa...@apache.org>.
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
 > mark.nutter@marconi.com
 > Your PC can help fight AIDS-- <http://fightaidsathome.org/>
 >
 >
 >
 > --
 > To unsubscribe, e-mail: 
<ma...@jakarta.apache.org>
 > For additional commands, e-mail: 
<ma...@jakarta.apache.org>
 >
 >




--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>