dimanche 6 août 2017

Component not getting model data that Template gets?

I am an extreme newbie, for which I apologize, but I'm not finding this...

In templates/editor/journal.hbs, this works:

<h2>Journal template</h2>
<select>
    <option value="" disabled="disabled" selected="selected">Periodicals:</option>
  
    <option value=""> </option> 
  
</select>


But the same code, in my component (journal-list), does not... with journal.hbs changed to

<h2>Journal template</h2>



And that code in journal-list.hbs,


<h1></h1>
<select>
    <option value="" disabled="disabled" selected="selected">Periodicals:
</option>
  
    <option value=""> </option> 
  
</select>

all stubs generated by ember generate, I do get the title but the listview is unpopulated.

What magic am I missing? Do I need to configure a route to the component, for example?

Thanks




Aucun commentaire:

Enregistrer un commentaire