Newbie : Navigation trouble startpage.....
Hi,
I am having some problems with navigating to jsf pages. I have the folowing configuration:
- JBOSS 3.2.x/Apache 4.1.29
- part of a web.xml :
<context-param>
<param-name>javax.faces.STATE_SAVING_METHOD</param-name>
<param-value>server</param-value>
</context-param>
<context-param>
<param-name>javax.faces.application.CONFIG_FILES</param-name>
<param-value>/WEB-INF/faces-config.xml</param-value>
</context-param>
<!-- Faces Servlet -->
<servlet>
<servlet-name>Faces Servlet</servlet-name>
<servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
<load-on-startup> 1 </load-on-startup>
</servlet>
<!-- Faces Servlet Mapping -->
<servlet-mapping>
<servlet-name>Faces Servlet</servlet-name>
<url-pattern>*.jsf</url-pattern>
</servlet-mapping>-- navigation rules of faces-config.xml
<navigation-rule>
<from-view-id>/*.jsf</from-view-id>
<navigation-case>
<to-view-id>/faces/start.jsp</to-view-id>
</navigation-case>
</navigation-rule>When I am trying to reach webserver:port/app/do.jsf I expected to be reach the folowing page: webserver:port/app/faces/overview.jsp.
Unfortunately I am getting the 404-error that page webserver:port/app/do.jsp does not exist.
What am I doing wrong????
Thanx,
Romano
Hi,
if you use the JSF RI 1.0, you have to change
<context-param>
<param-name>javax.faces.application.CONFIG_FILES</param-name>
<param-value>/WEB-INF/faces-config.xml</param-value>
</context-param>to
<context-param>
<param-name>javax.faces.CONFIG_FILES</param-name>
<param-value>/WEB-INF/faces-config.xml</param-value>
</context-param>anyway, it will work in that case because this is the default name for faces-config.xml, but if you add new config files, they won't be founded.
Frederic
Similar Messages
-
Newbie having trouble creating a Slideshow with the Animation Panel.
I know it's a much more complicated/advanced way to create a slideshow. But, I know it can be done.
I will explain exactly what I do, the steps that I take. In my own newbie opinion, I think I'm just missing a step somewhere. Maybe I'm missing two or three steps. Hopefully somebody will be able to help me.
Thank you in advance, if you do help.
1.I open the program Adobe Bridge
2. Then I select all images in a folder, then I utilize the review mode & deselect the photos I do not want to use.
3. Then I open the selected images into Photoshop. (If you haven't already figured it out, I have Adobe Photoshop CS5 Extended)
4. I clicked on Windows menu >arrange >Tile. That way all of my images are right there & ready for utilization. (At this point, none of the images have been clicked on yet.)
5. Then I open the animation panel & create a white blank background for the first frame.
Here is where I run into the problem. I know how to add extra frames, that's easy enough.
I also know that when I add the extra frame, it makes a duplicate of the previous frame.
My problem is trying to get that extra frame to reflect the next image I would like to display in this little slideshow and so on and so forth for the next, maybe 20 images.
Then what I would like to do is randomize the transitions with things like dissolve, honeycomb, fade in & fade out. With other options if there are any.
I would like to create a fancy slideshow is all.
I have read all of the help manuals, all 600+ pages. This is how far I got. I even did a search in the Adobe community. Even those articles don't quite tell you how to do this. So, I probably could have done a lot more homework. But. I'm starting to get frustrated with it.
Hopefully someone here will be able to help me with this. Thank you Obi-Wan Kenobi in advance. :-)Thank You Thank You Thank You JJ Mack!
That was exactly what I was looking for & it worked perfectly. :-)
I have one more question if you would be so kind to help me with.
I was wondering if there was a way to add transitions, i.e. dissolve, fading in & fading out, split, reveal, random bars, vortex stuff like that.
I was also wondering if there was a random option for this.
If I have to add them in manually, that's fine with me. It would be really nice to be able to add some different transitions between frames.
Once again, thank you in advance for your help. -
DOM Parsing problems... (newbie in trouble)
I am trying to get a DOM Parser contruct a DOM Object from an XML file... I am having trouble getting the code validate against my XML Schema: <p>
<?xml version="1.0" encoding="UTF-8"?> <
<!-- edited with XML Spy v4.4 U (http://www.xmlspy.com) by Fedro E. Ponce de Leon Luengas (ASI Consulores, S.A. de C.V.) -->
<xs:schema targetNamespace="http://palaciohierro.com.mx/mde/expe" xmlns="http://palaciohierro.com.mx/mde/expe" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:element name="existencia-peticion" type="epType">
<xs:annotation>
<xs:documentation>Peticion de existencias para la Mesa de Eventos Web</xs:documentation>
</xs:annotation>
</xs:element>
<xs:complexType name="epType">
<xs:annotation>
<xs:documentation>peticion de existencia</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="articulo" type="articuloType" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="articuloType">
<xs:annotation>
<xs:documentation>articulo</xs:documentation>
</xs:annotation>
<xs:attribute name="id_articulo" type="IdentifierType" use="required"/>
<xs:attribute name="sku" type="skuType" use="required"/>
</xs:complexType>
<xs:simpleType name="IdentifierType">
<xs:annotation>
<xs:documentation>identificador</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:long">
<xs:minInclusive value="0"/>
<xs:maxInclusive value="999999999999999999"/>
<xs:totalDigits value="22"/>
<xs:fractionDigits value="0"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="skuType">
<xs:annotation>
<xs:documentation>sku</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:string">
<xs:minLength value="11"/>
<xs:maxLength value="20"/>
<xs:pattern value="\d{11,20}"/>
</xs:restriction>
</xs:simpleType>
</xs:schema>
taking this sample XML file:
<?xml version="1.0" encoding="UTF-8"?>
<!--Sample XML file generated by XML Spy v4.4 U (http://www.xmlspy.com)-->
<expe:existencia-peticion xmlns:expe="http://palaciohierro.com.mx/mde/expe" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://palaciohierro.com.mx/mde/expe
C:\oracle\Oracle9iDS\jdev\mywork\testCompra\MesaEventos\src\ph\mesaeventos\schema\existencia-peticion.xsd">
<articulo id_articulo="450" sku="12245110021"/>
<articulo id_articulo="15" sku="45421213223"/>
<articulo id_articulo="12" sku="121131231858"/>
<articulo id_articulo="74" sku="4101031234545"/>
<articulo id_articulo="871" sku="022324563212"/>
</expe:existencia-peticion>
with the following code:
public Document getDOM( String existenciapeticionXML ) throws Exception
// Obtain parser instance and parse the document
DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
factory.setValidating( true );
factory.setNamespaceAware( true );
DocumentBuilder builder = factory.newDocumentBuilder();
byte buf[] = existenciapeticionXML.getBytes();
ByteArrayInputStream stream = new ByteArrayInputStream( buf );
Document doc = builder.parse( stream );
return doc;
I am getting the following Exception:
oracle.xml.parser.v2.XMLParseException: Element 'expe:existencia-peticion' used but not declared.
void oracle.xml.parser.v2.XMLError.flushErrors()
XMLError.java:145
void oracle.xml.parser.v2.NonValidatingParser.parseDocument()
NonValidatingParser.java:263
void oracle.xml.parser.v2.XMLParser.parse(org.xml.sax.InputSource)
XMLParser.java:141
org.w3c.dom.Document oracle.xml.jaxp.JXDocumentBuilder.parse(org.xml.sax.InputSource)
JXDocumentBuilder.java:96
org.w3c.dom.Document javax.xml.parsers.DocumentBuilder.parse(java.io.InputStream)
DocumentBuilder.java:119
org.w3c.dom.Document ph.mesaeventos.mesa.xml.ExistenciaPeticionDOM.getDOM(java.lang.String)
ExistenciaPeticionDOM.java:26
void ph.mesaeventos.mesa.xml.Test.main(java.lang.String[])
Test.java:38
What am I doing wrong? I am clueless... please help!
Thanks,I finally managed to make it work.... well quite!
Having an XML Doc like this:
<?xml version="1.0"?>
<existencia-peticion xmlns = "http://palaciohierro.com.mx/mde/expe">
<articulo id_articulo="10" sku="00000000010"></articulo>
<articulo id_articulo="11" sku="00000000011"></articulo>
<articulo id_articulo="12" sku="00000000012"></articulo>
<articulo id_articulo="13" sku="00000000013"></articulo>
</existencia-peticion>
with an schema like:
<?xml version="1.0" encoding="UTF-8"?>
<schema targetNamespace="http://palaciohierro.com.mx/mde/expe"
xmlns="http://www.w3.org/2001/XMLSchema"
xmlns:expe="http://palaciohierro.com.mx/mde/expe"
elementFormDefault="qualified">
<annotation>
<documentation xml:lang="es">
Esquema de peticion de existencias para la Mesa de Eventos Web
Copyright 2002 palaciodehierro.com.mx. Todos los derechos reservados.
</documentation>
</annotation>
<element name="existencia-peticion" type="expe:epType">
<unique name="id_articulo">
<selector xpath="expe:articulo"/>
<field xpath="@id_articulo"/>
</unique>
<unique name="sku">
<selector xpath="expe:articulo"/>
<field xpath="@sku"/>
</unique>
</element>
<complexType name="epType">
<annotation>
<documentation>peticion de existencias</documentation>
</annotation>
<sequence>
<element name="articulo" type="expe:articuloType" maxOccurs="unbounded"/>
</sequence>
</complexType>
<complexType name="articuloType">
<annotation>
<documentation>articulo</documentation>
</annotation>
<attribute name="id_articulo" type="expe:IdentifierType" use="required"/>
<attribute name="sku" type="expe:skuType" use="required"/>
</complexType>
<simpleType name="IdentifierType">
<annotation>
<documentation>identificador</documentation>
</annotation>
<restriction base="long">
<minInclusive value="0"/>
<maxInclusive value="999999999999999999"/>
<totalDigits value="18"/>
<fractionDigits value="0"/>
</restriction>
</simpleType>
<simpleType name="skuType">
<annotation>
<documentation>sku</documentation>
</annotation>
<restriction base="string">
<minLength value="11"/>
<maxLength value="20"/>
<pattern value="\d{11,20}"/>
</restriction>
</simpleType>
</schema>
and with the following class:
public class XMLValidator
// Instancia singleton
private static XMLValidator validator = new XMLValidator();
* Constructor privado
private XMLValidator()
* Mitodo para acceder a la instancia Singleton de XMLValidator
* @regresa <b>XMLValidator</b> La instancia de esta clase
public static XMLValidator getValidator()
return validator;
public boolean validaEsquema( String docXML, String esquema ) throws Exception
// Establece el URL correcto para el documento de esquema
XSDBuilder builder = new XSDBuilder();
URL url = createURL( esquema );
// Construye el objecto del Schema XML
try
XMLSchema schemadoc = (XMLSchema)builder.build( url );
// Valida el documento XML procesandolo contra el esquema
return validate( docXML, schemadoc );
catch( XMLParseException e )
throw new Exception( "Error al analizar el documento XML: " + e.getMessage() );
catch( Exception e )
throw new Exception( "No es posible validar con el esquema: " + e.getMessage() );
private static boolean validate(String docXML, XMLSchema schemadoc) throws Exception
boolean isValid = false;
// Crea un objeto Parser DOM de XML
DOMParser dp = new DOMParser();
// Establece el objeto Schema XML para la validacion
dp.setXMLSchema( schemadoc );
dp.setValidationMode( XMLParser.SCHEMA_VALIDATION );
dp.setPreserveWhitespace( true );
// Establece la salida de errores
dp.setErrorStream( System.out );
// Recupera los datos del documento XML en un objeto InputStream
byte[] docbytes = docXML.getBytes();
ByteArrayInputStream in = new ByteArrayInputStream( docbytes );
// Parsea el documento y validalo contra el esquema
try
dp.parse( in );
isValid = true;
catch( Exception e )
// Devuelve el documento XML DOM construido durante el parseo
return isValid;
I am able to validate when invoking with the XML and schemas in the parameters...
Problem is that I have to include the attribute xmlns = "http://palaciohierro.com.mx/mde/expe" in my XML doc.
What I really need is to be able to validate de XML doc against a stablished schema, when the XML doc does not include the
xmlns attribute. -
JSF+tiles+newbie = navigation problem.
Hi all,
I've got two pages: test.jsp, filter.jsp.
I've got JSF forms on both of them.
Code for the form is:
<f:view>
<h:form>
<p>
Riigi id: <h:inputText value="#{backing_test.id}"/>
</p>
<p>
Kood: <h:inputText value="#{backing_test.kood}"/>
</p>
<p>
<h:commandLink action="#{backing_test.goFilter}" value="action" />
<h:commandButton value="push me" action="#{backing_test.goFilter}"/>
</p>
</h:form>
</f:view>
The idea was that I enter data into form, push the button and I'm forwarded to page with database info, selected according to parameters I've entered into form.
Everything works fine until I uncomment
<definition name="/test.tiles" extends="layout">
<put name="body" value="/test.jsp"/>
</definition>
<definition name="/filtered.tiles" extends="layout">
<put name="body" value="/filtered.jsp"/>
</definition>
in tiles.xml
I haven't used tiles at all before, I can't understand - where is the error?
May such data filter can be implemented in different way?This probably won't help much but it will reduce the amount of things you need to check to see what's going wrong.
Remove the following from faces-config.xml:
<navigation-case>
<from-outcome>failure</from-outcome>
<to-view-id>/test.jsp</to-view-id>
</navigation-case>
Then in your action return null during failure. Returning null means use the same page. -
Jsp newbie having trouble using JSP's with Jdev 10.1.3
Hi,
Have been bashing my head for about two hours with this, if anyone can help will substantially improve my life.
First off apologies if question is stupid or obvious I am a jsp newbie.
Have been experimenting with using the Jsp Taglibrary for tabbed panes in a browser.
http://www.ditchnet.org/tabs/
I have followed all the installation instructions but in JDeveloper when I build I get the message
Error(18,2): method setJspContext(javax.servlet.jsp.PageContext) not found in class org.ditchnet.jsp.taglib.tabs.handler.TabConfigTag
Any idea what jar file I'm missing.
I'm a bit lost, thanksArrrrrrrrgh,
Sorted my problem.
Rebuilt project, works fine now, no idea what was going on (just generally!).
Thanks for input Shay
Mark -
Newbie having trouble with opt/rep regions
Hi everyone. I'm migrating my site from simple, square html
to nice, elegant css. I've done most of the work, but I'm having
some trouble with templates. Here's an example of how a page
created with a template will (hopefully) look:
http://www.technfun.com/temp/example.html
I've succeeded in making the article region (inside the white
frame) editable, but I can't figure out how to handle the side bar
menu. It's supposed to contain links to the chapters and
subchapters of the main article, so that clicking there will bring
you to the right place in the page (a simple # link, in other
words). However, the article writer (me) needs to be able to add as
many "SidebarLarge" entries as necessary. Under each of those there
may or may not be the need to add "SidebarSmall" entries for
subchapters.
I read the help file and figured out I need to do something
with the optional and repeating region settings, but whenever I try
I only ever manage to make a mess of the sidebar. Anyone can tell
me how exactly I'm supposed to do this?
Thanks :)Why not just make the whole sidebar an editable region
instead? Then you
can add as much stuff as you see fit.
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
==================
"TechNFun" <[email protected]> wrote in
message
news:gda2tq$2v9$[email protected]..
> Hi everyone. I'm migrating my site from simple, square
html to nice,
> elegant
> css. I've done most of the work, but I'm having some
trouble with
> templates.
>
[url=http://www.technfun.com/temp/example.html]Here[/url]'s an
example of
> how a
> page created with a template will (hopefully) look.
>
> I've succeeded in making the article region (inside the
white frame)
> editable,
> but I can't figure out how to handle the side bar menu.
It's supposed to
> contain links to the chapters and subchapters of the
main article, so that
> clicking there will bring you to the right place in the
page (a simple #
> link,
> in other words). However, the article writer (me) needs
to be able to add
> as
> many "SidebarLarge" entries as necessary. Under each of
those there may or
> may
> not be the need to add "SidebarSmall" entries for
subchapters.
>
> I read the help file and figured out I need to do
something with the
> optional
> and repeating region settings, but whenever I try I only
ever manage to
> make a
> mess of the sidebar. Anyone can tell me how exactly I'm
supposed to do
> this?
> Thanks :)
> -
Newbie having trouble with template highlight (button)
Stupid question I'm sure, but for the life of me I can't figure it out:
When using a template, if I change anything at all about the TYPE related to a button, or the size of the button/text group, the corresponding HIGHLIGHT gets freaky. I can't for the life of me figure out how to control where that highlight appears, or even it's size, etc. So I have these beautiful DVD menus that are marred by weird highlight bars--some of them run across two buttons.
(Yes, I figured out how to make the highlights invisible, but that defeats the whole point of course.)
Hope my question wasn't confusing. Any help would be wildly appreciated. Thanks...Okay, let me pose a theory: Is it possible my installation is having trouble, in other words is what I'm seeing NOT normal?
Can anyone verify (it would only take a few minutes) my findings? Here are the steps: Create a brand-new project using (just to make sure we're on the same page) the Apple template called "Wedding Classical Index." Next, resize any one of the main elements (labeled "button 1," etc.). OR, change the text to two words, or modify the text size/font. When finished, hit the Simulate button and mouse over the button you modified.
Does the highlight look normal, e.g., underneath the text, etc., or has it moved to the side of the text, or changed into a vertical line, or worse?
I just want to verify that my installation isn't being screwy. Thanks to the kind soul who takes a minute to help me out with this so I can move on... -
Newbie having trouble with searching for apps.
I'm an experienced an experienced Windows user, finding myself surprisingly lost on my new iPad and iTunes.
(Surpising because, although I'm used to dealing with oddball and sometimes frustrating things on Windows, I had heard the Mac and iPad interface fast simpler to navigate and more frustration free.)
So please excuse what may seem like dumb newbie questions about what should be, and probably are to you experienced iTunes and iPad users, simple things:
For starters:
I'm search for a few apps in the app store that I know for sure exist and know the exact names:
One is the
iPad User Guide
The other is
the AOPA flight planner app.
I know it exists because it's installed on my wife's iPad. Can't remember how I found it on her iPad.
When I use the apps store search box (whether I do it in the app store in the iPad or in iTunes on my Windows 7 computer)
I keep failing to find them.
I've tried putting
iPad user guide
AOPA flight planner
or even just AOPA
in the search box in both environments and clicking the search (magnifying glass) icon.
I either get a mess of apps with AOPA in the name (but not the one I want)
or a message saying the equivalent of "sorry... not found."
What the heck am I doing wrong?
All help appreciated.
AlexYou are not doing anything wrong. Those apps just do not appear to be available any more.
They will always be available to your wife since she downloaded them and they are backed up in her iTunes Library (assuming she synced it with iTunes since downloading them) but it would appear that anyone else trying to find them will be unsuccessful.
These are not dumb questions nor are they trivial concerns. The whole digital distribution method has many advantages, but you just ran into one of its drawbacks.
"Ownership" of software was always a controversial subject, but the way things are going the argument will soon be a moot point... unfortunately. -
Newbie having trouble with keyframes
I'm a newbie to Flash, and have just started going through
the online tutorial here:
http://www.adobe.com/devnet/flash/articles/intro_flash_pt2_04.html
This is the problem I'm having: In the section "Creating a
frame-by-frame animation", when I have created the symbols, and
want to edit them, the Properties Inspector shows that the images
are bitmaps, not movie clips. Why is this? Shouldn't they have
become movie clips when I created the symbols, renamed them, and
saved them as movie clips? Is there something I'm doing wrong?
Thanks in advance for your assistance.
Text
http://www.adobe.com/devnet/flash/articles/intro_flash_pt2_04.htmlDid you have the bitmaps selected and chose "Modify - Convert
to Symbol" (F8) when you "created the symbols"?
Or did you select "Insert - New Symbol" (Ctrl-F8)? This would
of course have created empty movieClips and left your bitmaps
untouched. -
I'm new to Flash, Have got the new Flash 8 Pro. I'm trying to
start at the beginning with tutorials to learn how to use flash.
The first tutorial under the "getting started with flash" area is
"building your first flash application" I have gone through the
whole tutorial, made sure that I followed each step carefully, and
yet the graphics (JPG) files are not showing up in the project.
What they have you doing is making a FMA for a ficticious
restuarant website, an example of there menu to be used as a header
for the page i imagine. I have made sure that I copied the entire
folder over as requested, double checked that I don't have any
upper/lower case problems and I still don't have the images showing
up on the fla file when I go to control to test it. Any ideas what
could be wrong? Has anyone reported a problem with this tutorial,
or am I just missing something?
Thanks in advance, How2I did get your e-mail but I was unable to get to the forum
for a couple of days. However in the mean time I found the problem.
The project had 80 frames in it and it was set to loop, the
tutorial was telling me to set an action (motion tweens) to the key
frame 80. I didn't notice the first time around, but when starting
over with the tutorial when I applied that action to frame 80 I got
a (!) in the bottom left corner of my workspace warning me that
something was wrong. When I clicked on the (!) i got a window with
the message "Motion Tweening will not occur on layers with
ungrouped shapes or on layers with more than one group or symbol."
I'm not sure what that meant but when I removed the action
everything began to work.
I'm learning to keep my eyes open as I do these tutorials
because they have a few typos and wrong instructions in them that
for a newbie like me can cause some frustration. Thank God that
Flash has that little warning (!) that lets you know when something
is not working, I am so glad that I noticed it there!
Thanks for all your help. -
Hi all,
Im trying to get JSTL to work with my setup but I'm hitting a few troubles. Can anyone see if they can help.
Here's a little of my setup:
JDK - 1.5
IDE - Eclipse 3.1 with Web Tools Project v0.7 Milestone MD 5
JSTL - Apache Taglibs Standard 1.1
Here's the problem in it's most basic form. If I have...
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<jsp:useBean id="userBean" class="jeanie.UserInfoBean" scope="session"/>
<%@ page errorPage="error.jsp" %>
<html>
<head>
<title>Jeanie - Welcome</title>
</head>
<body>
3 + 3 = ${3 + 3}
</body>
</html>Everything works fine and you see what you expect. But if I replace the 3+3 line with...
<c:out value="${3+3}"/>I get a lovely error message saying "org.apache.jasper.JasperException: /index.jsp(9,0) According to TLD or attribute directive in tag file, attribute value does not accept any expressions". Does anyone know what is causing this error? Here's my web.xml. I'm sure it'll be something simple I've missed.
<?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd" version="2.4">
<display-name>Jeanie</display-name>
<welcome-file-list>
<welcome-file>index.html</welcome-file>
<welcome-file>index.htm</welcome-file>
<welcome-file>index.jsp</welcome-file>
<welcome-file>default.html</welcome-file>
<welcome-file>default.htm</welcome-file>
<welcome-file>default.jsp</welcome-file>
</welcome-file-list>
<taglib>
<taglib-uri>http://java.sun.com/jsp/jstl/core</taglib-uri>
<taglib-location>/WEB-INF/tlds/c.tld</taglib-location>
</taglib>
</web-app>Actually, remove all references to the taglib from your web.xml file.
They don't have to be there.
All you need to run JSTL are two jar file in the web-inf/lib directory:
standard.jar, jstl.jar
The tld files are bundled with them. -
Implicit navigation trouble -- parent dir
Hi!
I've got folowing directory structure for my web app:
root
|--templates
| |--nav.xhtml
| |--footer.xhtml
|--index.xhtml
|--search.xhtml
here is my index.xhtml:
<h:body>
<div class="header" align="center">
<ui:include src="templates/nav.xhtml" />
</div>
<h:form>
<h:commandButton value="Search" action="search" />
</h:form>
<div class="header" align="center">
<ui:include src="templates/footer.xhtml" />
</div>
</h:body>
here is my nav.xhtml:
<h:body>
<h:commandButton value="Search" action="../search" />
</h:body>
When I click "Search" button from nav.xhtml template navigation doesn't occur. However "Search" button from index.xhtml works perfectly. What's wrong with my nav.xhtml template?
Here is the link to EAR: http://dl.dropbox.com/u/1724150/Application.EAR-1.ear
Thanks!The problem is that you don't understand how JSF navigation even works, or else you wouldn't come up with something as inherently wrong as an action "../search". I suggest you open up the JSF book and reread the entire chapter on navigation. Then the problem should go away.
-
Newbie in trouble ;)
Good day to everyone.
Im having troubles building menus for PAL DVD. Resulting video has blank fields on the left and right sides.
My source .psd document has the same dimentions as the video (720x576), but i still get those blanks even in preview.
Another thing that troubles me is my menu buttons text. It looks just nice on the workspace, and in the PS, but preview renders it way too fat and sometimes hard to read.
I suppose I missed something throught its my first encore project, please helpIn PS, with your Menu Open, just go to Image>Pixel Aspect Ratio, and choose the appropriate one for your Project. It's just like Image size, but without the dialog box. Once done, just do a Save, and all should be great. One can usually tell when they have not set the PAR correctly initially, as there will be no warning message that the PAR has been set to 1.0 for display only. I keep that message initiated, just as a check that I have not done a Menu in Square Pixels, and just click OK to end it.
Good luck,
Hunt
PS - in PS, when you Open a New Image, you can choose Presets for NTSC, or PAL settings with, or without Guides. I always choose w/ Guides. This will get you the pixel x pixel dimensions plus the correct PAR for your Menus. -
I am new to the forum and almost new to iWeb. Here is my dilemma. In iWeb08 I created a site. I thought the navigation menu was great. So, now I am on iWeb09. I want to update the website I created. What I want to do is take the main page navigation menu and make it read 2007, 2008, 2009 and then have pages specific to those links and have the site I created previously under 2007 and new pages under their own year. Can I do this easily or am I stuck with manually having to create a navigation bar.
If I do have to manually create a navigation bar, is it difficult to link the new pages together. I really don't have a lot of experience with iWeb and what web site experience I do have is years old.
Thanks in advance and sorry for being a nOOb.What I would do is create an additional site for each year. Then when a "year" site is open you will have a new menu specifically for that year. You may need to create a manual home button to get back to the home site.
-
I'm scouring these forums looking for someone who can reply to me in real time. Basically, I need to create a basic website for a project, where I have a main page, linking to my other pages that are divided by content. For example, main page would have a brief explanation of what the site is about, and then if you clicked on some text in my explanations, etc, it would link you to a different page on my site. Here are some things I am stuck on:
How do i make one page the first one you'd see if you opened the website?
How do i hyperlink to pages within my local root?
How do I hyperlink to internet based online pages?
How do i burn the whole website onto a cd, so that if I were to give the cd to someone else, all the local links AND the internet links would work?
These questions are all I need to figure out right now. If anyone could help I'd be grateful. I'll be refreshing this for a few hoursHow do i make one page the first one you'd see if you opened the website?
Save it with a filename that appears in your host's default filename list. Ask your host what filenames appear in that list - usually "index.html" is there. You could try that filename first....
How do i hyperlink to pages within my local root?
Select the text for the link trigger, and use the Link field of the Property inspector to browse to and select the target filename in your local site.
How do I hyperlink to internet based online pages?
Pages that are not present in your local root folder? You'd have to enter those links manually by selecting the text for the link trigger, and entering "http://www.example.com/path_to_file.html" in the Link field of the Property inspector. It's important that you enter the *fully qualified* address of the page, i.e., the protocol (http://) the domain name (www.example.com) and the path to the file (/path_to_file.html).
How do i burn the whole website onto a cd, so that if I were to give the cd to someone else, all the local links AND the internet links would work?
Copy all the files within the local root folder to the CD. If you have made the links properly, they will all work (provided the user is connected to the internet when using the CD, and provided they initially open (manually) the "index.html" file to start.
Maybe you are looking for
-
Bold character style does not inherit the paragraph emphasis (Italic)
Hi, I am using TCS2 (RH 8, FM 9). I have a character style in FrameMaker that makes GUI terms bold. My text for Notes, Tips and so in is italic and when I apply my GUI character style in FM, the text becomes both bold and italic. In RoboHelp, my te
-
When restoring iPod...error occurs
I'm trying to reformat my iPod from Mac to PC, but something keeps popping up that says: iTunes could not contact the iPod software update server because you are not connected to the internet But I am connected...I'm typing on this forum aren't I?
-
Problem Deploying Web Service.
Hello All, I am trying to deploy a Web Service however when I am doing so I keeping getting this exception any idea what could be wrong: 5056bf5661#SAPEngine_Application_Thread[impl:3]_130##0#0#Error#1#/System/Server#Java#deploy_5029##Exception in op
-
What is going wrong with this config ??
Hello guys, I am busting my head to find out what is going wrong with this config and cant figure it out since i am not an advanced cisco technician. Problem is that i cant access the 94.70.142.127 server that is supposed to be in a DMZ zone. I know
-
Hi all, I created a Discoverer report on one instance. One new folder (joined with two old folders) and one new workbook was created. I exported the the following files: 1) business area definition 2) old folder joined with new folder 3) old folder j