Questions tagged [web-content]

94 questions
2
votes
1 answer

Liferay Web Content

How can you select specific dynamic elements to be displayed from the abstract display? For example if I have the following in my template Sample Text $sample-text.data Display Text $display-text.data How…
orangegoat
  • 2,523
  • 1
  • 15
  • 17
2
votes
1 answer

How is webContents.send detected by ipcRenderer.on which is inside preload.js?

I am a totally new user to stack overflow and this is my first ever question. I have been researching ways to make Electron applications more secure and came across the following discussion about contextBridge and preload.js. With contextIsolation =…
Blobby123
  • 51
  • 6
2
votes
0 answers

web request from one device to another on same local network

I created a spring boot application that serves simple web content. This content is reachable from the same device (192.168.1.10) using "localhost:8080/greeting", but I can not access this content from another device (192.168.1.15) on the same local…
mu u
  • 21
  • 1
2
votes
0 answers

How to set 'number of copies' to print in electronjs?

I tried using this code, but it didn't work. mainWindow.webContents.print({ silent: true, printBackground: false, deviceName: '',collate: true, copies: 5 } || {}, (success) => { }) I want to set how many copies to print before user click the…
vdeshan
  • 153
  • 1
  • 13
2
votes
3 answers

Post images & videos to sitecore

Is there a way to invoke the sitecore api and post images/videos so that sitecore accepts them and stores it in its own media folder? Or is there a folder where you can place items that get imported into sitecore on set intervals?
jento
  • 39
  • 2
2
votes
0 answers

Webcontent ( control panel ) in Liferay And normal user?

Is there any feature that can show list of webcontent that one user had submited and they have permission to edit owner entry only emoticon I have trouble with permission on webcontent. I try to grant Creator permission to add new entry (on asset…
2
votes
1 answer

Some java handler to get url.openStream() only when results are available

I am looking for a way to open many connections to websites in java. My problem is that the server response times are really slow in many occasions. I therefore thought it would be a good idea to look for some java library that can handle opening…
user1443778
  • 581
  • 1
  • 5
  • 20
1
vote
2 answers

Is it possible for me to instantiate the Journal Article object and set each property without constuctor?

When I do this it doesn't compile when I run build.xml and deploy, I want to do this as it looks much nicer than a huge method call with JournalArticleLocalServiceUtil.addArticle. JournalArticle journalArticle = new…
Elizabeth Hamlet
  • 170
  • 3
  • 10
1
vote
2 answers

Get portlet/page containing web content in Liferay

I'm trying to make the Liferay (6.0.6) Asset Publisher publish all changes across multiple communities on the portal homepage. By clicking on a link the user is supposed to be redirected to another community and see the new web content. The problem…
Belda
  • 599
  • 2
  • 7
  • 17
1
vote
0 answers

ANDROID, How to implement Web content filtering

I have an application that is Device-owner and now I need to create Web content filtering. What is the best option for that? For example, if I blocked www.youtube.com, a user can't open that URL in any web browser on an android device.
Taurin
  • 11
  • 1
1
vote
0 answers

JSP in Folder inside webcontent unable to access servlet

Pages folder inside the WebContent is unable to access CreateNewCampaign servlet inside the package. but I properly mapped in web.xml .but it shows error HTTP404 not found in localhost. I attached web.xml . may be some problem in the URL…
1
vote
1 answer

What's a good way to "standardize" the format of web content for importing into an app?

I'm working on a project where one of the requirements is to import articles from a website. The problem is that different websites have different formats. I could theoretically write some code that strips out extra content from known websites, but…
Moshe
  • 57,511
  • 78
  • 272
  • 425
1
vote
3 answers

Electron JS event is firing multiple times

In electronJS, I have created a custom application menu in which I'm sending the event from main process to renderer process, but now what happening is where I'm listening this event is running multiple times. So, if anyone could help me to find and…
Abhishek Matta
  • 218
  • 3
  • 15
1
vote
0 answers

XCUITest/Appium load on the app on iOS during performance testing

We're currently testing the iOS (12.2 and greater) hybrid application with a WKWebView engine in Cordova using Webdriver, appium, and tests written in Python. So here is a question: does anybody know if XCUITest (which is used by appium to reach to…
kes_295
  • 11
  • 1
1
vote
3 answers

Liferay 7 Asset publisher new web content folder

I've two web content structures (foo and bar) in Liferay 7.0 and I want to store the web contents inside webcontents folders (webcontents/foo and webcontents/bar). I added two asset publishers, one for each structure, and I also allow the user to…
X-Pippes
  • 1,170
  • 7
  • 25