Thanks Laurie for explanation. The reason for multiple calls is the "href" from tabbed panel. I tried to use ajaxTags and YUI TabView just for testing. It just called the action once. I'm using many dojo components in my projet, it'll be hard to change to ajaxTags or YUI.
Does anyone knows how to prevent this multiple calls from TabbedPanel href? Tanks! 2008/5/2 Laurie Harper <[EMAIL PROTECTED]>: > Márcio Gurgel wrote: > > > Does someone can tell me why does a action is called more than once? > > I've a action to populate some fields (I call it once), by debugging I > > saw > > that this method is called three times. > > Is it normal? If it'snt how to prevent? > > > > This is usually a result of elements in the page with an incorrect 'src' > or 'href' attribute. For example, if you have an 'img' tag with an empty > 'src' attribute, your browser will try to load an image using the page URL. > > Check your HTML and, if necessary, comment bits out until you find what's > causing the extra requests. > > L. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >