[jboss-user] [JBoss Tools (users)] - Re: Overriding an EJB datasource for testing
I'm still interested in pointers. Another thing that emerged is the fact that I have some native queries that (of course) doesn't have their tables autogenerated. Is there a place to stick creation scripts so that the Seam DB tests would pick them up? thanks in advance, Nik PS. Tried looking for a users mailing list, is there one since this forum seem quite low-traffic? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4234612#4234612 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4234612 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: Overriding an EJB datasource for testing
I'm trying a similar setup with a Seam WAR. I have a prod persistence.xml which defines a java:/ProdDatasource. In the same dir I have a persistence.xml with | hibernate.dialect=org.hibernate.dialect.Oracle10gDialect | hibernate.hbm2ddl.auto=validate | and then in my test project I have in my bootstrap/persistence.properties | hibernate.dialect=org.hibernate.dialect.HSQLDialect | hibernate.hbm2ddl.auto=create-drop | and by DB testng.xml does | | | | and the import in the test class |@Override |protected void prepareDBUnitOperations() |{ | beforeTestOperations.add(new DataSetOperation("path/to/my/BaseData.xml")); |} | but the strange result is that I get Oracle create-errors and then I get another error for table not found when the import is attempted. Any pointers are appreciated, Nik View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4231838#4231838 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4231838 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - XML classloader issue deploying Seam Web Project WAR to AS 4
Using the latest tools, create a new Seam Web Project (WAR), leaving libraries at default, deploying to a AS 4.2.2.GA I get a 14:49:37,033 ERROR [[/OSTi3]] Exception sending context initialized event to listener instance of class org.jboss.seam.servlet.SeamListener | java.lang.LinkageError: loader constraint violation: when resolving method "org.dom4j.io.SAXReader.setEntityResolver(Lorg/xml/sax/EntityResolver;)V" the class loader (instance of org/jboss/mx/loading/UnifiedClassLoader3) of the current class, org/jboss/seam/util/XML, and the class loader (instance of org/jboss/mx/loading/UnifiedClassLoader3) for resolved class, org/dom4j/io/SAXReader, have different Class objects for the type org/xml/sax/EntityResolver used in the signature I have one JAR too many somewhere? Or in the wrong place? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4229692#4229692 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4229692 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: HTTP 400. Bad request! Sit! Stay!
I tried using virtual hosts and it seems to be working when used from the internal network but the above mentioned error still occurs when coming from an external network. Network configurations aside, how can this error anyways be related to where the request is originating from? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4193684#4193684 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4193684 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: HTTP 400. Bad request! Sit! Stay!
More specifically, dumping the reponse headers gives | null: |HTTP/1.1 400 No Host matches server name thehost.thedomain.com | Transfer-Encoding: |chunked | Date: |Mon, 01 Dec 2008 12:11:43 GMT | Connection: |close | Server: |Apache-Coyote/1.1 | ping thehost.thedomain.com does lead back to the correct host View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4193354#4193354 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4193354 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: HTTP 400. Bad request! Sit! Stay!
It turns out that telnetting to the DNS name port 80 and doing a "GET /" returns the page just fine. Is it some conspiracy amongst all browsers to consider a response as bad if it comes from a hostname it didn't expect? And if so, what is the remedy? Some alias or virtual host in JBoss? Thanks in advance, - Nik View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4193331#4193331 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4193331 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - HTTP 400. Bad request! Sit! Stay!
I have a 4.2.2.GA running with -b 0.0.0.0 and no virtual hosts. http://localhost (locally) works http://hostname (locally) works http://ip (locally) works http://ip (remotely) works http://hostname (remotely) works but http:// fails with a blank page or HTTP 400 Bad Request What checks does JBoss/Tomcat do to see if there is some hostname mixup? Thanks in advance, Nik View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4193012#4193012 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4193012 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Virtual host for link-rewriting?
"erasmomarciano" wrote : Have a look here | | http://docs.jboss.org/jbossas/guides/webguide/r2/en/html/ch07.html | | Initial tests of the virtual host looks promising but is it possible to do the http -> https transformation on the HTML links etc with them? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4189800#4189800 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4189800 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Virtual host for link-rewriting?
Could someone slap me with a manual reference to a problem of mine: Our customer has a https-terminating publicly known firewall-host that redirects requests as plain http to my server. So when people go to https://public.host.com, they get redirected to http://private.host.com on the inside. The problem is, of course, that the private.host.com generates HTML links etc back to itself, rendering them as http://private.host.com to the outside customers, resulting in 404:s. Is there a way of configuring (virtual hosts?) the JBoss 4.2.2GA so that the links generated would, not only be public.host.com but also https:// again? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4189732#4189732 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4189732 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: not accessible from localhost
"PeterJ" wrote : Yes, if you do "-b hostname" then you will not have access from localhost. | | And you still did not post the line I asked for. Without that, I cannot help you. Ah, sorry, didn't get any reply notification mail. I'll check the line once I get back to the office. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4160522#4160522 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4160522 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: not accessible from localhost
I've tried just a -b hostname on one of our local servers (Linux) and end up with the same thing - no go from localhost. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4159786#4159786 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4159786 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - not accessible from localhost
Not the usual "I can only access the connector from localhost". My problem is "I can't access the connector from localhost". I started it with -b 0.0.0.0 -Djboss.bind.address=192.168.20.34 and it works fine, but I can't access it from localhost or the jboss.bind.address. I thought 0.0.0.0 would cover about everything. The host has serveral interfaces so I had to use the -D switch to get it running... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4159196#4159196 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4159196 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: Profiling
here you go http://jira.jboss.com/jira/browse/JBIDE-2093 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4145143#4145143 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4145143 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: Profiling
2.0.1.GA View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4145134#4145134 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4145134 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: Profiling
I'm not sure how eclipse and server adapters work and it can be worked around by creating a "normal JBoss" server against the same runtime and profile that one. But it probably is something with eclipse asking the server adapter "do you support this tptp-thing?" and the answer is "no", so the button is disabled. It would be convenient to have it running on an single server since it probably(?) is some small configuration issue. Or then I might have done something else wrong. Could someone confirm the "profiling disabled with tptp and 'JBoss, a division of RedHat'-JBoss servers"? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4145051#4145051 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4145051 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: Profiling
And could be more of a general Eclipse/TPTP issue but when I try to profile on a "normal" JBoss server, I get Could not find agent library on the library path or in the local directory: JPIBootLoader I was under the impression that local profiling used the local agent that comes with TPTP install and doesn't require any other agent downloads. or? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4144734#4144734 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4144734 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Profiling
Hi, Is there any special magic in getting profiling to work in JBoss Tools? I'm using the latest beta and I get a disabled "start in profiler mode" on my servers, even if TPTP is installed? Or do you have to use JBoss's own profiler? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4144730#4144730 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4144730 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Bug in wiki WS-Security document or?
I had a WS that used the "Standard WSSecurity Endpoint" and everything worked fine. Then I needed to add a handler so I grabbed the code to the said endpoint from http://jbws.dyndns.org/mediawiki/index.php?title=JAX-WS_Endpoint_Configuration and added my own handler there. But I couldn't get it to understand the encryption/security anymore. Then I took a look at standard-jaxws-endpoint-config.xml in the .sar-file and there the endpoint config had the security handler in a post-handler-chain (as opposed to in a pre-handler-chain in the wiki). What should it be? The post-handler-version is the one that works for me at least. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4132991#4132991 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4132991 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - referencing jboss-wsse-client.xml in WAR
Hi, Noob question: I have a WAR that serves both as a provider and consumer of a secure web service. In the client section I try to do a ((StubExt)port).setSecurityConfig(new File("WEB-INF/jboss-wsse-client.xml").toURL().toExternalForm()); but end up with a FileNotFound for | \bin\META-INF\jboss-wsse-client.xml | What is the correct way of referencing an internal file? I think I have had the same scenario in EAR archives and there the reference was OK. Thanks in advance, View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4132501#4132501 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4132501 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: POJO as WebService?
Excellent! So it should work just like a EJB with the different packaging/conf? BTW. I looked quickly at the web.xml and it looks sort of like a servlet mapping, should it still be visible under jbossws/services or is it just standalone? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4132156#4132156 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4132156 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - POJO as WebService?
Hi, I made a simple stateless EJB, annotated the class with @WebService and the web with @WebMethod, it deployed fine and showed up in /jbossws/services. So I removed the EJB:ness from it and retried, but this time the WS doesn't get deployed. I got the impression from the JBoss WS wiki that POJOs would also be supported, am I missing something fundamental? I'm on AS 4.2.2.GA Thanks in advance, -Nik View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4132147#4132147 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4132147 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: I can't run a simple stateless bean with my Jboss and Se
Try Eclipse + JBoss Tools, they have wizards for creating sample projects (including EARs) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4128724#4128724 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4128724 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Retrofitting SEAM to existing JSF project
I would consider starting a fresh project using the Eclipse JBoss Tools plugins and copy&paste the code into that... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4128714#4128714 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4128714 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Problem with update
Give it a try on a plain list of entities, now the converter is trying to convert the string to an entity id... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4128693#4128693 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4128693 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Problem with update
And you are now working on lists of entities without converting them to Strings? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4128669#4128669 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4128669 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Problem with update
And are you using a nested s:convertEntity? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4128638#4128638 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4128638 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Web Beans Sneak Peek
I haven't heard anything specific regarding outjection, what is your source as it being dead (and the motivation for it)? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4128616#4128616 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4128616 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Problem with update
if your selectItems work on a list of entities and your selectbox value is pointing at an entity you need the s:convertEntity tag, check the manual for futher details. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4128613#4128613 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4128613 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: JBoss Seam DVDStore Example- Hibernate Mapping Question
Use eclipse + jboss tools to generate a sample project and move on from there. You shouldn't have to do anything extra, I think the classes just have to be found by the same classloader that picks up your persistence.xml(?) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4128259#4128259 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4128259 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: alterar arquivo editproerty.xhtml
Inglês, por favor. O português não é falado aqui. (courtesy of babelfish)... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4128192#4128192 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4128192 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: JBoss Seam DVDStore Example- Hibernate Mapping Question
The entities have JPA annotations that describe the mapping between objects and database tables and hibernates serves as the underlying implementation. The annotations are scanned automagically There are plenty of JPA beginner tutorials around. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4128173#4128173 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4128173 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: EntityManager not injected in onMessage method
How does your persistence.xml and datasource xml look like? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4128172#4128172 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4128172 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: I can't run a simple stateless bean with my Jboss and Se
State(less/ful) EJBs must be packaged in EARs View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4128171#4128171 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4128171 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Focus field on page load
http://jira.jboss.com/jira/browse/JBSEAM-2611 created. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4128115#4128115 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4128115 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Saving e-mails generated by Seam
Well, if you write this imap-view against your mailbox... ;-) Does it have to be an exact snapshot through the template? Otherwise you could just store away the information in the template... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4128113#4128113 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4128113 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Focus field on page load
Just a small feture inquiry: would it be out of context for the framework to have an s:prefocus tag that would be used like | | | | That would insert at the end of a page a | document.getElementById('...').focus() | (or whatever the browser-compatible code would be)? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4128108#4128108 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4128108 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Saving e-mails generated by Seam
Not a direct answer to the question but you could put an archive-mailbox on your bcc list... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4128105#4128105 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4128105 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Tag completion
Hi, How are the tld:s related to the code completion in tags (in the seam module)? If I e.g. look at the completion for s:selectItems, I see no "itemLabel" or "itemValue" even if they are in s.tld. Or I get completion for a "hideNoSelection" but s.tld calls it "hideNoSelectionLabel" etc... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4127995#4127995 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4127995 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: s:decorate question
immediate=true on the button? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4127973#4127973 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4127973 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: When to use @PersistenceContext vrs @In EntityManager (S
What size do you think Rod Johnson is? ;-) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4127971#4127971 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4127971 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: @In and @Factory
| if (x == null) { | initX(); | } | ;-) If think that if someMethod is called before "x" has been referenced, it can be null. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4127818#4127818 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4127818 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: DocumentStore usage change - Urgent!!!
Looking at the source of DocumentData there appears to be an static public class DocumentType that has a (String extension, String mimeType) constructor... But one would think there should be a constant PDF shortcut somewhere... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4127806#4127806 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4127806 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: DocumentStore usage change - Urgent!!!
UIDocument.PDF? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4127807#4127807 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4127807 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Exception handling with interceptors
Hi, I have most reuseable database queries isolated to a DAOish class and would like to add some logging and exception handling like | Object result = null; | try { | result = context.proceed(); | // log called methods, parameters and result | } catch (PersistenceException e) { | // get error context from invocation context and lookup | // from message bundles etc... | } | return result; | The problem however is that the connection seems to have gone sour anyway, which leads to ugly "Transaction is not active" errors in my long running conversation. Is there any way to recover from this? Do you have any experience with using interceptors for centralized error logging/management and recovery? Thanks in advance, View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4127789#4127789 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4127789 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: label and value
Thanks, that did it! I was under the impression that I had to use the entityConverter since the backing data weren't SelectItems, but it seems that the entityConverter (and the SMPC to avoid LIE:s) are only required when actually inserting an entity? That pretty much moves my SelectItem usage into the legacy-hierarchy, I won't miss it. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4127679#4127679 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4127679 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: label and value
The strange this is that equals() and hashCode() are not being accessed at all. Neither is the setter of the value. It just makes up that the value is null although the selectbox option value and label are correct... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4127353#4127353 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4127353 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: label and value
"[EMAIL PROTECTED]" wrote : Dan is correct. However 2.0.1 allows you two options to customize the value. If you don't use the entity converter, use the itemValue attribute on s:selectItems. If you do, you need to implement a custom entity loading strategy. I'll blog about that soon. What do you mean by the "If you don't use the entity converter, use the itemValue attribute on s:selectItems"? I'm trying to do a case of an entity | @Entity | public class User { | @Id @GeneratedValue | private Integer id; | private String code; | private String name | ... getters/setters/hashCode/equals | and would like to do something like | | | | | | where userBean.userList is a List should this be doable (displaying name, selecting code) with convertEntity? I keep getting "Value is required" on it despite of equals/hashcode... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4127339#4127339 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4127339 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam and Acegi
Is there a specific case what Acegi can do and Drools rules can't? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4127260#4127260 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4127260 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Prayed for the J2EE users lately?
Actually, the reason I was browsing the javadocs is that I'm writing a logger/exception interceptor and was looking for a way to find out what the method returned but didn't find anyhing obvious in InvocationContext etc. I got the idea that Seams concept of AroundInvoke is pretty much equivalent with JEE 5:s but didn't find any enlightenment there either. How *do* you find out what the method returned? I'd like to get log entries in the line of "getUsers() called with parameters 'foo' returned 4 hits" and then do some handling on the PersistenceException hierarchy What? The subject doesn't match the question? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4127203#4127203 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4127203 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Please help ! Can't persist data into related tables
POJO quick and dirty style: Let's say you have an entity | @Entity | public class User { | @Id @GeneratedValue | private long id; | private String name; | | public long getId() { | return id; | } | | public void setId(long id) { | this.id = id; | } | | public String getName() { | return name; | } | | public void setName(String name) { | this.name = name; | } | } | and then an action class (you could save a few lines by extending EntityController) | @Name("userActions") | public class UserActions { | @In | private EntityManager entityManager; | @In | private FacesMessages facesMessages; | | private User user = new User(); | | public void insert() { | entityManager.persist(user); | facesMessages.add("Added user #0", user.getName()); | } | | public User getUser() { | return user; | } | | public void setUser(User user) { | this.user = user; | } | } | and the view | | | | | | For each click on the button, the userActions.insert is called. Since the input text is connected to userActions.user.name, it populates the newly created entity in the bean and persist has something to work on. If you would have a | Name("user") | on the user class, you would have linked the input field to user.name and then injected the user into the userAction bean with | @In(create=true) | private User user; | and persist would then have had something to work on. Likewise, if the entity resides in another bean, you connect the input field to someotherbean.user.name and then inject that bean (or the user from that bean) using the @In annotation again. So that your action class has some data to work on. It is really worth to give the in/outjection part of the manual a good read since it is pretty much the core of the framework... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4127201#4127201 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4127201 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam doesn't inject components when using a custom Servl
Could you start a thread that would execute every 10 seconds until you notice that Seam has been initialized? Then it would do its magic and exit. I'm sure there is some static boolean isInitialized() somewhere if you dig through the api. Or just try to access some well known component. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4127196#4127196 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4127196 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Please help ! Can't persist data into related tables
And the error you see is...? You seem to be calling #{insert.insert}. Which means that the method "insert" in the seam named component "insert" is being called. You shouldn't have any parameters in the method. Remove them from the local interface and then inject the beans (info?) into the insert bean. That way the bound value from the user input is accessible to the insert method. When the concept is new it is recommended to spend the week like "one day reading the documentation, six days for tweaking the provided examples" and not "seven days frantic, random coding" ;-) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4126994#4126994 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4126994 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: How to passing through request parameters to the next pa
I think you might find section "5.1.1.1. Page parameters" in the reference manual interesting. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4126983#4126983 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4126983 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Prayed for the J2EE users lately?
According to Gavin in the Javadoc of org.jboss.seam.intercept.InvocationContext we should: "A copy of the EE5 standard InvocationContext API. We do this because some poor souls are still using J2EE. Pray for them." ;-) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4126973#4126973 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4126973 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Error while testing using external database
In JBoss AS it's in .\server\default\conf\jboss-log4j.xml View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4126894#4126894 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4126894 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: What about Web Beans?
Well, if you judge the quality of an expert group based on bloggings between drafts and other official documentation, the majority of the specs currently in the JCP are dead. Every hour spent blogging is an hour away from specsing/writing the RI ;-) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4126721#4126721 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4126721 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: A lot of
One wouldn't there should be that many of them. Can you see them if you try a fresh seam-gen project and add security to it? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4126504#4126504 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4126504 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: How to escape the # sign in a seam EL?
"ae" wrote : So it is already fixed in 2.0.2GA? That was amazingly fast! Even better - since it is marked as "Fixed" it probably means that it is committed into the current trunk and you can get it NOW! ;-) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4126453#4126453 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4126453 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Obtaining user's host information
Something like | HttpServletRequest r = (HttpServletRequest) FacesContext.getCurrentInstance().getExternalContext().getRequest(); | log(r.getRemoteHost()); | ? You should also be able to look at the request headers etc. from there. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4126451#4126451 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4126451 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Reorganizing templates in WEB-INF
You will have to add the path to all references of the page also. So if you have an | | it should become | | Same goes everywhere the page is referenced - templates, navigation etc. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4126449#4126449 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4126449 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Boolean to integer customconverter!!
I think the not-being-called it's a JSF-issue, check the sun forums, I have a feeling it comes up frequently there. You could do the conversion later (in getter/setter, or as a custom hibernate field (if that is an option) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4126007#4126007 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4126007 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: handleException details
Then make in non-required. Depending on the scope and how/where the bean is referenced, it might be created even when there was no error... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4126005#4126005 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4126005 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: java null pointer exception in based on
So the DataModelSelection isn't firing (or lagging one)... Does it work with a normal h:commandButton or link? I don't have much a4j experience so can't say what is supposed to be populated when... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4125914#4125914 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4125914 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: addToControlFromResourceBundle strangeness
Strange enough for a JIRA or am I missing something with the usage? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4125886#4125886 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4125886 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: NPE when logging inside a property getter
Haven't used it but Logger seams to have some static methods that might be interesting. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4125689#4125689 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4125689 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: handleException details
Meaning that you should be able to forward to a page that uses a bean that injects the exception and then generates a String from the stacktrace. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4125517#4125517 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4125517 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: handleException details
The exception should be available in org.jboss.seam.handledException, you should be able to get the full stack trace from there. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4125515#4125515 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4125515 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: addToControlFromResourceBundle strangeness
Just noticed that it even shows up in the console (correctly resolved) but doesn't appear on the component... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4125456#4125456 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4125456 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - addToControlFromResourceBundle strangeness
I'm on 2.0.1CR1 inside i valuechangelistener and doing | getFacesMessages().addToControl(event.getComponent().getId(), new FacesMessage("!")); | and it shows up on my s:decorated component but | getFacesMessages().addToControlFromResourceBundle(event.getComponent().getId(), "my.key"); | doesn't show up. The resource bundle should be ok since I add global messages from it just fine... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4125455#4125455 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4125455 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Using @In to get the Hibernate session
Well, something like that is suggested in section 8.4 of the manual. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4125382#4125382 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4125382 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: java null pointer exception in based on
"[EMAIL PROTECTED]" wrote : | I am new to Seam .and I am suing richfaces | Don't sue them, they are trying their best! ;-) What happens at Caused by: java.lang.NullPointerException at com.coorserpark.backing.CargoActionBean.editCargo(CargoActionBean.java:59) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4125277#4125277 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4125277 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Internal Architecture of Seam Design and Source Code
"[EMAIL PROTECTED]" wrote : Sorry, the design is mainly in Gavin's head. Your best bet is to look at the source code. Any specific starting points in the code you could mention? BTW, does Seam have any "number two guy" in case Gavin wakes up one day and finds that he has grown tired of the computer industry and decides to pursue a career in gardening, knitting etc? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4125119#4125119 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4125119 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam is the way to Over-Engineering!
It must be so, someone said it in a TSS comment! ;-) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4125104#4125104 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4125104 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: why list empty
What happens if you scope it to session just for test? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4125081#4125081 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4125081 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: why list empty
Hmmm. Not sure about the statefull/lessness and scope of the EntityQuery, have to check. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4125062#4125062 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4125062 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: why list empty
but debug output in the list getter shows 0? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4125061#4125061 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4125061 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Facelet Templates from a Database
>From the department of long-shorts: have the function return a resource-URL like "http://context/resource?id="; + resource and that servlet would fetch the resource from DB and spit it out. As I said, there are probably much more elegant ways of doing this... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4125045#4125045 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4125045 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: value of context variable is not an instance of the comp
If the problem persists after cleaning/reploying/restarting, check for naming conflicts. Do you have both a @Name("productRecomForm") and a var="productRecomForm" somewhere? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4125008#4125008 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4125008 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam newbie question
If I understand you correctly you are looking for some sort of dynamic actions. I'm not sure it can be done with that sort of "double-EL-resolve". You can always use multiple links with rendered-conditions like | Add | Nuke | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4125005#4125005 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4125005 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: How can i disable skipping over the authentication?
Is it possible to do some redirection back to the login page after you have forced the logout? If nothing else fails you can always do the "switch identity" function with a common identity.logout and the next secured request will do the automatic redirection to the login page. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4124716#4124716 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4124716 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: how to capture no active context exception from filter
If the exception happens in a wrong-enough-place there is always the final frontier, the error-page tag in web.xml... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4124713#4124713 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4124713 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: How can i disable skipping over the authentication?
I think it should be possible to write a page action that does a conditional logout if you enter the page while still logged in. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4124682#4124682 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4124682 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam 2.0.1.CR2 seam-gen does not create a deployable pro
"jsimone" wrote : | seam-gen or the docs are incorrect. | Well, web.xml has a list of welcome files which are looked for when a web context is hit without a specific page. It finds index.html which immediately redirects to home.seam (I understand that this mechanism is being improved on in the next Servlet spec). the ".seam"-extension is mapped to the Seam servlet which means seam starts working on "home.xhtml" or "home.jsp" depending on the configured view technology. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4124663#4124663 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4124663 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: getAsObject not being called - why?
As already pointed out in the sun forums, I don't think the converter is supposed to work in that setting. I had a similar issue when working with a legacy database and ended up writing a custom type for the database field so that it would be converted there... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4124661#4124661 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4124661 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: seam-gen makes EARs that are 12X bigger than they need t
Well, most info can already be found in http://docs.jboss.org/tools/2.0.0.GA/seam/en/html_single/index.html View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4124593#4124593 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4124593 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: seam-gen makes EARs that are 12X bigger than they need t
Well, they didn't move out yet but at least they went to sleep ;-) http://web.abo.fi/~nickarls/JBossToolsQuickStart.pdf (so far mosttly screenshots covering the install & deploy of the skeleton project in WAR format) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4124589#4124589 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4124589 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: seam-gen makes EARs that are 12X bigger than they need t
"[EMAIL PROTECTED]" wrote : nickarls - good idea. Fancy writing one? :) Sure, I'll have some spare time as soon as the kids move out in 2023 or so ;-) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4124543#4124543 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4124543 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: s:selectItem problem while persisting
Well, if you are juggling entities you might as well use a List and bind to the entityHome.entity and use a convertEntity (remembering to override hashcode() and equals() on the entity id). There are plenty of threads on this. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4124305#4124305 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4124305 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: s:selectItem problem while persisting
Does the corresponding h:selectItems work? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4124273#4124273 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4124273 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: pojoCache is not injected with latest build from SVN
Never used pojoCache myself but the manual mentions treecache.xml. Do you have one (or is there a default included in the jars)? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4124272#4124272 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4124272 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: pojoCache is not injected with latest build from SVN
Anything in the deploy logs? Tried cleaning the project? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4124256#4124256 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4124256 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: seam-gen makes EARs that are 12X bigger than they need t
The JBoss Tools plugins seem to create a more slim skeleton. In fact, the JBoss Tools is so noob-friendly that I think there ought to be a section "Getting started with Seam, using JBoss Tools" section in then manual since clicking through to a workable example is much more simple than the seam-gen -> import cycle View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4124255#4124255 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4124255 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: @In attribute requires non-null value: register.user
Well, if its not auto-create it will be null the first time referenced. Add a create=true to the @In annotation. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4124253#4124253 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4124253 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam + Informix
If it has JDBC drivers, yes. Just pick any database, you can edit the persistence.xml later. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4124180#4124180 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4124180 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Beginner: Bind SelectOneMenu to @onetoone entity object
http://docs.jboss.com/seam/latest/reference/en/html_single/ The rest is left as an exercise for the reader ;-) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4124028#4124028 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4124028 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Web Beans Sneak Peek
Well, if it follows the ideaology of Seam (as I have understood it does), there is nothing stopping you from writing service locators returning abstract facade-factories etc... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4124014#4124014 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4124014 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Beginner: Bind SelectOneMenu to @onetoone entity object
Well, if you bind the entity to studenthome.instance then the id should also be automagically populated, no? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4123998#4123998 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4123998 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Beginner: Bind SelectOneMenu to @onetoone entity object
Hmmm, if you have a list of entities, why don't you just bind the selected one to the home.instance? the dropdown with entityconverter + smpc is a handy way of taking a list of entities and having the selected entity inserted into another component. Instead of having to write object -> selectitem -> object conversions yourself. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4123955#4123955 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4123955 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Beginner: Bind SelectOneMenu to @onetoone entity object
What version of Seam are you running? Are there any errors in the log from not being able to create the persitence units? In 2.0 the link should be something like a deployed Foo-ds.xml with a | FooDatasource | a persistence.xml with | java:/FooDatasource | | and in components.xml | | Which should give you auto-created SMPC available with just | @In private EntityManager entityManager; | (and injection into all controllers etc. that use the "entityManager" name) you seem to have some sort of managed-persistence-context in components.xml, although under another namespace? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4123946#4123946 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4123946 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Internal Architecture of Seam Design and Source Code
Some sort of overview would be helpful, yes. Looking at web.xml then the logical starting points would be org.jboss.seam.servlet.SeamListener and org.jboss.seam.servlet.SeamFilter but without some sort of high-level map it's easy to get lost... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4123938#4123938 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4123938 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user