[JBoss Tools (users)] - Project structure and Seam
by speleomaniac
Hi everybody,
I have a new question.
In our project, we prefer a more traditonal project structure then the Seam Facet creates.
Seam Facet creates the following structure
Test
Test-ear
Test-ejb
Test-test
Our project realities are forcing a more traditional approach like
Test (web application)
Test-common
Test-dataEjb
Test-domain
Test-EAR
Test-sessionEjb
Off course I created these project seperatly and I go on them one by one and enabled the Seam Support and naturaly I tried to create a Seam Form in the web application Test, I am receiving the message 'Seam Runtime is not configured for selected Seam Web Project'.
As I said before I enabled Seam Support. Do I have to do something extra other then this?
Thx in advance
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4112471#4112471
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4112471
18 years, 4 months
[JBoss jBPM] - jboss/jbpm
by roybiswajit
i've tried the following code for assigning value to 'admin', but when i've checked in jboss/jbpm-console server i find some unexpected incident..such as..'ve assigned to 'admin' but user, manager can do the same work..but i want that 'admin' shuld done that particular work..but this is not yet done: as for example..if 've maked some fields such as 'id' 'name' with the help of 'admin'..after data entry to that particular fields..'ve log-out from the current page..again 've log-in with the help of 'user'..but surprisinly..'ve seen that 'user' can do the same work..so pls help me out from this problem...
package com.sample.assignment;
import org.jbpm.taskmgmt.def.AssignmentHandler;
import org.jbpm.graph.exe.ExecutionContext;
import org.jbpm.taskmgmt.exe.Assignable;
//import org.jbpm.graph.exe.ProcessInstance;
public class StartAssignmentHandler implements AssignmentHandler
{
private static final long serialVersionUID = 2L;
String message;//for field type
public void assign(Assignable assignable, ExecutionContext executionContext) throws Exception
{
assignable.setActorId("manager");
}
}
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4112470#4112470
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4112470
18 years, 4 months
[JBossCache] - Pojo doesn't get replicated in datastore
by dmary
Hi,
I've got a POJO which contains another POJO extends an ArrayList and when I put in cache, it store in datastore only the POJO which extends ArrayList but not its child elements.
If I use directly an ArrayList, it works like a charm.
Here is the code : @PojoCacheable
| public class SimpleCircularBuffer<T> extends ArrayList<T> {
|
| private int capacity;
|
| public SimpleCircularBuffer() {
| super(1);
| this.capacity = 1;
| }
|
| /**
| * @param capacity
| */
| public SimpleCircularBuffer(int capacity) {
| super(capacity);
| this.capacity = capacity;
| }
|
| public boolean add(T o) {
| if (this.capacity == this.size())
| super.remove(this.size() - 1);
| // super.poll();
| super.add(o);
| return true;
| }
|
| public int getCapacity() {
| return this.capacity;
| }
|
| public void setCapacity(int capacity) {
| this.capacity = capacity;
| }
| }
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4112466#4112466
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4112466
18 years, 4 months