RE: struts validation and dispatch action

2003-12-15 Thread Ghanakota, Vishu
>From what I have done before, you can sub-class the action and override the validate to do a conditional validation, this way you still get to keep the validation in action mapping or you can move the entire validation to your action. -Original Message- From: Sonam Belbase [mailto:[EMAIL

DynaValidationForm

2003-11-13 Thread Ghanakota, Vishu
Hi, Is there a way to make DynaValidationForm not to do the validation based on a certain attribute other than sub-classing it? That's not that difficlt to do, but I was wondering if there is a better way, here is my scenario. I have an account table and I have one form and one action for all the u

RE: Show validation error messages next to the corresponding inpu t fields

2003-11-12 Thread Ghanakota, Vishu
use the "errors" tag under html taglib. When you instantiate an ActionError and add it to ActionErrors, you can specify a key, which can be linked to an entry in ResourceBundle. "errors" tag will pick that up. you can also use html formatting around the entry in ResourceBundle, so it can go with re

RE: Quick form property question

2003-11-06 Thread Ghanakota, Vishu
<% String theTab = "((cast_to_type)pageContext.getAttribute("name_of_the_form")).getProperty()" ; %> -Original Message- From: Sonam Belbase [mailto:[EMAIL PROTECTED] Sent: Thursday, November 06, 2003 3:51 PM To: Struts Users Mailing List Subject: Quick form property question Hi, Ins

RE: quick html:link question

2003-10-30 Thread Ghanakota, Vishu
No. -Original Message- From: Sonam Belbase [mailto:[EMAIL PROTECTED] Sent: Thursday, October 30, 2003 3:02 PM To: Struts Users Mailing List Subject: quick html:link question Does have to be within a section? Thanks, SB -- NOTICE: If received in error, please destroy and notify sender

RE: Hi Ted, any more on ?

2003-10-23 Thread Ghanakota, Vishu
Did you take a look at Middlegen(http://sourceforge.net/projects/middlegen/)? It's pretty close to what you are describing. In fact it goes couple steps backwards and forwards generating JSPs/Struts action classes directly from database. It has plug-ins for EJB and JDO. If have a site with simple f

RE: quick html:link question

2003-10-22 Thread Ghanakota, Vishu
Try request.getParameter() -Original Message- From: Sonam Belbase [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 22, 2003 11:43 AM To: Struts Users Mailing List Subject: quick html:link question Hi, If I've got <% String choice = "hello"; %> Click here why does request_

Portals and managing UI changes

2003-09-17 Thread Ghanakota, Vishu
Hi, I have been using Struts for a while and is working great. Now some of our customers are planning to integrate their sites into a portal along with personalization. My choice was to refactor the sites using Tiles. I also have to provide an admin interface to personalizable items. I have a plan