[Logo] Enterprise Client Community
  [Search] Search   [Recent Topics] Recent Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
Messages posted by: rpfautz  XML
Profile for rpfautz -> Messages posted by rpfautz [6]
Author Message
Hi Captain,

the standard javascript implementation of this would be:
window.open("vscode:extension/ms-azuretools.vscode-docker", "_self");
This works perfectly when using plain html/js. But not with the RISC client.

But anyway it works fine with your util.
Thanks.


regards
Roger
Hi Captain,

we need to open an application URL (like mailto:forum@captaincasa.com or vscode:extension/ms-azuretools.vscode-docker) automatically from the client.

So far we try it with with CLIENTJSMETHODCALLERNode with jsCall window.open(url). The problem is that independent of what argument like _self, _top we add or how we quote it always a new tab is opened.

Is there a way to prevent the new tab?


regards
Roger
In general it's possible to style the scroll bars, https://www.w3schools.com/howto/howto_css_custom_scrollbar.asp but not for all browsers.

So we need custom scrollbars there.
There are many examples and frameworks how to do that with pure html. So we can't do that as we don't have the control over the generated html pages.

We need a solution from you.
Hello Captain,

we have trouble with the modal popup in the RISC client.
We use it on our login page and later too.
On the login page the popup is a bit too far in the lower right corner in the RISC client.
In the RICH client it's placed correctly. See 'modal popup.png'

In the generated html we can see this:

correct/normal one:
Code:
<div id="1577" style="box-sizing: border-box; position: absolute; overflow: hidden; z-index: 10002; left: 25px; top: 35px; width: 1870px; height: 1061px;" class="riscdialog_popup">


on login page:
Code:
<div id="187" style="box-sizing: border-box; position: absolute; overflow: hidden; z-index: 10002; left: 40px; top: 60px; width: 1870px; height: 1061px;" class="riscdialog_popup">


The left and top attributes are the problem, which are set in the element directly. See 'riscdialog_popup.PNG'
So we can't modify them in the style xmls.

In both cases we open the with the same size and don't see a way to change that distance:
Code:
         m_overlayPopup = parent.openModalPopup(this, "",
                 workplaceWidth - OVERLAY_PADDING,
                 workplaceHeight - OVERLAY_PADDING,
                 popupListener);
 


We can't find the place where we could change this.

Regards
Roger
Hi,

that sounds good, but what we get in the html (with version 20170412) is this:
Code:
 <div class="myTabbedpane">
     <div class="risctabbedline">
     <div class="myTabbedpane_content">
 


with this riscstyle-configuration:
Code:
     <class n="myTabbedpane" extends="risctabbedpane"> <!--with and without the extends the same problem-->
         <class n="_tabbedline" extends="risctabbedline">
         </class>
     </class>
 


So for myTabbedpane_content that works (but also worked with the risctabbedline). The class of the risctabbedline is simply "risctabbedline", but should be myTabbedpane_tabbedline to be able to style it that way.


When I look into the demo server there is the same problem:
Code:
 <div class="risctabbedpane">
     <div class="risctabbedline">
     <div class="risctabbedpane_content">
 


So the inner risctabbedline isn't styleabel in the risctabbedpane.

Regards, Roger
Hi,

the jsp-element t:tabbedpane is represented by a risctabbedline in the RISC client which contains the tabs and the content. For the tabs there is another risctabbedline in the risctabbedline. Looks like this in the browser:
<div class="MyTabbedline" ...
<div class="risctabbedline" ...
<div class="risctabbedline_button_selected first last" ...
<div class="risctabbedline_button" ...

In the riscstyle.xml it looks like this:
<class n="MyTabbedline" extends="risctabbedline">
...
<class n="_button" ...
<class n="_button_selected" ...

jsp looks like this:
<t:tabbedpane id="g_9" stylevariant="MyTabbedpane" ...

style.xml looks like this:
<tag name="t:tabbedpane" variant="MyTabbedpane" >
<set attribute="styleseq" value="MyTabbedline" />
</tag>

For the outer risctabbedline this is working perfectly.
We tried some stuff to get that inner risctabbedline in the riscstyle.xml, but wasn't able to find a working way to customize this for a special stylevariant.

The inner risctabbedline should be reachable in the riscstyle.xml to override it.

Regards, Roger
 
Profile for rpfautz -> Messages posted by rpfautz [6]
Go to:   
Powered by JForum 2.1.6 © JForum Team