Would you email me a copy of this application (confidentially). I will
take a look.

On Aug 18, 8:15 pm, "david.waldrop" <[email protected]> wrote:
> I am making some customizations to the tagging plugin and am having a
> problem.  See the code below:
>
> <div class="tag">
> {{=form.custom.begin}}
> <table WIDTH="100%">
> <TR>
> <TD WIDTH="70%">
> {{for link in links:}}
> <span>{{=link.tag.name}}</span>
> <input name="deltag" type="image" src="{{=URL(r=request,c='static/
> images',f='delete.png')}}" width="12px" value={{=link.id}} /> &nbsp
> {{pass}}
>
> </td>
> <TD WIDTH="30%">
> <input name="tag_name" value="" size="8" />
> <input name="addtag" type="image" src="{{=URL(r=request,c='static/
> images',f='add.png')}}" width="17px" value="addtag" />
> </td></tr></table>
> {{=form.custom.end}}
> </div>
>
> The problem with the original tagging systems is the users action were
> not explicit.  For example if you entered a new tag and pressed the
> DEL button the new tag was created , or if you checked a tag for
> deletion and pressed the TAG button the selected tag was deleted.  In
> addition I wanted to eliminate the multi selection and use image
> buttons to conserve space.  This is represented above in the two HTML
> input statement where type=image".  The problem is when the user
> clicks on the image control is transfered to the controller, but there
> does not seem to be a way to determine which button was clicked.
>
> I believe there is an additional issue with the deltag input in that
> it in addition to knowing the user pressed a specific delettag button
> I need to know the link.id it is associated with.  The above code give
> me exactly what I want in the UX, I just cannot figure out how to
> interact with the controller.

Reply via email to