XSS exploit countermeasure? Filtering user input

2008-03-28 Thread Peter Felts
I'm creating my own application using java services. What is the best way to filter out user input to avoid XSS and buffer-overruns (do you even need to worry about buffer-overruns in Java?), etc? For example, if the user inputs the string: alert('XSS vulnerability test'); In a form, what is t

Best way to find the active user's paraty id?

2008-03-26 Thread Peter Felts
Could someone please tell me where I can find an example or a class to look at that will let me get the active user's party ID? I've got an entity in which I want to store the party ID of the user that creates an instance of said entity. For example, if user 1234 creates an entity, the field Par

Re: Run Opentaps source code in Eclipse

2008-03-25 Thread Peter Felts
Please provide more detailed information such as the exact error message you're receiving, what trigger the error, etc. - Original Message From: ladroge <[EMAIL PROTECTED]> To: user@ofbiz.apache.org Sent: Tuesday, March 25, 2008 8:13:25 AM Subject: Run Opentaps source code in Eclips

Re: order-by DESC in entity operation in screen?

2008-03-20 Thread Peter Felts
C in entity operation in screen? Jacopo Cappellato wrote: > Peter Felts wrote: >> Is the minus operator an OFBiz thing or an XML thing? > > An OFBiz thing. > "-" is converted by the OFBiz framework in the SQL equivalent clause "DESC" > Jacopo > >>

Re: order-by DESC in entity operation in screen?

2008-03-20 Thread Peter Felts
Is the minus operator an OFBiz thing or an XML thing? - Original Message From: Peter Felts <[EMAIL PROTECTED]> To: user@ofbiz.apache.org Sent: Thursday, March 20, 2008 5:37:01 PM Subject: Re: order-by DESC in entity operation in screen? That's it. Thank you. ---

Re: order-by DESC in entity operation in screen?

2008-03-20 Thread Peter Felts
That's it. Thank you. - Original Message From: Jacopo Cappellato <[EMAIL PROTECTED]> To: user@ofbiz.apache.org Sent: Thursday, March 20, 2008 5:03:39 PM Subject: Re: order-by DESC in entity operation in screen? Hi Peter, you can easily do this: Jacopo Peter Felts

order-by DESC in entity operation in screen?

2008-03-20 Thread Peter Felts
Hi, does anyone know how to do an order-by DESC in an entity-and operation in a screen? I've got a view-entity which is pulling up orders and I want to view them to the user in descending order, but the order-by node only seems to result in and order-by ASC operation. Please help.

Re: uiLabelMap access from a service?

2008-03-20 Thread Peter Felts
* There is another tag ** which can be used to access any property from a property file in our service. If you want all the properties from a property file in a Map, than you can use ** tag to call the static method that I suggested in first point above. On Wed, Mar 19, 2008 at 9:53 PM,

uiLabelMap access from a service?

2008-03-19 Thread Peter Felts
Does anyone know if there is a way to access a uiLabelMap (the list of local text strings, etc. associated with a language in an application /Module/config/.properties) from within a service that only has access to the DispatchContext and the Map objects? What I am trying to do is return error

ViewEntity across multiple databases?

2008-03-18 Thread Peter Felts
Hi does anyone know how I can create a join across multiple databases? I've got my OfBiz database (MySQL) and an external database (Oracle) which I am using in an OFBiz application I'm working on. What I need to do now is create a join across tables in both databases but a view entity will not a

Re: Oracle integration/Import best practices

2008-03-14 Thread Peter Felts
Now that I have connected to my legacy database, I wonder if there is a way to tell OFBiz that it can only read from this database, and that all entities related to this schema are read-only... Also, can anyone explain what the following two entities do? SequenceValueItem EntityKeyStore

Re: Oracle integration/Import best practices

2008-03-14 Thread Peter Felts
ld views in OFBiz that won't affect the structure of your Oracle database. -Adrian Peter Felts wrote: > I have actually been having very good luck so far with what Adrian Crum > suggested earlier today in this thread.I created another group-map for my > legacy Oracle database wh

Re: Oracle integration/Import best practices

2008-03-13 Thread Peter Felts
t's not really an advice just my opinion, my 2 cents if you like. Jacques From: "Peter Felts" <[EMAIL PROTECTED]> > OfBiz community: > > I want to ask you all a best-practices question: putting aside my > knowledge limitations of O

Re: Help: External (non OfBiz) Oracle integration/Import best practices?

2008-03-13 Thread Peter Felts
base, then added the external database to entityengine.xml. A Google search should provide additional details. One detail that must be mentioned though - put no-auto-stamp="true" in the external table entity definitions. -Adrian Peter Felts wrote: > OfBiz community: > > I w

Re: Help: External (non OfBiz) Oracle integration/Import best practices?

2008-03-13 Thread Peter Felts
e external table entity definitions. -Adrian Peter Felts wrote: > OfBiz community: > > I want to ask you all a best-practices question: putting aside my knowledge > limitations of OfBiz and Oracle, what would be the best way to integrate my > OfBiz applications with a separat

Help: External (non OfBiz) Oracle integration/Import best practices?

2008-03-13 Thread Peter Felts
OfBiz community: I want to ask you all a best-practices question: putting aside my knowledge limitations of OfBiz and Oracle, what would be the best way to integrate my OfBiz applications with a separate Oracle data warehouse? Let me provide a little background: I am developing my own OfBiz app

Oracle integration/Import best practices

2008-03-11 Thread Peter Felts
OfBiz community: I want to ask you all a best-practices question: putting aside my knowledge limitations of OfBiz and Oracle, what would be the best way to integrate my OfBiz applications with a separate Oracle data warehouse? Let me provide a little background: I am developing my own OfBiz app

Re: Another newbie question... I'm full of them

2008-01-27 Thread Peter Felts
same as you and searched all the files for 'detailScreen' and between the references you mention there is the file product.bsh at line 115: context.put("detailScreen", detailScreen); in he same file, you can see how the variable detailScreen is created Regards, Hans On S

Another newbie question... I'm full of them

2008-01-27 Thread Peter Felts
Hi, everyone on this list has been very helpful with my quest to master ofbiz. Today I'd like to ask for help with something I'm stuck on. I'm trying to make my first ofbiz app after going through the tutorials, reading, etc. I decided to use the ecommerce app as a source to get design ideas fo

Re: Help with concepts...

2008-01-24 Thread Peter Felts
tities for you. after dressing them up a bit put your entities you you application. you can then use services to keep the two in sync thru secas BTW this is not an official ofbiz stance but just my opinion. Peter Felts sent the following on 1/24/2008 5:14 PM: > I'm learning OfBiz and I'm at

Help with concepts...

2008-01-24 Thread Peter Felts
I'm learning OfBiz and I'm at the point where I've gone through the basic tutorials provided by opensourcestrategies.com, but now I've got some conceptual questions that I'm hoping the ofBiz community could help me with. Any insight into these topics would be greatly appreciated! Thanks. 1) I a

Re: java.sql.SQLException from Minerva - MySQL 5.0 on Vista

2008-01-08 Thread Peter Felts
this does not look like an error from ofbiz. if so could you provide more of the ofbiz log. I believe though that you should check with the Mysql group to see if they have had any vista issues. Peter Felts sent the following on 1/8/2008 8:52 AM: > I'm trying to run OpenTaps on OfBiz

java.sql.SQLException from Minerva - MySQL 5.0 on Vista

2008-01-08 Thread Peter Felts
I'm trying to run OpenTaps on OfBiz in Windows Vista using MySQL. Now for the obligatory specs: MySQL 5.0.45-community-nt via TCP/IP Windows Vista Ultimate Java 1.5.0_14_b03 Plenty of RAM/HD space OpenTaps is installed in my inetpub directory. Whenever I try to launch opentaps through the star