Welcome to TalkGraphics.com
Page 1 of 2 12 LastLast
Results 1 to 10 of 18
  1. #1
    Join Date
    Mar 2007
    Posts
    11

    Thumbs up WebStyle Menus --- Working with JSF ???

    Hello,

    The Xara Menus work great and they are quick to build.

    Does anyone know if this works with Java/JSF ???

    I have attached my current Java menu..

    Thanks
    Phil

    ---------------------------------------------------------------------

    Code:
    <%@ page import="java.util.ResourceBundle" %>
    <%@ page import="org.apache.log4j.Logger" %>
    <%@ page import="java.io.*" %>
    <%@ page language="java"  %>
    <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
    <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
    
        <!--
        <link rel="stylesheet" type="text/css" href="styles.css">
        -->
    <td class='hiddenx' valign='top' width='60'  id='cwrapper4'>
    
    <div id="c3" class="hiddenx" >
    <fieldset class="formFieldSet">
                    <legend id="DWNameLN" class="formLegendLN">Member Id
                    </legend> 
                    
        <li> <a class="hiddenx" href="welcome.jsf" >Welcome</a></li>  
        <li> <a class="hiddenx" href="searchMembers.jsf" >Search Screen</a>
        <li> <a class="hiddenx" href="underConstructionPage.jsf" >Who's Online</a></li>     
        <li> <a class="hiddenx" href="underConstructionPage.jsf" >Email</a></li>    
        <li> <a class="hiddenx" href="underConstructionPage.jsf" >Test</a></li>                        
        <li>	<h:graphicImage url="/images/onepixline.gif" height="1" width="50"/></li>              
        <li> <a class="hiddenx" href="profileMembers.jsf" >Update Profile</a></li>      
        <li> <a class="hiddenx" href="underConstructionPage.jsf" >Update Photo</a></li>  
        <li> <a class="hiddenx" href="profileMembers.jsf" >View Profile</a></li>          
        <li> <a class="hiddenx" href="underConstructionPage.jsf" >Account Setup</a></li>     
        
        <li>	<h:graphicImage url="/images/onepixline.gif" height="1" width="50"/> </li>           
        <li> <h:commandLink action="#{submittalController.logout}" styleClass="hiddenx" id="logout1" immediate="true">
        	  <h:outputText value="Logout"/>
             </h:commandLink>
        </li>         
        
    </fieldset>
    <li/>
     
    </div>
    </td>
    Last edited by Soquili; 15 March 2007 at 04:03 PM. Reason: Enclosed Phil's code in "Code Tags"

  2. #2
    Join Date
    Nov 2000
    Location
    Red Boiling Springs TN USA
    Posts
    19,208

    Default Re: WebStyle Menus --- Working with JSF ???

    Hello Phil,

    Welcome to Talkgraphics.

    I'm not sure what you are asking.

    The output from Webstyle and Menu Maker have a javascript file, the images for the buttons, and a sample html file.

    It should be easy to use the images in Java and/or JSF to work the same as the javascript code for the menu.
    Soquili
    a.k.a. Bill Taylor
    Bill is no longer with us. He died on 10 Dec 2012. We remember him always.
    My TG Album
    Last XaReg update

  3. #3
    Join Date
    Mar 2007
    Posts
    11

    Default Re: WebStyle Menus --- Working with JSF ???

    Thanks for the quick response.

    I just bought the Xara 1 week ago so I am very new the app.

    I have pasted the code from a program I have to update.

    You stated that it easy to use. I am new to java so where would I call the JavaScript menu ??

    The code creates a navigation bar that is outdated.


    Phil
    Last edited by Soquili; 16 March 2007 at 10:32 AM. Reason: Removed duplicate code entry

  4. #4
    Join Date
    Nov 2000
    Location
    Red Boiling Springs TN USA
    Posts
    19,208

    Default Re: WebStyle Menus --- Working with JSF ???

    Sorry, I don't know Java so I cannot help.

    Because Java is similar to C and C++ syntax I can read it and understand the basics but I do not know enough to be able to write any functional code.

    I removed the code from your second post as it is exactly the same as in your first post.

    Is there a reason you are wanting to use Java generated webpages in place of using HTML?

    If you are beginning to create web pages I would think it is easier to learn the basics before going to the advanced stages so soon.

    The code you posted is HTML that is calling Java Class modules to call other areas of the website. Most are simply "Underconstruction". The Javascript for the Webstyle or Menu Maker menu calls the images for the different states of the menu i.e. normal, mouse over, current (depending on how detailed you created the menu) and calls the other areas of the site according to the URL provided for the link. The lines of code calling the Java Class modules could be totally replaced by the Javascript for the menu from Webstyle (or Menu Maker). I'm not sure which program you are using as you mentioned Webstyle but you posted your question in the Menu Maker forum.
    Last edited by Soquili; 16 March 2007 at 11:25 AM.
    Soquili
    a.k.a. Bill Taylor
    Bill is no longer with us. He died on 10 Dec 2012. We remember him always.
    My TG Album
    Last XaReg update

  5. #5
    Join Date
    Mar 2007
    Posts
    11

    Exclamation Re: WebStyle Menus --- Working with JSF ???

    Anyone else out there that has a example please post.

    I am looking for ways to make this work with Java/jsf.


    Thanks
    Phil

  6. #6
    Join Date
    Mar 2007
    Posts
    11

    Default Re: WebStyle Menus --- Working with JSF ???

    Anyone Have an answer???



  7. #7
    Join Date
    Mar 2007
    Posts
    11

    Very Weak Tech Support ----

    BB - Support
    Posted On: 16 Mar 2007 11:15 AM
    Hi you would enter the correct syntax ( im not familiar with jsp) used to retrieve a script within your page.

    in html you would enter and therefore the equivelent is needed within your page to retrieve the js files exported when creating your menu

    CS

    That was my answer to a question...how could they not know JSP when they are selling a product in this market???

    Very strange

  8. #8
    Join Date
    Jan 2006
    Posts
    2,439

    Default Re: Very Weak Tech Support ----

    Quote Originally Posted by nohacks View Post
    BB - Support
    Posted On: 16 Mar 2007 11:15 AM
    Hi you would enter the correct syntax ( im not familiar with jsp) used to retrieve a script within your page.

    in html you would enter and therefore the equivelent is needed within your page to retrieve the js files exported when creating your menu

    CS

    That was my answer to a question...how could they not know JSP when they are selling a product in this market???

    Very strange
    I don't know Menu Maker in detail, but as far as I know, Menu Maker is a tool, which supports you in creating HTML Menus by generating HTML and JavaScript together with some graphics.

    It seems to me, your problem is, that you need to include such a HTML/JavaScript code within a JSP application, without knowing the details of JSP. So, the first step for you is, to learn JSP. This could be a long time process - depends on your knowledge of HTML, JavaScript and Java.

    There are also other languages available to support you, instead of JSP (like PHP, ASP, .Net languages, Perl, Python, ...). It depends on you, what kind of language you prefer, but as you can see, JSP knowledge is not really necessary "in this market".

    To understand the sourcecode of Menu Maker you need only some basic skills in HTML and JavaScript. After learning this, you're able to learn JSP and to include some parts of the generated HTML and JavaScript into your JSP application.

    My recommendation is, to start with some books about HTML, JavaScript and JSP.

    Good luck
    Remi

  9. #9
    Join Date
    Jan 2006
    Posts
    2,439

    Default Re: WebStyle Menus --- Working with JSF ???

    Quote Originally Posted by nohacks View Post
    Anyone Have an answer???
    You'll find no answer here, because JSF is working with UI components and not with Webstyle Menus or Menu Maker menus.

    Please do a Google search with the searchstring

    +JSF +menu

    Regards,
    Remi

  10. #10
    Join Date
    Mar 2007
    Posts
    11

    Red face Re: Very Weak Tech Support ----

    Hey Remi,

    Thanks for your post. I have attached my current Java menu..

    Thanks
    Phil

    <%@ page import="java.util.ResourceBundle" %>
    <%@ page import="org.apache.log4j.Logger" %>
    <%@ page import="java.io.*" %>
    <%@ page language="java" %>
    <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
    <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>

    <!--
    <link rel="stylesheet" type="text/css" href="styles.css">
    -->
    <td class='hiddenx' valign='top' width='60' id='cwrapper4'>

    <div id="c3" class="hiddenx" >
    <fieldset class="formFieldSet">
    <legend id="DWNameLN" class="formLegendLN">Member Id
    </legend>

    <li> <a class="hiddenx" href="welcome.jsf" >Welcome</a></li>
    <li> <a class="hiddenx" href="searchMembers.jsf" >Search Screen</a>
    <li> <a class="hiddenx" href="underConstructionPage.jsf" >Who's Online</a></li>
    <li> <a class="hiddenx" href="underConstructionPage.jsf" >Email</a></li>
    <li> <a class="hiddenx" href="underConstructionPage.jsf" >Test</a></li>
    <li> <h:graphicImage url="/images/onepixline.gif" height="1" width="50"/></li>
    <li> <a class="hiddenx" href="profileMembers.jsf" >Update Profile</a></li>
    <li> <a class="hiddenx" href="underConstructionPage.jsf" >Update Photo</a></li>
    <li> <a class="hiddenx" href="profileMembers.jsf" >View Profile</a></li>
    <li> <a class="hiddenx" href="underConstructionPage.jsf" >Account Setup</a></li>

    <li> <h:graphicImage url="/images/onepixline.gif" height="1" width="50"/> </li>
    <li> <h:commandLink action="#{submittalController.logout}" styleClass="hiddenx" id="logout1" immediate="true">
    <hutputText value="Logout"/>
    </h:commandLink>
    </li>

    </fieldset>
    <li/>

    </div>
    </td>

 

 

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •