I'm not quite sure what you want. Can you show the controller code?

On Thursday, May 2, 2013 1:05:31 PM UTC-4, v1s wrote:
>
>  
> Thanks for the reply
>  
> I changed the code to:
>  
>           <td><a href = "{{=URL('projectFilter', 'projectFilter',args 
> ='network')}}" id = "network">
>        {{=row.NETWORK}}
>           </a></td>
>
> My controller name is : projectFilter.
>  
> What I am trying to do is get the value associated with the link on the 
> controller. Can you clarify it again?
>  
>
> On Thursday, May 2, 2013 12:54:23 PM UTC-4, Anthony wrote:
>
>> Are you saying that when the link is clicked, you want the controller to 
>> know the value of the id? In that case, you'll have to include it as an arg 
>> or var in the URL:
>>
>> <a href = "{{=URL('your_controller', 'projectFilter', args='network')}}" 
>> id = "network">
>>
>> Then in the controller, "network" will be in request.args(0).
>>
>> Anthony
>>
>> On Thursday, May 2, 2013 12:21:05 PM UTC-4, v1s wrote:
>>>
>>> Hi,
>>>  
>>> I have the following code in my view
>>>  
>>>        <td><a href = "projectFilter" id = "network">
>>>         {{=row.NETWORK}}
>>>          </a></td>
>>>  
>>> This gives me a link. How do I get the value of this link in my 
>>> controller (projectFilter) using the id.
>>>
>>

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to