Chris, In answer to you questions, 1) Don't know for this one, I was not part of the turbine-dev team, I'd personally recommend simply using it as is.
2) Early in my last email I kinda touched upon this. I'll try to elaborate on mapping templates to classes. Lets say you have a screen template called called Chris.vm and its in a directory ./templates/ChrisLogin.vm You need to have a screen class called ChrisLogin.java in a package hierarchy called ca.cs.student.screens.ChrisLogin Next you need to let Turbine know where to find it: module.packages=ca.cs.student or you could map it differently such as: module.packages=ca.cs Then your package structure would have to be something like ca.cs.screens.ChrisLogin 3) So Assuming <a class="inglink" href="$link.setPage("admin,user,FluxUserForm.vm").addPathInfo("rdfid",1000)S imple message  </a> It should go to ca.cs.screen.admin.user.FluxUserForm and within the doBuildTemplate() you could get the parameter passed in -----Original Message----- From: Chris Rafuse [mailto:[EMAIL PROTECTED] Sent: 28 May 2003 17:49 To: [EMAIL PROTECTED] Subject: RE: TDK Sample Application: Flux James, Thanks alot. I do understand this, but certain things are not clear: 1) why are commas used? Why not slashes? 2) There is no FluxUserList.class in the WEB-INF/classes hierarchy, nor in the flux-X.X.jar file in WEB-INF/lib. It must be somewhere, unless mapped to another class. Can you map templates to classes? 3) is the "username/turbine" in ttp://localhost:8080/newapp/servlet/newapp/template/user%2CFluxUserForm.vm/u sername/turbine?mode=modify a form of variable assignment, like "?username=turbine" ? I noticed similar thing in http://localhost:8080/newapp/servlet/newapp/template/Form.vm/rdfid/1000 where rdfid/1000 passes the rdfid = 1000 parameter to the Form.class Thanks, Chris On Wed, 2003-05-28 at 11:18, James Cooper wrote: > Hi Chris, > Reverse engineering, generally the best way to find out anything. Anyways > I'm assuming that what you're talking about here is that you don't > understand the following: > > <a class="inglink" > href="$link.setPage("admin,user,FluxUserForm.vm").addPathInfo("usernameDisab > led",$user.UserName).addQueryData("mode","modify")">  > $l18n.userListInfoUserDetailsMessage  </a> > > $link.setPage("admin,user,FluxUserForm.vm") sets the directory location of > FluxUserFrom.vm, the top level bit is defined by the following. Commas in > this case simply acty as delimiters. > > # ------------------------------------------------------------------- > # > # M O D U L E P A C K A G E S > # > # ------------------------------------------------------------------- > module.packages= > > addPathInfo("usernameDisabled",$user.UserName).addQueryData("mode","modify") > > This simply adds data needed by the corresponding screen class, most likely > FluxUserForm. Of course theres many ways of skinning a cat here, url > encoding, cookie, hidden fields, stateful sessions. Just so happens flux use > url encoding which is an easy to see what going on, especially useful for a > sample app. > > So upon invocation of the FluxUserForm screen, it simply parses the http > paramters: > > ParameterParser lParams = aData.getParameters(); > String lMode = lParams.getString("mode"); > > The lMode value will be modify. > > Have I answered your question or made you more confused? > ttys, > James > > > -----Original Message----- > From: Chris Rafuse [mailto:[EMAIL PROTECTED] > Sent: 28 May 2003 14:36 > To: [EMAIL PROTECTED] > Subject: TDK Sample Application: Flux > > > Hello, > > I am a student working on a research project at Dalhousie University. I > have been reverse engineering the sample application that comes with > TDK, since the documentation is horrible. > > Is there any flux documentation? > > I understand how actions work, but what is the action of the following > url, located in the flux section of the sample app: > > http://localhost:8080/newapp/servlet/newapp/template/user%2CFluxUserForm.vm/ > username/turbine?mode=modify > > Specifically, the encoded url and the "username/turbine" portion. Why > use a comma? Is username a form of mapped action? If so where can this > be set? > > Thanks, Chris > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]