[JBoss-user] [JBoss Seam] - Re: Access to response.getOutputStream() via SEAM

2006-05-22 Thread amarinis
If you do want this to work of osx and probably some other platforms, then you will also need the following line in the code | res.setHeader("Content-disposition", "attachment; filename=aFile.xls"); | You may want to store the file name and return that in the above or try to map extension

[JBoss-user] [JBoss Seam] - Re: Problem configuring seam for myfaces

2006-05-16 Thread amarinis
I think I found the reason for the anonymous wrote : java.lang.ClassCastException: org.apache.myfaces.config.MyfacesConfig error. If you have a look at wiki page http://wiki.jboss.org/wiki/Wiki.jsp?page=SeamFileUpload you will find a very concise sample for using the tomahawk libraries, thanks

[JBoss-user] [JBoss Seam] - Re: Error during model data update!

2006-04-19 Thread amarinis
Every now and then I come aross this error. I found the easiest way to fix/workaround this error is to add a @Name annotation to your Entity. ie: @Name("supplier") Hope this helps. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3938256#3938256 Reply to the

[JBoss-user] [JBoss Seam] - Why do we need Interfaces

2006-03-17 Thread amarinis
OK This may sound silly but: Following in the footsteps of seam, simplifying web based applications, I am having trouble trying to understand why an Interface is needed for every stateful action class i create. Can someone help explain this to me. I know I am going to be asked this question by

[JBoss-user] [JBoss Seam] - Re: End a task and begin another at the same time?

2006-03-10 Thread amarinis
Gavin Have you managed to look at this one yet? let me know what you think. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3929496#3929496 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3929496 ---

[JBoss-user] [JBoss Seam] - Re: initial values

2006-03-08 Thread amarinis
I suggest you remove the @In annotation. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3928839#3928839 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3928839 --- Thi

[JBoss-user] [JBoss Seam] - Re: End a task and begin another at the same time?

2006-02-15 Thread amarinis
OK Here it goes The system I am prototyping is as follows. Within an insurance company, a client(member) has asked for an increase of cover. In this case, the request has come through in the format of an application form. This application form is scanned and starts a process definition. @Creat

[JBoss-user] [JBoss Seam] - Re: End a task and begin another at the same time?

2006-02-15 Thread amarinis
Tom That is pretty much the scenario I am trying to achieve. The first task has an action I do not want to run again if the user exits the session. In essence the pageflow is only an offshoot of the current business process. View the original post : http://www.jboss.com/index.html?module=bb&o

[JBoss-user] [JBoss Seam] - Re: End a task and begin another at the same time?

2006-02-15 Thread amarinis
I think the application could be developed better but since it is a POC I am not too fussed. The reason for wanting to do this is as follows My process definition begins with a decision, the decision depending on the action will either assign to a parent item(and begin work) or ask the user to

[JBoss-user] [JBoss Seam] - End a task and begin another at the same time?

2006-02-14 Thread amarinis
Using Seam, is it possible to end a task using @EndTask (transition) and begin another task at the same time? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3923786#3923786 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=repl

[JBoss-user] [JBoss Seam] - Re: Multiple action types in task list

2006-02-09 Thread amarinis
Thanks, seems like the most appropriate way. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3922780#3922780 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3922780 ---

[JBoss-user] [JBoss Seam] - Re: Multiple action types in task list

2006-02-09 Thread amarinis
You did document that. But that would give me mulitple lists. I actually want one list with all actions pending. Then selecting a certain task would execute and action that may be different to another action for the same list. Does this make sense? View the original post : http://www.jboss.

[JBoss-user] [JBoss Seam] - Multiple action types in task list

2006-02-09 Thread amarinis
I have a datatable generated with a list of tasks using #{taskInstanceList}. This displays all tasks associated to me regardless of the step the process is at. What would be the best way to select a certain action based on the individual task without having to create multiple lists. For examp

[JBoss-user] [JBoss Seam] - Re: Expression Fails when In and Out injection specified

2006-02-08 Thread amarinis
Yep, that worked. This appears that primitives are not liked when using seam with jbpm I have also had the issue before with Strings and int's. Makes sense though if something is null a long would not handle that. thanks View the original post : http://www.jboss.com/index.html?module=bb&op=vi

[JBoss-user] [JBoss Seam] - Expression Fails when In and Out injection specified

2006-02-08 Thread amarinis
@In(required=false) @Out(scope=ScopeType.BUSINESS_PROCESS,required=false) long fileId; The above makes a task expression fail. If I remove the @In annotation then everything works fine. However I have another method within the same seam component that requires the varbiable at a later stage in t

[JBoss-user] [JBoss Seam] - Re: EntityManager in a decision expression

2006-02-08 Thread amarinis
FYI I needed to make the component Stateful too. thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3922460#3922460 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3922460 ---

[JBoss-user] [JBoss Seam] - EntityManager in a decision expression

2006-02-05 Thread amarinis
Is there a way to use an EntityManager within a decision expression? for instance. I have a decision task that needs to perform a check against data in my database. I do not want to searcht he JBPM database. Any ideas? View the original post : http://www.jboss.com/index.html?module=bb&op=vie

[JBoss-user] [JBoss Seam] - Re: Archive deployment and seam component scanner problem ?

2006-01-24 Thread amarinis
I had a similar problem and found that the issue was that I included the jboss-seam.jar file in my WEB-INF/lib directory. I removed the jar file from this directory and added the jboss-seam.jar file to the root folder of the ejb archive together with the seam.properties. View the original po