|
»
« Return to Thread: Displaying records from DB
Re: Displaying records from DB
Hi Rahul,
I'm not going to spend time replying to this since it's documented in
the User's Guide, the small examples, the full blown example
projects, ... Please take some time going through the material on the
website and read up on the basics.
Best regards,
Geert
On 09 Apr 2009, at 06:30, Rahul wrote:
>
> I am trying with
>
> <a href="${v SUBMISSION:QUERY:show/}${v hotel_id/}">View Hotel</a> for
>
> <a href="show?id=${v hotel_id/}">View Hotel</a>
>
> with doShow function defined, but i am not able to catch the hotel_id
> in the
> function. How can i pass this parameter from the page?
>
>
> On Apr 9, 8:00 am, Rahul <maverick.rah...@...> wrote:
>> I am fetching records from db and displaying those on the template
>> like this:-
>>
>> <td><r:v name="name"/></td>
>> <td><r:v name="address"/></td>
>> <td><r:v name="description"/></td>
>> <td><a href="show?id=${v hotel_id/}">View Hotel</a></td>
>> <td><a href="edit?id=${v hotel_id/}">Edit Hotel</a></td>
>> <td><a href="delete?id=${v hotel_id/}">Delete Hotel</a></td>
>>
>> Here i am passing the hotel_id to perform the desired action like
>> viewing the hotel for that particular hotel_id or edit or delete.
>>
>> I am not getting as to where i need to these actions show, edit or
>> delete
>> for that matter. Or may be my approach is wrong.
>>
>> Please guide me through this.
> >
--
Geert Bevin
Terracotta - http://www.terracotta.org
Uwyn "Use what you need" - http://uwyn.com
RIFE Java application framework - http://rifers.org
Flytecase Band - http://flytecase.be
Music and words - http://gbevin.com
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "rife-users" group.
To post to this group, send email to rife-users@...
To unsubscribe from this group, send email to rife-users+unsubscribe@...
For more options, visit this group at http://groups.google.com/group/rife-users?hl=en
-~----------~----~----~----~------~----~------~--~---
« Return to Thread: Displaying records from DB
| Free embeddable forum powered by Nabble | Forum Help |
