[jboss-user] [Datasource Configuration] - Re: Multiple database configuration

2009-07-23 Thread yoav200
Hi, I didn't really solved the problem, I eventually moved to one data base. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4245200#4245200 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4245200

[jboss-user] [JBoss Seam] - Re: Single EntityManager

2007-07-19 Thread yoav200
thanks, you are right my problem is with the seam conversation management. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4065695#4065695 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4065695

[jboss-user] [JBoss Seam] - conversation management with ajax4jsf

2007-07-19 Thread yoav200
Hello, i have a webbapp with seam,JSF and extensive use in ajax4jsf. i have 2 pages that i want to start conversation when i enter the page and end when i leave the page. naturally i would use the pages.xml BUT... it seam that on every ajax request there is a call to the method annotate with

[jboss-user] [JBoss Seam] - multiple persistence

2007-07-18 Thread yoav200
Hello, i have a webapp build with seam, ejb3 and JSF on jboss. i deploy it as ear archive that contain a war and some jar files. few jars has persistence entities (all on same DB). what i did is put persistence.xml in all jars that has entities, in all persistence i call the same factory. in

[jboss-user] [JBoss Seam] - Single EntityManager

2007-07-18 Thread yoav200
Hello, i have a webapp build with seam,ejb3 and jsf. in the application i have several different action to manipulate the DB. not only from the webclient (browser) but from web services. my broblem is that if a web service changed some thing it doesn't reflect on the web (the DB has chaged). i

[jboss-user] [Datasource Configuration] - Multiple database configuration

2007-07-17 Thread yoav200
Hello, I have developed a webapp with EJB3, JSF and seam. it run on Jboss and i use MYSQL for my database. currently i have 5 different databases with 5 datasources. my question is how can i configure a single datasource for all 5 databases ? is it even possible ? thanks View the original

[jboss-user] [Installation, Configuration DEPLOYMENT] - Multiple database configuration

2007-07-17 Thread yoav200
Hello, I have developed a webapp with EJB3, JSF and seam. it run on Jboss and i use MYSQL for my database. currently i have 5 different databases with 5 datasources. my question is how can i configure a single datasource for all 5 databases ? is it even possible ? thanks View the

[jboss-user] [JBoss Seam] - Ajax problem

2007-02-28 Thread yoav200
Hello, i use ajax4jsf in my seam web application and i have a problem that i do not know if it's related to seam or Ajax4jsf (or maybe both) any way... every time i make an ajax request all of the DataModel methods are executed regardless of the ajax4jsf rerender property. this makes

[jboss-user] [JBoss Seam] - Resourcebundle question

2007-01-25 Thread yoav200
Hello, I try to convert a resource into a selectList and run in few problems. in my components.xml i have: | component name=org.jboss.seam.core.resourceBundle | property name=bundleNames | valuecountries/value | valueairLines/value | /property |

[jboss-user] [JBoss Seam] - resourceBundle not working...

2007-01-22 Thread yoav200
hello in my components.xml i have: | component name=org.jboss.seam.core.resourceBundle | property name=bundleNames | valuecountries/value | valuemessages/value | /property | /component | when i try to get the

[jboss-user] [JBoss Seam] - Test seam

2007-01-18 Thread yoav200
i have an EJB that uses entityManager. the entityManager is injected throw seam. on my application every thing works fine, the persistence.xml define the DS and the entityManager JNDI lookup, the component is created by seam as defined in the components.xml. in my EJB i have this: |

[jboss-user] [JBoss Seam] - resource bundle problem

2007-01-17 Thread yoav200
I'm trying to add a new resource, I?ve add this code to components.xml | component name=org.jboss.seam.core.resourceBundle | property name=bundleNames | valueresources.countries/value | /property | /component | And created a resource loader

[jboss-user] [JBoss Seam] - Re: resource bundle problem

2007-01-17 Thread yoav200
but all the idea is to inject countries and not message. with messages every thing works fine. how can i put more resources? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4002899#4002899 Reply to the post :

[jboss-user] [JBoss Seam] - Conversation problem

2007-01-16 Thread yoav200
Hello, I have a seam application, I want to start a conversation when I enter a page and end it when I leave the page. I want the associate EJB to be destroyed when the conversation ends. I used the @Begin and @End but it looks like my EJB does not destroyed immediately. On a second page I

[jboss-user] [JBoss Seam] - resource-bundle question

2007-01-16 Thread yoav200
In Chapter 8 in the Seam - Contextual Components there is a topic about resource bundle in seam. I followed the examples and did not make it to work... I have a country.properties file, I?ve put it in WEB-INF/classes and add the following to the components.xml | component

[jboss-user] [JBoss Seam] - Re: resource-bundle question

2007-01-16 Thread yoav200
but i want to go over all countries not only one View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4002236#4002236 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4002236 ___ jboss-user

[jboss-user] [JBoss Seam] - Re: resource-bundle question

2007-01-16 Thread yoav200
and another question how can I get a message value dynamically? for instance: String msgValue = 'someValue'; #{messages[ msgValue ] } is possible? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4002237#4002237 Reply to the post :

[jboss-user] [JBoss Seam] - Re: resource-bundle question

2007-01-16 Thread yoav200
OK that work great, i used a bundleLoader that loads the messages but how can i print out useing h:outputText a specific country public void foo(String value) { ... String message = (String) messages.get( value ); ... } and for my first question, how can i load more resourses ? is it

[jboss-user] [JBoss Seam] - Re: Conversation problem

2007-01-16 Thread yoav200
How can i force destraction of a bean? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4002336#4002336 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4002336 ___ jboss-user mailing

[jboss-user] [JBoss Seam] - Re: resource-bundle question

2007-01-16 Thread yoav200
when i wrote 'bundleLoader' i mean a bean that loads the resource bundle and i use resources throw the bean. that way i can sort and do all kind of mnipulation on the data before i show it. i do not use f:loadBundle . What i want to do is this: | t:dataTable id=myTripsTable |

[jboss-user] [JBoss Seam] - Re: Error during model data update

2007-01-16 Thread yoav200
figure out the problem, i was trying to update an object that was out of scope. setting up a conversetion solved the problem. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4002447#4002447 Reply to the post :

[jboss-user] [JBoss Seam] - Re: Error during model data update

2007-01-11 Thread yoav200
but when i look at the page i see values in the input fields, that is my problem. it looks like there are value. can it be related to the object scope ? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4000569#4000569 Reply to the post :

[jboss-user] [JBoss Seam] - Error during model data update

2007-01-10 Thread yoav200
I'm struggling this problem for some time now... Here is my code that generates the problem, I must add that NO exception is thrown, the console is silent... | @Stateful | @Name(tripsManager) | @Interceptors(SeamInterceptor.class) | public class TripsManagerBean implements

[jboss-user] [JBoss Seam] - Re: Improve the message example

2007-01-08 Thread yoav200
I'll be more specific, can i preformadd, update action directly on my @DataModelSelection object ? can I have something like this ? | public void editTrip() | { | try | { | tripService.updateTripDetails(trip); |

[jboss-user] [JBoss Seam] - problem integrating seam

2007-01-07 Thread yoav200
Hello all, I have a JSF Webapp. I use myfaces tomahawk with ajax4jsf as JSF components and EJB3 as my model tier. My webapp works fine. I?m trying to integrate seam with my webapp and For some reason I cannot make it to work. My webapp is deployed in an ear containing 3 jar (model,logic,seam)

[jboss-user] [JBoss Seam] - Improve the message example

2007-01-07 Thread yoav200
Hello, How can i add add and edit options to the mesages example ? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3998733#3998733 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3998733

[jboss-user] [EJB 3.0] - Persistence difference between Jboss 4.0.5 and 4.0.4GA

2006-12-07 Thread yoav200
Hello all, I have a WebApp that call an EJB3 that get some data from database. I use the Jboss default database. I used to work on Jboss 4.0.5 and every thing work fine, I?ve changed the server to jboss 4.0.4GA and now I get an exception. Here is the exception I get: | 2006-12-07

[jboss-user] [EJB 3.0] - Deploy ear problem

2006-12-06 Thread yoav200
Hello all, I have a problem deploying an EJB 3 inside an ear archive. I have a WebApp that is made of 3 components: 2 JARs(EJBs) 1 WAR One of EJBs is using DB, I have configured persistence.xml file in the META-INF directory. Any way, when I deploy the JARS and the WAR separately every thing

[jboss-user] [EJB 3.0] - Re: Deploy ear problem

2006-12-06 Thread yoav200
I figure out the problem, I pack my project with Maven2 and one of the dependencies was the persistence-api jar that jar was packed in my ear and it collide with the one already in Jboss lib so i guess that was my problem... any way i have removed the dependency (made it provided in Maven)