How to change CQ component(text) width?
hi,
i want create page using cq text component.
------what want ------------------------------------------------------------------------------
summary: summary content
------------------------------------------------------------------------------------------ --------
but when put include text component, automatically move next line below image.
do know how change width of text component, or put next text without moving next line?
this actual code page.
summary: <cq:include path="text" resourcetype="advance/components/text"/>
hi again apark,
could example move "summary" jsp of text component , try code like:
<% string summary=properties.get("summary",string.class); %>
summary: <%=summary%>
or more advanced code text component can this:
<%@ page import="com.day.cq.wcm.api.wcmmode"%>
<% string summary=properties.get("summary",string.class); %>
<% if (wcmmode.fromrequest(request) == wcmmode.edit && summary == null) {%>
please define summary
<%} else { %>
summary: <%=summary%>
<%}%>
in case "summary" visible in case when define summary property in dialog component.
regards,
kasq
More discussions in Archived Spaces
adobe
Comments
Post a Comment