At 04:58 01/16/01, Santiago Gala wrote:
>ingo schuster escribió:
>
> > I committed some changes so that in the JSP case a screen is expected to be
> > found as <screen>.jsp.
> > Only for a few exceptions (Home, Admin, Info,...) respective screen classes
> > are searched and executed in the old Ecs style.
> > This works the same with all templates of course, not only with JSPs.
> >
> > The new processing has mainly advantages:
> > * The markup is much easier to edit as its in a template and not generated
> > by java code. This allows non-programmers to edit the screens and use
> > standard tools for this task.
> > * The screens can much easier localized, as (ideally) all written language
> > can be found in the templates.
> >
> > I would picture the default processing flow as the following:
> > 1. Request come into turbine servlet which handles security stuff etc.
> > 2. As the controller part of the program an action is caled that does some
> > processing on the model and places the results in the request (e.g. as a
> > JavaBean)
> > 3. The Layout template is executed which includes navigations and screen.
> > The screen uses the data that is provided in the request for the rendering.
> >
> > In my opinion, a screen shouldn't execute "real" code, i.e. no processing
> > on the model, no calculating of results. They should be pure views. (That
> > rather a description of what I'd like to have that how it's done at the
> > moment :-( )
> > However, Login.java, ConfirmRegistration.java, NewAccount.java are already
> > not used any more.
> >
> > ingo.
> >
> > BTW, does anybody know how I can add a "Error.jsp" to the directory where I
> > deleted a "error.jsp". CVS won't let me do that...
> >
>
>If you are using windoze, try to edit by hand the CVS\Entries file of the
>directory. Remove the Entry for the Error.java file (it should not be there)
>and try again.
It doesn't work. I get following error message:
cvs server: cannot add file `Error.jsp' when RCS file
`/products/cvs/jetspeed/jetspeed/webapp/WEB-INF/templates/jsp/screens/Error.jsp,v'
already exists
cvs [server aborted]: correct above errors first!
Can somebody on a unix system please try to copy ErrorGeneral.jsp to
Error.jsp and commit it?
ingo.
>It could be a problem that cvs under windows gets confused because of case
>insensivity.
>
>I don't think there is any problem in the server.
>
>
> >
> > --
> > --------------------------------------------------------------
> > To subscribe: [EMAIL PROTECTED]
> > To unsubscribe: [EMAIL PROTECTED]
> > Search: <http://www.mail-archive.com/[email protected]/>
> > List Help?: [EMAIL PROTECTED]
>
>
>
>--
>--------------------------------------------------------------
>To subscribe: [EMAIL PROTECTED]
>To unsubscribe: [EMAIL PROTECTED]
>Search: <http://www.mail-archive.com/[email protected]/>
>List Help?: [EMAIL PROTECTED]
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/[email protected]/>
List Help?: [EMAIL PROTECTED]