This discussion is archived
9 Replies Latest reply: Dec 10, 2012 3:19 AM by Patrick Wolf RSS

Having a big problem with Cascading Select Lists on Mobile  -- URGENT

Scott H. Newbie
Currently Being Moderated
When creating a mobile page with apex 4.2 (on db 11g r1, weblogic 11g) the LOV animation works fine.

However, when I try to use a cascade option, i get an error

this occurs when I change the parent LOV

Error: parsererror - SyntaxError: Unexpected token <

The cascading will then, not be in the correct animation, and will not update automatically.

I've tried reproducting on apex.oracle.com, however, the animations do not appear to be working at all.

I have a deadline to get a new mobile app up as soon as possible, and I've tried everything I can to fix this unsuccessfully.

Any help? I saw someone else got this error, tried posting there, but no one has responded to my posts there.

Thanks,
Scott
  • 1. Re: Having a big problem with Cascading Select Lists on Mobile  -- URGENT
    TexasApexDeveloper Guru
    Currently Being Moderated
    Can you post login info to your Oracle account to see this issue?

    Is the issue on an Android, IPhone, Blackberry?

    Thank you,

    Tony Miller
    Ruckersville, VA
  • 2. Re: Having a big problem with Cascading Select Lists on Mobile  -- URGENT
    Scott H. Newbie
    Currently Being Moderated
    Unforunately i cannot give outside access to my system, and am unable to replicate on apex.oracle.com

    this is happening on all browsers, iphone, android, pc chrome
  • 3. Re: Having a big problem with Cascading Select Lists on Mobile  -- URGENT
    TexasApexDeveloper Guru
    Currently Being Moderated
    Kinda hard to diagnose based upon limited information and no way to SEE what is happening...

    Thank you,

    Tony Miller
    Ruckersville, Va
  • 4. Re: Having a big problem with Cascading Select Lists on Mobile  -- URGENT
    Scott H. Newbie
    Currently Being Moderated
    I agree Tony.. the issue on apex.oracle.com is that the Select Lists only come up as standard, they don't come up as mobile versions.

    was seeing if anyone else had this problem. I'll see if I can post screen shots somewhere
  • 5. Re: Having a big problem with Cascading Select Lists on Mobile  -- URGENT
    Patrick Wolf Employee ACE
    Currently Being Moderated
    Hi Scott,
    the issue on apex.oracle.com is that the Select Lists only come up as standard, they don't come up as mobile versions.
    what do you mean with "mobile versions"? Are you talking about a popup dialog? A popup is used when more than 10 select list entries are displayed. Does this help to reproduce on apex.oracle.com?

    Regards
    Patrick
    -----------
    My Blog: http://www.inside-oracle-apex.com
    APEX Plug-Ins: http://apex.oracle.com/plugins
    Twitter: http://www.twitter.com/patrickwolf
  • 6. Re: Having a big problem with Cascading Select Lists on Mobile  -- URGENT
    Scott H. Newbie
    Currently Being Moderated
    Hi Patrick.. I tried including more values.. does not seem to help

    look at http://apex.oracle.com/pls/apex/f?p=64502

    no authentication on there....

    if I could email you off the record, maybe I can show you on my system... due to firewalls, my external port won't be routed, but ic an do a joint session.


    Thanks,
    Scott
  • 7. Re: Having a big problem with Cascading Select Lists on Mobile  -- URGENT
    Patrick Wolf Employee ACE
    Currently Being Moderated
    Hi Scott,

    added record 10 to your test data set so that the parent LOV is using a popup. But everything looks fine with your example on apex.oracle.com
    this occurs when I change the parent LOV
    Error: parsererror - SyntaxError: Unexpected token <
    Which browser are you using to test this? Have you tried Google Chrome? Use the "Network" tab of the Developer Tools to see what is sent and what you get back when you change the parent LOV. That might help us to find out from where you get the "Unexpected token &lt;". The "Console" tab might also show additional error information.

    Regards
    Patrick
    -----------
    My Blog: http://www.inside-oracle-apex.com
    APEX Plug-Ins: http://apex.oracle.com/plugins
    Twitter: http://www.twitter.com/patrickwolf

    Edited by: Patrick Wolf on Nov 17, 2012 12:03 AM
  • 8. Re: Having a big problem with Cascading Select Lists on Mobile  -- URGENT
    Scott H. Newbie
    Currently Being Moderated
    Thanks Patrick.. I'm still getting a different look on my instance verses apex.oracle.com

    I'm checking the network tag of Chrome.. but not too faimiliar with this... getting this

    3 requests ❘ 1.73KB transferred
    wwv_flow.show
    /pls/dev12
    POST
    200
    OK
    text/html
    mobile_all.min.js:4
    Script
    592B
    307B
    24ms
    10ms


    and if i drill in on wwv_flow.show

    Request URL:http://ganymede:8888/pls/dev12/wwv_flow.show
    Request Method:POST
    Status Code:200 OK
    Request Headersview source
    Accept:application/json, text/javascript, */*; q=0.01
    Accept-Charset:ISO-8859-1,utf-8;q=0.7,*;q=0.3
    Accept-Encoding:gzip,deflate,sdch
    Accept-Language:en-US,en;q=0.8
    Connection:keep-alive
    Content-Length:131
    Content-Type:application/x-www-form-urlencoded
    Cookie:ORA_WWV_REMEMBER_UN=SCOTTH:a2000; LOGIN_USERNAME_COOKIE=nkw; ORA_WWV_APP_111=44E3EFC7A106717E3FC390C7F0B85982
    Host:ganymede:8888
    Origin:http://ganymede:8888
    Referer:http://ganymede:8888/pls/dev12/f?p=111:3:19205505776901:::::
    User-Agent:Mozilla/5.0 (Windows NT 6.2; WOW64) AppleWebKit/537.11 (KHTML, like Gecko) Chrome/23.0.1271.64 Safari/537.11
    X-Requested-With:XMLHttpRequest
    Form Dataview URL encoded
    p_request:PLUGIN=1A371EC3EA0D535B560DA18355F395503F7BFA42101439652BC19CC574AE454D
    p_flow_id:
    p_flow_step_id:
    p_instance:
    p_debug:
    Response Headersview source
    Connection:Keep-Alive
    Content-Language:en
    Content-Length:307
    Content-Type:text/html; charset=UTF-8
    Date:Mon, 19 Nov 2012 18:07:07 GMT
    Keep-Alive:timeout=5, max=98
    Server:Oracle-Application-Server-11g
    X-DB-Content-length:307
    X-Pad:avoid browser bug

    any thoughts?

    Thanks,
    Scott
  • 9. Re: Having a big problem with Cascading Select Lists on Mobile  -- URGENT
    Patrick Wolf Employee ACE
    Currently Being Moderated
    Hi Scott,

    sorry for the late response. Looking at your HTTP response
    Response Headersview source
    Connection:Keep-Alive
    Content-Language:en
    Content-Length:307
    Content-Type:text/html; charset=UTF-8
    Date:Mon, 19 Nov 2012 18:07:07 GMT
    Keep-Alive:timeout=5, max=98
    Server:Oracle-Application-Server-11g
    X-DB-Content-length:307
    X-Pad:avoid browser bug
    it looks like you are getting Content-Type:text/html; back instead of the requested Accept:application/json. Can you have a look at the "Response" body itself. It should show you the 307 char long HTML content. I think that should give us additional details what is wrong. I assume it's an error message you get.

    Regards
    Patrick
    -----------
    My Blog: http://www.inside-oracle-apex.com
    APEX Plug-Ins: http://apex.oracle.com/plugins
    Twitter: http://www.twitter.com/patrickwolf

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points