Dear all,
 
I have the following tabletree structure for each of the element (see below). And I have to click the links with the specified operation (edit, add or delete) and menu id. I know the operation type.  How I can get menu id from tabletree and how then I can click on the link having this two variables?
It will be great if I can define somthig like this ie.link(:url, /operation+id/).click. If it possible?
 
<tr id='tr_122'>
<td>
<input type="checkbox" disabled="disabled" name="mnu_id[122]" value="-1" />
</td>
<td class="td_tree" width="0"  >
<img align="top" border="0" alt="" src="" height="21" width="17" />
<img
src=""
alt="" align="top" border="0" height="21" width="17" />
<span id="mnu_122" class="tree_leaf_b" >max_level1</span>
</td>
<td width="100%"><div class="fill"></div></td>
<td class="td_actions" width="0">
<img src="" width="19" height="19" align="top" title="menus_item_down" alt="menus_item_down" />&nbsp;
<a href=""http://xxx.xxx.net/admin/menus/?operation=menu_item_down&menu_item_id=122">http://xxx.xxx.net/admin/menus/?operation=menu_item_down&menu_item_id=122"  ><img src="" width! ="19" height="19" align="top" title="menus_item_down" alt="menus_item_down" /></a>&nbsp;
<a href=""http://xxx.xxx.net/admin/menus/edit_item/?menu_item_id=122">http://xxx.xxx.net/admin/menus/edit_item/?menu_item_id=122"  ><img src="" width="19" height="19" align="top" title="menus_edit_item" alt="menus_edit_item" /></a>&nbsp;
<a href=""http://xxx.xxx.net/admin/menus/add_item/?menu_item_id=122">http://xxx.xxx.net/admin/menus/add_item/?menu_item_id=122" ><img src="" width="19" height="19" align="top" title="menus_add_item" alt="menus_add_item" /></a>&nbsp;
</td>
</tr>


Вы уже с Yahoo!?
Испытайте обновленную и улучшенную Yahoo! Почту!
_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to