I've created a set of Seam code generation commands that allow a developer to
get up and running with Seam quickly. At some point, the seam-gen commands will
be extended into IDE plugins but they are very useful today. This command line
interface is for developers that want productive tooling fo
The support for @Factory methods that return values causes problems for me and
my DataBinders.
I have the following:
| @SelectItems
| private List items;
|
| @Factory("items")
| public List getItems()
| {
|... static lookup code
| }
|
Prio
No it isn't. @Factory("name") on a void method tells Seam to call this method
when "name" needs to be created. This method typically sets an instance
variable that is labeled for outjection like in Gavin's example. What is
different in Gavin's example is that @DataModel implicitly outjects.
See http://jira.jboss.com/jira/browse/JBWS-998.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958309#3958309
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958309
___
jboss-u
Isn't that being taken care of by the @Factory("newEntry") annotation? Neither
the jbossworld-seam-lab example nor Gavin's
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=72267 thread used an
@Out annotation.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewto
Hi Koen,
Thanks for the reply.
Is there an equivalent to Intalio Data Mapper in iBPM ?
Intalio Data Mapper is a graphical tool inside Intalio|BPMS Designer (Eclipse
based) that provides the ability to apply transformation to process variables
in order to create messages, new variables, conditi
I reprogrammed my test example and now I got an example. There must be
something I didn't get it right to have Seam to redisplay the current page.
21:23:34,937 ERROR [PhaseListenerManager] Exception in PhaseListener
RESTORE_VIEW(1) afterPhase
java.lang.IllegalStateException: No active conversati
You can't outject from entities and by default the EL requires getters/setters.
I was thinking that a custom JSF VariableResolver might help, but it seems
that it only resolves the top-level object (ie, the entity), not the actual
returned variable.
I think you're SOL here, unless the JSF EL i
I see, now it makes sense :-)
Thanks a lot for your help!!!
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958303#3958303
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958303
___
Thanks for the pointers. I just tried the booking example. When I used the
backbutton and later clicked on a action button, it displayed no conversation
message. I was expecting the system would redisplay the current page
immediately as soon as I hit the backbutton.
I guess I've to debug my cur
Hi,
I want to evaluate an EL against some static final from an entity which I tried
to outject and (@Out (value="final1")) however it is ignored. Can I not outject
from entities? How is it usually solved if one would like access a public
static final w/o having to implement getters for them?
T
Hi I am stuck on this issue - my hsqldb-jdbc2-service.xml is below. Unmodified
from distributed with 4.0.4
org.jboss.mq.SpyJMSException: Could not resolve uncommited transactions. Messag
e recovery may not be accurate; - nested throwable:
(org.postgresql.util.PSQLExc
eption: ERROR: syntax e
"markfoerstein" wrote :
| These exceptions are usually not the cause of the problem itself. Try
looking at the JBoss/Tomcat console window. At the end of the stack you will
find the exception that caused everything.
| Post'em here.
Thanks Mark I'll do that. First I'm going to do a clean res
The incorrect components.xml documentation is here:
http://docs.jboss.com/seam/latest/reference/en/html/tutorial.html#d0e554
This should probably be updated to have the correct jndiPattern.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958298#3958298
Repl
I'm having exact same problem! Have you come across a solution for that? Can
anyone help? Thanks!
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958296#3958296
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958296
___
Hi,
I have a question regarding the possibility to ignore entities dynamically,
based on whether or not they contain data. Let me explain:
class Person implements Serializable {
private Information info = new Information();
private String name;
...
}
now I don't want to save the infor
Hi,
I have a question regarding the possibility to ignore entities dynamically,
based on whether or not they contain data. Let me explain:
class Person implements Serializable {
private Information info = new Information();
private String name;
...
}
now I don't want to save the infor
Code didn't make it:
|
|
|
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958293#3958293
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958293
The work around for the bug worked
To all who are interested here was how i assigned an int constant
Thanks.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958292#3958292
Reply to the post :
http://www.jboss.com/index.html
Yes, it should be that.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958291#3958291
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958291
___
jboss-user mailing list
jboss-u
I like the idea of having it configurable - let the web services team configure
theirs so it returns the exception, let me configure it so it will throw the
exception :-)
I just learned that a recent change now means invoke doesn't return an
exception object, instead it returns a String (correc
I have worked on simplifying my problem, resulting in the following
question--could someone please tell me how to, or have a code example of the
annotations to configure combining inheritance with a one-to-many relationship
among entities (i.e., A is the superclass of B. B contains a Collection
As far as I can see, a value for newEntry is never outjected. You'll need to
enable one of those commented out outjections.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958288#3958288
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=postin
jBPM pageflow solves the problem of backbutton. Take a look at Chapter 4 of the
documentation.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958287#3958287
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958287
___
Thanks very much David,
If you could put up the removeUser and cascade issues you resolved, that would
be great.
Kazam.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958286#3958286
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mod
Could someone please help me with getting a component initialized properly? I
have read so many posts and tried many solutions with no avail.
Few things that I have leaned from the posts:
1. @Begin does not start a new conversation. It only promotes a short-running
conversation to a long-running
Here is a small test class showing the behavior.
| public class MulticastSocketTest
| {
|public static void main(String[] args)
|{
| try
| {
| int port = Integer.parseInt(args[0]);
| InetAddress interfaceAddress = InetAddress.getByName(args[1]
Forgot "void" on rotate() when typing in the example but the actual problem is
a null timerService variable, as stated.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958281#3958281
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mo
Hi,
How can I change the properties of a portal instance?
When I log on to the portal as an admin, go to the 'management' page
and click on 'default' portal instance in the tree and view the properties, it
seems that the properties are not editable!
I want to change the default object name for
Added a timer service to an Entity bean but when calling rotate() I get a null
pointer exception. The container failed to inject a TimerService for me.
| @Entity public class Planet implements Serializable
| {
| @Resource TimerService timerService;
|
| public rotate()
|
In jboss4.03 ; I config the datasource with msql-ds.xml ;but if the mssql
server disconnect ; jboss can't auto connect the mssql server I must start up
the jboss server again . why and how can i do ? thank:)
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&
Hi,
I want to nest datatable, with the inside loop containing a s:link with an
action.
Something like:
|
| #{currentSection.sectionLabel}
|
| #{currentQuestion.questionLabel}
|
Just for any that are interested in this thread, here is what the spec says
about this:
anonymous wrote :
| EJB3 Persistence Specification, page 54
|
| 3.3.2 Transaction Rollback
|
| For both transaction-scoped and extended persistence contexts, transaction
rollback causes all pre-
Hello,
I would like to use jguard with pentaho (which is deployed on JBoss 4.03) to
secure the portal.
After downloading the jguard zip and install it, i was able to launch
start-pentaho.bat but i had the following errors :
anonymous wrote :
| 2006-07-07 10:55:29,984 WARN [org.jboss.system.
OK, so I spent some time playing with JSF yesterday afternoon. Overall I'm
pretty happy with the APIs but
So, what I've noticed so far is:
(0) is required in MyFaces, as per Ajax4JSF docs (ugly!)
(1) breaks with Seam, probably some problem to
do with phase listeners/filters
(2) is totall
Hi,
I'm also interested by the answer to this :) I'm trying to achieve the exact
same purpose.
Tchao
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958271#3958271
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=395827
Did you try the booking example? It seems to handle the back button very well.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958270#3958270
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958270
I have JBoss v4.0.3SP1 installed along with MySQL v5.0.22.
I am using Eclipse 3.1.2 with MyEclipse 4.1.1 for my development. I am using
XDoclet to generate the code for the EJBs.
In my application I have my CMP EJBs configured for v2.X.
In one of my EJBs I have the following finder:
| *
Thanks for your answer beacuse I've got confused by this case.
BTW: when you suppose to release the suport for app clients?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958268#3958268
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting
Dears,
We have an application that been used by a 600 users via netowrk
connections over the country, at a time, not less than 150 users are online
using the application, the main goal of the application is to be an interface
for a huge database and oter network components, we are facing a
Okiee,
I encountered this beast today as i was trying to get some hand on SEAM after i
heard lots of good reviews. As mentioned in one of the posts here I
're-installed JBoss', using JEMS installer, using ption 'ejb3' on installer
menu, previously i opted for option 'ALL'.
And when i deployed
Okiee,
I encountered this beast today as i was trying to get some hand on SEAM after i
heard lots of good reviews. As mentioned in one of the posts here I
're-installed JBoss', using JEMS installer, using ption 'ejb3' on installer
menu, previously i opted for option 'ALL'.
And when i deployed
hi,
First of all thanks for your help.
The schema was automatically created. I used the JBPM Starter's Kit. I checked
the DB Administrator and there are no typos in the table name. I'm also using
the Eclipse JBPM IDE Bundle which has a plug-in that automatically creates a
JBPM Project, but i n
I am running
jboss-portal-2.2.1-SP1 src
jboss-forums-2.2.1-SP1 src
which I built and deployed on
jboss-portal-2.2.1-SP1-bundled
It all works terrifically but now my users are asking
"How do I use emoticons in the Forums"?
I see reference to emoticons/smiles in the code and this forum @ www.jboss
i have two tables
CREATE TABLE categories (
categories_id BIGINT(20) NOT NULL,
image VARCHAR(45) NOT NULL,
parent_categories_id BIGINT(20) NOT NULL,
sort_order INTEGER(3) NOT NULL,
last_modified DATETIME NOT NULL,
timestamp DATETIME NOT NULL,
PRIMARY KEY(categories_id)
);
CREATE TAB
Did you use MulticastSocket.setNetworkInterface()/setInterface() ? Can you post
some *short* sample code ?
Note I'm not subscribed to this forum, so you need to send me the code directly
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958260#3958260
Reply to t
= unbound type ...
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958259#3958259
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958259
___
jboss-user mailing list
jboss-user@
ORA 942: "table does not exist".
So you'll have to create the table or allow jboss to do it on startup.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958258#3958258
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=39582
The class org.eclipse.jdt.internal.compiler.CompilationResult is not part of
any lib of jbossrules. The class is needed, when an error occured in your rules.
I added org.eclipse.jdt.core_3.2.0.v_671.jar from eclipse 3.2.0 to the libs.
View the original post :
http://www.jboss.com/index.html?mod
[Using JBoss 4.0.3, EJB2, MySQL]
Hi Folks,
I have an EJB 2.0 app. and I need to effect the following (psudo) query for an
entity...
SELECT obj FROM Obj WHERE (obj.x IN {0}) LIMIT {1}
Using dynamicQL does it, but the LIMIT doesn't go into the actual SQL for MySQL
and blows the transaction
50 matches
Mail list logo