Hi,Bob
Thanks for the reply;)
Yeah,it's not a big problem not to add the two methods to current code
template becoz we don't rewrite isSecure() and getCredential() very
often,besides,some ides may have the same feature. But I think it's a
good idea to provide an option for users to make their custom
templates.
Or maybe we can have another command line prompt to ask users whether
they want to add the isSecure() or getCredential() method into the
generated files? In that way,we may need to add some logic in the code
template.
Btw,in my old time using mojavi 3.0.0-DEV,I use this modGen(
http://www.isolated-designs.net/stuff/modGen/docs/ ) for auto code
generation.ModGen takes use of xslt to do its work.It still works for
agavi,but I think it's a better idea to use command line only
tools.Sometimes maintaining a large configuration file costs more
time.

On 7/31/05, Bob Zoller <[EMAIL PROTECTED]> wrote:
> Good question Joey.
> 
> My first reaction was going to be no:  I don't want to add method
> declarations that aren't required to the code templates.  Then I
> realized we already have two in there: getDefaultView() and
> getRequestMethods()...  Granted, those two methods are a lot more
> likely to need to be modified than isSecure() or getCredential() I'd
> think.
> 
> That said, we also use both extensively in our work, so I guess I
> could be convinced to add them in.
> 
> Maybe a better solution would be to think about how Agavi could allow
> you to specify custom templates to be used, rather than our stock
> ones. (or just modify the stock ones..)  (??)
> 
> What does everyone else think?
> --Bob
> 
> 
> > _______________________________________________
> > agavi-dev mailing list
> > [email protected]
> > http://labworkz.com/cgi-bin/mailman/listinfo/agavi-dev
> >
> 


-- 
Regards,
Joe
_______________________________________________
agavi-dev mailing list
[email protected]
http://labworkz.com/cgi-bin/mailman/listinfo/agavi-dev

Reply via email to