Jsf headache, please help, thank you.
Dear everyone,
I have made this customized jsf component. In the following, I have shown the code of the UIComponentTag codes and in the bold part, I would like to set the component id to be dojoid, which is unique id. I would like to apply component.setId(dojoid) in setProperties method, but as a result, the error of duplicate id will be generated. It is trouble to set my own id (of couse it is unique), could anyone help me so that the id of the component could be changed? Thank you very much.
package jsf.dojo.control;
import javax.faces.application.Application;
import javax.faces.component.UIComponent;
import javax.faces.context.FacesContext;
import javax.faces.el.ValueBinding;
import javax.faces.webapp.UIComponentTag;
public class comboBoxTag extends UIComponentTag {
private String size;
private String value;
private String id;
private String dojoid;
public String getComponentType() {
System.out.println("call comboBoxTag->getComponentType");
return "jsf.dojo.control.comboBox";
public String getRendererType() {
System.out.println("call comboBoxTag->getRenderType");
return null;
public void setProperties(UIComponent component) {
System.out.println("ComponentId->getId:"+component.getId());
super.setProperties(component);
setStringProperty(component, "size", size);
setStringProperty(component, "dojoid", dojoid);
setStringProperty(component, "value", value);
private void setStringProperty(UIComponent component,
String attrName, String attrValue) {
System.out.println("call comboBoxTag->setStringProperty" + attrName + "=" + attrValue);
if(attrValue == null)
return;
if(isValueReference(attrValue)) {
System.out.println("call comboBoxTag->setStringProperty->isValueReference("+ attrName+ ":" + attrValue +")");
FacesContext context =
FacesContext.getCurrentInstance();
Application application =
context.getApplication();
ValueBinding binding =
application.createValueBinding(attrValue);
component.setValueBinding(attrName, binding);
else {
System.out.println("call comboBoxTag->setStringProperty->isNotValueReference("+ attrName+ ":" + attrValue +")");
component.getAttributes().
put(attrName, attrValue);
public void release() {
super.release();
size = null;
value = null;
public String getSize() {
System.out.println("call comboBoxTag->getSize");
return size;
public void setSize(String size) {
System.out.println("call comboBoxTag->setSize");
this.size = size;
public String getId() {
System.out.println("call comboBoxTag->id");
return id;
public void setId(String id) {
System.out.println("call comboBoxTag->setId");
this.id = id;
public String getValue() {
System.out.println("call comboBoxTag->getValue");
return value;
public void setValue(String value) {
System.out.println("call comboBoxTag->setValue");
this.value = value;
public String getDojoid() {
System.out.println("call comboBoxTag->getSize");
return size;
public void setDojoid(String dojoid) {
System.out.println("call comboBoxTag->setSize");
this.dojoid = dojoid;
}
I reset, it did nothing. I also went tn mic settings to 'tokkle', turn off and on. In that list is no facetime btw. Please help. Apple support wont call me because i live abroad.
iPad 2 Wi-Fi + 3G, iOS 7.0.3
Similar Messages
-
Dear Sirs,
I had just upgraded my OS to the OS X Mavericks. After doing so, I noticed the following changes:
1) My MS Outlook for Mac 2011 does not sync with my Mac book's calendar/contacts/notes.
2) My iPhone4s does not sync with my Mac book's calendar/contacts/notes anymore.
Please help, thank you.
aawwiiCorrect, USB local sync was taken away from iphones and ipads with 10.9.1 and 2. We are not allowed to speculate on rumours it might come back in 10.9.3 plus new iTunes. Either wait and see or explore Syncmate 5 beta free trial.
icloud still works.
Cant help with the Outlook problem. -
HT5312 I do not remember the security answer apple ID.Please help.Thanks you!
I do not remember the security answer apple ID.Please help.Thanks you!
If you have a rescue email address (which is not the same thing as an alternate email address) set up on your account then steps 1 to 5 on the page that you posted from should let you reset them : go to https://appleid.apple.com/ and click 'Manage your Apple ID' on the right-hand side of that page and log into your account, then click on 'Password and Security' on the left-hand side of that page and on the right-hand side you should see an option to send security question reset info to your rescue email address.
If you don't have a rescue email address (you won't be able to add one until you can answer 2 of your questions) then you will need to contact iTunes Support / Apple to get the questions reset.
Contacting Apple about account security : http://support.apple.com/kb/HT5699
When they've been reset (and if you don't already have a rescue email address) you can then use the steps half-way down the page that you posted from to add a rescue email address for potential future use -
hi, my new device was set up in the store that I bought it from. How can I transfer all old text messages over to my new device? I have followed the icloud back up steps on this page. Please help, thank you.
Its an iPhone 4
Message was edited by: zzziggy85Here is how
http://support.apple.com/kb/HT2109 -
TS2446 Hi,My Apple ID has been disabled Please help Thank you
Hi,My Apple ID has been disabled Please help Thank you Thank you Thank you Thank you Thank you Thank you Thank you Thank you
If changing your password does not solve then contact itunes support
-
As I was installing the Windows 7 on my Imacwith the bootcamp and stated how I wanted to divide the drive I put 160, but I want to add more space because of the adobe software it will not install two of them, so how can I add more on the drive space to from 160 to 250? please help thank you.
I'm not sure this is what you're looking for, but it might help:
"If you made the Windows partition too small
First, back up all the information on your Windows partition. Then run Boot Camp
Assistant to restore your disk to a single volume. Restart your computer and use Boot
Camp Assistant to partition the disk again and reinstall Windows. Don’t forget to install
the Boot Camp drivers after installing Windows."
(from Bootcamp Assistant Manual see pg 22) -
I am from South Africa and the itune store only allows the purchase of some music , whenever i try to buy Jesus Culture- Everything . an error message comes up "only availble in US " , PLEASE HELP .Thank you
I had the same issue this morning downloading a pre-order of Alanis, Flavors of Entanglement . I noticed that the only thing that had changed fro me was that I had some song credits for purchasing ticketmaster tickets over the past few weeks. When I went ahead and spent my remaining credits... it downloaded with no prompting or trouble. Maybe the credits issues hangs it up?
-
hello guys! i just wanted to asked to anyone of you if you'll receive a notification when your icloud account was removed into your apple device? my iphone 4 Ios7 was stole 3 days before.. please help thank you!
1. you may have to take it in to Apple and get an out of warranty iphone for $199.
2. you can get your information from a backup of your phone. you do have a backup of your phone right either in iTunes or icloud. If you don't then your answer will be no. -
Hi Gurus,
I have a beginner in photoshop , I tried to copy a selection into new blank canvas however the layer in the new canvas becomes gray/black/white, did i wrongly click on something ? Please help , Thank you in advanceHow did you open the new document? What Image mode is the document in and what exactly did you copy to the clipboard? What was the current Photoshop target when you did the copy? Was it a straight copy or a copy merge etc...
-
So, I gave my daughter my old iPhone 4s and I got the new iPhone 5 she deleted my contacts because she didn't know the iCoud was on. So what should I do to restore these contacts? Please help, Thank you!
How does your problem? i have the same, I lost over one thousand contacts
-
How do I connect ny samsung tab2 note to hp deskjet 2540 if you could please help, thank you
how do I connect ny samsung tab2 note to hp deskjet 2540 if you could please help, thank you
Hi,
Your printer is not an ePrint printer as shown:
http://www8.hp.com/au/en/products/printers/product-detail.html?oid=5296007#!tab=specs
Please try the SECOND part of the following setup (for classic printers):
http://h10025.www1.hp.com/ewfrf/wc/document?docname=c02817255&cc=us&dlc=en&lc=en#N65
Regards.
BH
**Click the KUDOS thumb up on the left to say 'Thanks'**
Make it easier for other people to find solutions by marking a Reply 'Accept as Solution' if it solves your problem. -
I forgot my security question you can not buy please help thank you
I forgot my security question you can not buy please help thank you
The Three Best Alternatives for Security Questions and Rescue Mail
1. Send Apple an email request at: Apple - Support - iTunes Store - Contact Us.
2. Call Apple Support in your country: Customer Service: Contact Apple support.
3. Rescue email address and how to reset Apple ID security questions.
A substitute for using the security questions is to use 2-step verification:
Two-step verification FAQ Get answers to frequently asked questions about two-step verification for Apple ID. -
Please can anyone help me how to upgrade or update my mac notebook my versionis 10.5.8 I have tried several updates and or upgrade and have not been able to . Is there any new OS X availabel for my version. Please Help Thank you
Click here, install the DVD, run Software Update, open the Mac App Store, and try purchasing Mountain Lion. If you get told it's incompatible, phone the online Apple Store and order a download code for Lion.
(89308) -
I have set up several EVENTs for my photos in iPhoto. Now when I click on an Event, I want to arrange the pictures within this event , when I click on the picture I want to move, it does not move, it stays in place. ( yellow fram around the picture does appear ) I clicked on the VIEW tab, selected " sort EVENTS" than I slide over to manually and the word appears in grey rather than black . Therefore I am unable to move the picture to the place I want it to be within that same event. Please be kind and Help, thank you, manfred from jupiter
Hello Old Toad,
thank you for your reply, very much appreciated.
I am sending you the same anwer I sent out to LarryHN, since it covers the ame topic.....
My version of iPhoto is : " iPhoto 08 " , version 7.1.5 ( 378 )
I set up an " Album " as you suggested and this procedure works, I am able in this new Album to change the pictures around as I want it to be.
However in checking back at the same " Event" Album / Gallery the pictures still remain the old way and do not show the changes I made in the new Album version.
I guess that's the way it will be. Take it or leave it..... or do you have another suggestion ???? Thank you for looking into my problem. Please let me know. Thank you again manfred from jupiter -
hi there.candy crush not loading on my mac.been playing with it via facebook.flash player is updated.please help thank you
Have you tried uninstalling . rebooting the computer and then reinstalling?
Maybe you are looking for
-
Moving objects and other shapes or groups of shapes in Illustrator to exact placement!
HI, I am trying to move objects with the mouse to an exact place(grouped objects) within my document, how do i go about doing this? I have snap to point turned off, but everytime i try to click and drag to either overlap and object onto another, so i
-
Macbook Air Lion OX S 10.7.5 Need to reset second Admin Password
I have three user accounts on my Macbook Air 11-inch (late 2011 model). Two are designated "Admin" in the "Users and Groups" I changed one user account password, thought I saved the password hint via email to myself and now find I cannot log in eithe
-
This is a most frustrating situation. Constantly getting the "not responding" message and any further click of the mouse, and adobe reader goes pale and I have to "end process." What's the deal? This use to be a very reliable program. Now, it's n
-
Package, unit and time dimensions
Hi. I understand that a star schema can have max of 16 dimensions out of which 13 can be defined. what are other three package, unit and time dimensions?are they used in all cubes? are they defined by SAP system itself? please help rajesh
-
APO Sequencing - preventing Takt Scheduling from moving firmed orders?
In the Sequencing transaction (/SAPAPO/SEQ1), selecting the takt scheduling pushbutton will move all planned orders up to the earliest available capacity. I would like to override the standard system logic, and prevent the system from moving any FIR