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

JSF and Date/Time without MyFaces  RSS feed

 
Kalichar Rangantittu
Ranch Hand
Posts: 240
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am trying to implement a form that has three combo box drop downs for Month, Day and Year. Implementing of MyFaces or tomahawk in Rational Application Developer 6.0 when developing portlets is just not working. Planning on using Java Script to do this.

Has anyone done this before using JSF and Java script? If so please assist with tips and ideas. Thanks,
Kalichar
 
Gregg Bolinger
Ranch Hand
Posts: 15304
6
Chrome IntelliJ IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Could you describe the kind of functionallity you are looking to get out of this? Are you wanting to create a custom component or just 3 HtmlSelect components? What JSF RI are you currently using?
 
Kalichar Rangantittu
Ranch Hand
Posts: 240
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for the response.
I am trying to get a date picker where the user can select a month, day and year from 3 combo boxes respectively while also having the option of selecting the date from a popup calendar such that when the date is selected in the popup calendar the select fields are automatically populated.

I am using JSF 1.1.
 
Gregg Bolinger
Ranch Hand
Posts: 15304
6
Chrome IntelliJ IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That is going to be quite an undertaking, I don't even know where to tell you to begin. Basically, you want to do what MyFaces and ADF faces have already done, because those won't work in RAD. What problems are you having that won't let you use pre-existing components?
 
Kalichar Rangantittu
Ranch Hand
Posts: 240
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
RAD has a date picker but it will not meet my requirements. Inside portlets the java script source references and URI's dont translate correctly and RAD will not touch the java script URI's. I think there is some official docs based on that. I tried to integrate Apache's MYFaces Tomahawk.jar to use their date picker but that has the same java script problem. As you mentioned, I see some pain ahead. Thanks.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!