Re: display label in error message instead of id

2006-02-18 Thread Dave
Can the label be used only for display messages? I am trying to replace ID inside a table for error messages. Labels and values are in two different columns. values are rendered in a subview as different components based on their types.   An attribute for UIData component like     replaceIdForM

Re: display label in error message instead of id

2006-02-18 Thread Martin Marinschek
Ok, fair enough, I'm forgetting what I programmed then ;) regards, Martin On 2/18/06, Mario Ivankovits <[EMAIL PROTECTED]> wrote: > Hi! > > The second part of your message I didn't get - what was a slick patch? > > > I just wanted to say the code to deal with embedded outputText already > existe

Re: display label in error message instead of id

2006-02-18 Thread Mario Ivankovits
Hi! > The second part of your message I didn't get - what was a slick patch? > I just wanted to say the code to deal with embedded outputText already existed, just a simple if-condition problem. It was very easy to fix. --- Mario

Re: display label in error message instead of id

2006-02-18 Thread Martin Marinschek
Ah, thank you! The second part of your message I didn't get - what was a slick patch? regards, Martin On 2/18/06, Mario Ivankovits <[EMAIL PROTECTED]> wrote: > Hi Martin! > > Please open an issue on that - I didn't think about embedded > > outputText components when I implemented this solution,

Re: display label in error message instead of id

2006-02-18 Thread Mario Ivankovits
Hi Martin! > Please open an issue on that - I didn't think about embedded > outputText components when I implemented this solution, obviously ;). > As you might see if you read some lines down - I already fixed it. And if you didnt create the outputLabel component then someone else thought about

AW: display label in error message instead of id

2006-02-18 Thread Matthias Kahlau
t; > Thanks again. > > Mike > > > > --- Michael Heinen <[EMAIL PROTECTED]> wrote: > > > Thanks a lot for your help. > > Now it works of course :-) > > > > > > -Original Message- > > From: Mario Ivankovits [mailto:[EMAIL PROTEC

Re: display label in error message instead of id

2006-02-18 Thread Martin Marinschek
lot for your help. > > Now it works of course :-) > > > > > > -Original Message- > > From: Mario Ivankovits [mailto:[EMAIL PROTECTED] > > Sent: Freitag, 17. Februar 2006 11:58 > > To: MyFaces Discussion > > Subject: Re: display label in error messa

RE: display label in error message instead of id

2006-02-17 Thread Mike Duffy
help. > Now it works of course :-) > > > -Original Message- > From: Mario Ivankovits [mailto:[EMAIL PROTECTED] > Sent: Freitag, 17. Februar 2006 11:58 > To: MyFaces Discussion > Subject: Re: display label in error message instead of id > > Hi! > > Ok,

RE: display label in error message instead of id

2006-02-17 Thread Michael Heinen
Thanks a lot for your help. Now it works of course :-) -Original Message- From: Mario Ivankovits [mailto:[EMAIL PROTECTED] Sent: Freitag, 17. Februar 2006 11:58 To: MyFaces Discussion Subject: Re: display label in error message instead of id Hi! Ok, I found a problem if one uses

Re: display label in error message instead of id

2006-02-17 Thread Mario Ivankovits
Oh - and - thanks for reporting it :-) Ciao, Mario

Re: display label in error message instead of id

2006-02-17 Thread Mario Ivankovits
Hi! Ok, I found a problem if one uses outputText as child of outputLabel. Its fixed now. As a workaround now you can get rid of outputText and use the value= attribute in outputLabel directly. eg. Ciao, Mario

RE: display label in error message instead of id

2006-02-17 Thread Michael Heinen
:[EMAIL PROTECTED] Sent: Freitag, 17. Februar 2006 07:58 To: MyFaces Discussion Subject: Re: display label in error message instead of id try it with t:messages - if it works there.. regards, Martin On 2/17/06, Michael Heinen <[EMAIL PROTECTED]> wrote: > It does still not work!!! >

Re: display label in error message instead of id

2006-02-17 Thread Martin Marinschek
owDetail="true"/> > > The message is still "name": Value is required. Instead of "User" ... > I' going insane > > Michael > > -Original Message- > From: Bruno Aranda [mailto:[EMAIL PROTECTED] > Sent: Freitag, 17. Februar 2006 04:06 >

RE: display label in error message instead of id

2006-02-17 Thread Michael Heinen
17. Februar 2006 04:06 To: MyFaces Discussion Subject: Re: display label in error message instead of id And what if you try showSummary="false" showDetail="true"? Bruno On 2/16/06, Michael Heinen <[EMAIL PROTECTED]> wrote: > Thanks Bruno. > > I replaced my h

Re: display label in error message instead of id

2006-02-17 Thread Bruno Aranda
ut this does not change anything. > Unfortunately I can't access the online API docs. > > Do you have another hint for me ? > > > Michael > > -Original Message- > From: Bruno Aranda [mailto:[EMAIL PROTECTED] > Sent: Donnerstag, 16. Februar 2006 08:47 > To

Re: display label in error message instead of id

2006-02-16 Thread Volker Weber
see: http://myfaces.apache.org/tomahawk/tlddoc/t/message.html regards, Volker Dave wrote: > Where to find doc for (t:message)? I looked at Apache Faces, but I could > not find it. > Thanks! > > */Bruno Aranda <[EMAIL PROTECTED]>/* wrote: > > Sure, there is an easy solution. Use the extend

Re: display label in error message instead of id

2006-02-16 Thread Dave
Where to find doc for (t:message)? I looked at Apache Faces, but I could not find it. Thanks! Bruno Aranda <[EMAIL PROTECTED]> wrote: Sure, there is an easy solution. Use the extended messages componentfrom tomahawk (t:message).Regards,BrunoOn 2/16/06, Michael Heinen <[EMAIL PROTECTED]>wrote:

RE: display label in error message instead of id

2006-02-16 Thread Michael Heinen
Aranda [mailto:[EMAIL PROTECTED] Sent: Donnerstag, 16. Februar 2006 08:47 To: MyFaces Discussion Subject: Re: display label in error message instead of id Sure, there is an easy solution. Use the extended messages component from tomahawk (t:message). Regards, Bruno On 2/16/06, Michael

Re: display label in error message instead of id

2006-02-16 Thread Bruno Aranda
Sure, there is an easy solution. Use the extended messages component from tomahawk (t:message). Regards, Bruno On 2/16/06, Michael Heinen <[EMAIL PROTECTED]> wrote: > > > > Hi all, > > > > I try to display the label of a field instead of the id in an error message, > but I don't get it to work.

display label in error message instead of id

2006-02-16 Thread Michael Heinen
Hi all,   I try to display the label of a field instead of the id in an error message, but I don't get it to work. I'm sure there is an easy solution for it.   Here is my code:   Messages: login.name = User   JSP: