How to avoid having to use these scriplets in struts1.0.2?

2002-04-11 Thread Rick Reumann
To give a concrete example of what I want to avoid...I've tried various tags for 1.0 but I'm not sure what does the trick. I want to do the following using tags instead of scriplets... % if ( payForm.getVoluntaryReason() != null !payForm.getVoluntaryReason().equals() ) { % TRTDVoluntary

RE: How to avoid having to use these scriplets in struts1.0.2?

2002-04-11 Thread Leonardo Maciel
Try logic:present logic:present name=payrollChangeForm property=voluntaryReason/ TRTDVoluntary Reason:/TDTDbean:write name=payrollChangeForm property=voluntaryReason//TD/TR /logic:present -Original Message- From: Rick Reumann [mailto:[EMAIL PROTECTED]] Sent: Thursday, April 11,

RE: How to avoid having to use these scriplets in struts1.0.2?

2002-04-11 Thread Phase Web and Multimedia
Use the logic:notPresent or the logic:present tags. Make sure you are functioning in a proper MVC fashion. I am assuming that payForm is a bean. you can access a beans property stored in a scope to verify whether or not to reveal a portion of jsp. Brandon Goodin Phase Web and Multimedia P (406)