can you file a jira ticket ? On Wed, Mar 18, 2009 at 7:10 AM, Natia Gdzelishvili <[email protected]> wrote: > I have solved this problem replacing <tr:message/> tag with <h:message> > i think it is bug, <tr:message> cant find message that i have added in bean > class when i use it inside tr:table (i have tried versions from 1.2.7 to > 1.2.11) > On Wed, Mar 18, 2009 at 9:58 AM, Matthias Wessendorf <[email protected]> > wrote: >> >> what happens with 1.2.8 ? >> (since you are saying 1.0.8 works) >> >> -Matthias >> >> On Tue, Mar 17, 2009 at 9:54 AM, Natia Gdzelishvili >> <[email protected]> wrote: >> > Hello , >> > I have some problem with tag <message/> >> > I need to display custom message in table row but it doesnt work, in >> > trinidad 1.0.8 it was working >> > on jsp I have >> > <messages/> >> > // >> > message is displayed >> > <message for="tableid:0:saveCode"/> // message is >> > displayed >> > <tr:table id="tableid"> >> > <tr:colomn> >> > ....... >> > <tr:message for="saveCode"/> >> > <tr:commandLink text="save" >> > id="saveCode" >> > >> > actionListener="#{bean.saveOrUpdateCode}"> >> > <f:facet name="extraParameter"> >> > <f:param name="commandLinkParam" >> > value="#{code}" /> >> > </f:facet> >> > </tr:commandLink> >> > </tr:column> >> > </table> >> > public void saveOrUpdateTranCode(ActionEvent e) { >> > FacesContext facesContext = FacesContext.getCurrentInstance(); >> > if (validatecode(code)) { >> > >> > facesContext.addMessage(e.getComponent().getClientId(facesContext), >> > //clientid is tableid:0:saveCode >> > new FacesMessage(FacesMessage.SEVERITY_ERROR, "some >> > message", null)); >> > } >> > } >> > when i use message tag in table i.m getting error >> > [lifecycle] WARNING: FacesMessage(s) have been enqueued, but may not >> > have >> > been displayed. >> > sourceId=codeId:0:saveCode[severity=(ERROR 2), summary=(some message ), >> > detail=(some message )] and message is not displayed, but outside the >> > table >> > message has been displayed >> > please help me, I have tried version 1.29, 1.2 11 but same is happening >> > thank in advance >> > >> >> >> >> -- >> Matthias Wessendorf >> >> blog: http://matthiaswessendorf.wordpress.com/ >> sessions: http://www.slideshare.net/mwessendorf >> twitter: http://twitter.com/mwessendorf > >
-- Matthias Wessendorf blog: http://matthiaswessendorf.wordpress.com/ sessions: http://www.slideshare.net/mwessendorf twitter: http://twitter.com/mwessendorf

