RE: Tree breakage

"Paul Hinze" <[email protected]> Mon, 12 May 2003 17:24:43 -0700
Newsgroups gmane.comp.java.javalobby.communityplatform
Message-ID <[email protected]>
I think it'll take 2 full days dude.

Paul

-----Original Message-----
From: [email protected]
[mailto:[email protected]]On Behalf Of Matthew
Schmidt
Sent: Monday, May 12, 2003 3:25 PM
To: Paul Hinze; [email protected]
Subject: [jl-volunteers] Tree breakage


Paul,
    Ok, Matthew will be making a LARGE checkin tonight that totally
reworks authentication and how modules will interact.  This won't affect
the www directory.  Also, the trick to deleting things in CVS is to
delete all the files in that directory, then run an update with the
prune empty directory flag set.  This will delete that directory from CVS.

Everyone else,
    The tree will splinter tonight and tomorrow (Paul, please no longer
than Wed. morning).  We're going to see some major new features and some
re-org of the www directory for themes and module addition.  After this
week we should see the rest of the issues for 0.7 fall into place and
people looking to extend JLCP should be able to do so easily.

-Matt

Paul Hinze wrote:

>Matt,
>
>I want to start checking in stuff, but it will break the application, till
>I'm done.
>
>Is it okay. I hope to be done by Wenseday, then it's test, debug, test,
>debug.
>
>Paul
>
>-----Original Message-----
>From: Matthew Schmidt [mailto:[email protected]]
>Sent: Sunday, May 11, 2003 4:52 PM
>To: Paul Hinze
>Subject: Re: Forum oddities
>
>
>Create a new HashSet and add your message to it.  Then do
>message.setParentMessages(yourset);  This will change in a few days when
>we rework it to not have multiple parents.
>
>Matt
>
>Paul Hinze wrote:
>
>
>
>>There is no set parent.
>>
>>-----Original Message-----
>>From: Matthew Schmidt [mailto:[email protected]]
>>Sent: Saturday, May 10, 2003 6:32 PM
>>To: Paul Hinze
>>Subject: Re: Forum oddities
>>
>>
>>You could just create a new message and set its parent to be the parent
>>message instead of adding a reply.  I think Hibernate may fill in the
>>replies for you.
>>
>>Matt
>>
>>Paul Hinze wrote:
>>
>>
>>
>>
>>
>>>Also do you know for certain that replies ixs working in message dao?
>>>
>>>Here's what I did, but  it didn't work.
>>>
>>>          long topicId;
>>>          HttpServletRequest request = (HttpServletRequest)
>>>pageContext.getRequest();
>>>          HttpServletResponse response = (HttpServletResponse)
>>>pageContext.getResponse();
>>>          sTopic = request.getParameter("id");
>>>
>>>          if(sTopic == null) return EVAL_PAGE;
>>>
>>>          Date currentDate = new Date(System.currentTimeMillis());
>>>          long userId = Long.parseLong(request.getParameter("authorId"));
>>>
>>>          topicId = Long.parseLong(sTopic);
>>>          IMessageDAO mDAO = new MessageDAO();
>>>
>>>          try {
>>>              message = mDAO.getMessage(topicId);
>>>
>>>              if(message == null) return EVAL_PAGE;
>>>
>>>              Message newMessage = new Message();
>>>              newMessage.setSubject(request.getParameter("Subject"));
>>>              newMessage.setCreationDate(currentDate);
>>>              newMessage.setModifiedDate(currentDate);
>>>
>>>newMessage.setPoster(JLCPMembershipManager.getInstance().getUser(userId))
;
>>>              newMessage.setMessage(request.getParameter("Comments"));
>>>
>>>              message.addReplyMessage(newMessage);
>>>              mDAO.updateMessage(message);
>>>
>>>              response.sendRedirect(request.getContextPath() +
>>>"/topicDetail.up?id=" + sTopic);
>>>
>>>-----Original Message-----
>>>From: Matthew Schmidt [mailto:[email protected]]
>>>Sent: Saturday, May 10, 2003 5:34 PM
>>>To: Paul Hinze
>>>Subject: Re: Forum oddities
>>>
>>>
>>>A block could technically have a page for one display and a page for
>>>another (like a regular weather, and then personalized by zipcode
>>>weather).  I think its safe to bet that they are one page though.
>>>
>>>Matt
>>>
>>>Paul Hinze wrote:
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>>Are you saying a block is more than 1 page?
>>>>
>>>>Paul
>>>>
>>>>-----Original Message-----
>>>>From: Matthew Schmidt [mailto:[email protected]]
>>>>Sent: Saturday, May 10, 2003 2:37 PM
>>>>To: Paul Hinze; Matthew E. Porter
>>>>Subject: Re: Forum oddities
>>>>
>>>>
>>>>I suppose we could enfoce a block to be a single jsp page like that.
>>>>Personally I don't feel that we should add too many things to the
>>>>actual layout-config.xml file by hand.  I fear that it could get HUGE
>>>>and we don't want that.  Things that are added to a modules config file
>>>>could be added automatically if that is what you mean.
>>>>
>>>>-Matt
>>>>
>>>>Paul Hinze wrote:
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>>Each block should not have it's own config file, there would be dozens
>>>>>
>>>>>
>of
>
>
>>>>>those.
>>>>>
>>>>>1 block-confix.xml with
>>>>>
>>>>><block name="useragent" path="/blocks/useragent.jsp" title="User
>>>>>
>>>>>
>Profile"
>
>
>>>>>column="1" order="1" />
>>>>>
>>>>>Something like that.
>>>>>
>>>>>Also, for content like regiser, privacy policy, etc we could use
>>>>>module.up?name=default&block=register,
>>>>>
>>>>>or something so we don't have to come up with so many seperate action
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>paths
>>>
>>>
>>>
>>>
>>>
>>>
>>>>>in layout-config.
>>>>>
>>>>>
>>>>>Paul
>>>>>
>>>>>-----Original Message-----
>>>>>From: Matthew Schmidt [mailto:[email protected]]
>>>>>Sent: Saturday, May 10, 2003 12:55 PM
>>>>>To: Paul Hinze
>>>>>Subject: Re: Forum oddities
>>>>>
>>>>>
>>>>>module.up?name=links&action=add
>>>>>
>>>>>or
>>>>>
>>>>>module.up?name=links&action=rate&args.id=134
>>>>>
>>>>>or
>>>>>
>>>>>module.up?name=forums&action=reply&args.message=1123&args.forum=3
>>>>>
>>>>>Make sense?  We won't need something like that for blocks, we just have
>>>>>to find a nice way to add them to a config file somewhere (each block
>>>>>should have its own config file in my opinion, separate from modules).
>>>>>
>>>>>-Matt
>>>>>
>>>>>Paul Hinze wrote:
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>>Oh, I forgot, module urls are mudule.up?module=action=
>>>>>>
>>>>>>-----Original Message-----
>>>>>>From: Matthew Schmidt [mailto:[email protected]]
>>>>>>Sent: Saturday, May 10, 2003 11:20 AM
>>>>>>To: Paul Hinze
>>>>>>Subject: Forum oddities
>>>>>>
>>>>>>
>>>>>>There are also some oddities with the forum page.  Clicking on a topic
>>>>>>should show the content of the thread, then show its replies below it.
>>>>>>There should be a link to add a reply, and a link to go back to
viewing
>>>>>>all the topics in that forum.  Eventually we'll have several different
>>>>>>layouts, perhaps we can start with one like JL?
>>>>>>
>>>>>>-Matt
>>>>>>
>>>>>>Paul Hinze wrote:
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>>please help me understand the difference between blocks and panel and
>>>>>>>layout-config and blockname-config,
>>>>>>>
>>>>>>>I'm confused.
>>>>>>>
>>>>>>>Paul
>>>>>>>
>>>>>>>-----Original Message-----
>>>>>>>From: Matthew Schmidt [mailto:[email protected]]
>>>>>>>Sent: Saturday, May 10, 2003 8:27 AM
>>>>>>>To: Paul Hinze
>>>>>>>Subject: Block Manager
>>>>>>>
>>>>>>>
>>>>>>>Paul,
>>>>>>>While we're working on the module manager, it would be great if we
>>>>>>>could also try and knock out the block manager with the same type of
>>>>>>>configuration (blockname-config.xml telling the html page to use as
>>>>>>>
>>>>>>>
>the
>
>
>>>>>>>block).  This is important because I want to design some blocks like
a
>>>>>>>weather for your city block using the stuff from
>>>>>>>http://weather.interceptvector.com/.  I don't think it would be that
>>>>>>>hard to do.  We just need to get your LayoutManager to pay attention
>>>>>>>
>>>>>>>
>to
>
>
>>>>>>>its priority for columns.  After Monday I should have some time to do
>>>>>>>the admin UI for that unless you want to take a stab at it since the
>>>>>>>regular UI appears to be getting more stable (and fast).
>>>>>>>
>>>>>>>-Matt
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>>
>>>
>>>
>>>
>>
>>
>>
>
>
>

_______________________________________________
JL-Volunteers mailing list
[email protected]
http://cato.usermagnet.com/mailman/listinfo/jl-volunteers