Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: Web and table

Web and table 13 years 3 months ago #1352

  • Valdemar
  • Valdemar's Avatar
  • OFFLINE
  • Junior Boarder
  • Posts: 28
  • Karma: 0
Hi Claes,

I have a table object in Ge, which is exported as Java frame to get a Webgraph.

In the web browser, when the Webgraph is accessed with the table, it is possible to insert values into the table.

The Security object below the Node, DefaultWevPriv is set to RtRead and I have tested different options using the GE-Table option as Highlighted : No.

How can I obtain that nobody will insert values into the table in the WebGraph?

Another problem, that I am facing is with the text around the table. The font size becomes very big when maximizing the WebGraph, but not the table.

How I can keep the same font size when the window is maximized?

I would take this opportunity to wish you and the Proview team a Happy New Year!!

Best Regards

\valdemar
The administrator has disabled public write access.

Re:Web and table 13 years 3 months ago #1359

  • claes
  • claes's Avatar
  • OFFLINE
  • Platinum Boarder
  • Posts: 3178
  • Thank you received: 502
  • Karma: 133
Hi Valdemar,

Here is a patch you can test that takes care of the editing problem. It also contains a bugfix for the fontsize of the header row.

The table component doesn't respond to scaling, and the only advise I can give you is to draw the table in the editor in a rather large scale, so you don't have to maximize it.
I'll put scaling on the todo list...

[url]files/tmp/pwr48_4.8.0_patch03.tar.gz[/url]

Unpack and copy pwr_jop.jar to $pwr_lib and $pwrp_web.

And a Happy New Year to you too

/Claes
The administrator has disabled public write access.

Re:Web and table 13 years 3 months ago #1365

  • Valdemar
  • Valdemar's Avatar
  • OFFLINE
  • Junior Boarder
  • Posts: 28
  • Karma: 0
Thank you very much for the patch!!. The table works very well in the WebGraph.

Still have problems with the text outside the table in the WeGraph. The text becomes very big when the window is maximized.

I think it could be solved by inserting the text into the table, but I failed to make it work as follows:

Sv values were defined in the PlantHier. The text was entered into the ActualValue of each Sv. The strings were collected using ApCollect in the PLC program.
In the GE graph, the Table attributes for column1::

Column1.Attribute R1-Plc1-W-ApCollect1.Ap##String80#6
Column1.Format %s
(There are 6 string values)

Column2 to column 6 with Float32 values.

The result is always empty the column1, the remaining columns with the correct data.

Is it possible to have different data formats into the table ( column 1:string values and column2 to column6:float 32?.

Are there any other alternatives to enter string values into the table?.

\valdemar
The administrator has disabled public write access.

Re:Web and table 13 years 3 months ago #1367

  • claes
  • claes's Avatar
  • OFFLINE
  • Platinum Boarder
  • Posts: 3178
  • Thank you received: 502
  • Karma: 133
Yes, columns can have different formats. The problem is that the ApCollect is for analog values, not string values. Use a SArray100 instead, and copy the stringvalues in to the Value array.

/Claes
The administrator has disabled public write access.

Re:Web and table 13 years 3 months ago #1380

  • Valdemar
  • Valdemar's Avatar
  • OFFLINE
  • Junior Boarder
  • Posts: 28
  • Karma: 0
Hi Claes,

I have to bother you once again with my questions:

The text and data works very well in the runtime environment after your guidelines, but not in the WebBrowser.

It shows the same text in the first column. The GE-graph was exported to Java with IsJavaframe=1.

All names is defined as SArrray100 and the column 1 attributtes are:

Column1.Attribute R1-Allnames.Value##String80#6
Column1.Format %s

Another problem is that after applying the patch, it is possible to move the columns in the WebBrowser. If I move the column1 containing the text to another place, then the column 1 is filled in with numbers corresponding to that column.

I would appreciate your comments.

\valdemar
The administrator has disabled public write access.

Re:Web and table 13 years 3 months ago #1391

  • claes
  • claes's Avatar
  • OFFLINE
  • Platinum Boarder
  • Posts: 3178
  • Thank you received: 502
  • Karma: 133
Hi Valdemar,

A bug has slipped into the prenumeration of java string arrays, and the movable columns is a surprising feature. We will have a new release out in a couple of weeks where these things will be fixed.

/Claes
The administrator has disabled public write access.
  • Page:
  • 1
Time to create page: 8.553 seconds