6 Replies Latest reply: Apr 16, 2012 1:45 AM by Martin Fousek RSS

RichFaces welcome page in NetBeans IDE

Martin Fousek Newbie

I got and answer to my private email that I should ask here so:

Currently I'm maintainer of JSF support in the NetBeans IDE. Recenly I implemented feature that by new web project creation can be included JSF framework with RichFaces component library which generates sample welcome page with link to your documentation.

 

If you would be interested in, you can download latest bits and try it here: http://bits.netbeans.org/download/trunk/nightly/

 

And now why I'm writting to you... I would like to ask you if you wouldn't be interested in producing welcome page which could represent better your component library.

 

Regards,

Martin.

  • 1. Re: RichFaces welcome page in NetBeans IDE
    Brian Leathem Master

    Hi Martin, this is great - thanks for reaching out.  What would we need to provide for such a welcome page?  Do you have links to welcome pages for other Netbeans modules (screenshots) that we could use as a basis for this?

     

    I could see us laying out a wiki page with relevant links/details that you could model the welcome page on - let me know how we should proceed.

     

    Brian Leathem

  • 2. Re: RichFaces welcome page in NetBeans IDE
    Martin Fousek Newbie

    Brian, thanks for your interest.

     

    Not sure if I expresse precisely before, so just for assurance I'll describe what is the welcome page about. Common use case:

    1, User creates new web project with JSF + RichFaces, or add Richfaces into the existing project

    2, It will include into his index page link to the generated Richfaces welcome page and generates the welcome page

    3, The welcome page should ideally show users first usage of RichFaces components and also by running it, it could provide navigation to the most important links of RF

     

    I'm attaching very basic RF's welcome page which is included for now. To be honest to you I contacted all supported JSF component libraries developers with the offer to create their own (more elaborated) one:

    {code:xml}

    <?xml version='1.0' encoding='UTF-8' ?>

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

    <html xmlns="http://www.w3.org/1999/xhtml"

          xmlns:rich="http://richfaces.org/rich"

          xmlns:h="http://java.sun.com/jsf/html">

        <h:head>

            <title>Richfaces Welcome Page</title>

        </h:head>

        <h:body>

            <rich:panel header="Welcome to Richfaces">

                <ul>

                    <li><h:outputText value="Welcome to development in Richfaces." /></li>

                    <li><h:outputLink value="http://www.jboss.org/richfaces/docs" >Richfaces documentation...</h:outputLink></li>

                </ul>

            </rich:panel>

        </h:body>

    </html>

    {code}

  • 3. Re: RichFaces welcome page in NetBeans IDE
    Martin Fousek Newbie

    Hi Brian, please are you still interested in?

     

    We would have 7.2 Beta in about one week so I would like to include the new templete into it.

  • 4. Re: RichFaces welcome page in NetBeans IDE
    Brian Leathem Master

    Yes, still interested, just swamped!  I'll see if I can get something together over the weekend.

  • 5. Re: RichFaces welcome page in NetBeans IDE
    Brian Leathem Master

    Here's the welcome page you provided above with more links:

     

    <?xml version='1.0' encoding='UTF-8' ?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml"
          xmlns:rich="http://richfaces.org/rich"
          xmlns:h="http://java.sun.com/jsf/html">
    <h:head>
        <title>Richfaces Welcome Page</title>
    </h:head>
    <h:body>
        <rich:panel header="Welcome to Richfaces">
            RichFaces is an advanced UI component framework for easily integrating Ajax capabilities into business applications using JSF.  Check out the links below to lear more about using RichFaces in your application.
            <ul>
                <li><h:outputText value="Welcome to development in Richfaces." /></li>
                <li><h:outputLink value="http://richfaces.org" >Richfaces Project Home Page</h:outputLink></li>
                <li><h:outputLink value="http://showcase.richfaces.org" >Richfaces Showcase</h:outputLink></li>
                <li><h:outputLink value="https://community.jboss.org/en/richfaces?view=discussions" >User Forum</h:outputLink></li>
                <li><h:outputLink value="http://www.jboss.org/richfaces/docs" >Richfaces documentation...</h:outputLink>
                    <ul>
                        <li><h:outputLink value="http://docs.jboss.org/richfaces/latest_4_X/Developer_Guide/en-US/html_single/" >Development Guide</h:outputLink></li>
                        <li><h:outputLink value="http://docs.jboss.org/richfaces/latest_4_X/Developer_Guide/en-US/html_single/" >Component Reference</h:outputLink></li>
                        <li><h:outputLink value="http://docs.jboss.org/richfaces/latest_4_X/vdldoc/" >Tag Library Docs</h:outputLink></li>
                    </ul>
                </li>
            </ul>
        </rich:panel>
    </h:body>
    </html>
    

     

    Can I add an image to it (RichFaces logo)?  How would I package the resource?

  • 6. Re: RichFaces welcome page in NetBeans IDE
    Martin Fousek Newbie

    Thank you Brian for delivering that page. I already included it into our source - just with fixed the link to Component Reference.

     

    About the logo. Wouldn't be enough to have there image with remote source (which would lead to jboss or richfaces sites)?

    I would like to dodge creating images in user's project which would be deleted anyway.