How to synchronize combos ...

2002-10-04 Thread Antonio Gallardo Rivera
Hi!. I continue with this :) One of the problems is already solved. I have a table called "clientsproducts" with 3 keys: cli_id(Client) cat_id (Category) pro_id (Product) In this example, the pro_id and cat_id are a complex key from the table "products", because every product has a

Re: How to synchronize combos...

2002-10-03 Thread Antonio Gallardo Rivera
Thanks Ugo! I know I have a really big problem, I am newbie in Java, XML, XSL and Cocoon at the same time: 1-XML dont make me problem because is very easy. 2-Cocoon I think is very logical, but have some dark sides to me (I think). 3-For Java I need to have the API Docs in a browser to write so

Re: How to synchronize combos...

2002-10-03 Thread Ugo Cei
Antonio Gallardo Rivera wrote: >if (i > 0) >{ > a.concat("WHERE cat_id="); > a.concat(Integer.toString(i)); >} Strings in Java are immutable! The concat(String) method returns a *NEW* String [1]. a = a.concat("WHERE cat_id="); a = a.concat(Integer.toStri

How to synchronize combos...

2002-10-03 Thread Antonio Gallardo Rivera
Hi! I have a table called "clientsproducts" with 3 keys: cli_id Client pro_id (Product) cat_id (Category) In this example, the pro_id and cat_id are a complex key from the table "products", because every product has a category. And one category can have many products. When I need