Message:

  A new issue has been created in JIRA.

---------------------------------------------------------------------
View the issue:

  http://jira.opensymphony.com/secure/ViewIssue.jspa?key=WW-199


Here is an overview of the issue:
---------------------------------------------------------------------
        Key: WW-199
    Summary: New property of AbstractUITag to return the name of the form
       Type: Improvement

     Status: Assigned
   Priority: Major

    Project: WebWork
 Components: 
             Views
   Versions:
             2.0

   Assignee: Patrick Lightbody
   Reporter: Cameron Braid

    Created: Thu, 29 May 2003 11:19 AM
    Updated: Thu, 29 May 2003 11:19 AM

Description:
I can't patch against the CVS server at SF because it is problematic.

Here is the new method to add to the AbstractUITag class to provide a new property 
called FormName for use within views that require this property.

Some usage cases are :

validation hooks in components may need to know the form name to find a refrence to a 
field.

doubleselect input type required it as indicated in comments in the 
/templates/xhtml/doubleselect.vm

public String getFormName()
{
  FormTag formTag = (FormTag)findAncestorWithClass(this, FormTag.class);
  if (formTag != null)
  {
    return (String)formTag.name;                
  }
  return null;
}



---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://jira.opensymphony.com/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira



-------------------------------------------------------
This SF.net email is sponsored by: eBay
Get office equipment for less on eBay!
http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5
_______________________________________________
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork

Reply via email to