Re: Users - Help - Forum Article Respond

Posted by cjhowe on
URL: http://ofbiz.116.s1.nabble.com/Users-Help-Forum-Article-Respond-tp138407p138410.html

Phani,

this appears to be a bug from the transition from
jpublish to screens.  page was a map for all of the
context fields from jpublish. these are now defined in
the screen as fields from the context.

I believe changing all of the page.getProperty to
context.get should do the trick.  I don't have an
environment available to test this though.



=========G Venkata Phanindra wrote:
Hi.....
 I am facing problem with the forums section in ofbiz
......
 Now i am looking at the problem with the
currentvalprep.bsh file ......
 I could not get the functionality of the following
lines of code
 
 entityName = page.getProperty("entityName");
 currentEntityPropertyName =
page.getProperty("currentEntityPropertyName");
 if (currentEntityPropertyName == null) {
     currentEntityName = entityName;
 } else {
     currentEntityName =
page.getProperty(currentEntityPropertyName);
 }
 
 Where is the Variable Page is defined it is pointing
to javolution.util.FastMap but where is this defined
........
 I also could not find the method with the APi of
javolution.util.FastMap

(http://javolution.org/api/javolution/util/FastMap.html)
 
 I am looking for more information on the same
 Thanks and Regards
 Phani
 
G Venkata Phanindra <phani_five at yahoo.co.in> wrote:
Hi..
        I tried to use it in java 1.4 but still i am
gettting same error /Exception........
 Please help me out to solve this
 
 org.ofbiz.base.util.GeneralException: Error running
BSH script at location
[component://ecommerce/webapp/ecommerce/WEB-INF/actions/forum/currentvalprep.bsh]:
org.ofbiz.base.util.GeneralException: Error running
BSH script at
[component://ecommerce/webapp/ecommerce/WEB-INF/actions/forum/currentvalprep.bsh],
line [54]: Sourced file:
component://ecommerce/webapp/ecommerce/WEB-INF/actions/forum/currentvalprep.bsh
: Error in method invocation: Method getProperty(
java.lang.String ) not found in
class'javolution.util.FastMap' : at Line: 54 : in
file:
component://ecommerce/webapp/ecommerce/WEB-INF/actions/forum/currentvalprep.bsh
: page .getProperty ( "entityName" )
(Sourced file:
component://ecommerce/webapp/ecommerce/WEB-INF/actions/forum/currentvalprep.bsh
: Error in method invocation: Method getProperty(
java.lang.String ) not found in
class'javolution.util.FastMap') (Error running BSH
script at
[component://ecommerce/webapp/ecommerce/WEB-INF/actions/forum/currentvalprep.bsh],
line [54]: Sourced file:
component://ecommerce/webapp/ecommerce/WEB-INF/actions/forum/currentvalprep.bsh
: Error in method invocation: Method getProperty(
java.lang.String ) not found in
class'javolution.util.FastMap' : at Line: 54 : in
file:
component://ecommerce/webapp/ecommerce/WEB-INF/actions/forum/currentvalprep.bsh
: page .getProperty ( "entityName" )
(Sourced file:
component://ecommerce/webapp/ecommerce/WEB-INF/actions/forum/currentvalprep.bsh
: Error in method invocation: Method getProperty(
java.lang.String ) not found in
class'javolution.util.FastMap')) (Error running BSH
script at location
[component://ecommerce/webapp/ecommerce/WEB-INF/actions/forum/currentvalprep.bsh]:
org.ofbiz.base.util.GeneralException: Error running
BSH script at
[component://ecommerce/webapp/ecommerce/WEB-INF/actions/forum/currentvalprep.bsh],
line [54]: Sourced file:
component://ecommerce/webapp/ecommerce/WEB-INF/actions/forum/currentvalprep.bsh
: Error in method invocation: Method getProperty(
java.lang.String ) not found in
class'javolution.util.FastMap' : at Line: 54 : in
file:
component://ecommerce/webapp/ecommerce/WEB-INF/actions/forum/currentvalprep.bsh
: page .getProperty ( "entityName" )
(Sourced file:
component://ecommerce/webapp/ecommerce/WEB-INF/actions/forum/currentvalprep.bsh
: Error in method invocation: Method getProperty(
java.lang.String ) not found in
class'javolution.util.FastMap') (Error running BSH
script at
[component://ecommerce/webapp/ecommerce/WEB-INF/actions/forum/currentvalprep.bsh],
line [54]: Sourced file:
component://ecommerce/webapp/ecommerce/WEB-INF/actions/forum/currentvalprep.bsh
: Error in method invocation: Method getProperty(
java.lang.String ) not found in
class'javolution.util.FastMap' : at Line: 54 : in
file:
component://ecommerce/webapp/ecommerce/WEB-INF/actions/forum/currentvalprep.bsh
: page .getProperty ( "entityName" )
(Sourced file:
component://ecommerce/webapp/ecommerce/WEB-INF/actions/forum/currentvalprep.bsh
: Error in method invocation: Method getProperty(
java.lang.String ) not found in
class'javolution.util.FastMap')))
 
 Regards
 Phani
 
Jacques Le Roux <jacques.le.roux at les7arts.com>
wrote:       First  thing : don't use Java 1.5 but
1.4.
 
 Jacques
    ----- Original Message -----
   From:    G Venkata    Phanindra
   To: ofbiz
   Sent: Friday, April 07, 2006 9:59  AM
   Subject: [OFBiz] Users - Help - Forum    Article
Respond
   

Hi    ........
            I am getting the following Error  when i
am trying to respond/Update  the article ......in my
Ecommerce store  ........
I am using Java 1.5/5.0..........
Can i have reasons for this    Error
 
org.ofbiz.base.util.GeneralException: Error running
BSH script at location
[component://ecommerce/webapp/ecommerce/WEB-INF/actions/forum/currentvalprep.bsh]:
org.ofbiz.base.util.GeneralException: Error running
BSH script at
[component://ecommerce/webapp/ecommerce/WEB-INF/actions/forum/currentvalprep.bsh],
line [54]: Sourced file:
component://ecommerce/webapp/ecommerce/WEB-INF/actions/forum/currentvalprep.bsh
: Error in method invocation: Method getProperty(
java.lang.String ) not found in
class'javolution.util.FastMap' : at Line: 54 : in
file:
component://ecommerce/webapp/ecommerce/WEB-INF/actions/forum/currentvalprep.bsh
: page .getProperty ( "entityName" )
(Sourced file:
component://ecommerce/webapp/ecommerce/WEB-INF/actions/forum/currentvalprep.bsh
: Error in method invocation: Method getProperty(
java.lang.String ) not found in
class'javolution.util.FastMap') (Error running BSH
script at
[component://ecommerce/webapp/ecommerce/WEB-INF/actions/forum/currentvalprep.bsh],
line [54]: Sourced file:
component://ecommerce/webapp/ecommerce/WEB-INF/actions/forum/currentvalprep.bsh
: Error in method invocation: Method getProperty(
java.lang.String ) not found in
class'javolution.util.FastMap' : at Line: 54 : in
file:
component://ecommerce/webapp/ecommerce/WEB-INF/actions/forum/currentvalprep.bsh
: page .getProperty ( "entityName" )
(Sourced file:
component://ecommerce/webapp/ecommerce/WEB-INF/actions/forum/currentvalprep.bsh
: Error in method invocation: Method getProperty(
java.lang.String ) not found in
class'javolution.util.FastMap')) (Error running BSH
script at location
[component://ecommerce/webapp/ecommerce/WEB-INF/actions/forum/currentvalprep.bsh]:
org.ofbiz.base.util.GeneralException: Error running
BSH script at
[component://ecommerce/webapp/ecommerce/WEB-INF/actions/forum/currentvalprep.bsh],
line [54]: Sourced file:
component://ecommerce/webapp/ecommerce/WEB-INF/actions/forum/currentvalprep.bsh
: Error in method invocation: Method getProperty(
java.lang.String ) not found in
class'javolution.util.FastMap' : at Line: 54 : in
file:
component://ecommerce/webapp/ecommerce/WEB-INF/actions/forum/currentvalprep.bsh
: page .getProperty ( "entityName" )
(Sourced file:
component://ecommerce/webapp/ecommerce/WEB-INF/actions/forum/currentvalprep.bsh
: Error in method invocation: Method getProperty(
java.lang.String ) not found in
class'javolution.util.FastMap') (Error running BSH
script at
[component://ecommerce/webapp/ecommerce/WEB-INF/actions/forum/currentvalprep.bsh],
line [54]: Sourced file:
component://ecommerce/webapp/ecommerce/WEB-INF/actions/forum/currentvalprep.bsh
: Error in method invocation: Method getProperty(
java.lang.String ) not found in
class'javolution.util.FastMap' : at Line: 54 : in
file:
component://ecommerce/webapp/ecommerce/WEB-INF/actions/forum/currentvalprep.bsh
: page .getProperty ( "entityName" )
(Sourced file:
component://ecommerce/webapp/ecommerce/WEB-INF/actions/forum/currentvalprep.bsh
: Error in method invocation: Method getProperty(
java.lang.String ) not found in
class'javolution.util.FastMap')))
Regards
G Venkata    Phanindra.


     

---------------------------------
   Jiyo cricket on Yahoo!    India cricket
Yahoo!    Messenger Mobile Stay in touch with your
buddies all the time.      

---------------------------------
   

_______________________________________________
Users mailing     list
Users at lists.ofbiz.org
http://lists.ofbiz.org/mailman/listinfo/users
_______________________________________________
Users mailing list
Users at lists.ofbiz.org
http://lists.ofbiz.org/mailman/listinfo/users


With Regards,
 
 G Venkata Phanindra.
 Mobile :9849852989.
         

---------------------------------
  Jiyo cricket on Yahoo! India cricket
 Yahoo! Messenger Mobile Stay in touch with your
buddies all the time.
_______________________________________________
Users mailing list
Users at lists.ofbiz.org
http://lists.ofbiz.org/mailman/listinfo/users


With Regards,
 
 G Venkata Phanindra.
 Mobile :9849852989.
 
                               
---------------------------------
 Jiyo cricket on Yahoo! India cricket
Yahoo! Messenger Mobile Stay in touch with your
buddies all the time.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ofbiz.org/pipermail/users/attachments/20060410/28be4711/attachment.htm
 
_______________________________________________
Users mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/users