Hi jagr
Try using the rich faces ajax tags included in seam 1.2.1
in Class SomeBean
|
|
|
|
|
|
|
|
Every time the user is typing a character in the inputfield a ajax request is
sended back to the server, the bean value is updated an the link element will
be upd
Hi breaveFencer
In your resources/WEB-INF/components.xml configuration file you find the
following line:
|
|
Where "yourDBname" is normaly the name of your db reference in
/META-INF/persistence.xml
|
| org.hibernate.ejb.HibernatePersistence
| java:/you
Ups! The mentioned chapter is in Hibernate reference documentation version
3.2.0 GA which is used in seam 1.2.1.
There is even a better way if you are working with annotations. See chapter
22.4. Annotations for context demarcation (Seam ref doc 1.2.1 - really ;-))
Just annotate the methode you
Hi nickarls
Read chapter "11.3.2. Extended session and automatic versioning" of Seam
Reference Manual Version 1.2.1 GA.
You can chance the flushMode of a session by calling:
| Session s = (SessionImpl) entityManager.getDelegate();
| s.setFlushMode(FlushMode.NEVER);
|
This prevents seam
When I try to create a criteria like the following:
| Criteria c = ((SessionImpl) entityManager.getDelegate())
| .createCriteria(Person.class);
|
| pCriteria.add(Restrictions.isNull("location"));
|
where location is the attribute of an one-to-one relation, i don't get any hit
in t
anonymous wrote : You should add this to the SeamProblemsFAQ on the wiki.
I've added an entry to SeamProblemsFAQ.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4076132#4076132
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=repl
This is a repost of
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=116256
It's really a show stopper and urgent! Any help would be highly appreciated.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4075112#4075112
Reply to the post :
http://www.jbo
Sorry, this is a copy of the post in RichFaces User forum. I'm talking about
the RichFaces component suggestion box.
The point to adress this forum is:
Seam is preconfigured to use RichFaces and it is a real nightmare to use
something different!!!
View the original post :
http://www.jboss.com
Hi
The suggestionbox ist working fine, but I have the strange problem that input
fields which had been coverd by the suggestion popup, can't be focused with the
mouse after the popup disapeared. The tab key is working under most conditions.
This behaviour is IE specific. If you try the same pag
Great Fabricio
It worked!
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4058595#4058595
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4058595
___
jboss-user mailing list
jbos
Thank you Fabricio
I will try your advice and let you know if it worked. Yes jboss-ejb3-all.jar is
packaged.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4058572#4058572
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=
The JBoss Version is JBoss 4.0.5 GA.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4057969#4057969
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4057969
___
jboss-user mailing
Hi
I like to create a hibernate criteria instead a normal query.
| @PersistenceContext(type=PersistenceContextType.EXTENDED)
| private EntityManager em;
|
| public void search()
| {
| log.info("Get all users");
|
| Criteria c = ((Session)em.getDelegate()).crea
It' always a good idea to look for the initializations of your own components.
This gave me the major clue.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4038751#4038751
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=40
I found the reason for the failure by my self. It is needed to ad the
test-build directory to the build-path of the eclipse project. Otherwise the
embedded EJB-Container will not parse the EJB-classes for components.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopi
I typically load Resources like this in my bean class:
| ResourceBundle.instance().getString(this.label);
|
Attention: ResourceBundle is of type org.jboss.seam.core.ResourceBundle!
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4034608#4034608
Reply to t
Hi jbossja
Do you have a file messages_fr.properties in the directory /resources?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4034586#4034586
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4034586
Yes... of course...no problem
But with each single change to the original ant project, you are getting more
and more problems to keep track changes packed in future seam releases.
And there had been quite a lot of changes in the last months.
View the original post :
http://www.jboss.com/in
I had well working testng test in version 1.2.0 sp1, i could execute from ant
or inside eclipse with the testng pugling.
Since 1.2.1 GA i get the following error message when i execute my login tests:
| "[RuleBasedIdentity] no security rule base available - please install a
RuleBase with the
I'm a little bit unhappy with some hard wired dependencies, in case you are
using the seam-gen generated ant eclipse project for deploying the application.
If you are looking to the components.xml Konfiguration you might get the
feeling, that you are free to name and position your xxx.drl rule f
I changed the list to DataModel using DataModel Annotation:
@Stateful
| @Name("configSelector")
| @Scope(ScopeType.SESSION)
| public class ConfigurationSelectorImpl implements ConfigurationSelector {
|
| @Logger private Log log;
|
| @DataModel
| private ArrayList module
I have a List of items stored in a session bean and i've created a link list on
the page. When I click on the link, I want to transfer the underlying item to
the action methode.
I used enhanced EL for that purpose, but the parameter of methode
selectModule() is always 'null'.
|
|
|
I already wrote a short notice about a logging error in the newest release, but
did't not get any confirmation.
See
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=104121
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4030363#4030363
Reply to the po
Ok, perhaps I have to be more precise. The configuration properties I'm talking
about do not belong to the seam configuration of components. I'm talking about
application specific parameters controlling for examples the behaviour of
business logic.
Example: A booking application stores all canc
I have the following problem:
I like to store some of my application configuration parameters outside the
ear-package. The reason for that is, that some configuration values will have
different values for development, test and production enviroment.
Best would be to store these values in a conf
Hi
I might missing something, but when I call log.fatal(Object object, Throwable
t, Object... params) methode, I can't find a message in the logfile or console.
Setting the log level to DEBUG suddenly brings the message to the log. And yes,
it is logged with debug level.
Analysing the seam sou
Great! Upgrading to Release 1.2 fixed the problem!
Thank's
Answering my own question:
Using seam-gen update-project does only copy the new libraries to lib
directory. To integrate possible changes in configuration files you have to
compare configuration files from a new generated project with t
By the way...what is the best way to update a 1.1.6 release to 1.2? To upgrade
from 1.1.5 to 1.1.6 I generated an empty example project with seam -gen,
transfered all jar-Files, and compared configuration files for differences.
Is there an easier way? Thank's for help!
View the original post :
This is version 1.1.6
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4027227#4027227
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4027227
___
jboss-user mailing list
jboss-use
I'm trying to test the authentication with TestNG inside Eclipse with the
TestNG -Plugin.
The test class looks like that:
| package test.seam.services.security.test;
|
| import org.jboss.seam.mock.SeamTest;
| import org.testng.annotations.Test;
|
| public class UserSearchTest exte
30 matches
Mail list logo