• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

RichFaces calendar: how to get ID from ondateselected event?

 
Dmitriy Kastikovich
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Code
works fine, but I cant find how to get ID of calendar component.

How to get it?
 
Bauke Scholtz
Ranch Hand
Posts: 2458
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
By the 'this' reference? Do you understand Javascript at any way?
 
Dmitriy Kastikovich
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Bauke Scholtz wrote:By the 'this' reference? Do you understand Javascript at any way?

I already tried 'this.id' - it doesnt work ((
It returns event as I think, so no id is available.

No, I dont know JavaScript, but I have task and have no time to learn theory - so I use google, examples, forums... but sometimes I cant find an answer. I know that people dont like to answer on simple questions. So take it easy ))
 
antonio cesar
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
try this example:

jsf


javascript
 
Tim Holloway
Saloon Keeper
Pie
Posts: 17989
47
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sorry, antonio. If Dmitry didn't have much time, it's too late now. That question dates back to 2009! http://faq.javaranch.com/java/DontWakeTheZombies
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic