Questions tagged [webcontent]

34 questions
0
votes
1 answer

Read straight web content with Excel VBA

there are many article on this site on how to read tags and tables in web sites with Excel VBA, but I am stuck here. This website gives me business locations after entering a Zip code. ("Where is the closest location relative to my Zip Code") I…
Johns
  • 1
  • 1
0
votes
1 answer

Liferay 7 - Knowledge base versus Web contents

I'm working on Liferay 7 and I have a question on using the portlet Knowledge Base or Web contents. I'm wondering which one is the best to do a FAQ. Web contents can now be organized in folders, have tags and plenty of informations. KB seems to…
Julien GRESSE
  • 354
  • 1
  • 13
0
votes
1 answer

Liferay Web content display, disable default permissions for Guest/Site member

I've previously added filters to JournalArticleLocalServiceImpl Class before calling addArticleResources() method and setting the addGuestPermissions boolean to false to disable default permissions for Guest/Site member roles on WEB CONTENT. The…
dreambigcoder
  • 1,859
  • 4
  • 22
  • 32
0
votes
2 answers

Liferay: remove default guest permissions for new web content

Liferay: remove default guest permissions for new web content liferay version: 6.1.2 Control Panel --> web content --> + ADD --> Basic Web Content let me know what to do to achieve this, so that when I add new web content there wont be any…
dreambigcoder
  • 1,859
  • 4
  • 22
  • 32
0
votes
1 answer

java get web content for many webpages

So previously I had a program that would go to a lot of websites and get part of the source code out of those websites that I wanted. However recently the websites have been updated to now load the information I want dynamically, and I no longer get…
0
votes
1 answer

Why do I get an Error 404 (The requested resource is not available.) on Tomcat 7.0.70 when my HTML file is in the WebContent folder?

I keep getting error 404 when trying to access an HTML file in my Dynamic Web Project. Here is my web.xml:
nmodi
  • 75
  • 5
0
votes
2 answers

Reading a HTML file from web content folder in Servlet

I am trying to read an .html file from war file. I have used the code below, but it does not work. Project structure: Project |_war |_Pages |_HtmlFiles |_sample.html My code: InputStream inputStream =…
dafodil
  • 531
  • 15
  • 30
0
votes
0 answers

Nested images in a repeteable structure Liferay

It's my first time working with Liferay 6.2 GA2. I have created a structure for a Web-content that is a text repeatable with an image nested and other texts nested to this text further. And I have created the corresponding template. My problem is…
0
votes
0 answers

Grab Web Content in Swift

I have created this task to grab some content from the web: let task = NSURLSession.sharedSession().dataTaskWithURL(url!, completionHandler: { (data, response, error) -> Void in if error == nil { var urlContent =…
Erik Lydecker
  • 719
  • 3
  • 12
  • 29
0
votes
1 answer

deleting web content programmatically in liferay 6.0

I am new to liferay. I am developing delete scheduler, which has to delete documents programatically based on some condition. using DLfileLocalServiceUtil.deleteFileEntry(id) I can delete it, but it is deleting only entry in DlfileEntry table not…
0
votes
1 answer

Multiple WebContent Folders in a Web Project

I have been tasked with developing Jenkins build for this legacy Java web project. To my surprise I am first trying to figure out what could be the reason to have two WebContent folders and is it even "OK" to have such a structure? Also, while…
Prince
  • 20,353
  • 6
  • 39
  • 59
0
votes
2 answers

jsf 2.2 get the path for a propertie file

i want to read out from a propertie file in my jsf 2.2 project. i use eclipse kepler. i try to use this in my java-bean in the folder src with the package de.exanple. The file of the bean is called PageServiceBean.java. The propertie file is in the…
marius0114
  • 145
  • 4
  • 18
0
votes
2 answers

Liferay, how to initiate the certain web content in Velocity

I've been playing around of this issue for awhile now and can't get my head wrapped around of it. I'm using Liferay 6.1 CE GA2. Goal: User editable content, for example footer in each page. I've created the web content which id is…
Heikki Mustonen
  • 301
  • 3
  • 15
0
votes
2 answers

Run Velocity code in Liferay Web Content

I've a web content and I'd like to import another portlet inside of my web content. Is that possible? I've tried using the code: #set($TopNaviC = $journalContentUtil.getContent($themeDisplay.getCompanyGroupId(),'11105', null,…
Heikki Mustonen
  • 301
  • 3
  • 15
0
votes
1 answer

Liferay how to compare 2 versions of a web content (Highlight differences for example)

I am using Liferay 6.1.1 and tomcat 7. I am looking for a way to compare 2 versions of a web content. Let say a user edits a web content and submit it for publication. The content reviewer may want to know what exactly have been changed before he…
jacques
  • 55
  • 1
  • 6