How to include richtext in a custom xtype as multifield

Hi,
I have a requirement of adding a richtext in a custom multifield.
There is a richtext component created under '/apps/website/components/richtext/items/items/richtext'
This richtext would have 3 plugins as well.
Now my custom multifield xtype should have the below
1) Text Field
2) Pathfield
3) Richtext(with the additional plugins. Same as /apps/website/components/richtext/items/items/richtext).
I tried the below option
1)
this.text = new CQ.form.RichText({
                anchor: '100%',
                fieldLabel : "Enter Text",
                width : '400',
                "rtePlugins" :{
                    "edit" : {
                        "features" : ['cut', 'copy', 'paste-plaintext']
                    "subsuperscript" : {
                        "features" : "*"
                    "spellcheck" : {
                        "features" : "*"
                    "undo" : {
                        "features" : "*"
                    "findreplace" : {
                        "features" : "*"
                    "misctools" : {
                        "features" : "*"
                listeners : {
                    change :{
                        scope : this,
                        fn : this.updateHidden
                    dialogclose: {
                        scope : this,
                        fn : this.updateHidden
                    destroy: function(){
                        this.el.dom={};
            this.add(this.text);
However in the dialog I'm able to add the xtype only once.
On click of add item I see the below error in console
TypeError: features is undefined
var featCnt = features.length;
Please let me know how I can get rid of this error.
2) Is there an option to include xtype as cqinclude
  path : '/apps/website/components/richtext/items/items/richtext.infinity.json',
  xtype : 'cqinclude',  
Thanks
Narendra.

You're in the wrong Forum. This forum is for FrameMaker's connectors to various content manegement systems, not Adobe's CQ/Experience Manager products.

Similar Messages

  • How to include a SWC using custom Console?

    Currently, it appears as if it is not possible to include an external SWC for use in a custom Console implementation.
    For instance, assume that I have a SWC: Foo.swc that contains the class
    com.test::Foo
    I also have a custom com.adobe.flascc.Console implementation which imports and uses com.test.Foo from the Foo.swc library.
    I've managed to get my SWF to compile without a problem, but I get the following run-time error:
    VerifyError: Error #1014: Class com.test::Foo could not be found.
    Here's how I've setup the compile:
    CCC:=$(FLASCC)/usr/bin/g++
    Console.abc:
              $(ASC) -merge -md -abcfuture -AS3 -optimize -strict \
                        -import $(call nativepath,$(FLASCC)/usr/lib/builtin.abc) \
                        -import $(call nativepath,$(FLASCC)/usr/lib/playerglobal.abc) \
                        -import $(call nativepath,$(FLASCC)/usr/lib/BinaryData.abc) \
                        -import $(call nativepath,$(FLASCC)/usr/lib/ISpecialFile.abc) \
                        -import $(call nativepath,$(FLASCC)/usr/lib/IBackingStore.abc) \
                        -import $(call nativepath,$(FLASCC)/usr/lib/IVFS.abc) \
                        -import $(call nativepath,$(FLASCC)/usr/lib/InMemoryBackingStore.abc) \
                        -import $(call nativepath,$(FLASCC)/usr/lib/PlayerKernel.abc) \
                        -import $(call nativepath,$(FLASCC)/usr/lib/CModule.abc) \
                        -import $(call nativepath,$(FLASCC)/usr/lib/C_Run.abc) \
                        -li $(call nativepath,./aslibs/Foo.swc) \
                        -le $(call nativepath,./aslibs/framework.swc) \
                            Console.as -outdir . -out Console
    test.swf: Console.abc
              $(CCC) -jvmopt=$(JVMARGS) -Wall -g -O0 -fno-exceptions -o test.swf \
                        main.cpp \
                        -lAS3++ \
                        -fllvm-llc-opt=-ascopt=-li \
                        -fllvm-llc-opt=-ascopt=$(call nativepath,./aslibs/Foo.swc) \
                        -fllvm-llc-opt=-ascopt=-le \
                        -fllvm-llc-opt=-ascopt=$(call nativepath,./aslibs/framework.swc) \
                        -symbol-abc=Console.abc \
                        -emit-swf \
                        -swf-size=800x600
    I've also attempted adding -no-swf-preloader assuming that the problem was linkage in the first frame, but this did not work either.
    If I only use asc2.jar to generate a SWF (using the -li and -le options), it works, but I need access to the libraries via flascc Console.
    Any ideas?
    Regards,
    Matt Bolt

    Thanks for the response and the suggested work-around! This solution worked exactly as you described and was precisely the result I was looking for.
    --- Some Follow Up Ranting and Questions ---
    Was the behavior I mentioned in my previous post a bug? It seems like the issue may be due to the following:
    * Compiling .as to .abc referencing a swc will simply refer to the contents of the swc to resolve external references and there's nothing in the abc itself referring to the external library (Could be way off here).
    * Compiling .as to .swf will resolve fully.
    * Because we compile Console to abc first, we lose the ability to resolve external references before going to SWF.
    If the above statements are correct, then -li and -le behave identically when compiling to .abc, and the behavior mentioned in my previous post would make sense.
    What is strange to me is that the ASC provides a way to compile to .abc but no way to link .abc and output a swf. Perhaps it's because of the loss of data that occurs (full resolution tracks dependencies in memory).
    I'm not sure that what I'm claiming is even remotely close to the truth, but it seems accurate based on my observations. If anyone knows for sure, please feel free to set me straight.

  • How to include interactive components in custom models?

    Hello guys,
    How can I include interactive components like switches and indicator in my custom models.
    I'm experienced working with new SPICE models and footprints, now I'm planning design custom indicators and keyboard based on switches but firts I would like to make sure it's possible.
    Thanks,
    Roosvelt
    Solved!
    Go to Solution.

    Hi Roosvelt,
    Unfortunately, interactive components can only be created internally, and you cannot modify existing interactive components. We have heard this request before, and I hope to see this in a future release, but we have time frame for when this might be possible.
    Garret
    Senior Software Developer
    National Instruments
    Circuit Design Community and Blog
    If someone helped you, let them know. Mark as solved or give a kudo.

  • How to include /Exclude products in customer catalog view.

    We are using CRM 4.0 with internet sales applications (ISA).We have product catalog setup in webshop where customer/customer service team given access to view products based on the different product hierarchy.
    This is enabled though creation of multiple customer views
    Now we have a requirement that customer need to view only few product out of the product category level assignment but asper the current system if a particular product category is marked then it show all the product under the product category in hierarchy assignment
    Which means assume there are 100 products assigned to a product category ID under customer view, but customer has show all the 100 products but he need to view only 50 products out of 100 products assigned
    We need to find out if it is possible to include / exclude products from a customer view not based on the product hierarchy / category ID.
    Is that possible? we tried Partner product range but not sure ...can anyone throw some light in it... please let me know if I'm not clear on this.
    Thanks
    Jegatheesan.

    The app builder prior to 8.x was only designed to install the application you created. The actual instrument driver VIs should be included in the app but the IVI driver itself (the low level dll) is not. You should really include the installer for the IVI driver and not just the dlls. This is the .msi file that is on the instrument driver download page. If you are getting an error about VISA32, then it sounds like VISA was not installed either. I usually install VISA and NI-GPIB from the CD that comes with the GPIB board and I do this when I install the board into the computer. However, you can also include these installers with your app as well. On the Installer Settings tab, click the Advanced button. You have the option there of 'Run executable after installation'. The simplest thing to do is to create a .bat file that will call the other installers you include with the distribution. Don't forget that you also need the IVI Compliance Package so include that installer as well.

  • How to include custom application.xml in JDev9i project

    Can anybody explain to me how to include a custom application.xml file when deploying to an .ear file? I need to include application wide security roles, and I can't see where in Jev9i how to do this.
    After searching this forum, I see that jdev9i can't include the orion-application.xml, but I want to include just the standard J2EE application.xml. Is this possible?
    Thanks,
    matt

    The standard application.xml file unfortunately can't be customized in JDev 9.0.2. The reasons why this capability was left out of JDev 9.0.2 are same reasons why the other EAR-level XML files were excluded. The OTN thread
    Re: Regarding 11i and E-business suite
    has a summary of those reasons, which you've probably seen. We know this is an area in need of improvement and will be adding this functionality in the JDev 9.0.3 release. Until then, you'll have to go with a work-around like an Ant build file, batch file, Java application, or some other kind of script.
    Below is a sample Java application which can be used to insert <security-role> elements into an EAR file's application.xml. Modify the main() method to customize for your purposes, and put xmlparserv2.jar on the classpath (in a JDev project, add the "Oracle XML Parser v2" library):
    package mypackage4;
    import java.io.*;
    import java.util.*;
    import java.util.zip.*;
    import oracle.xml.parser.v2.*;
    import org.w3c.dom.*;
    import org.xml.sax.SAXException;
    public class PostProcessEAR
    public static void main( String[] args ) throws IOException
    final String earFile = "C:\\temp\\myapp.ear";
    final PostProcessEAR postProcess = new PostProcessEAR( earFile );
    postProcess.addSecurityRole( null, "first_role" );
    postProcess.addSecurityRole( "Description for the second role", "second_role" );
    postProcess.commit();
    System.out.println( "Done." );
    private final File _earFile;
    private final ArrayList _securityRoles = new ArrayList();
    public PostProcessEAR( String earFile )
    _earFile = new File( earFile );
    public void addSecurityRole( String description, String roleName )
    if ( roleName == null )
    throw new IllegalArgumentException();
    _securityRoles.add( description );
    _securityRoles.add( roleName );
    * Write out modified EAR file.
    public void commit() throws IOException
    if ( _securityRoles.size() == 0 )
    return;
    final ZipFile zipFile = new ZipFile( _earFile );
    final Enumeration entries = zipFile.entries();
    final File outFile = new File( _earFile.getAbsolutePath() + ".out" );
    final ZipOutputStream out = new ZipOutputStream( new BufferedOutputStream( new FileOutputStream( outFile ) ) );
    while ( entries.hasMoreElements() )
    final ZipEntry entry = (ZipEntry) entries.nextElement();
    final InputStream in = zipFile.getInputStream( entry );
    if ( "META-INF/application.xml".equals( entry.getName() ) )
    final XMLDocument modifiedApplicationXml = insertSecurityRoles( in );
    final ByteArrayOutputStream byteOutput = new ByteArrayOutputStream();
    modifiedApplicationXml.print( byteOutput );
    final int numBytes = byteOutput.size();
    entry.setSize( numBytes );
    if ( entry.getMethod() == ZipEntry.STORED )
    entry.setCompressedSize( numBytes );
    final CRC32 crc32 = new CRC32();
    crc32.update( byteOutput.toByteArray() );
    entry.setCrc( crc32.getValue() );
    out.putNextEntry( entry );
    byteOutput.writeTo( out );
    else
    // Copy all other zip entries as they are.
    out.putNextEntry( entry );
    copy( in, out );
    in.close();
    out.close();
    private XMLDocument insertSecurityRoles( InputStream in ) throws IOException
    final DOMParser domParser = new DOMParser();
    domParser.setAttribute( DOMParser.STANDALONE, Boolean.TRUE );
    try
    domParser.parse( in );
    final XMLDocument doc = domParser.getDocument();
    final Element docElem = doc.getDocumentElement();
    final Iterator iter = _securityRoles.iterator();
    while ( iter.hasNext() )
    final String desc = (String) iter.next(); // might be null
    final String roleName = iter.next().toString(); // must not be null
    final Element securityRoleElem = doc.createElement( "security-role" );
    if ( desc != null )
    securityRoleElem.appendChild( createPcdata( doc, "description", desc ) );
    securityRoleElem.appendChild( createPcdata( doc, "role-name", roleName ) );
    docElem.appendChild( securityRoleElem );
    return doc;
    catch ( SAXException e )
    e.printStackTrace();
    return null;
    private Element createPcdata( XMLDocument doc, String elemName, String pcdata )
    final Element elem = doc.createElement( elemName );
    elem.appendChild( doc.createTextNode( pcdata ) );
    return elem;
    private final byte[] buffer = new byte[4096];
    private void copy( InputStream in, OutputStream out ) throws IOException
    while ( true )
    final int bytesRead = in.read( buffer );
    if ( bytesRead < 0 )
    break;
    out.write( buffer, 0, bytesRead );

  • How to include custom modules in eclipse

    Hi,
       We have ATG 10.1.2 knowledge and self service module with some project specific custom module on Production UNIX machine.
    I have installed ATG 10.1.2 on local machine(Windows 7 64 bit) for development purpose.
    1> If I copy custom module from the unix machine and paste it in my local windows machine and generate EAR, will it work?
    2> How to include the custom module in eclipse for development activity.
    I am new to ATG. Any help is much appreciated.
    Thanks.

    when the jsp page is loaded for the first time it contains a select box containg names created by a taglib.but there is a feature i want to add wherein though javascript the name selectebox will keep on coming on each row i want to add. and this is row addition and deletion is being handled by the javascript. there i encounter the bug how to interact the javascript with taglib so tha with each row addition i will have populated taglib created select box on each row.
    Thanks,
    Javaqueue

  • How to include Customer Name in VA15N

    Hi All,
            The standard report VA15N does'nt include customer name.User wants the customer name aslo to be included in the report.Kindly suggest how to include the customer name in the standard report or any other alternative.
    Regards,
    Venugopal

    Hi Venugopal,
    You can use the sold to party field fiield for your requirement.
    Press f4, you will get a pop up to select customer depending on various selection criteria including customer name.
    If can enter the customer name, which will sort out the sold to party number whihc you can use.
    If this is not wat is required you have to copy the transaction and create a new Zreport.
    Hope this helps you.
    Thanks
    Arun

  • How to include custom taglib in javascript on a given jsp page

    Hi,
    How to include custom taglib in javascript on a given jsp page?
    i have a jsp page on which i am adding selectboxes using javascript.
    But now i have created my own custom select box and want to add it on a given jsp page.
    is the code to create the box box.
    <sample:pickListOptions employeeId="abcs123"/>
    but how should i embed it in javascript, so that i will be able to add it on the give jsp page.
    Thanks,
    Javaqueue

    when the jsp page is loaded for the first time it contains a select box containg names created by a taglib.but there is a feature i want to add wherein though javascript the name selectebox will keep on coming on each row i want to add. and this is row addition and deletion is being handled by the javascript. there i encounter the bug how to interact the javascript with taglib so tha with each row addition i will have populated taglib created select box on each row.
    Thanks,
    Javaqueue

  • How to include multiple image components into a single custom component???

    How to include multiple image components into a single custom component???

    Hi Marcel,
    an ABAP transaction can only run or at least be started on one single system. A portal transaction can be assigned using a URL. This doesn't need any logical component.
    Regards
    Andreas

  • How to Including custom text in the step "User Decision"

    Hi All
    Please help me in this regards I got problem
    How to Including custom text in the step "User Decision"
    Regards
    Poonam
    Edited by: Julius Bussche on Feb 2, 2009 1:59 PM
    Please use the corect forum, meaningfull subject titles and use the search before asking questions

    Hi Poonam,
    If I understood your problem correctly...
    When you create a user decision a screen will appear.
    In the decision tab under Title you can give your custom text.
    Even if you want to give some variable (value of which will be determined at runtime) you can give that as well.
    Like you have created a container for BOR objects MAT_DETAIL, in that object there is a field MATERIAL.
    You can define your custom text as below:
    Title: Would you like to create new material or display material &
    Parameter 1:  &MAT_DETAIL.MATERIAL&;
    In Title you can give as max. as 4 &(ampersand). And each & will be replaced by each Parameter at runtime in same sequence.
    In parameters you use to select the container defined by you earlier.
    Hope this will help.

  • Problem using jsp:include from inside a custom tag

    Hi, All !
              I have a problem using <jsp:include> from inside a custom tag. Exception is:
              "java.lang.ClassCastException: weblogic.servlet.jsp.BodyContentImpl"
              Apparently, weblogic tries to cast BodyContentImpl to JspWriterImpl and
              could not do this. Is it a bug, since in the 1.1 spec is said: "The
              BodyContent is a subclass of JspWriter that can be used to process body
              evaluations so they can retrieved later on."
              My code is:
              <wfmklist:items>
              <jsp:include page="item.jsp" flush="true"/>
              </wfmklist:items>
              

    This is an area of contention with WL. It is not so tolerant with regards to
              the spec. I spent several days recently trying to convince it to accept the
              specification in regards to bodies and includes and it appears to have
              successfully rebuffed my efforts.
              Frankly, this is very disappointing. It appears that some shortcuts were
              taken on the way to JSP 1.1 support, and the result is a very hard-coded,
              inflexible implementation. As I have not seen the implementation myself, I
              hate to assume this, however one could posit that the term "interface" was a
              foreign concept during the implementation, other than as some annoying
              intermediary reference requiring an immediate cast to a specific Weblogic
              class, which in turn is apparently required to be final or have many final
              methods, as if being optimized for a JDK 1.02 JIT.
              I am sorry that I don't have any positive suggestions other than to use a
              URL object to come back in an execute the necessary "include" directly. You
              lose all context (other than session) and that can cause its own problems.
              However, you can generally get the URL approach to work, and you will
              hopefully avoid further frustration.
              Peace,
              Cameron Purdy
              Tangosol, Inc.
              http://www.tangosol.com
              Tangosol: How Weblogic applications are customized
              "Denis" <[email protected]> wrote in message
              news:[email protected]...
              > Hi, All !
              > I have a problem using <jsp:include> from inside a custom tag. Exception
              is:
              > "java.lang.ClassCastException: weblogic.servlet.jsp.BodyContentImpl"
              >
              > Apparently, weblogic tries to cast BodyContentImpl to JspWriterImpl and
              > could not do this. Is it a bug, since in the 1.1 spec is said: "The
              > BodyContent is a subclass of JspWriter that can be used to process body
              > evaluations so they can retrieved later on."
              >
              > My code is:
              > ...
              > <wfmklist:items>
              > <jsp:include page="item.jsp" flush="true"/>
              > </wfmklist:items>
              > ...
              

  • How to include LabView Instr.llb in a TestStand deployment​?

    I want to deploy my Test Stand sequenze file. When i install the deployment and want to let run it shows that it can t find all of the sub VIs whitch i used direct from LabView. For example: VISA Configure Serial Port (Instr).vi or Check if File or Folder Exists.vi . How to include this VI s to the installer?
    Solved!
    Go to Solution.

    Depending on your settings, those should already be part of the deployment.
    You miss the dependencies from vi.lib, instr.lib and/or user.lib. In the worst case, you will have to create custom Source Distributions in LV to pack those components. When configuring those, you have to make sure that the checkbox "exclude vis from the vi.lib, user.lib and instr.lib" is NOT checked (by default it is).
    Norbert
    CEO: What exactly is stopping us from doing this?
    Expert: Geometry
    Marketing Manager: Just ignore it.

  • How to include the promotion and sales deal in the value contract ?

    Question : Can a value contract contain other special pricing agreement ?
    If yes, how to include the promotion and sales deal in the value contract ?
    Thanks for your input.
    Oscar

    Hi Oscar,
    I have not worked on this aspect as such but once you create a value contract I think you as well create a promotion and sales deal for the customer with whom you have value contract with in the validity period of the contract and system should pick up data accordingly as the customer is same (Contract) and is within the validity period.
    Pl give feed back.
    regards
    Srini

  • Smartforms : How to include Printer commands in smartforms

    I want to include printer command <esc>&l1T at the end of the smartform so that the printer can staple the form after printing.
    Can any one please let me know how to include this in smart form ..?
    Is there any way ..?

    You should use the following way:
    - Copy the device type into the Customer name space.
    - Go via transaction SPAD - Device types into the device type and
    here to tab strip 'Print controls'. Here add a print control
    with the following contents: \e&l1T
    (without flag 'Hexadecimal'; the \e is the escape character)
    - Now go to your Smartform and add a command node (right-click
    on the tree, Create - Flow logic - Command) and enter the print
    control name into the field 'Include Printer Control'.
    This adds the print control at this point. You only have to
    select the right position of the command node in the tree
    (and therefore the point of time, when the sequence shall be sent).
    - If you want to check the print data, which the SAP sends to the
    printer (and therefore whether the escape sequence was included
    correctly), you can use note 5799, method 2.

  • How to include contextMenu for whole swf

    Hi everybody,
         Let me know How to include contextMenu for whole swf?

    I have a similar problem.
    Stand alone my Sprites custom context menu always works. I can instantiate it using code, and nest it 'n' levels deep.
    When I add it to my main application, a default context menu is shown.   The main application is very complex - as it's a design application similar to Balsamiq Mockups - so every individual widget has a stand alone test harness.   This has been working very well as a way of coping with the size and complexity of the main application. But the context menu thing just doesn't work in the main application, and from the documentation I've seen nothing that suggests I should have had any problems including else wher.
    Please, please if anyone knows why in some scenarios a context menu stops working and the default context menu is shown instead then please share as I'm at the point of tearing my hair out on this....

Maybe you are looking for

  • How do I open a png file?

    Cheers All, I am not seeing how to open a png file with the new Creative Cloud Pshop. I am fearing that it has been disabled by Apple or some such nonsense. My last version of shop had a right click 'open with', which I am not getting now with CC. ma

  • Calling Program RKAEP000 with submit

    Hello all experts, I am having a problem when calling the std program RKAEP000. When i use: SUBMIT RKAEP000 with params AND RETURN. it is giving me an error transaction code not defined. i cannot use call transaction KBS1 in this case (CALL TRANSACTI

  • Signature Acrobat 8 vs. Acrobat 9

    Hi there, I am  new here and hope you can help me. "Sorry my English  isn't good , so I hope you understand my questions" When I sign a PDF in Acrobat 8 my signature will be displayed whit a green  hook and a pencil symbol. When I send this pdf to a

  • Uncheck a Checkbox in a report

    How do! I need a bit of help. I have a dynamic report with checkboxes. When a row is checked, it will insert that row into a table. BUT what I need to know is how do I delete from this table if the check box is unchecked???? Is there an APEX built in

  • CS6 Installation Problems

    I now purchased the CS6 Design & Web Premium (new CDs in the box with license). When I tried to install, Illustrator & Dreamweaver did not install. Instead, I received the error messages and warnings below. I went to http://www.adobe.com/downloads/ot