1. This may sound like an unbelievably silly question, but:
What do you mean by my "submit method"? With, for example, h:commandButton,
you specifiy the method via the action parameter.
The submit method in my example is a javascript call fired by the browser when
the field changes. That, I
I want to change the page when a user selects a value in a combo box. There
must be a standard way of doing this in Seam, but I'm not finding it. Can
anyone point me in the right direction?
I can force the submit as follows:
|
| ...
|
But how do I get this submission to fire a redire
I'm using Seam-2.0.0.Beta1. According to the docs:
anonymous wrote : 25.1.4.6. Context management for custom servlets
|
| ...Seam provides a servlet filter that can be applied to any other servlet
that needs access to Seam components.
|
| This filter allows custom servlets to interact
I've just used seam-gen (Beta 2) to generate a project.
I opened the project in Eclipse and ran the default build target. That went
fine. Thereafter, the build script ran itself every few seconds.
I eventually figured out that to stop this I needed to disable the .exploded
Builder in my Eclip
I have a "Claim" object. Whether or not it is valid depends on what the user
is trying to do.
My person object will require payee information to be valid for the purpose of
payment, but not otherwise.
Ideally, I'd do something like this:
|public void makePayment(Party payee) {
|
The documentation reads:
anonymous wrote : 21.4.2. Remote calls within the current conversation scope
|
| In some circumstances it may be required to make a remote call within the
scope of the current view's conversation. To do this, you must explicitly set
the conversation ID to that of th
Hi Michael
I need the setTitle method because the title needs to be modified before being
set. (I tried to indicate this with //modify the title.)
Ultimately, I'm trying to support a combobox with an "other" field. In the
full class, the values of the combobox and "other" textfield are bound
Consider this component
| @Name("personEditor")
| @Stateful
| @Scope(ScopeType.CONVERSATION)
| @Conversational
| public class PersonEditorBean implements PersonEditor {
|
|@In
|private Person person;
|
|@In
|public void setTitle(String title) {
|
I'm using Seam2/JBoss4.2.
I get an exception when using EL to reference a method on an anonymous class.
You can view the relevant code at
http://www.jboss.org/index.html?module=bb&op=viewtopic&t=112929
In short:
1. I bind an anonymous class using
Contexts.getConversationContext().set("someNam
I did and I meant to post it here for you but got sidetracked.
I believe that this was a driver problem.
In my case, for some reason, this problem only occurred when I used
JDK1.5.0.11. With JDK 1.6, everything works ok. I suspect that this was
because my database driver is for 1.6, but I h
I recommend "Java Persistence with Hibernate"
(http://www.amazon.com/exec/obidos/ASIN/1932394885/hiberthejavao-20)
Although this is a Hibernate book, the "Introducing Seam" chapter is about 70
pages long and which gives some pretty detailed information.
I've also got the Heute book and "Beginni
I'm in a demo without network connectivity. Nothing works because Dom4J cannot
load the Seam DTDs. Does anyone know how to turn off DTD related validation so
as to run without a network connection.
Thanks
Richard
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopi
Apologies. I've posted this to the wrong forum. Is there a way I can move it
to JBoss Seam Users?
Thanks
Richard
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4061573#4061573
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=r
1. I'm using the Seam2 beta with JBoss 4.2 and I am having a problem with the
following expression.
Expression
|
|
When the expression is evaluated it throws an IllegalAccessException (see
bottom). The class is anonymous, the method is public and also overrides an
abstract method. Is
(For anyone else reading this thread - I had not changed the "core" prefix of
my hibernate-session-factory element)
That seems to have resolved something, but now there is a problem with my
datasource, which is defined in a *-ds.xml file as below.
I will keep looking into this but, as this conf
Ok, I changed the "session" to "hibernateSession"
1. In components.xml, i.e.
|
|
and
2. In all of my session beans, e.g.
| @In
| private Session hibernateSession;
|
I'm now getting the exception below. I remember having quite a hard time
getting this part of the configuration
Hi Peter
Thanks for the post, but there is an h:messages tag on my page - I've just
posted the core code for readability.
I don't get any messages in this scenario (although I get validation messages
in other contexts, so the h:messages is working).
Any other ideas?
Richard
View the original
Here is a bean and jsf form that implement a simple search. The emboldened
commandLink ought to be invoking the bean's "select" method, which it does.
However, this only works when I include the emboldened Scope annotation.
Without it, the scope will be Conversation and the conversation will b
Trying to answer that question has made me that a nested conversation is in
fact not necessary - inappropriate even.
I've now collapsed the conversations, but the following problem remains - here
is the code :)
The flow is as follows (relevant code in bold)
1. The Registration form conversatio
I have a long-running conversation in which the user fills out a form. Some
fields are filled by selecting existing objects from the database. The
selection is done via a nested conversation.
The nested conversation starts when the user clicks on a "select" link. The
associated method is tag
Many thanks, Peter.
It would be handy to clarify this in s:link section of the Seam documentation.
Best regards
Richard
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4053533#4053533
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting
Short version: When I navigate using an s:link then any data entered into form
fields disappears. Everything works ok when I use commandLinks.
Long version:
I've created a tabbed form using a conversation. The user moves between tabs
by clicking on links. At any time, the user can persist the
22 matches
Mail list logo