[jboss-user] [JBoss Seam] - Dynamic number of input types

2007-09-08 Thread leezard
Hi all again, Now I'm trying to solve another JSF/Seam related problem and hope yopu will help me to do it :) I have an Seam component defined as: | | @Name(account) | class Account { |private String id; |private String name; |private ListLimit limits; | |//

[jboss-user] [JBoss Seam] - Re: Dynamic number of input types

2007-09-08 Thread leezard
ok, I've partially found a solution - long running conversations and jsf syntax like this: |h:outputText vallue=#{account.limits[0].type}/ |h:inputText vallue=#{account.limits[0].value}/ | But another thing is: how to iterate thorough this list in JSF to be able to use list

[jboss-user] [JBoss Seam] - passing seam component as EJB method call argument

2007-09-07 Thread leezard
Hi all, I've next Seam problem. If I have injected Seam component (let's say it s an instance of class X) using @In annotation and want to pass this component as a EJB method call argument I get error saying that this is not an object of class X but kind of *javaassist* proxy. How can I cope

[jboss-user] [JBoss Seam] - Re: SEAM POJO: ROLE BASED ACCESS CONTROL?

2007-09-05 Thread leezard
I'll join to this question also and ask one more: is it still possible to link different seam applications using SSO (not Jboss SSO, but simple Tomcat valves-based) if I have Seam app without EJB3 ? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4081323#4081323

[jboss-user] [JBoss Seam] - Re: jbpm and exception handling

2007-07-03 Thread leezard
Up. Maybe somebody help me this time? I'm sure you know how to do it. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4059813#4059813 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4059813

[jboss-user] [JBoss Seam] - Re: jbpm and exception handling

2007-07-03 Thread leezard
So it's not possible to handle exception thrown during pageflow excecution in seam? If it is so, pageflow seems to be completely useless, because every time I get seam debug page and ugly exception stack. The only way I see is to code exception handling by myself. So I'm afraid I need to go

[jboss-user] [JBoss Seam] - Re: jbpm and exception handling

2007-07-03 Thread leezard
But embedded Seam exception handling (I mean this defined using section in pages.xml) doesn't work. Even though there is apropriate exception class section, I get this ugly result (bad redirect and stacktrace) View the original post :

[jboss-user] [JBoss Seam] - Re: jbpm and exception handling

2007-06-28 Thread leezard
Hey, say something. I believe there is simple way to do this, but I can't find it, and now my project can't be finished because of this. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4058584#4058584 Reply to the post :

[jboss-user] [JBoss Seam] - jbpm and exception handling

2007-06-27 Thread leezard
Hi, What should I do to be able to use declarative (XML) exception handling together with pageflows? I've got very simple pageflow where I have |start-page name=setRevokeDetails view-id=/setRevokeDetails.jspx no-conversation-view-id=/main.jspx | redirect/ | transition

[jboss-user] [JBoss Seam] - pageflow and exception problem

2007-06-26 Thread leezard
Hi again, I've quite simple pageflow: | pageflow-definition | xmlns=http://jboss.com/products/seam/pageflow; | xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; | xsi:schemaLocation=http://jboss.com/products/seam/pageflow http://jboss.com/products/seam/pageflow-1.2.xsd;

[jboss-user] [JBoss Seam] - Re: pass seam component to external ejb call causes exceptio

2007-06-22 Thread leezard
Hey, people - nobody can't help? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4056743#4056743 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4056743 ___ jboss-user mailing list

[jboss-user] [JBoss Seam] - Re: pass seam component to external ejb call causes exceptio

2007-06-22 Thread leezard
[EMAIL PROTECTED] wrote : You expect an answer in two hours from a community support forum? Sorry, I was slumped. I'm still getting into new problems and it's annoying. Do you mean client jar? It's in ear's root dir. One more thing I noticed is that when I redeploy both my seam app and ear

[jboss-user] [JBoss Seam] - Re: pass seam component to external ejb call causes exceptio

2007-06-22 Thread leezard
But I don't use remote EJB as component, I use it like that: @EJB MyRemoteService service; The only external class I use in seam is TestTransactionRequest, but it's mentioned in components.xml to be seam component. View the original post :

[jboss-user] [JBoss Seam] - custom jsf components with seam question

2007-06-22 Thread leezard
Hi again, I've stupid question. I need custom JSF component in my application, and now I wonder if it's possible to use plain custom JSF component in my seam app? Or do I need some special magic to use them? Can anybody give me some links or examples to incorporate simple custom tags into seam

[jboss-user] [JBoss Seam] - page refresh instantiates new conversation, how to avoid it?

2007-06-21 Thread leezard
Hi all again, Maybe this time someone will reply. I have page requested via get request (either from external application or directly from browser's address bar). This page is mentioned in pages.xml and has begin conversation join=true pageflow=sample/ This page is also a first page in

[jboss-user] [JBoss Seam] - Re: page refresh instantiates new conversation, how to avoid

2007-06-21 Thread leezard
I think your second reply was not in this topic :) But let's back to refreshing. So what is the join=true for? I though it was exactly for this purpose :( View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4056484#4056484 Reply to the post :

[jboss-user] [JBoss Seam] - pass seam component to external ejb call causes exception [u

2007-06-21 Thread leezard
Hi all again, My next seam problem is: I have an external ejb, I call to perform some operations. I have also set of classes delivered in separate jar. One of those classes was marked as seam component I couldn't do it via annotation so I added: component name=request

[jboss-user] [JBoss Seam] - Re: pass seam component to external ejb call causes exceptio

2007-06-21 Thread leezard
What is weird, that it happens only after I redeploy my application. If I start Jboss AS again it works OK (I can't reproduce this behaviour), but when I deploy the same EAR (only with modification date changed) I get it immediately :| View the original post :

[jboss-user] [JBoss Seam] - Re: pass seam component to external ejb call causes exceptio

2007-06-21 Thread leezard
It's sad... That's my fifth question about Seam, because I get into problems very often (altough I read whole documentation at least 3 times, and also searched forum for a very long time), and I got answer only for one of my questions. I don't know how should I start using seam if I can't get

[jboss-user] [JBoss Seam] - Re: pass seam component to external ejb call causes exceptio

2007-06-21 Thread leezard
One more thing in this topic: I created base class for my TestTransactionRequest (TestTransactionRequest inherits from it but doesn't add any functionality) and changed my external bean method arguments. This new class is not a seam component, and if i rewrite data from TestTransactionRequest

[jboss-user] [JBoss Seam] - seam app and external ejb DB service (entities problem)

2007-06-20 Thread leezard
Hi all again, I've strange problem with Seam design. My Seam application beans use external beans to invoke database operations. I don't have any DB-related logic in my Seam app. The external application provides set of entities I can use, and here my problem begins. I have form in my

[jboss-user] [JBoss Seam] - seam app + another app using SSO

2007-06-19 Thread leezard
Hi all, I have main application written in Struts and I need to link my smaller seam application with it using SSO. What I need to do is: - user clicks specified link at the main application's page with url parameter and gets into seam application where some pageflows / actions are preformed.

[jboss-user] [JBoss Seam] - Seam application packaging question

2007-06-14 Thread leezard
Hi all, I'm trying to build seam sample application using maven. I have only a few dependencies in my project: seam-1.2.1, seam-ui-1.2.1, facelets and java5 api (just for development). Now when I package whole application into EAR maven includes all seam's dependencies into this EAR. Those