Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Dojo + JSF  RSS feed

Greg A Watson
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Not sure if here or the JSF forum is the best bet, but I'm guessing there's a better chance someone here will understand the problem!

I'm looking at the adoption of Dojo within a fairly large enterprise IT shop where we have a large existing number of applications written in various Java based web frameworks, but primarily JSF.

I like the idea of using the JSF life cycle to service Ajax requests in this model, and we already have a large number of developers skilled in JSF, so it seems a no-brainer. However, I've run into the obvious problem that when I try to add the dojoType attribute to a JSF tag, the validation phase of the markup against the JSF rules throws a hissy fit - it doesn't like the dojoType attribute, so won't parse the page. Has anyone else come up against this problem? I'm wondering if it's feasible / sensible / possible to just extend/replace the existing TLD to allow it as a type (I've spent a bit of time playing around with this and, it may be my ham-fistedness, but it doesn't appear as easy as I'd imagined it would be).

Has anyone else use these approaches together? Any suggestions / pitfalls I should look out for?

Thanks folks
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!