OK. This error is gone. But the container still isn't booted. Now I got an
error related to the xidFactory. Here is a link:
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=85320.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3955043#3955043
Reply to
I have the same problem, too. Doesn't anybody know anything about this error?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3954994#3954994
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3954994
Using Tomcat but need to
I just debugged into the EJB3StandaloneBootstrap as far as possible. The libs
from the Embeddable EJB3 are included in the "java.class.path" of the
ProperytKernelConfig. The \conf directory is missing.
And the EJB3StandaloneBootstrap property bootstrap knows about the location of
the embedded-jb
Hi there,
I'm trying to test my Seam app with JUnit 4.1 and the Embeddable EJB3 RC8
patch2. I'm working with eclipse and my app works.
I followed the installation instructions to get the embeddable EJB3 working. I
added all the libs and the \conf directory to the classpath of the JUnit
running
Yeah, I know. Now ... Sorry.
Since I'm a trainee who saw Java code in 2004 the first time and who's now
discussing in a foreign language about problems I never thought of it's OK I
think.
I always say: Mistakes are there to be made and to learn from.
Next time I run into an error I'll try to iso
http://jira.jboss.com/jira/browse/JBSEAM-270
I tested the original messages example (without tomahawk) introducing a
@DataModelSelectionIndex property. The deployment also failed. So I didn't
mention the tomahawk dataTable in this issue.
View the original post :
http://www.jboss.com/index.html
OK. Which component? JSF?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3951922#3951922
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3951922
___
JBoss-user mailing list
JBo
Hmm. I can determine the selectionIndex for my own. But as Seam is a framework
and those annotations are public they should work, even if I use both.
Additionally I think that the @DataModelSelectionIndex delivers the index more
efficiently than my workaround, which iterates the whole list search
I've found another workaround: Just remove the @DataModelSelectionIndex
annotation. Then you can remove the value attribute from the
@DataModelSelection and injection works.
So there seems to be a problem when someone uses both annotations
@DataModelSelection and @DataModelSelectionIndex.
View
The nasty thing about this problem is, that when I use the this workaround with
the value attribute bijection doesn't work anymore.
The only way to deploy my app is to use the value attribute with the getter
method (without get it doesn't work for me too). And when the app is deployed
and I clic
Where and how can I send you my modified messages example?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3951650#3951650
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3951650
__
Hi,
the problem isn't solved. So I'm going to write a testcase. Any hints how such
a testcase should look like?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3951631#3951631
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply
"[EMAIL PROTECTED]" wrote : It looks to me more like a possible classloading
problem.
It would just be too painful for me to describe what I've done wrong. But your
hint was priceless.
And Thomas was also right. I didn't realize that I've to deploy the
booking-ds.xml as well. So I did it for m
| at org.jboss.seam.Component.initInterceptors(Component.java:524)
| at org.jboss.seam.Component.(Component.java:197)
It's just a normal seam application. I don't know why or where I've to add the
@AroundInvoke. Any hints?
Thanks
Newlukai
View the original post :
htt
OK. Today I wanted to write a testacase but I saw tat Seam was updated so O
tried the update. The problem seems to be solved.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3950635#3950635
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posti
How do I properly update those libs? In the server/default/deploy/ejb3.deployer
directory are three .jars: jboss-annotations-ejb3.jar, jboss-ejb3.jar and
jboss-ejb3x.jar. The EJB3 RC8 contains a lib folder with those three .jars:
hibernate-all.jar, jboss-ejb3-all.jar, thirdparty-all.jar. Which j
Sorry for posting twice. The machines at school are very slow... Please delete
it. Thanks.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3949342#3949342
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3949342
_
I'm still a trainee so I've to go to school this week. Because of that I can't
send you a "real" testcase. All I can do is to build a whole JBoss environment
at home and then to create a testcase out of my mind.
Did you try the "@DataModel with Tomahawk" code from the wiki? If it's really a
bug
I'm still a trainee so I've to go to school this week. Because of that I can't
send you a "real" testcase. All I can do is to build a whole JBoss environment
at home and then to create a testcase out of my mind.
Did you try the "@DataModel with Tomahawk" code from the wiki? If it's really a
bug
"[EMAIL PROTECTED]" wrote : This is a bug. I will fix it.
Thanks Gavin. Have a nice weekend.
PS: @gengar: Could it be that you are a German? I saw a German word in one of
your configs.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3948713#3948713
Reply to t
Hi,
I want to test my Seam application with the EJB Embeddable Alpha7 container.
I've added the \conf and all the .jar files in \lib to the classpath of the
Eclipse JUnit running. Then I want ot run my test class. But the container ends
with this error:
java.lang.RuntimeException: java.lang.Ru
"gengar" wrote : I ask myselfe since when it has to be
|
| @DataModelSelection(value="getUserlist")
|
| and not
|
| @DataModelSelection("userlist") ?
That depends on where the @DataModel annotation is located. I annotated the
getter methods so I used the name of the getters. If you
Yeehaw. I've got it. Although I've only one @DataModel, only one
@DataModelSelction and only one @DataModelSelectionIndex I had to add the
parameter value to the @DataModelSelection annotation:
@DataModelSelection
| @Out(required=false, scope=ScopeType.SESSION)
| private Testaction f
C'mon guys. I can't believe I'm the only one having this problem. And I think
there's a solution. Maybe the way how to use @DataModels with tomahawk's
dataTable is out-of-date, maybe there's a bug or maybe I've made a mistake.
Can't anybody reproduce this error (beside gengar)? What are the diff
My web.xml didn't include Seam Redirect Filter and the Seam Exception Filter.
It doesn't further include those security constraints and the
MyFacesExtensionsFilter. Apart from this my web.xml is the same as you have.
For debug purposes, I think, in the faces-config.xml the SeamVariableResolver
Hi there,
I've got the same problem. I want to test my Seam application with JUnit 4.1
and JBoss Eclipse IDE 1.6.
I've a little test class that needs an EntityManager:
public class LoginActionTest {
| private static EntityManagerFactory emf;
| private EntityManager em;
| privat
Hi there,
I've got the same problem. I want to test my Seam application with JUnit 4.1
and JBoss Eclipse IDE 1.6.
I've a little test class that needs an EntityManager:
public class LoginActionTest {
| private static EntityManagerFactory emf;
| private EntityManager em;
| privat
And what's with the original post? Should I remove all @DataModel anntotation s
(and then remove @DataModelSelection and @DataModelSelectionIndex as well?)? Or
is there another workaround, is it a bug or did I make a mistake?
View the original post :
http://www.jboss.com/index.html?module=bb&op
"[EMAIL PROTECTED]" wrote : Why do you think the message is related to that
component? Seems to be some other component is the source of the problem.
Hmm. OK. Sorry. But every component in my project uses this way to provide a
list which is displayed by the tomahawk dataTable. And every such com
public String getSortColumn() {
| return sortColumn;
| }
|
| // ... omitted ... //
|
| @Remove @Destroy
| public void destroy() {
| }
| }
Would be nice, if someone could post a hint ...
Regards
Newlukai
View the original post :
http://www.jboss.com/index.ht
anonymous wrote : This is a pure-JSF question.
Yes, I know. But I hope that somebody has some experiences with filters.
anonymous wrote : Does immediate="true" help you?
Nice idea. But I already tried it. It didn't work.
View the original post :
http://www.jboss.com/index.html?module=bb&op=view
he current data.
But I don't like this solutions. I think that I've forgotten sth or that there
has to be a more elegant way. What do you think?
Regards
Newlukai
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3940951#3940951
Reply to the post :
Thanks, Gavin. It works. Perhaps a nice hint: You can use
renderedIfEmpty="false" instead of render="...".
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3935720#3935720
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=393
Now I discovered some kind of magic.
In the previous post I wrote the code from my jsp:
|
Everything works fine. But as soon as I remove the comment resulting in:
the list can't be sorted anymore. Perhaps I've to say that I use Facelets with
facelets.SKIP_COMMENTS set to false.
OK. I think I've a nice workaround. I'll use it until the Seam and myFaces
developers worked together to solve this problem ;)
Here it is:
@Stateful
| @Scope(ScopeType.SESSION)
| @LoggedIn
| @Name("testactionDeveloper")
| @Interceptors(SeamInterceptor.class)
| public class TestactionDev
I debugged into some methods of UIData and after that I'm wondering how the
DataModel ever knew which row had been selected.
It seems that the rowIndex ist set to -1 at the very beginning and the very end
of the "Apply Request Values", "Process Validations" and "Process Updates"
phases. process
Why don't we live millions of years ago? At a time where there was only one
continent; we could discuss almost in realtime.
OK. I don't know what exactly I've changed, because I changed not only one
thing. A little bit here, a little bit there, you know?
But I'll try to find it out today (yeah,
I got it. But today I changed something which causes that I don't get the
@DataModelSelection and @DataModelSelectionIndex injected. I always get the
first item.
But here we go:
@Stateful
| @Scope(ScopeType.SESSION)
| @LoggedIn
| @Name("testactionDeveloper")
| @Interceptors(SeamIntercept
OK. I just found a solution. Just write a normal getter for your DataModel and
remove its @Factory annotation. In the JSP-page you've to replace the
DataModels name by its getter method.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3933979#3933979
Reply to
I've got the same problem. Did you already solve it or has anybody else an idea?
I don't want to miss the benefits which are provided by @DataModel,
@DataModelSelection and @DataModelSelectionIndex. But I want ot sort my model
too.
I think it would be possible to write a method for every column
Doesn't anybody have any idea? If you need more information, I will post it.
If I can't get it ro work with Seam, I have to develop the app without Seam.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3931554#3931554
Reply to the post :
http://www.jboss.com/i
OK. I just turned all the input fields without a converter into output fields.
This way the 'Process validations' phase completes normally. But then, in the
'Update Model values', the 'currentTestaction' can't still be resolved.
Shouldn't Seam resolve 'currentTestaction'? Or did I make a mistake
Hi folks,
I've a web application which uses Seam 1.0 beta 2 on a JBoss AS 4.0.4 RC1 with
Facelets (from the booking demo) and myFaces 1.1.1.
I've a session scoped component with a member: currentTestaction
(@In(required=false) @Out(required=false). The member's attributes are
displayed in a for
Something is really weird with my application.
I removed the "immediate='true'". After hitting such a button a getter method
of my component is invoked in the 'Process Validations' phase. This getter
returns values for a selectOneMenu. But this getter requires the
currentTestaction (the form wh
Sure, they are in a form. That's why I'm wondering about this behaviour.
Here's the page:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Hi there,
I've some commandButtons on my page. My problem is that the action methods are
only invoked if immediate is set to "true". The login of my app and the login
of booking demo don't have immediate set to true, but both work. How can that
be?
Thanks
Newlukai
Vi
Hi,
I tried to get a VariableResolver:
VariableResolver vr = facesContext.getApplication().getVariableResolver();
But this way, I get a SeamVariableResolver. I want to get the JSF
VariableResolver (myFaces?). How can I get it?
Thanks
Newlukai
View the original post :
http://www.jboss.com
The funny thing is, if I use @In(create=true) I get this:
In attribute requires value for component:
I wanna outject a field from Component A and inject it into Component B during
a request. This works. From this time on, the injected field should keep its
value during all the next requests. But
@emsa: "Specifies that a component should be instantiated if the context
variable is null.". I want to keep the values of the fields. If I use
@In(create=true) I don't get null any more, but the values are lost.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3
At the moment I'm wondering about how @Out works. Fields annotated with @Out
are transfered to the correspondant scope. OK. But are they transfered every
time a method in its component is invoked or only when a method is invoked
which assigns a value to this field.
I'm asking because I've a comp
I could really use a CONTINOUS scope, too. Right now I'm trying to do this by
@In @Out. But it doesn't work. I've two fields annotated with @In @Out. These
fields were injected by another component and if I make a request on this
component, Seam tells me it couldn't inject those fields, because
OK. Maybe I didn't explain it understandable.
I want a parameter to tell Seam not to overwrite existing fields. If I've a
field in my component, which is not null and Seam doesn't find a value in its
context for this field, I don't want Seam to overwrite my field with null. Seam
should do nothi
al requests.
Is that possible?
Regards
Newlukai
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3930007#3930007
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3930007
-
my
application would work if Seam would check the JSF variable resolver?!?
For any questions just ask or look here:
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=78947
Thanks
Newlukai
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3930004#
ublic String saveTestaction() {
| saveCurrentTestaction();
| return "backToList";
| }
| //rest omitted
And, sorry if I'm getting on your nerves.
Thanks
Newlukai
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic
#x27;t
injected. Then I get an error because it can't be injected (doesn't matter that
here stands currentTestactionIndex, I tried almost all combinations of @In and
@In(required=true) for all the fields).
I don't know what Seam is doing here. Perhaps someone can explain it to me.
H
Good morning,
damn traffic jams. OK. I tested your proposal. Then I got this error:
java.lang.IllegalArgumentException: @DataModel scope must be
ScopeType.UNSPECIFIED or ScopeType.PAGE: showListForDevelopers
So, I tested the ScopeType.PAGE and have to say: it works. Thank you very much.
I woul
Hmm. OK. But, I had a breakpoint in the @Factory and this method was called
each time the user selected a filter. Just to understand it right: Seam invoked
the @Factory each time the form was submitted but didn't update the changes
made to testactions because there was already a testactions in s
n't get it to work. Everytime a method of
Component B is invoked the currentTestaction is null.
Does anybody know how to tell Seam to save all the entered information?
Thanks
Newlukai
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3929336#3929336
Rep
t the selectedRelease (selected filter element) and
allReleases (the complete list of filter elements) into the component holding
the @DataModel. This works fine.
Thanks
Newlukai
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3929333#3929333
Reply t
OK. I try to simplify it. Perhaps my description is too complex for my simple
problem.
I've two classes. The first has a factory method for a DataModel.
@Stateful
| @Scope(ScopeType.SESSION)
| @LoggedIn
| @Name("showListForDevelopers")
| @Interceptors(SeamInterceptor.class)
| public cl
Perhaps it gives you a hint: If I move all the functions from ShowElement to
ShowList, it works ...
Any idea?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3928736#3928736
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=
public class ShowTestactionForDevelopers implements
IShowTestactionForDevelopers{
| @PersistenceContext(unitName = "aresDatabase", type =
PersistenceContextType.EXTENDED)
| private EntityManager em;
|
| @In(required=false) @Out(scope=ScopeType.EVENT)
| //@In(require
if(currentTestaction == null) {
| return "";
| }
| return currentTestaction.getDevUsrID();
| }
|
| public Integer getSelectedRevision() {
| if(currentTestaction == null) {
| return new Integer(-1);
|
Oh. Thanks. I checked all the files, but I didn't see these little changes.
After copying the Oracle-JDBC-Lib to the server's lib directory (I hate Mondays
;) it worked.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3923508#3923508
Reply to the post :
http:
OK. I now know why it doesn't work. I didn't see it until I restarted the JBoss
AS instead of redeploying.
All the beans that aren't registered at the NamingServer depend on a
PersistenceContext. But I didn't make any changes to these parts of my code.
JBoss AS tells me that my beans are NOTYETI
OK. I debugged the critical code. Obviously, there are only 2 of 5 session
beans registered at the NamingServer. Perhaps anybody does know, how this can
happen?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3923293#3923293
Reply to the post :
http://www.jbo
roposed in the examples myProg/#{ejbName}/local,
where myProg is the ear file name without its suffix.
Has anybody any hint or idea where to look for an error?
Regards,
Newlukai
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3923270#3923270
Reply to the p
Thanks Gavin. This solved my problem.
I added the annotation @Intercept(ALWAYS) to my stateless session bean.
Regards
Newlukai
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=393#393
Reply to the post :
http://www.jboss.com/index.html?modu
Here is the stacktrace:
javax.faces.el.EvaluationException: /showListForDeveloper.xhtml @12,78
value="#{showListForDevelopers.testactions}": $Proxy104
| at
com.sun.facelets.el.LegacyValueBinding.getValue(LegacyValueBinding.java:60)
| at javax.faces.component.UIData.getValue(UIData.jav
| }
As I said, in getTestactions() the user isn't injected. Has anybody any idea?
Might be it's important to know, that the method is called from a
panelNavigation2 item. But I think, this shouldn't make any difference.
Thank you
Newlukai
71 matches
Mail list logo