Eclipse HTML标记报错
2014-03-05 16:00
267 查看
Eclipse Attribute value (No) uses wrong case character.
转载 http://www-01.ibm.com/support/docview.wss?uid=swg21497873
How do I resolve problems when importing the MWPJSR168Sample portlet and Mobile Change of Address Sample portlet from the samples gallery into MPTK?
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
转载 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 Solutionfor 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
相关文章推荐
- java 简单的list、排序的例子
- 2013年华为校园招聘上机题(java)
- JAVA学习第三天笔记
- Java中的final关键字
- eclipse插件
- 重温之Struts与Ajax结合向前台传送json数据实现ztree(一次性加载ztree)
- java.sql.SQLException: ORA-00907: 缺失右括号
- 第五章、SpringMVC学习-处理器拦截器详解
- Struts2 之拦截器interceptor(1)
- 使用HbernateTemplate技术
- JAVA实现把指定文件夹下的所有文件压缩成zip包
- Thinking in Java 内部类
- 02-02.JAVA语言基础
- spring mvc 接收页面表单List
- 第四章、SpringMVC学习-Controller接口控制器详解(7)
- Flex4+BlazeDS+JAVA+MySql 构建J2EE工程 对用户信息进行管理实例
- Spring MVC实现上传文件报错解决方案
- Spring MVC实现上传文件报错解决方案
- Spring、Hibernate 解耦方法与设计模式(2)
- java 用printf显示文本