If you got a workaround, it´s ok, but if you want to find th problem
you can try do dump the form with <pre> <cfdump var=#myform#></pre>
(or whatever is your form name) and look to the code pointed by the
error message and find what is getting so big.
Felipe
On 11/22/05, Anthony Prato <[EMAIL PROTECTED]> wrote:
> actually the function is pretty short----
> function getHistoryData() {
> <!--- get all the search criteria items --->
> var filterArguments = {};
> <!--- grids --->
> filterArguments.clinicid =
> clinicList.selectedItem.clinicid
> filterArguments.drugid = drugList.selectedItem.drugid
> <!--- dates --->
> filterArguments.startDate = startDate.text;
> filterArguments.endDate = endDate.text;
> <!--- radio button --->
> filterArguments.tranTypes = tranTypes.selectedData;
> <!--- show clock cursor --->
> mx.managers.CursorManager.setBusyCursor();
> <!--- call service --->
>
> drug_history.myGlobalObjects.drug_history.getDrugHistory(filterArguments);
> <!--- change the current pane --->
> explorer.selectedIndex=2;
> }
> ----------------------------------------------------
>
> Those who have the problem, my workaround was to add bogus code after
> the button. I did not change the function, the line of code with the
> button or the style.
>
> On 11/22/05, Felipe Fernandes <[EMAIL PROTECTED]> wrote:
> > I had some problem like yours a time ago, what i learned is the the
> > 32K (or 64K sometimes) refer to i single line of mxma script.
> > So lets understend what´s going under the hood here:
> > When you do a flash form, coldfusion gets your code, process it and
> > passes to it´s internal flex compiler (yes coldfusion has a flex
> > compiler inside) and that´s where it can´t have a component with more
> > than 32K.
> > Looks like your getHistoryData() function is almost at that limit so
> > when you set any style it get´s over (to change the style flex has to
> > call the style method).
> > One solution, is to clean (if possible) your getHistoryData() function
> > or break it in two diferent functions. Paste it here so we can help
> > you. Or take your button out of any cfformgroup tag type horizontal or
> > vertical.
> >
> > Felipe
> >
> > On 11/22/05, Anthony Prato <[EMAIL PROTECTED]> wrote:
> > > I'd also like to add that the entire file, html and all is only 15k. I
> > > deleted both buttons listed before and replaced them with an unstyled
> > > button. Then I copied/renamed the unstyled button 20 times. The move
> > > loads fine with all 20 buttons but breaks again if I try to add a
> > > style to any of them.
> > > below the bottons I put a formgroup=panel with a ton of styles and the
> > > form still loads fine. It's only styling the buttons when I have a
> > > problem.
> > >
> > >
> >
> >
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking
application. Start tracking and documenting hours spent on a project or with a
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:225019
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54