The main idea was to have a very small example & snipset for all the components (h: & x:) on a single page instead of having to click on the links.
For example :
|
commandLink <h:commandLink id="link" action=""
<h:outputText value="#{msg.linkName}"/>
</h:commandLink>
|
Next Page |
[View example] [View TDL doc] |
| ..... |
|
|
This is more a quick reference, but using it as the simple webapp home page would show quickly all the provided components.
The only problem might be that for some components, they can't be rendered in such a small space.
Once in the example page, to show the source, you can copy the jsp files to .jsp.source, and then in the page, link to this file like they do on displaytag.org :
http://www.displaytag.org/example-nocolumns.jsp
This is easy and doesn't require any servlet. Just a small modification of the build.xml file.
Sylvain.
On Mon, 2005-03-14 at 22:54 -0500, Sean Schofield wrote:
Sylvain, Thanks for the feedback. I took a look at your link. I am a big fan of that website and I use if for quick reference sometimes when I forget the syntax of a standard jsf tag. I had some ideas a while back similar to this (http://www.mail-archive.com/[email protected]/msg00624.html). Now that we have the simple application, we can build on it and show the source code that corresponds to the page. I am thinking of two links. First link [view example], second link [view soure]. The view source link would just return the escaped JSP. Not sure of the best approach for that. Perhaps a servlet that just reads the JSP file and streams the contents without processing? Any ideas on that? Also I am making progress on the documentation. I have a standard template that we can use to document the components. I ported over the JSCookMenu documentation and I wrote up some documentation for tree2. I think Matthias is going to commit it for me shortly. sean On Mon, 14 Mar 2005 21:49:52 -0400, Sylvain Vieujot <[EMAIL PROTECTED]> wrote: > The simple webapp is great. Thanks. > > Here is a page I like quite a lot : > http://www.exadel.com/tutorial/jsf/jsftags-guide.html > Maybe we could use a page like that as the home page of the simple webapp. > > Any thoughts ? > > Sylvain.
