[JBoss Tools] New message: "Re: problem rendering custom elements in JBossTools HTML editor"
by Nicolas S.
User development,
A new message was posted in the thread "problem rendering custom elements in JBossTools HTML editor":
http://community.jboss.org/message/527024#527024
Author : Nicolas S.
Profile : http://community.jboss.org/people/nicolasS
Message:
--------------------------------------------------------------
i'm using version 2.1
no its not registered how do i register it in web.xml?
yes that would be the 2nd problem...
i already needed a taglib 4 rendering options (at runtime). --> so how can i register a renderer at runtime and add the source to render it in vpe?
to test i just deleted the runtime rendering class
i had it like this:
tag
tagname [tagname] /tagname
component
component type [component type] /component-type
renderer-type [renderer-type] /renderer-type
/component
/tag
now i deleted the component part and added
source [here comes the path to the dataTable.xml] /source
--------------------------------------------------------------
To reply to this message visit the message page: http://community.jboss.org/message/527024#527024
16 years, 4 months
[JBoss Web Services] New message: "RESTEasy or Jersey"
by venugopal sundaram
User development,
A new message was posted in the thread "RESTEasy or Jersey":
http://community.jboss.org/message/527016#527016
Author : venugopal sundaram
Profile : http://community.jboss.org/people/venuwin1
Message:
--------------------------------------------------------------
Hi,
We have a requirement for RESTFul webservices. It is upto my team to decide whether to go with Jersey (or) Restlet (or) RESTEasy or anything else. after omitting other frameworks, we are not able to choose between RESTEasy and Jersey.
Since both of them seem to be almost the same, what should we consider?
We dont need SOAP support. Client API should be simple and rich.Already we are using JBoss 5.1 in production.
Please let us know the Pros and cons of jersey and RESTEasy. Except that it is from JBoss, we are not able to find any valid point over Jersey.
Thanks in advance.
Venu
--------------------------------------------------------------
To reply to this message visit the message page: http://community.jboss.org/message/527016#527016
16 years, 4 months
[jBPM Development] New message: "Storing java.util.Collection on process"
by Ruben Bentein
User development,
A new message was posted in the thread "Storing java.util.Collection on process":
http://community.jboss.org/message/527010#527010
Author : Ruben Bentein
Profile : http://community.jboss.org/people/rubenbentein
Message:
--------------------------------------------------------------
I have a question about a best practise concerning processes with a dynamic list as a variable.
Let's say for example i have an process which has to store 0..* objects as variables. I.e. an process B
+public class B{+
+ string b1;+
+ string b2;
+
+ java.util.Collection<A> aCollection;
+
+}+
and a class A
+
+
+public class A{+
+ string a1;+
+ string a2;
+
+}+
so before calling
+executionService.startProcessInstanceByKey("B-process-name", variables);+
I have to fill the variables map. But how should i add aCollection ? Should i do something like
+
+
+variables.put("b1", someBObject.b1);+
+variables.put("b2", someBObject.b2);+
+for (int i=0 ; i<someBObject.aCollection.size() ; i++){
+
+ variables.put("aCollection[++" + i + "].a1", aCollection.get(i).a1++);
+
+ variables.put("aCollection[++" + i + "].a2", aCollection.get(i).a2);+
+}+
Or maybe there is a better/cleaner solution.
Or should i store these object in my own tables, and just store a reference (id) on the variables list ?
Thanks for any replies
--------------------------------------------------------------
To reply to this message visit the message page: http://community.jboss.org/message/527010#527010
16 years, 4 months