Keith
On Wednesday, July 9, 2003, at 09:04 AM, [EMAIL PROTECTED] wrote:
Hi,
1) You are nearly right: the method you call by that link names
"doSetcourseid". Only the S is uppercase. The rest is translated to lower
case.
(have a look at the Turbine-API doku for the class "ActionEvent" )
2) You may split it: e.g.
#set($link2 = $link.setScreen("admin,CourseMain").setPage ("admin,CourseMain.vm")) #set($link2 = $link2.setAction("Admin").addQueryData ("name","eventSubmit_doSetCourseID")) <a href = "$link2.addQueryData("courseID",$courseData.courseid)"> stuff </a>
/uwe
Keith Seim <[EMAIL PROTECTED] An: turbine- [EMAIL PROTECTED] .com> Kopie: Thema: action links 09.07.2003 13:24 Bitte antworten an "Turbine Users List"
I think I've got most of the details on a href turbine links figured out, but I'm not sure on a couple things. Here's my example code:
<a href = "$link.setScreen("admin,CourseMain").setPage ("admin,CourseMain.vm").addQueryData( "courseID",$courseData.courseid).setAction("Admin").addQueryData ("name","eventSubmit_doSetCourseID" )> stuff </a>
Two Questions: 1. I guessed on the last method [addQueryData("name","eventSubmit_doSetCourseID")] - will this work to set the method name for my action to admin.setCourseID()?
2. Is it possible to write this on separate lines? As you can see - it gets a bit long.
Thanks ___________________________________ Keith Seim ? http://kjsdesigns.com
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
___________________________________ Keith Seim • http://kjsdesigns.com
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
