Hi,
Sorry for the such a question but I had to ask. I am trying to replace Hibernate to Postgres as my persistence database.
How do I disable persistence altogether?
The other question has to do with the replacement of xml files.
The docs say that
In order to enable support for one of these databases, just replace the default hsqldb-persistence-service.xml configuration file with the database-specific configuration file and restart the server.
I couldn't find hsqldb-persistence-service.xml in any of my C:\jboss-4.0.3SP1 directories. Which directory should I be looking in? And where do I place the postgres-persistence-service.xml file. Also do I have to do it before I run
| cd util
| ant -f release-admin.xml
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3970511#3970511
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3970511
we thought about multi lang solution for our app and I wonder what is your opinion...
any text column in our DB can be translate to many languages..
we thought to create another table for each table that has a text column that will hold the id,lang,new_text
EJB 3.0 wise , we had Category (Entity bean) and now we also have CategoryMulyLang (the new Entity Bean)
now a problem is how can we do something automatic that receive from the session the user language and show the right translated texts on the screens(jsf) , we thought using a converter here...
what do you think?
Thanks
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3970507#3970507
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3970507
1. Web Services maybe a good way to do this, you dont have to use Seam for that, but just generally have an endpoint that can receive your WS calls and act on it. Why do you have to use Seam for this?
2. Use JMX. If you have an JMX enabled bean, you could use the twiddle script (look up in jboss-4.0.x/bin/twiddle.sh) to invoke an mbean (get/set attribute, call methods etc) but that would be one more technology to learn :(
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3970504#3970504
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3970504
I think browsers behave differently for this. if there is only one form field on a page, then hitting enter will do the same as a submit but Ive seen posts where IE takes any enter on text field as a submit.
You could use the onkeypress attribute on JSF's inputtext to have a javascript that will capture window.event.keyCode and check if thats equal to 13, do the same as what your button needs to do but these details are totally out of JSF and Seam IMO.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3970503#3970503
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3970503