voyent
Is it possible to define 'id' of icefaces component in portlet?  XML
Forum Index -> Portals & Portlets
Author Message
maxi_ng

Joined: 11/Jan/2008 00:00:00
Messages: 92
Offline


I need components to have 'id' for functional testing using Selenium.
I have tried DOM expression approach, it works, but it depends on the DOM structure.
If I am about to use 'id', at least for the root element for a portlet, then it is good enough.
When I define ''id' for a <ice:commandButton/>
for example id="createBtnTop"
the result id of the <input> is id="_projectName_WAR_projectName_INSTANCE_3ZMI_:FormName:createBtnTop"
is there anyway to have a fix id everytime i use this portlet?

I am trying to make a workaround though.
But it would be great to have some way to use id and locate a component.

 
Forum Index -> Portals & Portlets
Go to:   
Powered by JForum 2.1.7ice © JForum Team