[CLOSED] Store conversion is failing

  1. #1

    [CLOSED] Store conversion is failing

    The following code never renders Addr.breakout.
    Last edited by michaeld; Sep 29, 2013 at 4:06 AM.
  2. #2
    Hi @michaeld,

    I added the control to the page this way.
    <%@ Register Src="~/TestUC.ascx" TagPrefix="uc" TagName="TestUC" %>
    <uc:TestUC runat="server" />
    Then I got the JavaScript error and got rid of:
    <ExtraParams>
        <ext:Parameter Name="q" Value="#{Address}.getValue()" Mode="Raw" />
    </ExtraParams>
    because it was the reason of that error.

    Looking at the Page Sources I see:
    <script type="text/javascript">
        var Addr = {
            breakout: function (value, rec) {
                rec.street = value.street;
                rec.city = value.city;
                rec.state = value.state;
            }
        };
    </script>
    So, it renders.

    Please clarify how do you add the user control to the page?
  3. #3
    Darn it. I sent you the wrong sample. That was an earlier transformation when I was still simplifying it to the bare minimums. Darn me for trying to post you something quick before bed. Sleep dep, sorry.

    I don't need to post the correct one because you're right, once I fixed the issue from the other thread, I was able to correct the issue with rendering the htmlbin in my test.

    You can close this item and the other. Thanks for taking the moment.

Similar Threads

  1. [CLOSED] Conversion
    By majunior in forum 2.x Legacy Premium Help
    Replies: 8
    Last Post: May 29, 2013, 3:50 PM
  2. [CLOSED] Direct Event Failing (Apparently under IE10)
    By michaeld in forum 2.x Legacy Premium Help
    Replies: 15
    Last Post: Apr 02, 2013, 5:49 AM
  3. [FIXED] Bug on Enum conversion
    By JCKodel in forum Bugs
    Replies: 1
    Last Post: Nov 27, 2012, 7:04 AM
  4. [CLOSED] Slow Conversion from ASP
    By cwolcott in forum 2.x Legacy Premium Help
    Replies: 2
    Last Post: Oct 10, 2012, 6:03 PM
  5. #{Hidden1}.getValue() failing
    By Juls in forum 1.x Help
    Replies: 4
    Last Post: Mar 20, 2009, 3:40 PM

Posting Permissions