On 7/13/03 at 6:00 PM, [EMAIL PROTECTED] (Girish Agarwal) wrote: > ... > > The form which I am using as a template has many > <input type=text name"blah"> fields and I have tried > them to modify it like, > <input type=text name="blah" value="TMPL_VAR > ESCAPE=HTM VALUE="lname1"> > First of all is this the correct syntax I am > using?
No. Use: <input type=text name="blah" value="<TMPL_VAR NAME="PARAMETER_NAME">"> or: ...value="<!-- TMPL_VAR NAME="PARAMETER_NAME" -->" ...whatever > Second, I am trying to display the parameter > field from the template file and I don't get any put > put using something like > $template = HTML::Template->new(filename => > /filename/); > @parameters1 = $template->param();. I think you need to take a look at the docs: http://html-template.sourceforge.net/html_template.html Look at the basic TMPL_VAR tag and then the TMPL_LOOP tag. I think you are confusing the two and ending up with a third mutation which is ummm... wrong. If after you read them you still have questions I'd be happy to help further. > > Secondly, How do I display hover buttons using > HTML::Template module. I only get java class loading > and nothing happens Javascript will work fine. You should be able to use it in your .tmpl file just as you would in an html file. ------------------------------------------------------- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing & more. Download & eval WebKing and get a free book. www.parasoft.com/bulletproofapps1 _______________________________________________ Html-template-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/html-template-users
