Skip navigation

CQ5

Currently Being Moderated

How to bind values from dialog with elements on jsp file?

Aug 1, 2012 6:42 AM

Hello,

 

I am trying to bind values from my dialog with elements on jsp file.

Example:

<mailcheck

                        jcr:primaryType="cq:Widget"

                        fieldLabel="Send as E-Mail"

                        fieldValue="false"

                        name="./mailcheck"

                        type="checkbox"

                        xtype="selection"/>

 

The above mentioned excerpt serves as a checkbox inside dialog.

 

I would like to to connect my checkbox on jsp with the value stored on ./mailcheck property. Is it possible?

 

Thanks in advance

P.

 
Replies
  • Currently Being Moderated
    Aug 1, 2012 6:12 PM   in reply to Pawos

    The default out of the box checkbox group component does the same. Look at source [1] for more details

     

    [1]  /libs/foundation/components/form/checkbox

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points