Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

cflayoutarea collapsible in Coldfusion 9

New Here ,
Jun 13, 2010 Jun 13, 2010

If I uase cfajaximport tags CFINPUT-DATEFIELD in CFLayout application along with CFFORM,CFINPUT-DATEFIELD,CFLAYOUT-

BORDER,CFWINDOW,CFGRID, CFTOOLTIP,CFTEXTAREA then left cflayoutarea it will not work(collapsible feature).


This feature i tested in Coldfusion 9 standard developer(separate system) and coldfusion 9 upgraded(from coldfusion 8)

standard system. In both system showing same result.

Sample App:

<html>
<head><title>ONLINE APP</title>
<cfajaximport tags="CFFORM,CFINPUT-DATEFIELD,CFLAYOUT-BORDER,CFWINDOW,CFGRID, CFTOOLTIP,CFTEXTAREA"/>
</head>
<body>

<cflayout name="main" type="border" fittowindow="yes">
<cflayoutarea name="top" position="top" size="50" overflow="hidden">
    </cflayoutarea>
     <cflayoutarea name="left" position="left" size="200" maxsize="200" minsize="200" collapsible="true" title="Menu"

overflow="auto"></cflayoutarea>
<cflayoutarea name="center" position="center"></cflayoutarea>
<cflayoutarea name="bottom" position="bottom" size="40"></cflayoutarea>
</cflayout>
</body>
</html>

I need to use CFINPUT-DATEFIELD inside CFLayout.

1.3K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jun 14, 2010 Jun 14, 2010

I found the solution.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Mar 01, 2011 Mar 01, 2011

cfrajesh can you tell me what your solution was? I am also having trouble with the cflayout tag and including cftooltips within. Whenever I include cftooltip in the center layout area, my left collapsible area stops working.

Thanks.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Mar 01, 2011 Mar 01, 2011
LATEST

Hi, please try this example

<html>

<head><title>ONLINE APP</title>

<!---<cfajaximport tags="CFFORM,CFINPUT-DATEFIELD,CFLAYOUT-BORDER,CFWINDOW,CFGRID, CFTOOLTIP,CFTEXTAREA"/>--->

<cfajaximport tags="CFFORM,CFLAYOUT-BORDER,CFINPUT-DATEFIELD,CFWINDOW,CFTOOLTIP,CFTEXTAREA"/>

</head>

<body>

<cflayout name="main" type="border" fittowindow="yes">

<cflayoutarea name="top" position="top" size="50" overflow="hidden">

    </cflayoutarea>

     <cflayoutarea name="left" position="left" size="200" maxsize="200" minsize="200" collapsible="true" title="Menu"

overflow="auto">

</cflayoutarea>

<cflayoutarea name="center" position="center">

<cfform name="frm_lay">

<table>

<tr>

    <td>

        <cfinput type="text" name="txt_name" value="" tooltip="Name">

        </td>

    </tr>

</table>

</cfform>

</cflayoutarea>

<cflayoutarea name="bottom" position="bottom" size="40"></cflayoutarea>

</cflayout>

</body>

</html>

Main reason is adding cfajaximport tags order. first we need to add CFLAYOUT-BORDER then CFINPUT-DATEFIELD and CFTOOLTIP ...

<cfajaximport tags="CFFORM,CFLAYOUT-BORDER,CFINPUT-DATEFIELD,CFWINDOW,CFTOOLTIP,CFTEXTAREA"/>

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources