>Spry offers pretty good sorting capabilities:
>http://labs.adobe.com/technologies/spry/samples/data_region/SortSample.html
>
>If you would like to give Spry a try, I suggest you read this:
>http://labs.adobe.com/technologies/spry/articles/data_set_overview/index.html
>
>Everything else you can skip or read at a later stage, but the doc above is
>really important to understand Spry's fundamentals
>
>----------------------------
>Massimo Foti, web-programmer for hire
>Tools for ColdFusion and Dreamweaver developers:
>http://www.massimocorner.com
>----------------------------
Also is that possible to avoid using form action rather just specify the
isDefined and to some database action (insert, update and so on). Or how can I
include the action into my action page. I currently have Insert already there,
I need to add the update. This is my action page, I want to be able update as
well
<cfif NOT StructIsEmpty(form)>
<cfcontent type="text/xml; charset=UTF-8" reset="Yes" />
<cfloop index="variables.i" from="1" to="#ListLen(form.categoryname)#">
<cfset variables.thisCheckbox =
ListGetAt(form.categoryname,variables.i)>
<cftry>
<cfstoredproc procedure="addCategory"
datasource="HotBanana_Manager">
<cfprocparam type="in"
cfsqltype="cf_sql_varchar" value="#variables.thisCheckbox#">
<cfprocparam type="in" cfsqltype="cf_sql_varchar"
value="#session.schoolcode#">
<cfprocparam type="in" cfsqltype="cf_sql_bit"
value="#form.hidden#">
</cfstoredproc>
<cfcatch type="database">
There was a database error!
</cfcatch>
</cftry>
</cfloop>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Get the answers you are looking for on the ColdFusion Labs
Forum direct from active programmers and developers.
http://www.adobe.com/cfusion/webforums/forum/categories.cfm?forumid-72&catid=648
Archive:
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:291280
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4