log4j.logger.org.apache.myfaces.application.NavigationHandlerImpl=DEBUG
That prints out pretty good information on why it could not find any configuration for what view to load next
On 10/17/05, rosalba bochicchio <
[EMAIL PROTECTED]> wrote:
Hi all,
I really hope you can help me!
I'm using MyFaces 1.1.0 with tiles to create a web
application where the user navigates among pages using
the nodes of a tree displayed on the left of the page.
I'm using tiles to make the layout be fixed and the
content page change.
My problem is that when I try to put a link on a page
displayed as content, the link does't work (the same
is for tha h: commandButton) and it always displays
the same page.
I have the same problem if I use MyFaces 1.0.9
Here's the code of the page displayes as content.
<[EMAIL PROTECTED] contentType="text/html" %>
<[EMAIL PROTECTED] uri="http://java.sun.com/jsf/html"
prefix="h"%>
<[EMAIL PROTECTED] uri="http://java.sun.com/jsf/core"
prefix="f"%>
<[EMAIL PROTECTED] uri=" http://myfaces.apache.org/extensions"
prefix="x"%>
<f:view>
<head>
<title>Gestione Utenti</title>
</head>
<body bgcolor="#ffffff">
<table align="center" border="0" cellpadding="0"
cellspacing="3" width="100%">
<tr>
<td> </td>
</tr>
<tr>
<td align="right" width="10%">
<h:graphicImage value="#{userPageBean.image}">
</h:graphicImage>
</td>
<td width="40%" style=" font-family: 'Georgia';
font-size: 12px; "> Tipo di utente:
<b style=" font-family: 'Georgia'; font-size:
12px; font-style: italic; font-weight: bold; ">
<h:outputText
value="#{ userPageBean.userType}"/>
</b>
</td>
<td align="left" width="50%" style="
font-family: 'Georgia'; font-size: 12px;">
Username:
<b style="font-family: 'Georgia'; font-size:
12px; font-style: italic ;font-weight: bold; ">
<h:outputText
value="#{userPageBean.username}"/>
</b>
</td>
</tr>
<tr>
<td> </td>
</tr>
<tr>
<td align="right">
<h:graphicImage
url=""
</h:graphicImage>
</td>
<td style=" font-family: 'Georgia'; font-size:
12px; "> Gruppo di appartenenza:
<b style=" font-family: 'Georgia'; font-size:
12px; font-style: italic;font-weight: bold; ">
<h:outputText
value="#{userPageBean.groupName}"/>
</b>
</td>
<td align="left" width="50%" style="
font-family: 'Georgia'; font-size: 12px;">
Creazione:
<b style="font-family: 'Georgia'; font-size:
12px; font-style: italic ;font-weight: bold; ">
<h:outputText
value="#{userPageBean.theCreation}"/>
</b>
</td>
</tr>
<tr>
<td> </td>
</tr>
<tr>
<td align="right">
<h:graphicImage url=""> </h:graphicImage>
</td>
<td style=" font-family: 'Georgia'; font-size:
12px;">
<h:form id="userpage">
<h:commandLink id="services"
value="Servizi"
actionListener="#{userPageBean.goToServices}"
action="" >
</h:commandLink>
</h:form>
</td>
<td align="left" width="50%" style="
font-family: 'Georgia'; font-size: 12px;">
Ultima Modifica:
<b style="font-family: 'Georgia'; font-size:
12px; font-style: italic ;font-weight: bold; ">
<h:outputText
value="#{userPageBean.theUpdate}"/>
</b>
</td>
</tr>
<tr>
<td> </td>
</tr>
<tr>
<td align="right">
<h:graphicImage url=""
</h:graphicImage>
</td>
<td style=" font-family: 'Georgia'; font-size:
12px;">
<h:form id="monitoring">
<h:commandLink immediate="true"
actionListener="#{userPageBean.goToServices}"
action="" >
<h:outputText value="Monitoring Utente"/>
</h:commandLink>
</h:form>
</td>
</tr>
<tr>
<td> </td>
</tr>
<tr>
<td> </td>
</tr>
<tr>
<td> </td>
</tr>
<tr>
<td> </td>
<td align="center">
<h:commandButton immediate="true" style="
font-family: 'Georgia'; font-size: 12px; font-style:
italic; font-weight: bold; "
actionListener="#{userPageBean.modifyUsrPassword}"
action="" value="Modifica
Password "> </h:commandButton>
</td>
<td align="left">
<h:commandButton immediate="true" style="
font-family: 'Georgia'; font-size: 12px; font-style:
italic; font-weight: bold; "
actionListener="#{userPageBean.deleteUser}"
action="" value="Cancella
Utente"> </h:commandButton>
</td>
</tr>
</table>
</body>
</f:view>
Any idea of what I' doing wrong??
Foe example..when I click on the link SERVIZI, the
same page where I am is reloaded !
Thanks,
R.
__________________________________
Yahoo! Mail - PC Magazine Editors' Choice 2005
http://mail.yahoo.com