Logic-Iterate
Hi, I was trying to us the logic-iterate tag and i'm stuck at a point. Please go thru the snippet below, logic:iterate id=test name=mybean property=name liembean:write name=test//em/li % String myName = instance.getName(mybean.getName()); System.out.println(myName); % /logic:iterate Now, how do i get one of the properties of a bean when i'm iterating through a collection of a bean objects. Bottom line is i would like to pass the property getName() into a variable. Can anyone help me in sorting this out ?? Thanks, Shane.. = __ Do You Yahoo!? Get personalized email addresses from Yahoo! Mail - only $35 a year! http://personal.mail.yahoo.com/
Re: Radio Button question
Amar, I was looking for a similar solution too. I was wondering how do i disable a radio button/ check box when the page to be displayed is just read only.. I can use the normal form elements to get the job done but is it possible using Struts??? Shane.. __ Do You Yahoo!? Yahoo! Auctions - buy the things you want at great prices http://auctions.yahoo.com/
RE: Radio Button question
Amar, The idea's good. But the radio button values have to be set. Like the dbase would hold the values for the radio button or the check box and i have display the disabled radio or checkbox depending on what value is coming from the dbase. html:checkbox property=checkmate disabled=true / We have the property in Struts, i'm not sure whether it works or not ?? Please throw some light.. --Shane __ Do You Yahoo!? Yahoo! Auctions - buy the things you want at great prices http://auctions.yahoo.com/
Html:Link
Hello All, I would like to use the html:link which would include dynamic parameters. I need something like, a href=/myAction.do?action=readid=%= id%Hit me /a html:link paramID=target paramName=linkParams paramProperty=target paramScope=request detail.html/html:link This is how it struts generally works incase i have only one parameter to pass. I'm not sure how to include the String hit me as the main link. Can anyone help me out in guiding me towards the best approach of getting the job done.. Regards, Shane.. __ Do You Yahoo!? Yahoo! Auctions - buy the things you want at great prices http://auctions.yahoo.com/