You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Maya Muchnik <mm...@pumatech.com> on 2001/03/19 17:58:10 UTC

display errors

Hi,

Is it possible to display errors not from the first column (using <html:errors/>) ?

Thanks in advance

Maya


Re: display errors

Posted by David Winterfeldt <dw...@yahoo.com>.
I started working on an alternative version of the
errors tag this weekend that iterates through the
results so you can leave HTML out of the message
resources.  It doesn't do everything that the Struts
tag does at this point.  It also automatically
includes errors.header and errors.footer.  Maybe you
could use this or modify the code to do what you want.
 Or you could always use a iterate tag to loop through
your errors and format them the way you want to.

<validator:errors id="error">
   <li><bean:write name="error"/></li>
</validator:errors>


David
http://home.earthlink.net/~dwinterfeldt


--- Maya Muchnik <mm...@pumatech.com> wrote:
> I think, you are correct to qualify this as a
> formatting. Take the
> struts-example. The tag <html:errors/> at the
> beginning of each file
> will display error messages at top and left corner
> of a page.
> 
> David Winterfeldt wrote:
> 
> > What do you mean by "not from the first column".
> >
> > Are you talking about formatting?  What are you
> trying
> > to do?
> >
> > David
> >
> > --- Maya Muchnik <mm...@pumatech.com> wrote:
> > > I found a OLD way (with table, tr, td, ...). But
> > > maybe for a next release ... Can
> > > error tag to be improved ?
> > > Maya
> > > P.S. I know that we ask too much from several
> bright
> > > developers.
> > >
> > > Maya Muchnik wrote:
> > >
> > > > Hi,
> > > >
> > > > Is it possible to display errors not from the
> > > first column (using <html:errors/>) ?
> > > >
> > > > Thanks in advance
> > > >
> > > > Maya
> > >
> >
> > __________________________________________________
> > Do You Yahoo!?
> > Get email at your own domain with Yahoo! Mail.
> > http://personal.mail.yahoo.com/
> 


__________________________________________________
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail. 
http://personal.mail.yahoo.com/

Re: display errors

Posted by Maya Muchnik <mm...@pumatech.com>.
I think, you are correct to qualify this as a formatting. Take the
struts-example. The tag <html:errors/> at the beginning of each file
will display error messages at top and left corner of a page.

David Winterfeldt wrote:

> What do you mean by "not from the first column".
>
> Are you talking about formatting?  What are you trying
> to do?
>
> David
>
> --- Maya Muchnik <mm...@pumatech.com> wrote:
> > I found a OLD way (with table, tr, td, ...). But
> > maybe for a next release ... Can
> > error tag to be improved ?
> > Maya
> > P.S. I know that we ask too much from several bright
> > developers.
> >
> > Maya Muchnik wrote:
> >
> > > Hi,
> > >
> > > Is it possible to display errors not from the
> > first column (using <html:errors/>) ?
> > >
> > > Thanks in advance
> > >
> > > Maya
> >
>
> __________________________________________________
> Do You Yahoo!?
> Get email at your own domain with Yahoo! Mail.
> http://personal.mail.yahoo.com/


Re: display errors

Posted by David Winterfeldt <dw...@yahoo.com>.
What do you mean by "not from the first column".

Are you talking about formatting?  What are you trying
to do?

David

--- Maya Muchnik <mm...@pumatech.com> wrote:
> I found a OLD way (with table, tr, td, ...). But
> maybe for a next release ... Can
> error tag to be improved ?
> Maya
> P.S. I know that we ask too much from several bright
> developers.
> 
> Maya Muchnik wrote:
> 
> > Hi,
> >
> > Is it possible to display errors not from the
> first column (using <html:errors/>) ?
> >
> > Thanks in advance
> >
> > Maya
> 


__________________________________________________
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail. 
http://personal.mail.yahoo.com/

Re: display errors

Posted by Maya Muchnik <mm...@pumatech.com>.
I like when you are :-). I will try to be "active" helper, but later, when I will become
more familiar with struts, and other a lot of things!!!. Good luck to you in your
presentations in two conferences. I cannot go ( a project, and expenses). Can we get your
presentation on-line? (:-))

Maya

"Craig R. McClanahan" wrote:

> On Mon, 19 Mar 2001, Maya Muchnik wrote:
>
> > I found a OLD way (with table, tr, td, ...). But maybe for a next release ... Can
> > error tag to be improved ?
>
> Improvements are on the "nice to have this work better" list.
>
> > Maya
> > P.S. I know that we ask too much from several bright developers.
> >
>
> Well, one way to fix that is to offer your own patches :-).  It is open
> source, after all.
>
> Craig
>
> > Maya Muchnik wrote:
> >
> > > Hi,
> > >
> > > Is it possible to display errors not from the first column (using <html:errors/>) ?
> > >
> > > Thanks in advance
> > >
> > > Maya
> >
> >


Re: display errors

Posted by "Craig R. McClanahan" <cr...@apache.org>.

On Mon, 19 Mar 2001, Maya Muchnik wrote:

> I found a OLD way (with table, tr, td, ...). But maybe for a next release ... Can
> error tag to be improved ?

Improvements are on the "nice to have this work better" list.

> Maya
> P.S. I know that we ask too much from several bright developers.
> 

Well, one way to fix that is to offer your own patches :-).  It is open
source, after all.

Craig


> Maya Muchnik wrote:
> 
> > Hi,
> >
> > Is it possible to display errors not from the first column (using <html:errors/>) ?
> >
> > Thanks in advance
> >
> > Maya
> 
> 


Re: display errors

Posted by Maya Muchnik <mm...@pumatech.com>.
I found a OLD way (with table, tr, td, ...). But maybe for a next release ... Can
error tag to be improved ?
Maya
P.S. I know that we ask too much from several bright developers.

Maya Muchnik wrote:

> Hi,
>
> Is it possible to display errors not from the first column (using <html:errors/>) ?
>
> Thanks in advance
>
> Maya