Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

selectBooleanCheckbox

843844Aug 14 2008 — edited Aug 19 2008
I have great problems with selectBooleanCheckbox. I have tried this (I have copy/paste it from my another project where it worked well):
<h:selectBooleanCheckbox id="checkbox1" 
styleClass="selectBooleanCheckbox" required="true"></h:selectBooleanCheckbox>
public String doButtonAction() {
    Boolean checked = (Boolean)getCheckbox1().getValue();
}
The problem is that above code always returns null.

Then I also tried:
<h:selectBooleanCheckbox id="checkbox1" value="#{myForm.checked}"
styleClass="selectBooleanCheckbox" required="true"></h:selectBooleanCheckbox>
boolean checked = false;

public boolean getChecked() {
	return checked;
}
public void setChecked(boolean c) {
	checked = c;
}

public String doButtonAction() {
    Boolean checked = (Boolean)getCheckbox1().getValue();
    // or:
    //Boolean checked = getChecked();
}
The problem with above code is that setChecked() method is never called so "checked" field is always false. Why?

Comments

920799
Done ....

My account -- > configure the device
user4531066
Hello,

Any chance you could post the instructions to create a "dashboard" device? It's not in any of th edocumentation.

Thanks!
user12068228
Hi
Did you find a solution for this? I have the same problem. I configured e-mail settings and use system subject area. Sending Agents via E-Mail is working. But sending Agents to the user homepage gives me the error: "Device (dashboard) is not set in..."
Thank you
User_5TGU6
Hi,

Can you kindly elaborate your solution.. Coz i am getting the same error and going crazy on it..
Plz do the needfull
Mark.Thompson
I guess nobody ever told him that it's nice to share.
Mark.Thompson
Throw us a bone here. How did you resolve this problem? Please tell us the steps to configure the user account so that we can send to a dashboard.
user12068228
Hi
I had the same problem in 11.1.1.6.1. In 11.1.1.6.2 BP1 it is gone.
Regards
Mark.Thompson
Not for me. I installed BP1 last weekend and I still can't send an alert to my dashboard. Did you do anything special to make it work?
user12068228
No nothing that I'd be aware of.
920799
Hi

Sorry for the delayed reply i havnt looked in to ibots for last few months...

Steps to configure device..

After login into analytics....click on ur username u used to login and select My Account..there u can Add email..

As for as i know u can do this only if u are sending ibots to few users...

we have to create SA system subject area as shown in below URL

http://oraclebizint.wordpress.com/2008/04/25/oracle-bi-ee-101332-sa-system-subject-area-autoloading-profiles-and-bursting/

please send a test mail to shekaready@gmail.com i will send u a doc with screen shots on how to add Device..


Apologies again...for the delayed reply
Mark.Thompson
I'm sorry, I don't understand why you are telling me how to add an e-mail device. Sending to e-mail isn't a problem. It's sending the alert to the dashboard that isn't working.
RockITCity
I have saw the same issue after upgrading to 11.1.1.6.2. BP1 and found the following:

http://obirockit.blogspot.com/2012/08/obi-11g-agent-messagedevice-dashboard.html
1 - 12
Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Sep 16 2008
Added on Aug 14 2008
10 comments
264 views