liferay-7

PDFBox not supporting multiple languages

爷,独闯天下 提交于 2021-02-07 10:29:25
问题 I'm trying to generate a PDF report consisting sentences in multiple languages. For that I'm using Google NOTO fonts but google CJK fonts doesn't support some of the Latin special characters due to that my PDF box is failing to generate a report or sometime shows weird characters. Any one has any appropriate solution ? I tried multiple things but unable to find a single TTF file that can support all Unicode. I also tried fallback to different font file but that will be too much work.

PDFBox not supporting multiple languages

纵饮孤独 提交于 2021-02-07 10:28:34
问题 I'm trying to generate a PDF report consisting sentences in multiple languages. For that I'm using Google NOTO fonts but google CJK fonts doesn't support some of the Latin special characters due to that my PDF box is failing to generate a report or sometime shows weird characters. Any one has any appropriate solution ? I tried multiple things but unable to find a single TTF file that can support all Unicode. I also tried fallback to different font file but that will be too much work.

PDFBox not supporting multiple languages

China☆狼群 提交于 2021-02-07 10:27:17
问题 I'm trying to generate a PDF report consisting sentences in multiple languages. For that I'm using Google NOTO fonts but google CJK fonts doesn't support some of the Latin special characters due to that my PDF box is failing to generate a report or sometime shows weird characters. Any one has any appropriate solution ? I tried multiple things but unable to find a single TTF file that can support all Unicode. I also tried fallback to different font file but that will be too much work.

POST parameters not seen by ResourceRequest.getParameter

流过昼夜 提交于 2021-01-28 05:08:37
问题 In Liferay 7 I have a servlet that can serve a resource: @Override public void serveResource( ResourceRequest resourceRequest, ResourceResponse resourceResponse) throws PortletException { // Get the parameter log.info("Text:" + resourceRequest.getParameter("text")); // Some debug info log.info("Parameters:" + Collections.list(resourceRequest.getParameterNames())); log.info("ResourceRequest:" + resourceRequest); log.info("Private:" + resourceRequest.getPrivateParameterMap()); } I call it with

What is the equivalent file of liferay-portlet.xml in liferay 7?

梦想的初衷 提交于 2021-01-27 18:55:39
问题 I want to add custom user notifications in liferay 7. For this If I were using liferay 6.2 I would have to make entries like user-notification-definitions and user-notification-handler-class in liferay-portlet.xml . But in liferay I want to ask where to put these entries. Please help....thanx in advance.. 回答1: You can also find similar properties here : https://dev.liferay.com/develop/reference/-/knowledge_base/7-0/portlet-descriptor-to-osgi-service-property-map According to above link, user

Liferay 7.2 Module Deploy does not update api

℡╲_俬逩灬. 提交于 2020-06-01 05:07:10
问题 I have: Eclispse Version: 2019-06 (4.12.0) Build id: 20190614-1200 Liferay 7.2.0 CE GA1. I use Gradle. I created a rest module. First Deploy my code of the MyRestWebserviceApplication.java was: package com.liferaystack.application; /** * Copyright 2000-present Liferay, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2

Unable to publish Liferay Pages to Remote Live Boxes

时光总嘲笑我的痴心妄想 提交于 2020-04-11 19:55:53
问题 Iam having a Author(with 1 database) and Remote Live(with 1 database) setup in Liferay 7.1. I was publishing all public pages one by one to remote live boxes which was successful. suddenly I started getting the below error, The publication process did not start due to validation errors. The model.resource.com.liferay.site.model.adapter.StagedGroup <?xml version='1.0' encoding='UTF-8'?><root available-locales="en_US" default-locale="en_US"><Name language-id="en_US">Guest</Name></root> could