Users - Help - Forum Article Respond

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
9 messages Options
Reply | Threaded
Open this post in threaded view
|

Users - Help - Forum Article Respond

G Venkata Phanindra
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
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: Users - Help - Forum Article Respond

Jacques Le Roux
Administrator
First thing : don't use Java 1.5 but 1.4.
 
Jacques
----- Original Message -----
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
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/users

 
_______________________________________________
Users mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: Users - Help - Forum Article Respond

G Venkata Phanindra
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 <[hidden email]> wrote:
First thing : don't use Java 1.5 but 1.4.
 
Jacques
----- Original Message -----
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
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/users

_______________________________________________
Users mailing list
[hidden email]
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
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: Users - Help - Forum Article Respond

G Venkata Phanindra
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 <[hidden email]> 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 <[hidden email]> wrote:
First thing : don't use Java 1.5 but 1.4.
 
Jacques
----- Original Message -----
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
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/users

_______________________________________________
Users mailing list
[hidden email]
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
[hidden email]
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
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: Users - Help - Forum Article Respond

cjhowe
In reply to this post by G Venkata Phanindra
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
Reply | Threaded
Open this post in threaded view
|

Re: Users - Help - Forum Article Respond

Jacopo Cappellato
I think Chris is right: however I had a quick look at the BeanShell
scripts in the forum folder and it seems that a lot of them still need
to be patched to work in screens...

Jacopo


Chris Howe wrote:

> 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.
>

 
_______________________________________________
Users mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: Users - Help - Forum Article Respond

G Venkata Phanindra
In reply to this post by cjhowe
Hi All .....
         Thanks for your valuble reply i also want the following information from you to get the solutions for pronlem with the forums section
along with page.getProperty we also have page.getPageName which is throwing exception to me as follows
i tried to use the same logic by replacing page.getPageName  with context.getPageName but i am not sucessful........can any one give me more information to fix them

org.ofbiz.base.util.GeneralException: Error rendering screen [editforumarticle]: org.ofbiz.base.util.GeneralException: Error running BSH script at location [component://ecommerce/webapp/ecommerce/WEB-INF/actions/forum/permprep.bsh]: org.ofbiz.base.util.GeneralException: Error running BSH script at [component://ecommerce/webapp/ecommerce/WEB-INF/actions/forum/permprep.bsh], line [168]: Sourced file: component://ecommerce/webapp/ecommerce/WEB-INF/actions/forum/permprep.bsh : Typed variable declaration : Error in method invocation: No args method getPageName() not found in class'org.ofbiz.base.util.collections.MapStack' : at Line: 168 : in file: component://ecommerce/webapp/ecommerce/WEB-INF/actions/forum/permprep.bsh : context .getPageName ( )
(Sourced file: component://ecommerce/webapp/ecommerce/WEB-INF/actions/forum/permprep.bsh : Typed variable declaration : Error in method invocation: No args method getPageName() not found in class'org.ofbiz.base.util.collections.MapStack') (Error running BSH script at [component://ecommerce/webapp/ecommerce/WEB-INF/actions/forum/permprep.bsh], line [168]: Sourced file: component://ecommerce/webapp/ecommerce/WEB-INF/actions/forum/permprep.bsh : Typed variable declaration : Error in method invocation: No args method getPageName() not found in class'org.ofbiz.base.util.collections.MapStack' : at Line: 168 : in file: component://ecommerce/webapp/ecommerce/WEB-INF/actions/forum/permprep.bsh : context .getPageName ( )
(Sourced file: component://ecommerce/webapp/ecommerce/WEB-INF/actions/forum/permprep.bsh : Typed variable declaration : Error in method invocation: No args method getPageName() not found in class'org.ofbiz.base.util.collections.MapStack')) (Error running BSH script at location [component://ecommerce/webapp/ecommerce/WEB-INF/actions/forum/permprep.bsh]: org.ofbiz.base.util.GeneralException: Error running BSH script at [component://ecommerce/webapp/ecommerce/WEB-INF/actions/forum/permprep.bsh], line [168]: Sourced file: component://ecommerce/webapp/ecommerce/WEB-INF/actions/forum/permprep.bsh : Typed variable declaration : Error in method invocation: No args method getPageName() not found in class'org.ofbiz.base.util.collections.MapStack' : at Line: 168 : in file: component://ecommerce/webapp/ecommerce/WEB-INF/actions/forum/permprep.bsh : context .getPageName ( )
(Sourced file: component://ecommerce/webapp/ecommerce/WEB-INF/actions/forum/permprep.bsh : Typed variable declaration : Error in method invocation: No args method getPageName() not found in class'org.ofbiz.base.util.collections.MapStack') (Error running BSH script at [component://ecommerce/webapp/ecommerce/WEB-INF/actions/forum/permprep.bsh], line [168]: Sourced file: component://ecommerce/webapp/ecommerce/WEB-INF/actions/forum/permprep.bsh : Typed variable declaration : Error in method invocation: No args method getPageName() not found in class'org.ofbiz.base.util.collections.MapStack' : at Line: 168 : in file: component://ecommerce/webapp/ecommerce/WEB-INF/actions/forum/permprep.bsh : context .getPageName ( )
(Sourced file: component://ecommerce/webapp/ecommerce/WEB-INF/actions/forum/permprep.bsh : Typed variable declaration : Error in method invocation: No args method getPageName() not found in class'org.ofbiz.base.util.collections.MapStack')))

Thanks and Regards
Phani







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

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
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: Users - Help - Forum Article Respond

cjhowe
In reply to this post by G Venkata Phanindra
PageName in jpublish was the equivelant of the screen
name.  I'm not sure of what the variable name for the
screen name in the context map is.  However, this use
of the error message in the bsh script that is causing
your error, isn't a good way to describe what the user
doesn't have access to using the screen widgets.

You may wish to simply change:

"Permission to display:" + page.getPageName() + " is
denied.";

to:

"Permission to display this page is denied.";


================Phani wrote:
Hi All .....
          Thanks for your valuble reply i also want
the following information from you to get the
solutions for pronlem with the forums section
 along with page.getProperty we also have
page.getPageName which is throwing exception to me as
follows
 i tried to use the same logic by replacing
page.getPageName  with context.getPageName but i am
not sucessful........can any one give me more
information to fix them
 
 org.ofbiz.base.util.GeneralException: Error rendering
screen [editforumarticle]:
org.ofbiz.base.util.GeneralException: Error running
BSH script at location
[component://ecommerce/webapp/ecommerce/WEB-INF/actions/forum/permprep.bsh]:
org.ofbiz.base.util.GeneralException: Error running
BSH script at
[component://ecommerce/webapp/ecommerce/WEB-INF/actions/forum/permprep.bsh],
line [168]: Sourced file:
component://ecommerce/webapp/ecommerce/WEB-INF/actions/forum/permprep.bsh
: Typed variable declaration : Error in method
invocation: No args method getPageName() not found in
class'org.ofbiz.base.util.collections.MapStack' : at
Line: 168 : in file:
component://ecommerce/webapp/ecommerce/WEB-INF/actions/forum/permprep.bsh
: context .getPageName ( )
 (Sourced file:
component://ecommerce/webapp/ecommerce/WEB-INF/actions/forum/permprep.bsh
: Typed variable declaration : Error in method
invocation: No args method getPageName() not found in
class'org.ofbiz.base.util.collections.MapStack')
(Error running BSH script at
[component://ecommerce/webapp/ecommerce/WEB-INF/actions/forum/permprep.bsh],
line [168]: Sourced file:
component://ecommerce/webapp/ecommerce/WEB-INF/actions/forum/permprep.bsh
: Typed variable declaration : Error in method
invocation: No args method getPageName() not found in
class'org.ofbiz.base.util.collections.MapStack' : at
Line: 168 : in file:
component://ecommerce/webapp/ecommerce/WEB-INF/actions/forum/permprep.bsh
: context .getPageName ( )
 (Sourced file:
component://ecommerce/webapp/ecommerce/WEB-INF/actions/forum/permprep.bsh
: Typed variable declaration : Error in method
invocation: No args method getPageName() not found in
class'org.ofbiz.base.util.collections.MapStack'))
(Error running BSH script at location
[component://ecommerce/webapp/ecommerce/WEB-INF/actions/forum/permprep.bsh]:
org.ofbiz.base.util.GeneralException: Error running
BSH script at
[component://ecommerce/webapp/ecommerce/WEB-INF/actions/forum/permprep.bsh],
line [168]: Sourced file:
component://ecommerce/webapp/ecommerce/WEB-INF/actions/forum/permprep.bsh
: Typed variable declaration : Error in method
invocation: No args method getPageName() not found in
class'org.ofbiz.base.util.collections.MapStack' : at
Line: 168 : in file:
component://ecommerce/webapp/ecommerce/WEB-INF/actions/forum/permprep.bsh
: context .getPageName ( )
 (Sourced file:
component://ecommerce/webapp/ecommerce/WEB-INF/actions/forum/permprep.bsh
: Typed variable declaration : Error in method
invocation: No args method getPageName() not found in
class'org.ofbiz.base.util.collections.MapStack')
(Error running BSH script at
[component://ecommerce/webapp/ecommerce/WEB-INF/actions/forum/permprep.bsh],
line [168]: Sourced file:
component://ecommerce/webapp/ecommerce/WEB-INF/actions/forum/permprep.bsh
: Typed variable declaration : Error in method
invocation: No args method getPageName() not found in
class'org.ofbiz.base.util.collections.MapStack' : at
Line: 168 : in file:
component://ecommerce/webapp/ecommerce/WEB-INF/actions/forum/permprep.bsh
: context .getPageName ( )
 (Sourced file:
component://ecommerce/webapp/ecommerce/WEB-INF/actions/forum/permprep.bsh
: Typed variable declaration : Error in method
invocation: No args method getPageName() not found in
class'org.ofbiz.base.util.collections.MapStack')))
 
 Thanks and Regards
  Phani
 
 
 
 
 
 
 
 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

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/9a988069/attachment.htm
 
_______________________________________________
Users mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: Users - Help - Forum Article Respond

G Venkata Phanindra
Hi .....
Thanks for your reply and i am sorry but its not working for me as there are in some place we are having the following lines of code
singleWrapper.putInContext("pageName", page.getPageName());
and at these places i tried to comment them out but i am not sucessfull can i have info on this please
Regards
Phani


Chris Howe <[hidden email]> wrote:
PageName in jpublish was the equivelant of the screen
name. I'm not sure of what the variable name for the
screen name in the context map is. However, this use
of the error message in the bsh script that is causing
your error, isn't a good way to describe what the user
doesn't have access to using the screen widgets.

You may wish to simply change:

"Permission to display:" + page.getPageName() + " is
denied.";

to:

"Permission to display this page is denied.";


================Phani wrote:
Hi All .....
Thanks for your valuble reply i also want
the following information from you to get the
solutions for pronlem with the forums section
along with page.getProperty we also have
page.getPageName which is throwing exception to me as
follows
i tried to use the same logic by replacing
page.getPageName with context.getPageName but i am
not sucessful........can any one give me more
information to fix them

org.ofbiz.base.util.GeneralException: Error rendering
screen [editforumarticle]:
org.ofbiz.base.util.GeneralException: Error running
BSH script at location
[component://ecommerce/webapp/ecommerce/WEB-INF/actions/forum/permprep.bsh]:
org.ofbiz.base.util.GeneralException: Error running
BSH script at
[component://ecommerce/webapp/ecommerce/WEB-INF/actions/forum/permprep.bsh],
line [168]: Sourced file:
component://ecommerce/webapp/ecommerce/WEB-INF/actions/forum/permprep.bsh
: Typed variable declaration : Error in method
invocation: No args method getPageName() not found in
class'org.ofbiz.base.util.collections.MapStack' : at
Line: 168 : in file:
component://ecommerce/webapp/ecommerce/WEB-INF/actions/forum/permprep.bsh
: context .getPageName ( )
(Sourced file:
component://ecommerce/webapp/ecommerce/WEB-INF/actions/forum/permprep.bsh
: Typed variable declaration : Error in method
invocation: No args method getPageName() not found in
class'org.ofbiz.base.util.collections.MapStack')
(Error running BSH script at
[component://ecommerce/webapp/ecommerce/WEB-INF/actions/forum/permprep.bsh],
line [168]: Sourced file:
component://ecommerce/webapp/ecommerce/WEB-INF/actions/forum/permprep.bsh
: Typed variable declaration : Error in method
invocation: No args method getPageName() not found in
class'org.ofbiz.base.util.collections.MapStack' : at
Line: 168 : in file:
component://ecommerce/webapp/ecommerce/WEB-INF/actions/forum/permprep.bsh
: context .getPageName ( )
(Sourced file:
component://ecommerce/webapp/ecommerce/WEB-INF/actions/forum/permprep.bsh
: Typed variable declaration : Error in method
invocation: No args method getPageName() not found in
class'org.ofbiz.base.util.collections.MapStack'))
(Error running BSH script at location
[component://ecommerce/webapp/ecommerce/WEB-INF/actions/forum/permprep.bsh]:
org.ofbiz.base.util.GeneralException: Error running
BSH script at
[component://ecommerce/webapp/ecommerce/WEB-INF/actions/forum/permprep.bsh],
line [168]: Sourced file:
component://ecommerce/webapp/ecommerce/WEB-INF/actions/forum/permprep.bsh
: Typed variable declaration : Error in method
invocation: No args method getPageName() not found in
class'org.ofbiz.base.util.collections.MapStack' : at
Line: 168 : in file:
component://ecommerce/webapp/ecommerce/WEB-INF/actions/forum/permprep.bsh
: context .getPageName ( )
(Sourced file:
component://ecommerce/webapp/ecommerce/WEB-INF/actions/forum/permprep.bsh
: Typed variable declaration : Error in method
invocation: No args method getPageName() not found in
class'org.ofbiz.base.util.collections.MapStack')
(Error running BSH script at
[component://ecommerce/webapp/ecommerce/WEB-INF/actions/forum/permprep.bsh],
line [168]: Sourced file:
component://ecommerce/webapp/ecommerce/WEB-INF/actions/forum/permprep.bsh
: Typed variable declaration : Error in method
invocation: No args method getPageName() not found in
class'org.ofbiz.base.util.collections.MapStack' : at
Line: 168 : in file:
component://ecommerce/webapp/ecommerce/WEB-INF/actions/forum/permprep.bsh
: context .getPageName ( )
(Sourced file:
component://ecommerce/webapp/ecommerce/WEB-INF/actions/forum/permprep.bsh
: Typed variable declaration : Error in method
invocation: No args method getPageName() not found in
class'org.ofbiz.base.util.collections.MapStack')))

Thanks and Regards
Phani







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

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/9a988069/attachment.htm

_______________________________________________
Users mailing list
[hidden email]
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
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/users