Re: How do I use non-string values in logic:equal ... ?

2001-10-27 Thread martin . cooper

Yes, you need to convert it to a String, because the 'value' attribute of
the tag is a String property.

--
Martin Cooper


- Original Message -
From: Eric Boudreau [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, October 26, 2001 1:31 PM
Subject: How do I use non-string values in logic:equal ... ?


 Do I have to convert the value to a string first? Is there a cleaner way
to
 handle this situation?
 The result of my attempt is shown below:


C:\weblogic\config\mydomain\applications\.wlnotdelete\WEB-INF\_tmp_war_myser
 ver_myserver_contentweb\jsp_servlet\__tasks.java:326: cannot resolve
symbol
 probably occurred due to an error in /tasks.jsp line 149:
 logic:equal name=task property=priority
 value=%=WorkItem.PRIORITY_HIGH%


C:\weblogic\config\mydomain\applications\.wlnotdelete\WEB-INF\_tmp_war_myser
 ver_myserver_contentweb\jsp_servlet\__tasks.java uses or overrides a
 deprecated API.

 Full compiler error(s):

C:\weblogic\config\mydomain\applications\.wlnotdelete\WEB-INF\_tmp_war_myser
 ver_myserver_contentweb\jsp_servlet\__tasks.java:326: cannot resolve
symbol
 symbol  : method setValue  (int)
 location: class org.apache.struts.taglib.logic.EqualTag

_logic_equal1.setValue(WorkItem.PRIORITY_HIGH);
 //[ /tasks.jsp; Line: 149]
  ^
 Note:

C:\weblogic\config\mydomain\applications\.wlnotdelete\WEB-INF\_tmp_war_myser
 ver_myserver_contentweb\jsp_servlet\__tasks.java uses or overrides a
 deprecated API.
 Note: Recompile with -deprecation for details.
 1 error


 Thanks.
 -Eric



--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




How do I use non-string values in logic:equal ... ?

2001-10-26 Thread Eric Boudreau

Do I have to convert the value to a string first? Is there a cleaner way to
handle this situation?
The result of my attempt is shown below:

C:\weblogic\config\mydomain\applications\.wlnotdelete\WEB-INF\_tmp_war_myser
ver_myserver_contentweb\jsp_servlet\__tasks.java:326: cannot resolve symbol
probably occurred due to an error in /tasks.jsp line 149:
logic:equal name=task property=priority
value=%=WorkItem.PRIORITY_HIGH%

C:\weblogic\config\mydomain\applications\.wlnotdelete\WEB-INF\_tmp_war_myser
ver_myserver_contentweb\jsp_servlet\__tasks.java uses or overrides a
deprecated API.

Full compiler error(s):
C:\weblogic\config\mydomain\applications\.wlnotdelete\WEB-INF\_tmp_war_myser
ver_myserver_contentweb\jsp_servlet\__tasks.java:326: cannot resolve symbol
symbol  : method setValue  (int)
location: class org.apache.struts.taglib.logic.EqualTag
_logic_equal1.setValue(WorkItem.PRIORITY_HIGH);
//[ /tasks.jsp; Line: 149]
 ^
Note:
C:\weblogic\config\mydomain\applications\.wlnotdelete\WEB-INF\_tmp_war_myser
ver_myserver_contentweb\jsp_servlet\__tasks.java uses or overrides a
deprecated API.
Note: Recompile with -deprecation for details.
1 error


Thanks.
-Eric