Bootstrap 4 Popover is not showing up when we change the parent container ID dynamically - bootstrap-popover

My Code
If I change the ID of 'tooltip-container' and data-container of tooltip-btn dynamically and reinitialize the tooltip, tooltip is not showing up. It is considering the DOM loaded ID and unable to find that ID as I have manipulated it dynamically. How to solve this? Please pour your suggestions

Related

How to display images without their titles in Drupal 8?

Drupal 8.5.3
I want to display some images in a Views Block in a grid format and without the image title being shown. This is not working and the title is always displayed.
I have created a content type for the images with just the required title field and the image field and I have deleted the body field.
I have set the image label to hidden or "visually hidden" in the content view mode in the "Manage Display" tab for both default and teaser. The label seems to affect only the name of the content type itself not the image title.
I have set the view grid to display only teasers.
I have run drush cr multiple times.
The image titles still show up in the view.I can find no way to turn them off there. However the tile is not displayed in the default view mode on the node page itself. Which ironically is where I want it!
Figured out how to do exclude node tiles from display. You have to use a contrib module such as the appropriately named Exclude Node Title

Apex 5.0 Filling Region with Help Text of another Page

Is there a way to let a help text region (APEX 5.0) show the help text of another page?
I created a help page 0 (as modal dialog) in APEX 5.0, which is reachable by clicking a Navigation Bar List Entry.
The page itself has only one Region, which shall display the Help Text of the Page it was called from. The ID of the calling Page is transmitted into a hidden item via URL.
It is possible. You can get the Help Text of a page anywhere in your application. You can use this query as a source of your item that will display the help text:
select HELP_TEXT
from APEX_APPLICATION_PAGES
where APPLICATION_ID = yourappid and
PAGE_ID = pagenumber_of_the_helptext_you_want_toget

Joomla modal popup target url does not get session value

I have a problem regarding modal popup and session.
I have two component name test and test1 respectively.
In test there is a form in view in which i put "Anchor" tag with "modal" class. has also class name "class1".
When i clicked on Anchor tag it call click function(on click "class1") in which i put ajax code for set data using "Session".
$('.test').click(function(){
// Ajax code here for set data using session
});
with above function it also called modal popup. here targer url is seted which is the view of 2nd component which is "test1".
Here in test1 there is a view.html , we are getting session data here and displaying in view.
PROBLEM
Problem is that , here in 2nd component , in view i am getting session data but i need to click on button two time , only after i getting data properly.
When i click on it give me a old session data. and when i click on it second time it will give me a proper data.
What is the solution for above problem. if anyone know please let me know.
Session data is altered only after we click on Anchor tag.
Both thing is done on Anchor click , one is for set data in session and second is for modal popup. in popup i am getting data which set in session.
when is the session data is being altered?
Is it altered by ajax call too?
In this case, javascript, is unsynchronous. It doesn't wait for something to happen in order to fire the next line of code. In that case there are several techniques you may find to do so.

XPages - Bind Document Data Source in a embedded Custom Control

I created a custom control that is binded to a a Domino Document data source. I embedded it in a page so that I can display it in a Dojo dialog. It has 2 properties: dialogId and docId. The document data source's Document ID property is set to compositeData.docId. In the page, I set the docId property to a viewScope variable, that will be set when an entry in a view is clicked. What I want to accomplish is that the dialog will display the document that the current view entry (that was clicked) represents. But it seems that the compositeData.docId is not set on partial or even full refresh. Is there a way to do this that the custom control will be binded to the document? I need to have this binding so that I can easily do a server-side validation when I submit the dialog. Or if there is another way, can you also put it here? Thanks a lot!
set the datasource as the document, and then edit mode, then you have a place to compute the doc id, i usually compute the doc id to a viewScope, that i set when i click the item in the repeat control
More details here.
I would prefer the DocId to be transfered via the custom control parameters rather than a Scope variable. Using the Scope breaks the custom control design principle of being self contained. You can use the yourCC.PropertyMap to actually update a value, so the hand over of the parameter will work - of course your control then needs to be refreshed so the data source is recomputed. Hope that helps.

get the name of ckEditor instance

I have three ckEditor instances in my page say a,b,c.Now on click of the image upload button I need to check from which one of a,b,c image upload is getting called.i.e I need the name of the ckEditor instance.
"editor" object has a property "name", you can make use of that.

Resources