You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by bu...@apache.org on 2002/02/14 23:57:00 UTC
DO NOT REPLY [Bug 6477] New: -
Could you create SQL tag tath will update the parameter list
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6477>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6477
Could you create SQL tag tath will update the parameter list
Summary: Could you create SQL tag tath will update the parameter
list
Product: Struts
Version: Unknown
Platform: Other
OS/Version: Other
Status: NEW
Severity: Normal
Priority: Other
Component: Custom Tags
AssignedTo: struts-dev@jakarta.apache.org
ReportedBy: frodrish@hotmail.com
Could you create SQL tags tath will:
1: update the parameter list
2: act as bean and fill up all the input.
3: Fill up of select box, radio and checkboxes
May be you could reuse the sql tag in JSP(tm) Standard Tag Library.
Example:
1:
<demo:SetParameter Scope="">
<sql:query var="customers" dataSource="$dataSource">
SELECT * FROM customers
WHERE customerID = 10
</sql:query>
</demo:SetParameter>
2:
<select>
<demo:BeanSQLWrapper name="test">
<sql:query var="customers" dataSource="$dataSource">
SELECT * FROM customers
WHERE customerID = 10
</sql:query>
</demo:BeanSQLWrapper>
<html:form action="/demo" >
<html:text property="compName"/>
</html:form>
3:
<html:select>
<demo:option namepos="1" valuepos="2">
<sql:query var="customers" dataSource="$dataSource">
SELECT compcode, name FROM customers
</sql:query>
</demo:option>
</html:slect>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>