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=bb&op=viewtopic&p=4245200#4245200
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4245200
_
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
@Be
thanks,
you are right my problem is with the seam conversation management.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4065695#4065695
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4065695
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
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 th
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
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 post
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 preforman
Hello,
I try to convert a resource into a selectList and run in few problems.
in my components.xml i have:
|
|
| countries
| airLines
|
|
|
in one of my beans i try to inject the resource like this:
| @In(required=false)
| Map countries;
hello
in my components.xml i have:
|
|
| countries
| messages
|
|
|
when i try to get the countries resource i get null.
for some reason this resource is not loaded.
is this not the way to define a resource ?
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:
| @In(create=
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=bb&op=viewtopic&p=4002899#4002899
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=postin
I'm trying to add a new resource, I?ve add this code to components.xml
|
|
| resources.countries
|
|
|
And created a resource loader class that tries to inject the countries resource
| @In(create=true)
| private Map countries;
|
Bu
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=bb&op=viewtopic&p=4002447#4002447
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posti
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:
|
|
|
|
|
|
How can i force destraction of a bean?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4002336#4002336
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4002336
___
jboss-user maili
OK that work great,
i used a bundleLoader that loads the messages
but how can i print out useing
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 enough to put
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=bb&op=viewtopic&p=4002237#4002237
Reply to the post :
http://www.jboss.com/ind
but i want to go over all countries not only one
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4002236#4002236
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4002236
___
jboss-
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
|
|
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 wan
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=bb&op=viewtopic&p=4000569#4000569
Reply to the post :
http://www.jboss.com/i
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 TripsManager
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);
|
Hello,
How can i add add and edit options to the mesages example ?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3998733#3998733
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3998733
___
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)
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 18:29:02,5
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) and
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
29 matches
Mail list logo