it almost seems like you could use a tag library. i'm sure there is a better way than that as well..
sandeep --- Developer <[EMAIL PROTECTED]> wrote: > Has anyone a cleaner way to do the following: > > <bean:define id="confirmMessage" value="return > confirm('" /> > <% > org.apache.struts.util.MessageResources messages > = > (org.apache.struts.util.MessageResources)request.getAttribute(org.apache.str > uts.action.Action.MESSAGES_KEY); > deleteConfirmMessage = deleteConfirmMessage > .concat(messages.getMessage("text.confirm.delete")).concat("');"); > %> > > ....onclick="<%= confirmMessage %>"... > > Final Output: > onclick="return confirm('Do you really want me > removed')" > > > -- > To unsubscribe, e-mail: > <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: > <mailto:[EMAIL PROTECTED]> > __________________________________________________ Do You Yahoo!? Yahoo! - Official partner of 2002 FIFA World Cup http://fifaworldcup.yahoo.com -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>