Link to home
Start Free TrialLog in
Avatar of Jerome Slaughter
Jerome SlaughterFlag for United States of America

asked on

Displaying query results under the active <cflayoutearea> tab

Hello. I am developing a coldfusion website where everything functions under tabs ie. <cflayout area>. The first tab is the home page with just informational items on it. The second tab displays a list of links that allows the user to click and generate query results in a table form to a new browser window.

Is it possible to generate the query results within the active tab instead of to a new browser window? It would be ideal to allow the user to stay within the tab? I can provide my current code if neccessary. Thanks in advance.
ASKER CERTIFIED SOLUTION
Avatar of gdemaria
gdemaria
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Jerome Slaughter

ASKER

tried <cfform> by adding it to the my code under a tab (cflayoutarea) on the web page when a link is clicked. The link still generates a new browser window. I guess i'm not doing <cfform >the right way in this case. Here is an excerpt of my code. Any other suggestions? Thanks.


<cfform action="http://machinename.domain.net:8500/tt/tsr.cfm" method="post">

<font size=4><left><bb><a href="http://machinename.domain.net:8500/tt/tsr.cfm">My Service Requests</b></a></font><br>
<font size=2>All Service Requests Opened/Resolved assigned to me</font>
</div></body>
</cfform>

Open in new window

I decided to not pursue this answer any further. I was able to do a workaround in my development for what I needed to do.
Sorry I didn't see your previous post.  

For future reference... the CFFORM didn't work because you are not submitting the form.   Using a link has nothing to do with CFFORM (or <form> for that matter).   You don't need the form at all to use a link, they are not related.     You want to SUBMIT the form using the <input type="submit" ....>   tag, then the form will refresh within the CFwindow, CFdiv, CFlayout, etc..