File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JSF and the fly likes RichFaces calendar: how to get ID from ondateselected event? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "RichFaces calendar: how to get ID from ondateselected event?" Watch "RichFaces calendar: how to get ID from ondateselected event?" New topic
Author

RichFaces calendar: how to get ID from ondateselected event?

Dmitriy Kastikovich
Greenhorn

Joined: Jun 29, 2008
Posts: 23
Code
works fine, but I cant find how to get ID of calendar component.

How to get it?
Bauke Scholtz
Ranch Hand

Joined: Oct 08, 2006
Posts: 2458
By the 'this' reference? Do you understand Javascript at any way?
Dmitriy Kastikovich
Greenhorn

Joined: Jun 29, 2008
Posts: 23
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

Joined: Oct 27, 2010
Posts: 1
try this example:

jsf


javascript
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 15951
    
  19

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


Customer surveys are for companies who didn't pay proper attention to begin with.
 
 
subject: RichFaces calendar: how to get ID from ondateselected event?
 
Similar Threads
Get the month from java.util.Date
Abstract classes can't be instantiated?
JSP w/ Date and Calendar
Needed logic for java date
Retrieve value from a DateField