본문 바로가기

전체 글

(393)
XSL 강좌, 레퍼런스,간단한 정리 XSL 강좌, 레퍼런스,간단한 정리 CSS 에서는 엘리먼트의 데이터만 출력 가능하다.CSS 에서는 한글을 지원하지 않기 때문에 엘리먼트 명을 한글로 하지 않도록 한다. 스타일 시트(CSS)의 문제점과 XSL1.CSS 는 출력내용을 XML문서 구조 그대로 출력한다.2.CSS 는 XML 문서에 없는 내용이나 계산된 결과 출력 불가능3.CSS 는 XML 문서의 모든 내용 출력 불가능 XSL (Extensible Stylesheet Language)1.XSLT (XSL Transformation) A.XML 문서의 구조를 다른 구조로 변환시키는 마크업 언어 ex) XML -> HTML, XML -> WML, XML -> XML2.XPath (XML Path Language) A.XML 문서 내에서 특정 파트(e..
카테고리 펼치기 티스토리 블로그 - 카테고리 펼치기 1. HTML/CSS 편집 2. 찾기(Ctrl + F) - ""3. 아래 문구 삽입하기 다음에 아래의 스크립트를 추가해주세요 끝-
RunMode 활용 // RunMode(author, publish) 에 따라 활용할 수 있음- DB분리 운영시 접속정보 분기- 특정 패턴의 Source Code 또는 Maekup 적용이 필요한 경우등등 String a = ""; Set runModes = sling.getService(SlingSettingsService.class).getRunModes(); if (runModes.contains("author")){ a = "author"; } else if (runModes.contains("publish")){ a = "publish"; }
FEW CQ5 (AEM) Interview questions for references FEW CQ5 (AEM) Interview questions for references 1. Technology Stack of CQ5 and describe each one ? 2. Architecture of CQ5 application ? 3. How to implement localization ? 4. How to connect external DB from CQ5 ? 5. What is segmentation/campaign and how to implement ? 6. Can we restrict for certain users not to display some digital assets ? 7. What is the role of dispatcher and how you have to u..
AEM 6.x Server Setting Adobe Experience Manager Web Console Configurationhttp://localhost:4502/system/console/configMgr 1. Apache Sling Request Parameter Handling- Default Parameter Encoding : ISO-8859-1 >>> UTF-8[Change] 2. Adobe Granite CSRF Filter, Apache Sling Referrer FilterFilter Methods : POST[delete] JDBC를 사용하는 경우- OJDBC 번들 인스톨- MybatisFactory Config 추가- jdbcPool 접속정보 추가 3. Apache Sling Servlet/Script Resolver..
id, name, class로 접근방법 jQuery로 id 접근시 $(“#id”), ex) $(“#header_area”) class로 접근시 $(“.class”), ex) $(“.section_nav”) name으로 접근시 $(tag_name[name=name]), ex) $(“input[name=search_value]“)
class 변경, 추가(addClass), 삭제(removeClass) 직관적으로 사용하면 된다. class의 변경의 경우 attr이라는 메소드를 호출해야 하며, $(this).attr('class','class_name'); 처럼 이용할 수 있다. class의 추가와 삭제 또한 돌직구 처럼~ $(this).addClass("class_name");$(this).removeClass("class_name"); 처럼 사용하면 된다. css의 기본이 숙지되어 있다면, 변경과 추가,삭제는 어떻게 다른지 아실터...(변경은 말그대로 기존의 class를 버리고 교체.)(추가는 class="class_1 class_2" 와 같은 방식..추가,삭제!) 참고로 아직 쓸일이 없어서 사용해보지는 않았지만.... 클래스의 유무를 판단해주는 .hasClass(); //반환값으로는 true는 1로..
02. jQuery 요소 선택하기 (selector) http://dimpledfox.tistory.com/category/jQuery data 속성$('.slide-link[data-slide="0"]').addClass('active'); 2.0 CSSselectorjQuery('#content p a');// #context 안에있는 모든 단락(p태그) 요소내의 모든(a태그) 요소를 선택한다.jQuery('#content p a').addClass('selected');// selected란 클래스를 a태그안에 추가한다. 2.1 직속 자식 요소 찾기직속 자손 결합자 (>)jQuery('#nav li>a');//nav 안의 li의 직속 a만 선택한다. jQuery('>p', '#content')이것은jQuery('#content >p')와 동일하다 jQ..