[jboss-user] [JBoss Tools (users)] - Re: Overriding an EJB datasource for testing

2009-06-02 Thread nickarls
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

[jboss-user] [JBoss Tools (users)] - Re: Overriding an EJB datasource for testing

2009-05-19 Thread nickarls
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

[jboss-user] [JBoss Tools (users)] - XML classloader issue deploying Seam Web Project WAR to AS 4

2009-05-08 Thread nickarls
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:

[jboss-user] [Beginners Corner] - Re: HTTP 400. Bad request! Sit! Stay!

2008-12-02 Thread nickarls
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

[jboss-user] [Beginners Corner] - Re: HTTP 400. Bad request! Sit! Stay!

2008-12-01 Thread nickarls
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

[jboss-user] [Beginners Corner] - Re: HTTP 400. Bad request! Sit! Stay!

2008-12-01 Thread nickarls
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

[jboss-user] [Beginners Corner] - HTTP 400. Bad request! Sit! Stay!

2008-11-28 Thread nickarls
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://DNS entry that resolves to hostname/ip fails with a blank page or

[jboss-user] [Installation, Configuration DEPLOYMENT] - Virtual host for link-rewriting?

2008-11-17 Thread nickarls
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.

[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Virtual host for link-rewriting?

2008-11-17 Thread nickarls
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 :

[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: not accessible from localhost

2008-06-25 Thread nickarls
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

[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: not accessible from localhost

2008-06-22 Thread nickarls
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=bbop=viewtopicp=4159786#4159786 Reply to the post :

[jboss-user] [Installation, Configuration DEPLOYMENT] - not accessible from localhost

2008-06-19 Thread nickarls
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

[jboss-user] [JBoss Tools (users)] - Re: Profiling

2008-04-18 Thread nickarls
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

[jboss-user] [JBoss Tools (users)] - Re: Profiling

2008-04-18 Thread nickarls
2.0.1.GA View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4145134#4145134 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4145134 ___ jboss-user mailing list jboss-user@lists.jboss.org

[jboss-user] [JBoss Tools (users)] - Re: Profiling

2008-04-18 Thread nickarls
here you go http://jira.jboss.com/jira/browse/JBIDE-2093 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4145143#4145143 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4145143 ___

[jboss-user] [JBoss Tools (users)] - Profiling

2008-04-17 Thread nickarls
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 :

[jboss-user] [JBoss Tools (users)] - Re: Profiling

2008-04-17 Thread nickarls
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

[jboss-user] [JBossWS] - Bug in wiki WS-Security document or?

2008-02-28 Thread nickarls
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

[jboss-user] [JBossWS] - referencing jboss-wsse-client.xml in WAR

2008-02-27 Thread nickarls
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 |

[jboss-user] [JBossWS] - POJO as WebService?

2008-02-26 Thread nickarls
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

[jboss-user] [JBossWS] - Re: POJO as WebService?

2008-02-26 Thread nickarls
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 :

[jboss-user] [JBoss Seam] - Re: Problem with update

2008-02-12 Thread nickarls
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=bbop=viewtopicp=4128613#4128613 Reply to the post :

[jboss-user] [JBoss Seam] - Re: Web Beans Sneak Peek

2008-02-12 Thread nickarls
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=bbop=viewtopicp=4128616#4128616 Reply to the post :

[jboss-user] [JBoss Seam] - Re: Problem with update

2008-02-12 Thread nickarls
And are you using a nested s:convertEntity? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4128638#4128638 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4128638 ___ jboss-user

[jboss-user] [JBoss Seam] - Re: Retrofitting SEAM to existing JSF project

2008-02-12 Thread nickarls
I would consider starting a fresh project using the Eclipse JBoss Tools plugins and copypaste the code into that... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4128714#4128714 Reply to the post :

[jboss-user] [JBoss Seam] - Re: Problem with update

2008-02-12 Thread nickarls
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=bbop=viewtopicp=4128693#4128693 Reply to the post :

[jboss-user] [JBoss Seam] - Re: Problem with update

2008-02-12 Thread nickarls
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=bbop=viewtopicp=4128669#4128669 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4128669

[jboss-user] [JBoss Seam] - Re: I can't run a simple stateless bean with my Jboss and Se

2008-02-12 Thread nickarls
Try Eclipse + JBoss Tools, they have wizards for creating sample projects (including EARs) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4128724#4128724 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4128724

[jboss-user] [JBoss Seam] - Re: I can't run a simple stateless bean with my Jboss and Se

2008-02-10 Thread nickarls
State(less/ful) EJBs must be packaged in EARs View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4128171#4128171 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4128171 ___ jboss-user

[jboss-user] [JBoss Seam] - Re: JBoss Seam DVDStore Example- Hibernate Mapping Question

2008-02-10 Thread nickarls
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 :

[jboss-user] [JBoss Seam] - Re: EntityManager not injected in onMessage method

2008-02-10 Thread nickarls
How does your persistence.xml and datasource xml look like? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4128172#4128172 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4128172 ___

[jboss-user] [JBoss Seam] - Re: alterar arquivo editproerty.xhtml

2008-02-10 Thread nickarls
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=bbop=viewtopicp=4128192#4128192 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4128192

[jboss-user] [JBoss Seam] - Re: JBoss Seam DVDStore Example- Hibernate Mapping Question

2008-02-10 Thread nickarls
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 :

[jboss-user] [JBoss Seam] - Re: Saving e-mails generated by Seam

2008-02-09 Thread nickarls
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=bbop=viewtopicp=4128105#4128105 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4128105

[jboss-user] [JBoss Seam] - Focus field on page load

2008-02-09 Thread nickarls
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 | h:inputText value=... | s:prefocus/ | /h:inputText | That would insert at the end of a page a | scriptdocument.getElementById('...').focus()/script |

[jboss-user] [JBoss Seam] - Re: Focus field on page load

2008-02-09 Thread nickarls
http://jira.jboss.com/jira/browse/JBSEAM-2611 created. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4128115#4128115 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4128115 ___

[jboss-user] [JBoss Seam] - Re: Saving e-mails generated by Seam

2008-02-09 Thread nickarls
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=bbop=viewtopicp=4128113#4128113 Reply

[jboss-user] [JBoss Seam] - Re: @In and @Factory

2008-02-08 Thread nickarls
| 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=bbop=viewtopicp=4127818#4127818 Reply to the post :

[jboss-user] [JBoss Seam] - Re: When to use @PersistenceContext vrs @In EntityManager (S

2008-02-08 Thread nickarls
What size do you think Rod Johnson is? ;-) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4127971#4127971 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4127971 ___ jboss-user

[jboss-user] [JBoss Seam] - Re: s:decorate question

2008-02-08 Thread nickarls
immediate=true on the button? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4127973#4127973 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4127973 ___ jboss-user mailing list

[jboss-user] [JBoss Seam] - Re: DocumentStore usage change - Urgent!!!

2008-02-08 Thread nickarls
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 :

[jboss-user] [JBoss Seam] - Exception handling with interceptors

2008-02-08 Thread nickarls
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)

[jboss-user] [JBoss Seam] - Re: DocumentStore usage change - Urgent!!!

2008-02-08 Thread nickarls
UIDocument.PDF? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4127807#4127807 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4127807 ___ jboss-user mailing list

[jboss-user] [JBoss Tools (users)] - Tag completion

2008-02-08 Thread nickarls
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

[jboss-user] [JBoss Seam] - Re: s:selectItems label and value

2008-02-07 Thread nickarls
[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

[jboss-user] [JBoss Seam] - Re: s:selectItems label and value

2008-02-07 Thread nickarls
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 :

[jboss-user] [JBoss Seam] - Re: s:selectItems label and value

2008-02-07 Thread nickarls
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

[jboss-user] [JBoss Seam] - Re: Error while testing using external database

2008-02-06 Thread nickarls
In JBoss AS it's in .\server\default\conf\jboss-log4j.xml View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4126894#4126894 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4126894 ___

[jboss-user] [JBoss Seam] - Prayed for the J2EE users lately?

2008-02-06 Thread nickarls
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 :

[jboss-user] [JBoss Seam] - Re: How to passing through request parameters to the next pa

2008-02-06 Thread nickarls
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=bbop=viewtopicp=4126983#4126983 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4126983

[jboss-user] [JBoss Seam] - Re: Please help ! Can't persist data into related tables

2008-02-06 Thread nickarls
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

[jboss-user] [JBoss Seam] - Re: Seam doesn't inject components when using a custom Servl

2008-02-06 Thread nickarls
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

[jboss-user] [JBoss Seam] - Re: Please help ! Can't persist data into related tables

2008-02-06 Thread nickarls
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) {

[jboss-user] [JBoss Seam] - Re: Prayed for the J2EE users lately?

2008-02-06 Thread nickarls
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

[jboss-user] [JBoss Seam] - Re: Seam and Acegi

2008-02-06 Thread nickarls
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=bbop=viewtopicp=4127260#4127260 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4127260

[jboss-user] [JBoss Seam] - Re: A lot of

2008-02-05 Thread nickarls
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=bbop=viewtopicp=4126504#4126504 Reply to the post :

[jboss-user] [JBoss Seam] - Re: What about Web Beans?

2008-02-05 Thread nickarls
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 :

[jboss-user] [JBoss Seam] - Re: Reorganizing templates in WEB-INF

2008-02-04 Thread nickarls
You will have to add the path to all references of the page also. So if you have an | ui:include src=foo.xhtml/ | it should become | ui:include src=/thefolder/foo.xhtml/ | Same goes everywhere the page is referenced - templates, navigation etc. View the original post :

[jboss-user] [JBoss Seam] - Re: How to escape the # sign in a seam EL?

2008-02-04 Thread nickarls
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 :

[jboss-user] [JBoss Seam] - Re: Obtaining user's host information

2008-02-04 Thread nickarls
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 :

[jboss-user] [JBoss Seam] - Re: addToControlFromResourceBundle strangeness

2008-02-03 Thread nickarls
Strange enough for a JIRA or am I missing something with the usage? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4125886#4125886 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4125886

[jboss-user] [JBoss Seam] - Re: java null pointer exception in rich:dataTable based on

2008-02-03 Thread nickarls
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=bbop=viewtopicp=4125914#4125914

[jboss-user] [JBoss Seam] - Re: handleException details

2008-02-03 Thread nickarls
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=bbop=viewtopicp=4126005#4126005 Reply to the post :

[jboss-user] [JBoss Seam] - Re: Boolean to integer customconverter!!

2008-02-03 Thread nickarls
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 :

[jboss-user] [JBoss Seam] - addToControlFromResourceBundle strangeness

2008-02-01 Thread nickarls
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);

[jboss-user] [JBoss Seam] - Re: addToControlFromResourceBundle strangeness

2008-02-01 Thread nickarls
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=bbop=viewtopicp=4125456#4125456 Reply to the post :

[jboss-user] [JBoss Seam] - Re: handleException details

2008-02-01 Thread nickarls
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=bbop=viewtopicp=4125517#4125517 Reply to the post :

[jboss-user] [JBoss Seam] - Re: handleException details

2008-02-01 Thread nickarls
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=bbop=viewtopicp=4125515#4125515 Reply to the post :

[jboss-user] [JBoss Seam] - Re: NPE when logging inside a property getter

2008-02-01 Thread nickarls
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=bbop=viewtopicp=4125689#4125689 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4125689

[jboss-user] [JBoss Seam] - Re: value of context variable is not an instance of the comp

2008-01-31 Thread nickarls
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=bbop=viewtopicp=4125008#4125008 Reply to the post :

[jboss-user] [JBoss Seam] - Re: Facelet Templates from a Database

2008-01-31 Thread nickarls
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 :

[jboss-user] [JBoss Seam] - Re: why list empty

2008-01-31 Thread nickarls
but debug output in the list getter shows 0? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4125061#4125061 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4125061 ___ jboss-user

[jboss-user] [JBoss Seam] - Re: why list empty

2008-01-31 Thread nickarls
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=bbop=viewtopicp=4125062#4125062 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4125062

[jboss-user] [JBoss Seam] - Re: why list empty

2008-01-31 Thread nickarls
What happens if you scope it to session just for test? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4125081#4125081 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4125081 ___

[jboss-user] [JBoss Seam] - Re: Seam is the way to Over-Engineering!

2008-01-31 Thread nickarls
It must be so, someone said it in a TSS comment! ;-) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4125104#4125104 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4125104 ___

[jboss-user] [JBoss Seam] - Re: Internal Architecture of Seam Design and Source Code

2008-01-31 Thread nickarls
[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

[jboss-user] [JBoss Seam] - Re: java null pointer exception in rich:dataTable based on

2008-01-31 Thread nickarls
[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 :

[jboss-user] [JBoss Seam] - Re: Using @In to get the Hibernate session

2008-01-31 Thread nickarls
Well, something like that is suggested in section 8.4 of the manual. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4125382#4125382 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4125382

[jboss-user] [JBoss Seam] - Re: How can i disable skipping over the authentication?

2008-01-30 Thread nickarls
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=bbop=viewtopicp=4124682#4124682 Reply to the post :

[jboss-user] [JBoss Seam] - Re: How can i disable skipping over the authentication?

2008-01-30 Thread nickarls
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

[jboss-user] [JBoss Seam] - Re: how to capture no active context exception from filter

2008-01-30 Thread nickarls
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=bbop=viewtopicp=4124713#4124713 Reply to the post :

[jboss-user] [JBoss Seam] - Re: Seam newbie question

2008-01-30 Thread nickarls
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 | s:link action={actions.add} rendered=#{action='add'}Add/s:link | s:link

[jboss-user] [JBoss Seam] - Re: seam-gen makes EARs that are 12X bigger than they need t

2008-01-29 Thread nickarls
[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=bbop=viewtopicp=4124543#4124543 Reply to the post : http://www.jboss.com

[jboss-user] [JBoss Seam] - Re: seam-gen makes EARs that are 12X bigger than they need t

2008-01-29 Thread nickarls
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=bbop=viewtopicp=4124593#4124593 Reply to the post :

[jboss-user] [JBoss Seam] - Re: seam-gen makes EARs that are 12X bigger than they need t

2008-01-29 Thread nickarls
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=bbop

[jboss-user] [JBoss Seam] - Re: getAsObject not being called - why?

2008-01-29 Thread nickarls
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 :

[jboss-user] [JBoss Seam] - Re: Seam 2.0.1.CR2 seam-gen does not create a deployable pro

2008-01-29 Thread nickarls
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

[jboss-user] [JBoss Seam] - Re: s:selectItem problem while persisting

2008-01-29 Thread nickarls
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 :

[jboss-user] [JBoss Seam] - Re: Beginner: Bind SelectOneMenu to @onetoone entity object

2008-01-28 Thread nickarls
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 | jndi-nameFooDatasource/jndi-name | a persistence.xml with |

[jboss-user] [JBoss Seam] - Re: Beginner: Bind SelectOneMenu to @onetoone entity object

2008-01-28 Thread nickarls
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 -

[jboss-user] [JBoss Seam] - Re: Beginner: Bind SelectOneMenu to @onetoone entity object

2008-01-28 Thread nickarls
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=bbop=viewtopicp=4123998#4123998 Reply to the post :

[jboss-user] [JBoss Seam] - Re: Web Beans Sneak Peek

2008-01-28 Thread nickarls
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=bbop=viewtopicp=4124014#4124014 Reply to the post :

[jboss-user] [JBoss Seam] - Re: Beginner: Bind SelectOneMenu to @onetoone entity object

2008-01-28 Thread nickarls
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=bbop=viewtopicp=4124028#4124028 Reply to the post :

[jboss-user] [JBoss Seam] - Re: Seam + Informix

2008-01-28 Thread nickarls
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=bbop=viewtopicp=4124180#4124180 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4124180

[jboss-user] [JBoss Seam] - Re: @In attribute requires non-null value: register.user

2008-01-28 Thread nickarls
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=bbop=viewtopicp=4124253#4124253 Reply to the post :

[jboss-user] [JBoss Seam] - Re: seam-gen makes EARs that are 12X bigger than they need t

2008-01-28 Thread nickarls
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

[jboss-user] [JBoss Seam] - Re: pojoCache is not injected with latest build from SVN

2008-01-28 Thread nickarls
Anything in the deploy logs? Tried cleaning the project? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4124256#4124256 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4124256 ___

[jboss-user] [JBoss Seam] - Re: pojoCache is not injected with latest build from SVN

2008-01-28 Thread nickarls
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=bbop=viewtopicp=4124272#4124272 Reply to the post :

[jboss-user] [JBoss Seam] - Re: s:selectItem problem while persisting

2008-01-28 Thread nickarls
Does the corresponding h:selectItems work? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4124273#4124273 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4124273 ___ jboss-user

[jboss-user] [JBoss Seam] - Re: error while reading /WEB-INF/components.xml ??

2008-01-27 Thread nickarls
Post all stacktrace you can find, you can (almost) never have too much. Is there anything about properties resolving to null in it? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4123898#4123898 Reply to the post :

  1   2   3   4   5   >