You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jspwiki.apache.org by Dirk Frederickx <di...@gmail.com> on 2008/02/01 00:16:12 UTC
Re: What happened to TitleBlock.jsp?
I don't see the limitations of the current TitlePage versus a jsp-page:
You can do any kind of formatting in a wiki-page, also complicated
text and graphics.
For more sophisticated stuff (news-feeds) why not use or write a plugin,.
You have the excellent ACL system of jspwiki to hand-over the
edit-rights of this page to anyone of your choice, even to non-admins.
When writing a plugin is not an option, and you do want to revert to
JSP, then modifying the template seems like a perfect solution for
you.
The current template and css contain all the hooks you need.
An extra JSP seems overflow to me.
my 2 cents
dirk
-1
On Jan 31, 2008 10:30 PM, Murray Altheim <mu...@altheim.com> wrote:
> Dirk Frederickx wrote:
> > Murray,
> >
> > What are the things you can do with the TitleBlock.jsp and can't do
> > with a wiki page ?
>
> Well, there's at least two things:
>
> 1. You can do anything a JSP can do that a wiki page can't do, which
> as you know is quite a lot. This is about a lot more than simply
> formatting. Via use of markup and JSP-based code it's certainly
> possible to design more complicated text and graphics for a site
> header, which is by far the most common design component of a
> corporate (e.g., government, commercial, education) web site. Most
> corporate entities want to be able to distinctly brand their sites,
> and this is by far the best means to guarantee site branding.
>
> 2. You can set a title block with complex formatting and information
> that you DON'T want edited by anyone and is likely designed by an
> outside design contractor, since it is part of corporate identity.
> For example, for one of my projects I'll be handing over the
> complete design of the title block to a design firm. We don't
> want either site admins or wiki users to be able to edit the JSP
> after the design is complete. So this is also about having control
> over the title block.
>
> > When you need to go and change your jsp's , just to be able to have a
> > new newsmessage on your site, is not very practical.
>
> Once a site is up I *never* need to change the title block JSP. That's
> the entire point of having it. If I want a news message to occur in
> the title block I can include a news page or code to incorporate a
> news feed (ala The Guardian's scrolling text) via JSP, something I
> can't do via wiki text. I'd generally want that news information to
> be processed and/or formatted especially for a very specific part of
> the header, not simply be wiki text that is mixed in with the brand
> information.
>
> > There has never been a TitleBlock.jsp in cvs. I opted to go for a
> > wiki-page from the start. Sorry that this was not clear to you.
>
> In the discussions from last year that did not seem to be the case. I
> was under the impression (confirmed by reading the emails again) that
> there was agreement that the title block was a good idea, and that it
> was only due to my failure that it's not currently in CVS. Is this to
> your mind a closed issue? I thought that this was a team effort and
> that we all had input.
>
> Given that when the title block is by default hidden this has literally
> no impact in the existing design, could we please add it to the design?
> It's the addition of one very simple JSP to the package, one line in
> Header.jsp to include it, and a single CSS statement to hide it. The
> wiki page approach does not work for any site that requires strong
> branding or requires JSP features, i.e., beyond what a wiki page and
> CSS alone can provide (which is for all of my clients minimal).
>
>
> Murray
>
> ...........................................................................
> Murray Altheim <murray07 at altheim.com> === = =
> http://www.altheim.com/murray/ = = ===
> SGML Grease Monkey, Banjo Player, Wantanabe Zen Monk = = = =
>
> Boundless wind and moon - the eye within eyes,
> Inexhaustible heaven and earth - the light beyond light,
> The willow dark, the flower bright - ten thousand houses,
> Knock at any door - there's one who will respond.
> -- The Blue Cliff Record
>
>
Re: What happened to TitleBlock.jsp?
Posted by Murray Altheim <mu...@altheim.com>.
Dirk Frederickx wrote:
> I don't see the limitations of the current TitlePage versus a jsp-page:
> You can do any kind of formatting in a wiki-page, also complicated
> text and graphics.
That's simply not true. You can only do wiki text-based formatting, which
is a significant difference. A JSP obviously permits *anything* to be
accomplished by a web site designer. Wiki text does not. As for "complicated"
text and graphics, you know as well as I do that there is a very big
difference between what's possible in a JSP vs. wiki text and CSS. You can't
do "any kind of formatting" that way and I think it's disingenuous to state
otherwise.
> For more sophisticated stuff (news-feeds) why not use or write a plugin,.
> You have the excellent ACL system of jspwiki to hand-over the
> edit-rights of this page to anyone of your choice, even to non-admins.
I don't want to hand over edit rights to anyone, even admins. We need to
be able to design a title block. That's not possible using wiki text or
the current CSS-based approaches, and we distinctly do *not* want to do
this via plugin because that would permit people to either remove the
plugin or use it inappropriately on other places on the site.
The appropriate approach to this is simply a JSP.
> When writing a plugin is not an option, and you do want to revert to
> JSP, then modifying the template seems like a perfect solution for
> you.
> The current template and css contain all the hooks you need.
Yes, there are hooks. I have been having to use those hooks to make
custom modifications to each of my sites every time I do an upgrade,
and I would dearly like to be able to not have to do that. I've been
doing it for over a year and I don't want to do it until 2.8 comes out.
It is a pain.
> An extra JSP seems overflow to me.
>
> my 2 cents
> dirk
>
>
>
> -1
+1
I can't believe I have to argue about this in this manner. There is
no comparison in functionality between the current approach and using
a JSP, and that is obvious to anyone in this forum.
...........................................................................
Murray Altheim <murray07 at altheim.com> === = =
http://www.altheim.com/murray/ = = ===
SGML Grease Monkey, Banjo Player, Wantanabe Zen Monk = = = =
Boundless wind and moon - the eye within eyes,
Inexhaustible heaven and earth - the light beyond light,
The willow dark, the flower bright - ten thousand houses,
Knock at any door - there's one who will respond.
-- The Blue Cliff Record