Hi,
looks like summary and details is rendered the same. What is your
messages or message tag about?
cheers,
Gerald
On 5/8/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
Hm, I once had a similar issue when I was using a ADF Faces/Trinidad component
with built-in message display in addition to an explicit message(s) component.
What does your page look like?
>Hello,
>
>I'm implementing a wizard-like sequence of pages. The problem is, that
>the user dosn't have to fill out the pages sequentialy and can save
>the entered information at every point in time and restart to fill in
>the forms in another session.
>
>The problem I have is, that I have to validate some constraints before
>saving. So for example, when the user clicks on save on page 3, I have
>to check if he has entered one field on page 1. To do this, I
>implemented the method public String saveTemp() in my backingBean, as
>an action for my commandButton.
>
>In this method I do the following:
>
>public String saveTemp(){
>
> //selectedBid is bound to a inputText on Page 1
> if(selectedBid == null || selectedBid.trim().equals("")){
>
> FacesContext context =
FacesContext.getCurrentInstance();
> FacesMessage message = new FacesMessage("Please select a bid
on page 1");
>
> context.addMessage(null, message);
> //context.addMessage("", message);
> return null;
> }
> //continue to save the information entered
>}
>
>Everything works fine so far and the message is shown on the page the
>user is coming from but the message is shown two times: Please select
>a bid on page 1 Please select a bid on page 1
>
>Has anybody an idea?
>
>Thank you in advance,
>Rudi
--
http://www.irian.at
Your JSF powerhouse -
JSF Consulting, Development and
Courses in English and German
Professional Support for Apache MyFaces