Posts

Showing posts from March, 2019
https://proliferay.com/concept-of-classpk-in-liferay/ xml parser

specs

no big difference over 3.5 ghz 4k in 15' screen is meaningless, cannot tell windows 10 pro for security reason 16gb is necessary to run liferay 256 gb?? hm better to be 500gb no graphic card needed unless you play games glossy screen vs matte screen (matte) quarter core i7 light at least 14' lenovo or dell is good option. thinkpad xps series razer stealth......... 

JS issue on IE

Defect : onClick is not working on IE IE seems like more sensitive to JS and it detects minor typo such as "" which is disregarded on Chrome. Solution : 1. Replaced the first click target by adding the 'label' tag and made it associated with the actual target field. For a  <label>  to work properly, it must include a  for  attribute, which identifies the  <input>  to which it is associated. The  for  attribute's value should match the  id  (not the  name ) of the  <input>  element. When associating the label with the file field, the field became clickable even without click method on Chrome. I STILL DO NOT KNOW HOW THIS IS WORKING!!!!!!!!!  <div class="img-wrapper"> <label for="updateImage" id="updateImageLabel"> <img alt="" class="img-circle profile-avatar-img" src="<%= currentUser.getPortraitURL() %>" style="width:6.2em;height:6.

Favourite Tag Implementation

Image

spring bean

https://www.baeldung.com/spring-bean https://www.journaldev.com/2461/spring-ioc-bean-example-tutorial http://toyongyeon.cafe24.com/?p=889&ckattempt=1 https://blog.naver.com/swc2672/221421513510 한국말 설명이 더어렵 의존성 주입 객체... 한자어 왜쓰는데
Image
핵어려 🤮

classPK & className (classNameId)

https://proliferay.com/concept-of-classpk-in-liferay/ yes so if you are favoriting an article the className would be com.liferay...journalArticle and classPk would be the articleId if you favorite a form, the classname would be com.liferay....forms and classPk would be the primary key of the form yeah the classname will tell which asset is favorited and the id will help in picking up the specific instance of ur site

Liferay - Service Builder

Service builder is to auto-create persistence layer and service layer based on the defined service.xml where you can create entities, fields, finder methods, and global setup. In case of switching the local service to the remote service, the remote class needs to be generated and make it delegate the local service, but implementing remote service requires some security check such as permissions. *** Adding column after the service implementation is a bit tricky as re-running SQL is needed, but adding finder method is easy. So be cautious when first creating an entity and its fields.