Re: calling method of a bean from JSP

2006-09-17 Thread Yujun Liang
Have you tried "Mapped Properties"? http://struts.apache.org/1.2.9/faqs/indexedprops.html Regards On 9/16/06, Strachan, Paul <[EMAIL PROTECTED]> wrote: you could move the logic into the view/jsp layer...something like: or maybe a custom tag library... ___

[Struts 2] problem with s:set and s:if

2006-09-17 Thread Garner Shawn
I'm not sure what I'm doing wront but I only want to write out the table row and table data tags if it is a new milestone different than the last one. I seem to get either all or none here. Can somebody help me? MilestoneTentative Release DateFeatures

How to OR condition in JSP using Struts

2006-09-17 Thread Hanmay Udgiri
Hi I want to check an OR condition in struts using logic tags.?? Can we use logic tags to check OR condition?? -- Thanks and Regards Hanmayya Udgiri

Re: [Struts 2] problem with s:set and s:if

2006-09-17 Thread Ted Husted
Personally, for something like this, I try to simplify the task as much as possible in the Action. For example, I might put this sort of a loop in the Action class and create a list of milestone numbers, each with it's onw list of milestone items. So that the page can just iterate through the numb

Re: calling method of a bean from JSP

2006-09-17 Thread Lixin Chu
this should work. thanks ! On 9/16/06, Strachan, Paul <[EMAIL PROTECTED]> wrote: you could move the logic into the view/jsp layer...something like: or maybe a custom tag library... From: Lixin Chu [mailto:[EMAIL PROTECTED] Sent: Sat 16/09/2006 1:2

Re: calling method of a bean from JSP

2006-09-17 Thread Lixin Chu
On 9/17/06, Yujun Liang <[EMAIL PROTECTED]> wrote: Have you tried "Mapped Properties"? http://struts.apache.org/1.2.9/faqs/indexedprops.html Regards this is a good point. I have not tried it. Is it ok (in terms of performance) to use a custom class as the key, not using Java primitives like

Display only specific keys on a page

2006-09-17 Thread Vaylee Mckenzie-Daniels \(VA\)
Hi I have a hashtable that I am displaying on my jsp page. I am using the logic iterate tags and the bean properties (ie bean:write name="loop" property="value"> , but I only want to display specifc key values. How will I do this? Thx Vaylee