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
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
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
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
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
---
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
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
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
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
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
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
---
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.
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
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
@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
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
---
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
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
18 matches
Mail list logo