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

Using Dynamic/Ajax navigation (Not Inline Pages) #9

Open
weoreference opened this issue Oct 2, 2017 · 1 comment
Open

Using Dynamic/Ajax navigation (Not Inline Pages) #9

weoreference opened this issue Oct 2, 2017 · 1 comment

Comments

@weoreference
Copy link

Hello there,

I'm wondering if it's possible to use this framework with some navigation other than the default inline option (i.e. domCache: true).

My use-case is this: I have a form, and if the user enters the correct information, then they will be navigated to a different page.

Essentially, I have this method:

submit() {
//Check fields

//If OK, then navigate elsewhere
}

Thank you

@alflennik
Copy link
Owner

Someone pointed me at a solution to this approach here: #3 although I haven't had a chance to implement it myself. In short, keep plugging away and you will likely find a way to accomplish dynamic pages, although I don't have one for you at this moment.

If you have trouble with that, you COULD cache the Aurelia component you want to use when the page is submitted.

If you come up with a solution, let me know and I'll add a guide for it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants