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>
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.
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
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.
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
Re: WebStyle Menus --- Working with JSF ???
Anyone Have an answer???
:)
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
Re: Very Weak Tech Support ----
Quote:
Originally Posted by
nohacks
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
Re: WebStyle Menus --- Working with JSF ???
Quote:
Originally Posted by
nohacks
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
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">
<h:outputText value="Logout"/>
</h:commandLink>
</li>
</fieldset>
<li/>
</div>
</td>