Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ons-split-view. Template error "Page not found" #392

Closed
wshark6 opened this issue Jan 14, 2015 · 4 comments
Closed

ons-split-view. Template error "Page not found" #392

wshark6 opened this issue Jan 14, 2015 · 4 comments

Comments

@wshark6
Copy link

wshark6 commented Jan 14, 2015

I have a Split View defined as:

<ons-split-view
    var="noticies_split"
    secondary-page="secundaria"
    main-page="principal"
    main-page-width="70%"
    collapse="portrait">
</ons-split-view>

I get a "Page is not found: principal" if I define both templates consecutively, i.e.:

<ons-template id="secundaria">
</ons-template>
<ons-template id="principal">
</ons-template>

If I define a third template between them, it works fine, i.e:

<ons-template id="secundaria">
</ons-template>
<ons-template id="aux">
</ons-template>
<ons-template id="principal">
</ons-template>

When defining more than 2/3 templates, I get the same error for those in even positions, but not for the odd ones.

I'm using onsenui - v1.2.1 - 2014-12-01

@argelius
Copy link
Contributor

Hi @wshark6!

I tried your code but didn't get the error message. Is it possible for you to upload your failing code somewhere so I can have a look at it?

It may be some other reason why it doesn't parse the second template.

@wshark6
Copy link
Author

wshark6 commented Jan 16, 2015

If you give me an email address, I can send it to you.

@argelius
Copy link
Contributor

Sure, please send it to

console.log('andreas.argeli.us'.replace(/\./, '@'));

@wshark6
Copy link
Author

wshark6 commented Feb 4, 2015

Hello,

this solution worked fine.

http://stackoverflow.com/a/28291754/4452681

@lock lock bot added the outdated label May 17, 2018
@lock lock bot locked as resolved and limited conversation to collaborators May 17, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants