I found the fix for this:
add jboss-web.xml to the web context with a seperate classloader:
|
|
| seam.jboss.org:loader=
|
java2ParentDelegation=false
|
|
|
and add the richfaces-impl.jar to the ejb context (richfaces-api.jar and
richfaces-ui.jar go
Jip, the ant deploy script of jbossws does that for me.
The jar is there, but still a classnotfoundexception...
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4124484#4124484
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p
Hi all,
I've got a simple configuration-question:
Is it possible to use 2 databases in my project, without specifying which class
is mapped to which database (using and in
persistence.xml), but instead, depending totally on the catalog="mydb" property
of the @Table entity annotation?
thx.
Hi all,
Please help me with this one: I've been trying to solve it all night.
I "patched" a fresh installed EAP-server (AS 4.2.0) (jboss developer studio)
with jbossws 2.0.0 and am trying to deploy a webservices-enabled EAR.
All goes well, until I get this error:
| 03:51:26,409 ERROR [MainDe
Did some more work on this:
When (in the bean), I use this function:
| public Boolean adviseFileSystemTreeNodeOpened(UITree tree)
| {
| Inode inode = ((FileSystemTreeNode)tree.getRowData()).getInode();
| if (this.getSelectedSpaceMember()!=null) {
|return inode.hasAs
Oh great, that will be so cool.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4120349#4120349
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4120349
___
jboss-user mailing list
Hi all,
I just bought Jboss Developer Studio and I'm exploring it right now. Seems cool
(too bad you have to go with the WTP-approach for full support, though) so far,
but I wonder;
Is there a way to visualize the #{messages['word']} i18n EL expressions with
their content and default locale? Wo
Sorry Jay, no I don't.
I've been using seam since the beginning, and my build.xml doesn't even look
like the one, provided with the examples. Perhaps, I should refactor it
accordingly. Btw, I tried it out with the seambay example, and it works
perfect, so I didn't get it from there...
b.
View
Whow, Jay, thanks for this.
I really should have thought if this myself, sorry for that.
My drl file was in the war/classes folder (don't really know why, I may have
followed an example case).
After moving it to the root ear dir, both approaches work.
Again, thanks.
bram
View the original post
Hi all,
When I use "adviseNodeOpened" in a rich:tree component, I end up with a
javax.faces.el.MethodNotFoundException:
/app/tumbolia/panels/main/space/showSpace.xhtml @198,65
adviseNodeOpened="#{fileSystemManager.adviseFileSystemTreeNodeOpened}": Method
not found:
FileSystemManagerImpl:3j011
Hi all,
I wanted to check this before submitting it to JIRA:
(cross-posted to JbossWS, but got no reply:
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=125662)
I don't really know where to post this, but I guess it's more WS-related than
it is Seam-related.
Here's the issue: When I s
Hi all, I guess this should be easy for some of you experts, so I hope to get
an answer here, after searching for this bug for a couple of hours now.
Here's the situation:
| @XmlJavaTypeAdapter(AbstractInodeImpl.Adapter.class)
| public interface Inode extends Serializable, Comparable, Clone
Hi all,
I don't really know where to post this, but I guess it's more WS-related than
it is Seam-related.
Here's the issue: When I start an (ear) application, and nobody went to the
website, before a remote login()-webserviceservice is contacted (which uses the
seam Identity component to login
Thanks for the reply, Shane.
After a search-marathon, I came up with how to do this:
|
((BindingProvider)auctionService).getRequestContext().put(BindingProvider.SESSION_MAINTAIN_PROPERTY,
true);
|
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4111920
Hi,
I've been trying to access the seambay example from a small client-webservice.
(note: the stub-code was generated with wsimport without any trouble)
Here's my code:
| public class AuctionTester
| {
| AuctionService auctionService;
|
| public AuctionTester()
| {
Hi Pete,
As this may be true, I'm still having troubles with UseJBossWebLoader=false and
JSF, eg when using RichFaces' Tree and adviseNodeOpened, throwing this
exception:
| 06:11:09,568 ERROR [STDERR] Dec 10, 2007 6:11:09 AM
com.sun.facelets.FaceletViewHandler handleRenderException
| SEVE
Hi all,
I'm trying to send some queued mails when the session end (sort of an auto-send
outbox pattern). I've tried a lot of options, but I always encounter problems.
What I have:
A stateless bean (tried it with a javabean too) emailManager that sends the
messages (javabean that contains a Ren
Hi all,
I'm trying to do the following:
| @Stateful
| @Scope(SESSION)
| @Name("outboxManager")
| public class OutboxManagerImpl extends AbstractManagerImpl implements
OutboxManager, Serializable
| {
| private Map> queuedMessages;
|
| @In(create=true)
| private
Great, thanks, didn't know that.
Works like a charm.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4107530#4107530
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4107530
___
jb
Hi guys,
Any idea why this gives a 404 ?
|
|
|
|
|
|
|
The registerBegin.xhtml is 'virtual', but the /register.xhtml exists, still, I
get a 404...
b.
View the original post :
http://www.jboss.com/index.
I didn't before, but I do have it set to transient now.
The point is: it took me quite a while to realize that the InputStream wasn't
serializable. Perhaps a little warning in the docs, near s:uploadFile, could
help others with the same problem, since it's common use, I guess.
View the original
hmmm, this didn't seem to have anything to do with it.
I added jaxen jar file, but the error persisted. (I guess this one is already
included in the seam/jboss libs, no?).
As I mentioned before, the error occurred after a file was uploaded, and not
processed. Adding this to my stateful session b
Thanks for your answer peter, I will try that.
One remark though:
For all I found out, this seems to happen when a conversation runs out of
scope, after a file was uploaded (and hasn't been processed yet). Is it
possible that the serializer crashes on the 'stale' uploaded file(pointer)? And
how
Just a thought: could it be that the list isn't passivated in session scope?
Had some problems with passivating lists in the past...
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4093388#4093388
Reply to the post :
http://www.jboss.com/index.html?module=bb&op
oh great, I totally lost track of this post!
Nice to hear it's resolved (created a workaround instead of solving it).
thx
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4092921#4092921
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&m
Hi Jacob,
(not at home right now, don't have the code at hand, but coming up)
that's exactly what I'm doing, except for the
| @Begin(nested=true)
| public void withinNestedConversation() {
| myList = new ArrayList();
| myList.add(somethingElse);
| }
|
I don't really touch myL
Hi all,
I have a List-object, containing a couple of entity-beans in a stateful session
bean, in a conversation context. When I start a nested conversation, alter one
of these entity-beans, and come back with end-conversation, the List-object is
not correctly set back, but contains null-values
Hi,
thanks for this. It didn't help me along, but got me jumpstarted to solve the
(rather complex) issue.
For follow-up reasons, check this:
http://forum.hibernate.org/viewtopic.php?t=961213
and
http://jroller.com/page/eyallupu?entry=getting_a_wrongclassexception_when_mapping
The @Where solutio
Hi all,
I've a specific problem with my EJB3 Hibernate code (using Seam, but I don't
think this has anything to do with it).
This is my case:
I have a superclass entity bean: DefaultAccessControlList
| @Entity
| @Table(name="access_control_list")
| @Inheritance(strategy=InheritanceType
Hi Fernando, thanks for your response.
Please let me recapitulate to check if I understand everything correctly.
So I have a JSF form with a submit-button, linked to the POJO action method.
This action has an (TransactionAttributeType.REQUIRES_NEW) annotation, so it
will start a new transaction.
Hi all,
This question must be getting boresome to some of you experts here,
but please help an intermediate developer along with some answers to a few
simple questions regarding the subject.
I use the @Version annotation in my EJB3 entity bean (Seam, JTA), and, while a
user edits the bean-conte
Hi all,
This question must be getting boresome to some of you experts here,
but please help an intermediate developer along with some answers to a few
simple questions regarding the subject.
I use the @Version annotation in my EJB3 entity bean (Seam, JTA), and, while a
user edits the bean-conte
While I'm at it, there's another thing that confuses me.
If I login, I select a space (that I'm member of), and a LR conversation is
started that keeps track of my do's and don'ts in that space. However, if I'm
an admin of that space, I can click the "edit" button that takes me to the page
wher
omg, I think I found the problem...
For clarity, I omitted this section in the second form-entry:
|
| #{messages['noMembersPresent']}
|
|
so the second entry actually is:
|
|
| company
|
|
|
|
|
Hi Gavin, here's my code without the templates:
|
|
|
| name
|
|
|
|
|
| company
|
|
|
|
I'm getting strange behaviour, and my guess is it's caused because of my
misunderstanding of conversations (yes, I've read through the entire manual and
many other docs too :-).
I'll try to explain my 'workflow' in my own words, maybe I'm thinking wrong.
I log in (almost default authenticator)
I tried to extract the functionality from my app and created a simple example
out of it, just like Peter suggested.
Seems like all is well there. Validation occurs, and transaction rollback
happens when an exception is thrown or the @Rollback is triggered.
Apparently, I'm doing something wrong el
Hi again.
I've done some debugging and found interesting results.
In my update-form, I have these input-controls (they're templated, but you get
the point)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Thanks for your replies guys, you cleared out some confusing matter to me.
The quality of the community-helpdesk around Seam is most certainly one of the
reasons it's adoption-rate is elevating so quickly.
I'll try to share my findings with other people, once I've catched up with some
deeper stuf
Hi guys, thanks for the replies, this is great stuff.
Any chance anyone wants to explain what happens if a RuntimeException is thrown
in my update() method? This is the only major conceptual hurdle I'm still
struggling with. My common sense tells me, when that method 'fails', the update
model v
Hi all,
I know this is a much-asked topic/question, but it would be cool if someone
takes the time to explain a thing or two to me. Don't think I'm lazy; I've been
reading up on this all day, I just need some clarification ;-)
I also hope this is the right forum to ask, since it's pretty much
s
This worked, thanks Gavin.
But is there no possibility to do the redirect from the page if the variable is
empty?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4052832#4052832
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=repl
Yeah, I thought that too, but it doesn't work at all, same exception.
I moved everything (including security) to a page-action, but it's a shame,
because, if you ask me, it doesn't belong there.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4052790#4052790
Re
Hi all,
Quick question I've been stuggling with for a day now:
I have a page that uses an outjected variable/bean.
That variable is set by an action bean after selection from a list.
However, when a user accesses the target page directly, without going through
the selection page, that variable w
Hi all,
I'd like to use my own class that implements javax.persistence.EntityManager,
as a wrapper around the PersistenceContext (to do additional operations on
entity beans that contain other EB).
Is there a way to do this in a clean way, configuration-wise?
View the original post :
http://ww
Hi all,
I have some problems with the a4j validation, suggested in the seam tutorial:
|
| Country:
|
|
|
|
|
If I use this piece of code in my app, and I use a to submit the form, when I press enter while in the inputbox,
the application cr
Posted on jira:
http://jira.jboss.com/jira/browse/JBSEAM-1156
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4035705#4035705
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4035705
_
Same problem here...
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4035703#4035703
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4035703
___
jboss-user mailing list
jboss-user
Answer to my own question for future reference:
String str =
(String)Expressions.instance().createValueBinding("#{yourElString}").getValue();
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4035296#4035296
Reply to the post :
http://www.jboss.com/index.html?m
Hi all,
I've been searching for a solution to this simple issue for over an hour now:
How do I dynamically interpret an EL-string in Java-code?
I found this:
| FacesContext context=FacesContext.getCurrentInstance();
| ValueExpression
vex=context.getApplication().getExpressionFactory().creat
Hi all,
I'm trying to integrate Lucene into Seam (planning to write a wiki-item on this
topic). It seems like it's possible, but there are some versioning-issues with
the Hibernate packages.
The hibernate-annotations.jar package contains the org.hibernate.search
package, but it's not in the ejb
Hi all,
I'm trying to secure my application file-tree with pages.xml.
My content (to be secured) resides in /main/*, but I'd like to 'flag' some
files in this tree as publicly accessible, without removing them from /main/*
Currently, this is my pages.xml :
|
| #{identity.loggedIn}
|
I found a solution.
Use this tutorial:
http://wiki.jboss.org/wiki/Wiki.jsp?page=Alternative_FileUpload, especially the
parts regarding the MANIFEST.MF, and you'll be fine. At least, I was...
b.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4003832#4003832
R
Hi all,
I followed the tutorial on
http://wiki.jboss.org/wiki/Wiki.jsp?page=SeamFileUpload (also read the ONJava
article), and tried to implement it myself, using:
jboss-4.0.5.GA
jboss-seam-1.1.0.GA
tomahawk-1.1.3
commons-fileupload-1.1.1
commons-io-1.2
(that's it, right?)
Everything went well,
I've had a chat a few minutes ago and here's the answer:
(from
http://www.hibernate.org/hib_docs/annotations/reference/en/html_single/#d0e161)
anonymous wrote : Depending on whether you annotate fields or methods, the
access type used by Hibernate will be field or property. The EJB3 spec require
Hi all,
I've got a simple, but annoying mapping-problem:
My (MySQL) DB-table has a column named compositeId of type INTEGER.
I'd like to generate that value in my Entity bean, using the getter method :
public Integer getCompositeId();
Somehow, my getter isn't called when I'm persisting the bea
done: http://jira.jboss.com/jira/browse/JBSEAM-661
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4002227#4002227
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4002227
___
jbos
Hi all,
I think I found a bug in the way s:selectDate is implemented, when acessed from
facelets. I use this in a facelet-template:
|
|
|
|
|
|
|
|
And the template is instantiated as follows:
|
|
|
|
|
|
|
The "dynamic" ${i
Hi all,
I'd like to abstract the opening view-id (/chooseAction.xhtml) to /main.xhtml .
Is there a way to alias chooseAction.xhtml to main.xhtml or to redirect from
main.xhtml to chooseAction.xhtml ?
thank you !
bram
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewto
Hi all,
Quick question; isn't it possible to inject a persistence-context in an
entity-bean?
| @Entity
| @Name("loginEntity")
| public class LoginEntity
| {
| @In
| @Transient
| private EntityManager em;
| }
|
thanks,
b.
View the original post :
http://www.jbos
Hi all,
I've been reading the
http://wiki.jboss.org/wiki/Wiki.jsp?page=SeamAuthenticationGuide, which is
really great but needs to be updated to the new API, apparently.
I don't know if I should be the one doing this, but the new API for the
AuthenticatorAction class method is:
| public cla
Stupid me.
You need to inject the interface-type instead of the implementation type:
@In(create=true)
private IRegisterAjax registerAjax;
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3997917#3997917
Reply to the post :
http://www.jboss.com/index.html?module
Hi all,
Can someone tell me what I'm doing wrong here?
I'm trying to inject the stateless RegisterAjaxAction class in my stateful
RegisterAction class.
Here's the code:
| @Stateful
| @Scope(CONVERSATION)
| @Name("register")
| public class RegisterAction implements IRegister
| {
|
Hello everyone.
(Perhaps I should start with a little NY-wish, well, this be it)
I'm trying to wrap my thoughts around the entire ORM concept of JBoss
(Hibernate+Seam in particular) and find it a little confusing, since my whole
DB-background has been purely relational. I'd truly appreciate it i
Hello,
I've got major problems with my transaction-rollback implementation, and I'm
reading manuals for over two days now (I really like
http://svn.nuxeo.org/nuxeo/ECMPlatform/NXCore/trunk/doc/Transactions.txt ), and
I'm getting frustrated.
The problem is fairly easy; I'm implemention a user-r
65 matches
Mail list logo