Skip to main content

does "selected" attribute works for a widget

1 reply [Last post]
karthikbalait
Offline
Joined: 2007-12-05

The developer document of "Using jMaki Widgets as JavaServer Faces Components" on jmaki project site says that we can get the selected value of a widget by adding a property to bean and by using a selected attribute in the widget tag but the tld doesnt has a value of selected...

am trying to get the value of dojo.dropdowndatepicker i got it using glue.js but can anyone suggest me an easy method to get it like by using the value attribute

thanks a lot

regards,
karthik

Message was edited by: karthikbalait

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
carlavmott
Offline
Joined: 2005-02-10

Hi Karthik,

Jennifer is a tech writer that helps out on jMaki and wrote the tutorial you are referring to. She could not log in to java.net and post so I did it for her. See below for her response.

Carla

From Jennifer:

This document is out-of-date. I will remove all links to it until we can update it. I was planning to update it in November, but I was told it would make more sense to wait until we release version 1.1, which will include some new functionality that makes this sort of thing easier (see https://ajax.dev.java.net/jmakieventlistenertag.html). Sorry for misleading you.

In the meantime, the following thread should be helpful to you as far as getting the selected value with the current release functionality:

http://forums.java.net/jive/thread.jspa?threadID=32334&tstart=0

Basically, you need to use the publish/subscribe mechanism for this. As I understand it, you can only use the value attribute to get the initial values when the page loads for the first time.

I hope that helps.

Jennifer