Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Adding extra HTML attribute to RAP compontents(We would need for automated tests an attribute to recognize the components.)
Adding extra HTML attribute to RAP compontents [message #1008220] Mon, 11 February 2013 14:41 Go to next message
Gábor Lipták is currently offline Gábor LiptákFriend
Messages: 21
Registered: July 2009
Junior Member
Hi,

I would like to test an RAP application with Jubula and HTML toolkit. I would need an ID, which remains the same if I change something in the code (like I reorder the components). I could add extra information to my widgets using setData(key,value) method. Is there any standard way to include such information in the generated HTML and JS code as an extra html attribute? I have seen, that I could make implementations of IWidgetLifeCycleAdapter, which would wrap the original implementation. Do you think it is feasible? Is there a better or easier approach?

Regards,

Gábor Lipták
Re: Adding extra HTML attribute to RAP compontents [message #1008221 is a reply to message #1008220] Mon, 11 February 2013 14:42 Go to previous messageGo to next message
Gábor Lipták is currently offline Gábor LiptákFriend
Messages: 21
Registered: July 2009
Junior Member
See also http://www.eclipse.org/forums/index.php/mv/msg/452654/1007748/#msg_1007748
Re: Adding extra HTML attribute to RAP compontents [message #1008223 is a reply to message #1008221] Mon, 11 February 2013 14:56 Go to previous message
Gábor Lipták is currently offline Gábor LiptákFriend
Messages: 21
Registered: July 2009
Junior Member
Hmm. I have found this. This could be exactly what I want.

http://help.eclipse.org/indigo/index.jsp?topic=%2Forg.eclipse.rap.help%2Fhelp%2Fhtml%2Freference%2Fapi%2Fconstant-values.html
Previous Topic:Deploying to Tomcat 7
Next Topic:RAP 2.0 compatibility
Goto Forum:
  


Current Time: Tue Apr 16 06:19:35 GMT 2024

Powered by FUDForum. Page generated in 0.34568 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top