Your <input> tag should be inside a <form> tag. I believe all you need to do is add another tag inside the form tag (as you would in normal cgi programming):
<input type="hidden" name="entity" value="$stringOfYourChoosing">
Havn't tested it, but I'm pretty sure that should work... if it doesn't you can complain at me :).
Oh, and if anyone can help with my posts below, it'd be appreciated!
Keith
On Wednesday, July 9, 2003, at 04:27 PM, Luke Majewski wrote:
Hi,
I've looked for a decent amount on how to pass parameters to action events with no luck.
This is a fairly simple request, so I hope someone has the answer:
I have in my vm file:
<input type="submit" name="eventSubmit_doEntity" value="Edit Contacts"/>
and I have a in my java:
public void doEntity(RunData data, Context context, String entity) throws Exception
Now, I know that "data" and "context" get passed in there automatically, but if I want a String of my choosing to be passed as "entity", how would I go about that? I assume there is some syntax that I can use , something like name="eventSubmit_doEntity?entity..." etc but I can't figure it out.
Any help would be appreciated, thank you!
Luke Majewski
___________________________________ Keith Seim • http://kjsdesigns.com
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
