| Author |
Message |
![[Post New]](/forum/templates/default/images/icon_minipost_new.gif) 24/03/2011 17:12:11
|
gtludwig
Initiate
Joined: 24/03/2011 16:38:52
Messages: 14
Offline
|
The public view function is a jsp page rendered on the server, but is it possible to re-render it dinamically or pass the result dimensions as parameters to construct the public view jsp?
Thanks in advance,
gtludwig
|
Best regards,
Gustavo T. Ludwig
www.scadabr.org.br |
|
|
 |
![[Post New]](/forum/templates/default/images/icon_minipost_new.gif) 08/04/2011 21:13:28
|
mlohbihler
Master
![[Avatar]](/forum/images/avatar/eccbc87e4b5ce2fe28308fd9f2a7baf3.png)
Joined: 01/03/2007 22:48:52
Messages: 1847
Offline
|
Not sure what you mean. Can you be more specific?
|
Best regards,
Matthew Lohbihler |
|
|
 |
![[Post New]](/forum/templates/default/images/icon_minipost_new.gif) 08/04/2011 21:23:56
|
gtludwig
Initiate
Joined: 24/03/2011 16:38:52
Messages: 14
Offline
|
Well, I can call a public view like this:
http://<some-server-ip>:8080/Mango/public_view.htm?viewId=<number>
The screen size of a public view depends on its background picture size. So if the picture is (I'll exaggerate here) 2560x1980 and my computer has a 12" screen with a max resolution of 1366x768 I'll get scrolling bars.
I wondered if it would be possible to pass to the Mango instance the screen size (say 800x600), so the public view is rendered to fit a 800x600 screen without having to display the scrolling bars.
I think this would be particularly interesting considering the viewing size of a number of portable devices.
I hope this can be done!
Thanks in advance,
gtludwig
|
Best regards,
Gustavo T. Ludwig
www.scadabr.org.br |
|
|
 |
![[Post New]](/forum/templates/default/images/icon_minipost_new.gif) 08/04/2011 22:28:23
|
mlohbihler
Master
![[Avatar]](/forum/images/avatar/eccbc87e4b5ce2fe28308fd9f2a7baf3.png)
Joined: 01/03/2007 22:48:52
Messages: 1847
Offline
|
I suppose it could be done, but then all of the positions of the components in the view would need to be changed accordingly. I presume also that you would want all components to be scaled in the same way as well.
|
Best regards,
Matthew Lohbihler |
|
|
 |
|
|