Hi,

Thanks for you answer, this was my first approach but I am new to rife
and do not want to
transfer my struts know how directly to rife without asking if more
elegant solutions are available.

Ciao
    Matze


Mork0075 schrieb:
> Hello Matthias,
>
> i think this question is not rife specific, i would solve it this way in
> any other web framework this way:
>
> On you interface, theres a link called 'E' (edit). This link points
> perhaps to the html page (processed by the element) /company/edit.htm.
> On generating your table filled with data, you also append a parameter
> to the url. In the template this looks like
>
> <a href="/company/edit.htm?[!V 'id'/]!"
>
> This placeholder will be substituted with the companyID. If someone
> clicks the link, the element /company/edit will handle this request. In
> this element, you can read the parameter from the URL, fetch the company
> Bean with this specific id from the database, override some fields and
> then update the Bean to the database.
>
> This would be all.
>
> Hope this helps
>
> Matthias Barmeier schrieb:
>   
>> Hi,
>>
>> I am fairly new to rife and would be happy if someone of you could give
>> me some hints on how to manage the following:
>>
>> I have a table filled with data from a list of beans using an element
>> and template.appendBlock method.
>>
>> +------------+----------------+---------+
>> | Company    | Address        |         |
>> +------------+----------------+---------+
>> | MyCompany  | MyAddress      | E D C   |
>> +            +                +         +
>> | and so on..|                |         |
>> +------------+----------------+----------+
>>
>> I would like to have links for 'E' (edit), 'D' (delete), 'C' (check). If
>> someone selects 'E'
>> I would like to transport the Company bean to an element where I can
>> change content and store it via the persistence layer into the database.
>>
>> I cannot use crud because I use a AndorMDA generated hibernate based
>> persistence layer.
>>
>> My question is if someone of you could give me some hints or pointers
>> how to make this right with rife.
>>
>> Thanx in ad.
>>
>> Ciao
>>     Matze
>>
>>   
>>     
>
>
> >
>
>
>   


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"rife-users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rife-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to