Hi 

I want to create reusable component for example image gallery on a website. 
I want to have html part of the gallery in ejs template and to load data to 
the template from controller created for that template (dedicated 
controller generates partial view). How can i make this? I am using 
Express.js

In asp.net mvc i have Renderpartial or similar methods. In the case of 
nodejs I didn't find a solution. I am newbie in field of nodejs.  

Ex: 
code of parent page
something generated from a different controller for a separate child ejs 
file. 
rest of parent page

Thanks
Wojtek

-- 
Job board: http://jobs.nodejs.org/
New group rules: 
https://gist.github.com/othiym23/9886289#file-moderation-policy-md
Old group rules: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
--- 
You received this message because you are subscribed to the Google Groups 
"nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/nodejs/c4528453-ca22-4c89-ad65-c9ff28e2e0a1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to