How to get param ln when loading a HtmlUserDialog page
Hi all,
I have a HtmlUserDialog project and have a page which included some js/css file. Normally we just use the tag like this:
<script src="#{resource['ivy-webcontent:js/xportal-common.js']}" />
And i can see after the page was loaded, the code will be:
<script src="/ivy/faces/javax.faces.resource/js/xportal-common.js?ln=xpertivy-5-webContent">
You can see this line of code <script>, it is always end with param **ln=xpertivy-<number>-webContent**
The <number> here is different.
So, for example, when i use some third party js libraries, it have some code to load some others js files by javascript after page loaded, but it can't because i don't have the right <number> of param **ln**. If anyone here used to use RequireJS, you can understand the situation.
My question is: There is any way to know exactly the parameter **ln** that ivy will put to the end of <script> ?
Note: Actually i can get this value by using javascript to read other existing <script> and copy from there but i really don't like that way.
Anyone can have me?