Screen Area Capture - Get the name of a
Element

0
0

Hi.

I need to capture an image of a panel componet, to get the status of it on runtime.

I found some JS scripts to do it, but I need to know the <DIV> name of the element.

Is there a way to do this (capture a screen area) in WiseJ or set/get a name of the <DIV> for a component ?

 

Or what would be a better solution ?

Regards

 

  • You must to post comments
0
0

Hi Alaa.

Thanks for your quick reply

Regards

 

  • You must to post comments
0
0

Hi Alaa.

Thanks for your prompt response .

Regards

 

  • You must to post comments
0
0

Hi Alaa.

Thanks for your prompt response .

Regards

 

  • You must to post comments
0
0

Hi Marcelo,

The <DIV> name attribute is basically the same as the component’s name property.

For example if you have named your Panel as panel1, the name attribute would be “panel1”.

You can also set the components name to anything you like with JavaScript with : App.MainPage.panel1.setName(“custom_name”); .

The above example assumes that you’re on your MainPage in the browser but it can be changed to any Page or Window you like.

I’ve put together a small sample that demonstrates these capabilities that you’ll find attached.

Best regards,
Alaa.

Attachment
  • You must to post comments
Showing 4 results
Your Answer

Please first to submit.