Eclipse Attribute value (No) uses wrong case character.
转载 http://www-01.ibm.com/support/docview.wss?uid=swg21497873
Question
How do I resolve problems when importing the MWPJSR168Sample portlet and Mobile Change of Address Sample portlet from the samples gallery into MPTK?
Answer
Issue and Solution for the issue when Importing The MWPJSR168Sample portlet from the samples gallery into MPTK.
a) While importing the MWPJSR168Sample portlet from the samples gallery into MPTK,you see a couple of errors such as these listed below in the screenshot(screenshot1).As a result of these, you can't run this portlet on the server.
Note : This only happens when you import this portlet from the samples gallery and try to run it. If you have taken this portlet from the <wp_root>/wp.mobile/wp.mobile.mwp/installableApps and deploy it on the Server using the Portal Administration GUI it works perfectly fine :
These are the errors you will see in the RAD environment :
1) isValid() == false
2) Attribute value (POST) uses wrong case character.
screenshot1
Solution for Problem 1 : isValid()==false)
1) Check the RAD80/RSA80 menu options.
2) Select the Window-->Preferences option. Expand Web > JSP Files > Validation.
3). In the Errors/Warnings group, expand Custom actions and change the combo box to the right of "TagExtraInfo validation message" . In the screenshot(screenshot2) below : by default it is set to Error.
4) Change this value in the drop down combo list to either Ignore or Warning.
screenshot2
5) Click Apply and OK. You should see a message(screenshot3) like this below :Click on the Yes button.
screenshot3
6) If you look at the screenshot (screenshot4) below, you see that the first error is gone after applying the changes.
screenshot4
Solution for Problem 2 : Attribute value (POST) uses wrong case character.)
1) Check the RAD80/RSA80 menu options.
2) Go to Windows-->Preferences option. Expand the Web > HTML Files > Validation | Attributes options as seen in the screenshot below.
screenshot5
3) In the Attributes section, change the combo box to the right of "Attribute value using wrong case character" . In the screenshot above(screenshot5) : by default it is set to Error.
4) Change this value in the drop down combo list to either Ignore or Warning.
5) Click Apply and OK. You should see a message(screenshot6) like this below :Click on the Yes button.
screenshot6
6) If you look at the screenshot below(screenshot7) ,you see that the second error is gone after applying the changes.
screenshot7
Once these errors are gone, you can run the portlet on the server.
Issue and Solution for the issue when Importing The Mobile Change of Address Sample portlet from the samples gallery into MPTK.
b) While importing the Mobile Change of Address Sample portlet from the samples gallery into MPTK, you see a couple of errors such as these listed below in the screenshot(screenshot8).As a result of these, you can't run these portlets on the server.
Note : This only happens when you import this portlet from the samples gallery and try to run it. If you have taken this portlet from the <wp_root>/wp.mobile/wp.mobile.mwp/installableApps and deploy it on the Server using the Portal Administration GUI it works perfectly fine :
screenshot8
The solution for this is to follow the same steps as mentioned above in ; Solution for Problem 2 : Attribute value (POST) uses wrong case character.)
After applying the same steps as mentioned above, we see that the errors are removed as displayed in the screenshot below(screenshot9)
screenshot9