so use both <logic:present ... > display column </logic:present> <logic:notPresent ... > display some other data </logic:notPresent>
hope I am clear!! -----Original Message----- From: Mannem, Taati [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 09, 2002 1:37 PM To: Struts Users Mailing List Subject: RE: Comparing Null using Logic:Equal Leo and Jim, Thanks a lot it works but not exactly the way my requirement demands. I will explain to you the scenario.Take the struts-examples for instance. When we click on the edit registration we get a table with the heading host,autoconnect,etc.. Now if the subscriptions bean is null it will not display the column, that is the results array in the bean user is returned null for the first time and hence the table rows are not printed. When I use the logic:present tag it works only if I go to subscription and dont enter anything and come back. Actually my requirement is to show some other data when the user clicks on the reigistration and there is no data to be shown in the table.Hope i am clear????? Regards, Taati > -----Original Message----- > From: James Mitchell [SMTP:[EMAIL PROTECTED]] > Sent: Thursday, May 09, 2002 1:31 PM > To: Struts Users Mailing List > Subject: RE: Comparing Null using Logic:Equal > > See logic:present > > JM > > > -----Original Message----- > > From: Mannem, Taati [mailto:[EMAIL PROTECTED]] > > Sent: Thursday, May 09, 2002 1:25 PM > > To: Struts Users Mailing List > > Subject: Comparing Null using Logic:Equal > > > > > > Guys, > > Thanks for the help on the previous post. Can anyone tell me how do > > I compare a value "null" using logic equal or someother tag. > > This is the requirement.. > > If the value returned by a getter method is null in iterator tag > > then I have > > got to display something else something else.. > > > > Thanks a lot in advance! > > Cheerio, > > Taati > > > > > > -- > > To unsubscribe, e-mail: > > <mailto:[EMAIL PROTECTED]> > > For additional commands, e-mail: > > <mailto:[EMAIL PROTECTED]> > > > > > > -- > To unsubscribe, e-mail: > <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: > <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

