Hi!
I don't think so... I'm pretty sure that the reason of
this conversion error is because the managed bean
(LogonBean) is null... so when it tries to lookup for
its methods, a FacesException is thrown.
I'm saying this because I switched to the Sun RI to
see if it works, but the same conversion
Sorry I meant "#[logon.senha]"
Rick Gruber-Riemer wrote:
My guess would be that you used "|" (pipe character) instead of "["
=> "[logon.senha]" instead of "|logon.senha]"
Mike Kienenberger wrote:
private String password;
I don't see anything beside the above inconsistency, but I'm prett
My guess would be that you used "|" (pipe character) instead of "[" =>
"[logon.senha]" instead of "|logon.senha]"
Mike Kienenberger wrote:
private String password;
I don't see anything beside the above inconsistency, but I'm pretty
sure that you just translated senha to password in your f
private String password;
I don't see anything beside the above inconsistency, but I'm pretty
sure that you just translated senha to password in your first message
so it'd be more clear.
Try adding this to your form and see if you get better errors.
On 10/19/05, [EMAIL PROTECTED]
<[EMAIL P
There is no conversion error stack trace.
My jsp:
---
Teste - Login
<%@ taglib uri="http://java.sun.com/jsf/html";
prefix="h" %>
<%@ taglib uri="http://java.sun.com/jsf/core";
prefix="f" %>
---
My faces-config.xml:
---
http://j
There's not enough information to speculate why that is happening.
You'll need to post the conversion error stack trace (if there is one).
You should probably also post your full jsp page and full faces-config file.
On 10/19/05, [EMAIL PROTECTED]
<[EMAIL PROTECTED]> wrote:
> When I remove immedia
When I remove immediate=true I receive a "Conversion
Error" message. But I'm not using any conversor and my
attributes are both strings...
Thanks,
David.
--- Mike Kienenberger <[EMAIL PROTECTED]> escreveu:
> What's probably happening is that you're trying to
> access your login
> and password co
What's probably happening is that you're trying to access your login
and password components from logon. Those values won't contain valid
input if you're skipping the conversion and validation phases.
Remove the immediate=true attribute.
JSF moves data through several stages before it's bound t
Thanks for your answer. Here are my jsp and my managed
bean codes:
Jsp:
--
[...]
--
LogonBean:
--
public class LogonBean {
private String login;
private String password;
public String logon() {
What does your jsp look like?
What is the method signature for logon()?
It must be "public String logon()" if you're using
"action="#{logon.logon}" and it must be public void logon(ActionEvent
event) if you're using "actionListener="#{logon.logon}".
On 10/19/05, [EMAIL PROTECTED]
<[EMAIL PROTECT
Hi, everyone. I'm learning JSF and I'm having some
headaches.
I have a managed bean called LogonBean with two String
attributes, login and password, their getters and
setters and a method called logon(). In the jsp I have
a commandButton that calls the logon method.
When I click the commandButto
11 matches
Mail list logo