yes tested, it worksThe @Destroy method is now like this
| @Remove
| @Destroy
| public void destroy() {
| if (!this.completedOrCanceled) {
| if (this.motherEntity.getId() != null) {
| entityManager.merge(this.recipe); // without merging there might be
ex
is your Date in the entity class java.util.Date?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4063641#4063641
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4063641
___
jboss-
http://docs.jboss.com/seam/2.0.0.B1/reference/en/html/concepts.html#d0e2704
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4063619#4063619
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4063619
___
Oh by the way, I don't think this is icky at all...yes, a pretty handy pattern.
My new-motherEntity.xhtml page has 5 or 6 parts are rounded with
|
| ...
|
|
And several of the fragment is modal (which is a nested conversation). The
mother Entity itself it too simple to be displayed
Hi DG!
Thank you very much for your informative input! In my original post, I was
dealing with the creation of a new motherEntity (which is a complex
process...). So the isNew flag would always be trueHowever the flag idea is
good. I can set a completedOrCanceled flag. Initialize it as fals
http://docs.jboss.com/seam/2.0.0.B1/reference/en/html/framework.html
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4063543#4063543
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4063543
__
Okay, thanks!
How can the persisted motherEntity be removed when the root conversation is
time out?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4063536#4063536
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4063536
Hi,
I've read the latest reference section 8.3.3
http://docs.jboss.com/seam/2.0.0.B1/reference/en/html/persistence.html#d0e5563
and annotated my long-running conversation with @begin(flushMode=MANUAL), wrote
em.flush(); in the @End method. But I still have some questions. When does the
transac
it's deprecated. Please read the new reference:
http://docs.jboss.com/seam/2.0.0.B1/reference/en/html/index.html
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4063471#4063471
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&
have you tried http://localhost:8080/seam-booking/?
Have you seen the ear file(or directory) in your jboss deploy directory?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4063038#4063038
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=postin
Hi, I want to debug a conversation with about 5 nested conversationsneed to
check which conversation entries are in the conversation stack, how do I do it?
Thanks!
Regards,
Ellen
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4063028#4063028
Reply to the
There is a method which ends a mother conversation like this:
|
| @End
| public void doA(){
| ...
| // call a method of another action bean which is annotated with
@Begin(nested=true)
| ...
| // call a method of another action bean which is annotated with @End
| ...
sorry, I forgot to add the code tag...the code should be:
|
| ...
| ...
| ...
|
|
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4063018#4063018
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=406301
Matt you are right. That was my mistake, sorry. I should have known more about
the pages-2.0.xsd first.Now I wrote the navigations this way:
...
...
...
all the navigation rules work fine now. :-)
Regards,
Ellen
View the original post :
http://www.jboss.com/index.html?module=bb&op
There are a lot of nested conversations in my application and I've been
struggling with the conversation states for days (especially when a son
conversation begins exactly inside a method which is annotated as @End in the
mother conversation). This fix can help me enormously, I'm really look
These two problems are solved. The modification I made in the seam code base
can be found here:
http://jira.jboss.com/jira/browse/JBSEAM-1635
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4062580#4062580
Reply to the post :
http://www.jboss.com/index.html?m
sorry no debugger if server started that way. The seam-gen generated app has a
debugger page, which tells pretty much about the server side state. That helped
a lot. Sometimes I had to resort to the server log too, yes, it really sucks
View the original post :
http://www.jboss.com/index.htm
I just updated the whole drools thing (core + dependencies) for my Seam
application, and ran "ant dist" for Seam minutes ago and updated the seam
libraries in my application. Now there is this problem(Warning: the stack trace
is long. Sorry for that)
anonymous wrote :
| Exception during
the jboss tools for eclipse nightly build is still _very_ awkward to use for
now. Do not use it. Install a clean Europa SDK (the classic SDK but not the
prepackaged one for JEE developers). Then use the Europa discovery site to
install the officially signed JEE features, so you get syntax highli
congratulations!
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4062394#4062394
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4062394
___
jboss-user mailing list
jboss-user@li
I am using drools 4.0.0 daily snapshot with seam 2.0 daily snapshot. The drools
4.0 M3 WorkingMemory API has been changed. Please have a look here:
http://wiki.jboss.org/wiki/Wiki.jsp?page=4.0.0.MR3ReleaseNotes
So the code in the RuleBasedIdentity class in the Seam security package should
chang
Yes it is! By the way, I've doubled checked that all the actions expressed in
the or were really executed and I did get the server side
state as I wanted them to be. Only the page redirection did not happen
anymore
Thanks Pete!
Regards,
Ellen
View the original post :
http://www.jboss.c
Thanks to you all! :-)
Regards,
Ellen
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4061788#4061788
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4061788
___
jboss-user mail
Hi bkroeger,
I am now having exactly the same problem like yours (got "failed to lazily
initialize " since the entities in the list have their own collections and
their collections would be implicitely modified in other stateful beans in my
application, not from this dataStore bean...I got
| List
|
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4061783#4061783
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4061783
___
jboss-user mailing list
jboss-user@lists
I mean List. :-)
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4061782#4061782
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4061782
___
jboss-user mailing list
jboss-user@lis
maybe the code
| int[] names= {"jim","john","tom","mick","bodger","badger"};
|
should be like
| String[] names= {"jim","john","tom","mick","bodger","badger"};
|
And the int[] type in your first method is a bit tricky if you want to do null
testI would like to use the Integer[] or
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=111930
You can download my patch, compile it (that class requires no other dependency
than the jdk), swap out the same class in the jboss-embedded-all.jar.
Regards,
Ellen
View the original post :
http://www.jboss.com/index.html?module=
Hi folks,
I would like to use the @Unwrap annotation in an APPLICATION scoped dataStore
bean. This stateless bean mainly caches the read-only static data which would
be used in the application. I'd like to learn more detail about the @Unwrap
than which are already presented in the reference man
One thing behaved strangely after I migrated my code to Seam 2.0 CVS. Say there
is code like this:
| @Stateful
| @Scope(CONVERSATION)
| @Name("strange")
| public class StrangeBacking implements Serializable, Strange{
| @In EntityManager em;
| private List somethings;
|
|
I'm afraid even for the first task, jBPM has something that jsf navigation does
not offer. For example, nested pageflow with all kinds of converstaion states
propagation
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4058435#4058435
Reply to the post :
My fault, in the entity class, the field was declared as "private short "
instead of "private Short ...". Sorry!
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4058328#4058328
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=r
Always got a IllegalArgumentException when I tried to input a null value for a
field (type Short) which was annotated with @Column(...nullable=true), exactly
the same managed entity, nullable fields with the type of String nulled well. I
did write "required="false" in the xhtml file, for the Sho
What's the consequence of using SFSB here? Performance/Scalability hit? Thanks!
Regards,
Ellen
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4058272#4058272
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4058272
__
In my application there are a lot of application scope values (read most, very
seldom update/insert/delete), things like all Zip Codes in a country, names of
all agents, etc. They resides in various different tables in the database. I
want to _always_ cache them in the memory, once and for all,
In case someone do not want to bother accessing the CVS or having trouble
accessing CVS, here is the migration guide I saw this morning. Written by Gavin
King. I think this will appear in the Seam site soon, but if you desparately
want to get things straight now
anonymous wrote :
| Seam
In the CVS repository you can already see a migration guide to Seam 2.0 written
by Gavin King on June 27th. From this migration guide you get a pretty good
picture about what has been changed. There is change log too, in another file.
If you get successful with the "ant dist", you can see the re
@Column(name="aColumn", nullable=true)
@Length(min=3, max=30)
public SomeType getSomething(){
return this.something;
}
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4057882#4057882
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=
You might want to pick up the latest Seam-compatible hibernate related jars
from the Seam CVS repository:
http://wiki.jboss.org/wiki/Wiki.jsp?page=SeamRepository
The latest revision has the very recent hibernate related jars. I tested
hibernate-all.jar and it worked well under various environme
Ach, it should be:
"2. The new seam-gen might not be working properly."
Sorry for my typos!
Regards,
Ellen
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4057878#4057878
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=
sorry, for the second point above I expressed wrong. It should be:
2. The new seam-gen might now working properly. When creating a new project,
jboss-local-jdbc.rar , jboss-xa-jdbc.rar , and jms-ra.rar should be copied to
$my-seam-project/bootstrap/deploy/. But current "seam new-project" does
Got it! I messed up things from the CVS snapshot and the CVS. Here are things
which should be fixed for CVS Snapshot:
1. The pom.xml under the /ui is missing in the Snapshot.
2. Three very important .rar files are missing in the Snapshot, under the
folder bootstrap/deploy/. They are: jboss-loc
did you miss a ) which should come before the } ??
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4057851#4057851
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4057851
___
jbos
You may want to try this in your backing bean: design a method which takes the
widgetId as parameter. The Seam enhanced EL can take parameter for backing bean
method calls, so it really does not matter whether you use it pages.xml or jpdl
files.
View the original post :
http://www.jboss.com/in
Now I see the jms-ds.xml in the bootstrap/deploy/messaging folder and the
hsqlds-ds.xml in the bootstrap/deploy folder. And I also see jboss-beans.xml
was removed from the configuration. Was the removal of jboss-beans.xml
intentional or?
Gavin could you please tell me about these lines in the h
Yes, bootstrap is in my classpath and build.xml. I've updated the project
configuration with the help of seam-gen came with the latest CVS. But still
having this problem.
Now I'm trying to figure out all the configuration files in the bootstrap
folder...Will post again when I find a more specif
Hi folks,
I'm using Seam 2.0 beta1 built from the CVS source. My test classes extending
SeamTest are having RARDeployment problem, I guess I need help on how to
configure the embedded microcontainer for the purpose of mocking Seam objects.
Here is the error trace:
|
| [Parser] Running:
Seam is changing drastically during recently weeksmaybe you want to try out
the latest version, Seam 2.0 beta 1 that is.
Yes the feature you wanted exists. I'be veen using s:button in my application
and it works just like s:link. :-)
Have a look at here and get the latest CVS snapshot:
ht
I just submitted a patch (only one line was changed in the original file),
please see here:
http://jira.jboss.org/jira/browse/JBAS-4491
I've compiled it and tested on my machine, seems working well. For anyone who
has the same problem: You just need to download the Signature.java, compile it
(
Ah, someone has already filed a bug report on June 18th. Please see here:
http://jira.jboss.org/jira/browse/JBAS-4491
I forgot to paste the whole stack trace in my last post. Here it is:
[Invoker 24561483] Invoking @BeforeClass org.jboss.seam.mock.SeamTest.init()
WARN 26-06 15:32:56,062
[org.j
environment: Seam 2.0 beta1, JBoss 4.2, JDK 1.6 b06 on Windows XP. My project
configuration all correctly updated using the Seam-gen came with 2.0 beta1.
Today when I ran test classes extending SeamTest, there was this exception:
DeploymentFilter -> java.lang.ClassNotFoundException: [Ljava.lang
Just got the 0625 snapshot and yes this problem was fixed. Thank you! Now the
version name is Seam 2.0 beta, wow! :-)
Another small problem is that the whole jboss-seam/maven subdirectory was not
included in the snapshot. So the ant build still broke. I've got the missing
files from the CVS rep
Well the problem lies in that I'm using JDK 1.6 but the seam core libs were
compiled against JDK 1.5. Here is my solution:
1. Edit the build.xml under the root directory of the Seam distribution (Let me
call it $SEAM_HOME). Replace all the 1.5 with 1.6. Save the build.xml
2. under the root of $
When the "extends SeamTest" was removed, the test class worked and the unit
tests passed without any problemBut I do want to extend the SeamTest to use
the inject/outject testingAnybody has tried out?
Thanks in advance for any help!
View the original post :
http://www.jboss.com/index.
It seems that the embedded ejb which is needed by testng was not started
correctly. I did not change the default configuration which was generated by
seam-gen. How should I change it to make the embedded container work with
testng? For now I'm not mocking any DB or doing integration test, but th
I set up the project using seam-gen (1.3.0 Alpha), wrote a very simple test
class which extends SeamTest. When I typed "ant test" in a shell, seams that my
test class was found. But I got the error output like below and all the tests
in the test class were skipped:
java.lang.IncompatibleClassCh
Sorry it was a type, the createRecipe.ingredients should be inside EL #{}. Now
the problem solved. Thanks!
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4056635#4056635
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=405
This exception:
javax.el.PropertyNotFoundException: /new-recipe.xhtml @127,54
value="#{ingre.unitSeq}": Property 'unitSeq' not found on type java.lang.String
Here is the relevant code in the new-recipe.xhtml:
|
|
|
|
|
|
Bug fixed: the line in the entity bean:
| public void setMsreDesc(String msreDesc) {
| msreDesc = msreDesc;
| }
|
should be
| public void setMsreDesc(String msreDesc) {
| this.msreDesc = msreDesc;
| }
|
This is really grievous and the bug was hard to track...Finall
Oh I forgot the mention that in the database, there is simply no null-value in
the msreDesc column. And I just modified this code:
| // Guarantee referential integrity
| food.getWeights().add(this);
|
in the FoodWeight entity class to:
| // Guarantee referential integrity
| f
My environment: JBoss As 4.2.0 GA, Seam 1.3.0 CVS June 14th, 2007
Here the backing bean:
| @Stateful
| @Scope(CONVERSATION)
| @Name("foodNutrients")
| public class FoodNutrientsAction implements Serializable, FoodNutrients {
|
| private static final long serialVersionUID = 36620
this is ellenzhao posting...
well the build.properties file contains only one line. That's the path of
JBOSS_HOME. I've manually mapped the entities and now continue programming in
the business layer...
My DB server is MySQL 5.0.41, yes I have got all kinds of rights granted. There
is one line
62 matches
Mail list logo