Recommendation modify EO
Recommendation modify EO
- Subject: Recommendation modify EO
- From: Hugo Cambero <email@hidden>
- Date: Tue, 17 Jul 2012 12:23:59 -0500
Hi Everybody
I'm Hugo, I've been developing using WebObjects and Wonder Frameworks.
I
have a problem and I hope you can help me. I'm developing a test
application, I want to display a list of ERXGenericRecord, but, in the
last column,
I want to display a picture that can delete the selected row and a picture that can modify the selected row.
Time ago, you gave me advice about how to create the delete action, I learned about 'action', 'direct Action', 'delete EO', 'save changes in EC' and more.
Well, the process that I want to develop is:
1) The AdminPage shows all rows ---I can do it
2) The user clicks the modify button ---I can do it3) In the selected row, all cell change the value to Input type="text", that the user can change the value ----I can do it, but using _javascript_s
4) The user click again in the Modify button
---I can do it5) The EO save in the data base
---I can do itExample:
ID NAME LASTNAME USERNAME ACTIONS
120 Hugo Perez sun13 delete, modify
160 Aaron Anthony aaron12 delete, modify
I can do the three step using _javascript_s, but:
What is the best way to do the application test?
What topic I have to learn?
<table>
<tr>
<td>ID</TD>
<td>Name</td>
<td>Lastname</td>
<td>Username</td>
<td>Actions</td>
</tr>
<wo:loop list="$allUsers" item="$entryItem">
<tr id="row_<wo:str value="$entryItem.primaryKey" />" >
<td>
<wo:str value="$entryItem.primaryKey" />
</td>
<td>
<wo:str value="$entryItem.name" />
</td>
<td>
<wo:str value="$entryItem.lastname" />
</td>
<td>
<wo:str value="$entryItem.username" />
</td>
<td>
<webobject name = "DeleteRecordLink" >
<webobject name = "DeleteImage"/>
</webobject>
<webobject name = "ModifyRecordLink" >
<webobject name = "ModifyImage"/>
</webobject>
</td>
</tr>
</wo:loop>
</table>
---------------------------
DeleteRecordLink : WOHyperlink {
action = "">}
ModifyRecordLink : WOHyperlink {
action = "">}
ModifyImage : WOImage {
filename = "css/img/boton/show.png";
mimeType="image/png";
}
DeleteImage : WOImage {
filename = "css/img/boton/delete.png";
mimeType="image/png";
}
-------------------------------------------------------------------------------------
Thanks!
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden