Thursday, 28 November 2013
Thursday, 7 November 2013
CQ component - disable target in context menu
http://aemfaq.blogspot.com.au/2013/05/how-to-disable-target-context-menu-in.html
The "target" option in the context menu of a CQ component can be hidden/disable by setting cq:editConfig/cq:disableTargeting to true.
In code level:
Reference: http://forums.adobe.com/message/5334713
The "target" option in the context menu of a CQ component can be hidden/disable by setting cq:editConfig/cq:disableTargeting to true.
In code level:
<?xml version="1.0" encoding="UTF-8"?>
<jcr:root xmlns:cq="http://www.day.com/jcr/cq/1.0" xmlns:jcr="http://www.jcp.org/jcr/1.0"
cq:dialogMode="floating"
jcr:primaryType="cq:EditConfig" cq:disableTargeting="{Boolean}true"/>
Reference: http://forums.adobe.com/message/5334713
Wednesday, 6 November 2013
Sunday, 3 November 2013
Wednesday, 23 October 2013
Cygwin - finding out what package to install
http://www.trueblade.com/knowledge/finding-which-cygwin-package-contains-a-particular-file
Cygwin's cygcheck utility for finding out package needed:
This will tell you that strings.exe is in binutils. If you know that it's an executable you're looking for, it's best to add the ".exe" extension. If you look for just "strings", you get a list of 144 packages that contain a file with the word "strings" in the filename.
Cygwin's cygcheck utility for finding out package needed:
cygcheck -p strings.exe
This will tell you that strings.exe is in binutils. If you know that it's an executable you're looking for, it's best to add the ".exe" extension. If you look for just "strings", you get a list of 144 packages that contain a file with the word "strings" in the filename.
Friday, 4 October 2013
JSTL c:forEach varStatus properties
http://www.bmchild.com/2012/03/jstl-cforeach-varstatus-properties.html
| Property | Getter | Description |
| current | getCurrent() | The item (from the collection) for the current round of iteration |
| index | getIndex() | The zero-based index for the current round of iteration |
| count | getCount() | The one-based count for the current round of iteration |
| first | isFirst() | Flag indicating whether the current round is the first pass through the iteration |
| last | isLast() | Flag indicating whether the current round is the last pass through the iteration |
| begin | getBegin() | The value of the begin attribute |
| end | getEnd() | The value of the end attribute |
| step | getStep() | The value of the step attribute |
Monday, 23 September 2013
Subscribe to:
Posts (Atom)

