Hello
My Seam application is configured to session length = 60 min. and works within
single long-running conversation during the whole session.
Like in some examples, User is entity bean and session-scoped Seam component at
the same time :
@Entity
| @Table(name = "Users")
| @Name("user"
Still don't undertsand the following.
Under some curcumstances I am getting "property 'someMethod' not found" when
trying to bind action of a:commandButton to method.
Changing action to actionListener with the same method eliminates the error.
How is that possible ?
View the original post :
Unable to register at
http://alpha.seamframework.org:/userRegister_d.seam
Stays on the same page after clicking "Register", no validation messages are
shown. Probably password is too short (4 characters), but I have not been
notified explicitly about that.
Anti-robot characters picture is
Reading "Release notes" for 2.0.1CR1 , I don't see JBSEAM-2214 in the list of
solved issues.
The date of 2.0.1CR1 is 2007.12.12 .
JBSEAM-2214 issue was marked as solved in November 2007.
Is it actually fixed in 2.0.1CR1 available on downloads page, or nightly builds
remains the only option to
Dear colleagues,
I have Termnal and Firmware entities , with Terminal_Firmware table that
defines many-to-many relationship.
Terminal has a collection of bound Firmwares :
@ManyToMany(cascade = {CascadeType.PERSIST})
| @JoinTable(
| name="Terminal_Firmware",
| [EMAIL PROTECTED](name="t
Ok, it works in the way you recommend. Thanks.
The last question :
for ajax request, we can write
- no need to specify "param" tag in pages.xml - right ?
There is no assignTo in f:param, though..
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4115344#
damianharvey,
thank you for the example.
This radically differs from the model I have had in mind about page parameters.
I thought that tag
takes value FROM #{testBean.id} and makes it available via @RequestParam.
In your example, value is being taken from row.id using f:param (that is
u
"[EMAIL PROTECTED]" wrote : You don't need to use @RequestParamater with page
parameters. Take a look at seamdiscs to see how they should be used.
I see no "param" tags in pages.xml of seamDISKS example (Seam 2.0) .
In seamSPACE , I see the following :
pages.xml :
|
|
|
"[EMAIL PROTECTED]" wrote : If you used page parameters you wouldn't have this
problem as you would be deleting rows by id rather than position in a list. So
I would use page parameters ;)
I have solved problem partially with page parameters, but it does not work for
ajax request (used exactly
Resolved.
Turned out that List.sublist returns non-serializable result.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4114608#4114608
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4114608
___
"[EMAIL PROTECTED]" wrote : If you used page parameters you wouldn't have this
problem
Thank you!
Does any Seam examples project illustrate this recommended approach ?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4114598#4114598
Reply to the post :
http:
Hello
I am getting the following exception after a period of inactivity , when
clicking any control in the app.
JBoss 4.2.1, Seam 2.0GA
Component is session scoped and session is active. Looks like something wrong
with serialization, but what ?
13:44:16,750 ERROR [SeamPhaseListener] uncaug
No one have "delete" controls in data tables :) ?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4114566#4114566
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4114566
___
jbos
"damianharvey" wrote : How do you do your delete? Something like
this?myList.remove(selectedObject);
| | entityManager.remove(selectedObject)
|
Not quite. First operator myList.remove(selectedObject) is the same.
What comes to second : my list of records is actually a collection of entity
My dataTable is built on DataModel and DataModelSelection.
One colunm contains "delete record" link that takes injected DataModelSelection
item and removes it from both List and database. After that view is being
rerendered.
Component is session-scoped.
Let's say table contains records A,B,C
"Soon5" wrote : Hy,
|
| I had some Problems with count(*) in the past. Try to use count(IDColumn)
or another not null column.
|
| Greetings Soon5
Thank you for the idea.
Got a workaround by replacing count(*) with :
List l = (List)
| em.createNativeQuery("SELECT uId FROM U
Dear colleagues,
The following code :
Integer count = (Integer)
| em.createNativeQuery("SELECT count(*) as cnt FROM Users_Terminals
ut where "+"tId=" + termId + " and uId=" +userId).getSingleResult();
|
throws the following exception ,
although another native query with single r
"[EMAIL PROTECTED]" wrote : This should all be fixed now. If anyone has
experienced this problem, please try Seam CVS and let me know if there are any
other issues with this.
I can not use CVS right now, and followed link from Seam Wiki "download nightly
builds" :
http://hudson.jboss.org/huds
Hello
I use "Project archives" to create deployment packages.
In JBoss IDE (previous version), I was able to package jar/ear, then I
drag-drop it from project explorer to Servers tab and put (deploy) on server.
In JBoss Tools, the situation is different. First of all, drag-drop operation
do
And, the final result for today :)
java.lang.NoSuchMethodError:
org.hibernate.cfg.AnnotationConfiguration.getReflectionManager()Lorg/hibernate/annotations/common/reflection/ReflectionManager;
| at
org.hibernate.ejb.EventListenerConfigurator.configure(EventListenerConfigurator.java:152)
Now getting
java.lang.ExceptionInInitializerError
| at org.hibernate.cfg.Configuration.reset(Configuration.java:168)
| at
org.hibernate.cfg.AnnotationConfiguration.reset(AnnotationConfiguration.java:211)
| at org.hibernate.cfg.Configuration.(Configuration.java:187)
| at o
Solved by adding hibernate-entitymanager.jar to classpath , thanks to guide :
http://dewarim.de/wms/error/no_persistence_provider_for_entitymanager
It is rather difficut to collect necessary jars for TestNG + Seam, I must say.
No documentation found so far.
View the original post :
http://www
"dkane" wrote :
| The only difference in my case is initializing EntityManager in
@BeforeClass method to use it in different @Test methods then.
Moving that to @Test method does not help, BTW.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewt
I need to test Seam component that uses EntityManager. My test is based on
"Simplicity and power beyond Java EE" book example :
public class HelloWorldTest extends SeamTest
| {
|
| @Test
| public void unitTestSayHello() throws Exception
| {
| Manager manager = new ManagerAction
"[EMAIL PROTECTED]" wrote : Make sure resources is on the test classpath.
Yes, they are in Run.. , "Classpath" tab here
http://testng.org/pictures/launch.png
The same output.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4109633#4109633
Reply to the post
Hello
First time using TestNG with Seam components.
Test class :
| public class SimpleSearchCase extends SeamTest
| {
| EntityManager em;
|
| @BeforeClass
| public void initEm() throws Exception
| {
| EntityManagerFactory emf =
|Pers
"[EMAIL PROTECTED]" wrote : JBossIDE does not control how eclipse does these
things so there must be something you are doing different.
Ok, understood.
"[EMAIL PROTECTED]" wrote : How are you actually importing this ?
In Workspace : "New".."Other".."Checkout projects from SVN" .
Thank you fo
"[EMAIL PROTECTED]" wrote : so how do you expect the IDE to remember the setup ?
I thought "Java Builder" is basic default component for all Java projects. If
even it was not added upon import, there should be a possibility to add builder
in "Builders" tab. But I see only "JBossIDE Packages buil
"[EMAIL PROTECTED]" wrote : did you commit the .classpath and .project for the
project?
No. Our policy is to keep only sources in SVN, not IDE-specific and
workstation-specific files.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4107529#4107529
Reply to th
I have started the project in JBoss IDE 2.0 . This is EAR project.
Now installed Eclipse 3.3 with JBoss Tools , Subclipse, and checked out this
project from repository.
I found how to do packaging in new way, that's ok.
The problem is that Eclipse just does not build this project. There are no
"ejb3workshop" wrote :
| A search in the forums and the web makes suggestions to include the
jboss-common-clients.jar in the classpath. I tried added this jar to the
/server/default/lib folder as well as include it within the EAR /
application.xml, of which neiter worked.
|
"ejb3workshop"
"[EMAIL PROTECTED]" wrote : Transaction Not Active points at some earlier
problem that has caused the transaction to become invalid. You'll need to look
for the root cause of the problem using your debugger/log.
Thank you.
Doesn't the provided exception trace already point to something that cou
Still have not solved this problem. Looking for help.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4106297#4106297
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4106297
___
"[EMAIL PROTECTED]" wrote : In order to run JBossWS on JDK 6 you need to
replace the API's that have been included in JDK 6, namely jaxrpc, jaxws, jaxb
and saaj.
|
| Copy the following jars to ${JBOSS_HOME}/lib/endorsed:
|
| * jboss-jaxrpc.jar
| * jboss-saaj.jar
| * jaxb
I've found the root cause of my case.
Probably this help to others.
My web method returns an object. One of it's fields was Timestamp. Once I
changed it to Calendar (Soap compatible) Exception dissapeared.
Exception trace contained absolutely no hints to that, though. I think this is
someth
Dear colleagues,
This is my first JBoss web service (but not first EJB3 project), so most likely
something is wrong.
I follow the instruction
http://jbws.dyndns.org/mediawiki/index.php?title=JAX-WS_User_Guide#Plain_old_Java_Object_.28POJO.29
I have a POJO annotated with
@WebService
@SOAPBin
My recent report, probably similar :
http://jira.jboss.com/jira/browse/JBSEAM-2214
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4103290#4103290
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4103290
___
Hello .
I am getting "Transaction is not active" in the following situation :
"ClientList" component is Seam POJO. At the moment of changeClient() action
call, selectedClient has non-null value. Another component,
"userAdmin" (SFSB) , should reload list of users at this action :
@Name("clie
I have the same problem.
Server restart helps.
And, I have no this problem :
* on the same server , with another EARs
* on another server , with this EAR.
What to look at ?
TIA
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4102820#4102820
Reply to t
"przemjaskier" wrote : DKane,
|
| could you set "fix version" to 2.0.1.GA, it looks like a serious problem.
I thought "fix version" attribute should be set by product developers. Is it
correct ?
View the original post :
http://www.jboss.com/index.html?mo
http://jira.jboss.org/jira/browse/JBSEAM-2214
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4102096#4102096
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4102096
___
jboss-use
"[EMAIL PROTECTED]" wrote : Post code to show your problem.
Actually I have no problem, application is working. Just want my solutions to
be knowledge-based rather than experiment-based.
"[EMAIL PROTECTED]" wrote : Both actionListeners should do the same thing What
is the reason of supporting
"[EMAIL PROTECTED]" wrote : This behaviour is to be expected due to the way
a:commandButton works.
|
| You could perhaps file a feature request in JIRA and we'll see what we can
come up with/whether it is a popular feature.
Was the JIRA issue raised ? I have the same (?) problem with page
Dear colleagues,
I always used actionListener parameter when bind component method to
a:commandLink. It was ok until I needed the event that not only trigger action
but also redirect to another page.
I added redirect rule to pages.xml and specified action in it. But
a:commandLink with actionL
Let's see what Norman say first. Although case is simple and no tricky coding
was used, I am not confident that problem isn't my own fault. My experience in
Seam is rather short.
I will open an issue, hovewer, if no feedback provided in next few days.
View the original post :
http://www.jb
Dear Seam guys, I have no response from norman.richards regarding to the issue.
Anyone else interested in reproduction scenario ?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4100138#4100138
Reply to the post :
http://www.jboss.com/index.html?module=bb&op
Were you able to reproduce that using my source code ?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4098281#4098281
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4098281
___
"[EMAIL PROTECTED]" wrote : Can you create a reproducible test case?
Sent to you by email. Please confirm.
Search for trace.ru sender's domain if message went to spam.
Thank you.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4096883#4096883
Reply to the p
Switching from SMPC to @PersistenceContext(type=EXTENDED) solves the problem ,
without any other changes in code.
If I were not sure that conversation is always the same long-running one, the
obvious suspection could be getting out of scope. But conversation is ok.
Absolutely no idea what migh
Dear colleagues,
I've read a lot about advantages of SMPC in this forum.
In documentation, the recommended way to configure and use SMPC is :
components.xml :
Java code :
@In EntityManager bookingDatabase;
The best way of learning is examples , and I am looking into Seam 2.0 examples
dir
I don't knos which part of code is relevant, so will explain the situation in
words first.
There are two pages, accessible from toolbar menu (s:links).
pages.xml contains for ,
i.e. single global conversation should exist during the session. And it does,
according URL (cid=1 always) and d
These are fundamental things but I can't them clear from documentation, indeed.
Please throw some light at least to the following.
Entity beans are stated to have CONVERSATION scope by default.
If managing component is scoped to SESSION, and CONVERSATION-scoped entities
are fields of this com
Dear colleagues,
I am implementing SMCP concept in multi-page DBMS application.
Each page contains number of DataModels and CRUD operations.
Logically, all data (entities) on all my pages should be scoped to session -
all data grids and fields should save their state along the whole user's
se
Thank you very much. Got it working.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4093027#4093027
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4093027
___
jboss-user mailin
Was pretty sure this topic is described in documentation or discussed in forum,
but have not found anything so far. Probably, wrong keywords were used..
The form displays editable list of "clients" entities (DataModel +
rich:dataTable).
Each client has category_id field.
"Categories" table
The same problem but with Seam 1.2.1GA . Tried Project..Clean in Eclipse, no
effect. Restarted JBoss, Eclipse, emoved files manually - no way.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4084192#4084192
Reply to the post :
http://www.jboss.com/index.html?
Hello
When trying to redeploy one of earlier deployed applications, I am getting this
exception :
java.lang.IllegalStateException: Two components with the same name and
precedence: authenticator
| at
org.jboss.seam.init.Initialization.addComponentDescriptor(Initialization.java:410)
|
The problem is critical, because after this exception application stops to
function : button that invokes component method simply does not do that
anymore.
Please post at least any thoughts if not solutions. Does any library use these
"Drools" implicitly ? Seam core, Seam remoting, JBoss EJB3 ?
Hello
After 20 minutes of inactivity (I guess, session is being serialized after
that), JBoss throws the following exception to console.
The application is quite simple Seam one, containng one session-scoped
component. No Drools are used explicitly, no jBPM. The only specific feature is
Seam
And, yet another one, coming again from background process (sorry for
overflooding the thread with these long stack traces)
15:18:32,890 ERROR [SimpleStatefulCache] problem passivation thread
| javax.ejb.EJBException: Could not passivate; failed to save state
| at
org.jboss.ejb3.cache.s
Forgot to mention the second sort of exception that happens occasionally in
console :
14:40:19,468 ERROR [SimpleStatefulCache] problem passivation thread
| javax.ejb.EJBException: Could not passivate; failed to save state
| at
org.jboss.ejb3.cache.simple.StatefulSessionFilePersistenceMa
"[EMAIL PROTECTED]" wrote : Is it possible for you to test with the latest CVS
version of Seam? I just recently made a change to fix out-of-scope references
with Ajax callbacks, which I suspect fixes your error also.
Thank you for your reply.
I've already discovered that error happens when pag
Dear colleagues,
Web-page is subscribed to JMS topic.
I have configured debug=true for Remoting, and when page is being loaded first
time xml envelopes starts to run in pop-up window. So I conclude that JMS
subscription itself is ok.
But when I click button on this page (form submission), Ja
Dear colleagues,
My onMessage method of MDB calls session bean that performs database
operations.
Some database errors (constraint violation, etc.) are normal cases and should
not cause message redelivery. So I wrapped the whole onMessage code into the
try..catch . But even if I catch all Exc
wise_guybg,
thank you for your reply.
No, my application does not use jbpm. Earlier I have deployed application with
jbpm, keeping to all rules, and it worked well. But now I have undeployed it.
Exception occurs without any user action , just appears in console in
background.
View the or
Hello
After deploying some Seam applications to JBoss on my local PC, occasionally
the following exception is being printed to the console (even when no
applications are actually used):
| 14:26:04,109 ERROR [STDERR] java.lang.reflect.InvocationTargetException
| 14:26:04,109 ERROR [STDERR
Dear colleagues,
I know that Seam Remoting allows to subscribe to JMS topic in Javascript code
of the web-page.
But for my task, it would be better to subscribe from within the back-end Java
class of Seam component.
Question 1 : is it good practice at all ?
Question 2 : JMS message will af
I've solved the problem myself, but still have questions.
There was h:selectOneMenu right before h:commandButton in my page.
h:selectOneMenu was mapped to the session-scoped Seam component, and dislayed
the list of entities with s:convertEntity tag. But this field did not remember
the selected
Hello.
http://www.w3.org/1999/xhtml";
| xmlns:ui="http://java.sun.com/jsf/facelets";
| xmlns:h="http://java.sun.com/jsf/html";
| xmlns:f="http://java.sun.com/jsf/core";
| xmlns:s="http://jboss.com/products/sea
Dear JBoss experts,
Our system communicates with some devices via low-level TCP/IP protocol (socket
layer). Database and web-presentation parts of this system are implemented as
JBoss application.
The current version of this system has following structure :
1) Devices connects to socket ser
Dera Seam profies ,
does DataModel / DataModelSelection work with multi-item controls other than
h:dataTable ?
I need a horizontal set of links based on List of entities. For that, I am
using ui:repeat referring to DataModel values. Values are being displayed well.
But clicking on particular
Dear colleagues,
I have standalone multithreaded socket server application for some devices.
This socket server application is EJB client for JBoss server.
I want to eliminate one communication layer , so that devices can connect
directly to appication deployed on JBoss application server.
An overview :
h:graphicImage element has dynamic "url" parameter that is the property of Seam
component.
When image is rerendered (this happens frequently in response to various
actions on the same page), I need to execute some additional Javascript code.
This code needs to "know" the number
There is a lot of code, so only key points :
Seam Component interface :
@Local
| public interface MapImageA4J
| {
| public void setXc(int xc);
| public int getXc();
| public void setYc(int yc);
| public int getYc();
| public void setWidth(int width);
| public int ge
Hello
I have a Java class that is responsible for some graphics in my
web-application. I have turned this class into Seam component. Actually this is
session-scoped graphic provider for a4j:mediaOutput element (image) . This
works well.
There is some plain JavaScript code on web-page that c
Got it myself.
I put jboss-seam-mail.jar into the ear root instead of putting it into
war/WEB_INF/lib.
It is weird, however, why no exceptions or debug messages appeared..
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4063082#4063082
Reply to the pos
Hello
In mail-service.xml I only changed debug="false" to "true" , and did not touch
server addresses, etc.
In components.xml, I added the line :
|
The first question : does components.xml settings override mail-service.xml
settings ?
Then, I have a page
http://www.w3.org/1999/xht
I have a working slution now but not sure about it's reliability and
performance.
So I needed list of records in Shopping cart. Records can be added, removed and
checked (in special checkbox column). The problem was that all checkboxes
resets after add or remove operation.
In fact records of
Hello
I have implemented a checkbox column for table multi-select, like in dvd store
example.
When list is being updated (e.g.record is being removed), all checkboxes
becomes unchecked with no depend on their previous state. I want checked
positions to stay checked.
XHTML (action and checkb
"[EMAIL PROTECTED]" wrote : In practice, its a total disaster unless you are
using something like jBPM, in which case you don't need to even think about it.
Sounds reasonable. I probably need more experience in complex business
processes to realize that with my skin.
Let's assume we are using
Recently solved the same problem , thanks to this forum .
The situation was like your's : adding rows from one table to another (shopping
cart) and then deleting rows from shopping cart.
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=111675
( the initial request is about another prob
Ok.
Let's consider the order example again. Order processing in my system may take
several days or even weeks. During that process order is handled by 5 different
executives and passes through 7 statuses. From business point of view, it is
single long running business-process.
If I understan
If I understand correctly, jBPM was developed for :
1) Defining navigation and pageflows
2) Providing support for business process context, which is wider than session
context. This way componens can be persisted across multiple users/sessions.
Also, tasks can be logically assigned to users.
Any ideas ?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4057664#4057664
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4057664
___
jboss-user mailing list
jboss-user@lists.j
I could help with Russian translation, but don't use seam-gen. Is it the same
messages_en.properties as laying in \seam-gen\resources of Seam installation ?
If so, what is the usage of messages starting otherwise than validator. or
org.jboss.seam. , e.g. javax.faces.converter. ?
View the orig
Hello
When I run booking example on Seam website, it shows "Welcome, username" (after
successful login) always in English.
At the same time, registration form shows "this field is required" messages
localized to my language, other than English.
I have build a simple web-application using Bo
"[EMAIL PROTECTED]" wrote : #{invalid} and #{required} are variables available
inside s:decorate, and are booleans. required evaluates to true if you have
set the decorated component required, and invalid evaluates to true if a
validation error occurs.
Could you please point to documentation w
Hello
Please help me to understand the following code in Registration example :
register.xhtml uses RegisterAction component annotated as "register", e.g. :
| Verify Password:
|
|
|
RegisterAction.java also has method invalid() :
| public void invalid()
|{
| face
I must say, finally, that petemuir's version was correct :
anonymous wrote : ajax4jsf namespace isn't being resolved correctly
The problem is solved now, thanks.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4057198#4057198
Reply to the post :
http://www.jb
Hello
When I try booking example online, and put cursor over "Book hotel" link, I see
the URL in status bar looking like
http://seam.demo.jboss.com/main.seam?actionMethod=hotelBooking.selectHotel&dataModelSelection=hotels%5B0%5D
If I click this link, browser address bar displays something like
"azalea" wrote : my mistake for EL expression :)
|
|
| | rendered="#{cartList.rowCount > 0}"
| |
Excellent,
thanks !
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4056828#4056828
Reply to the post :
http://www.jboss.com/index.html?module=bb&o
"ivan.tufegdzic" wrote : Change method in cart in isEmpty without get and in
page rendered="#{cart.empty}"
| But I think that you should delete that and put rendered="{not empty
cartList}"
{not empty cartList} works with no exception , thanks again.
However, when I add some items and then re
ivan.tufegdzic,
thank you very much , it solved the problem.
But now I am getting "row is unavailable" exception .
Notable thing is that exception arises after second of third "remove"
operation. First "remove" works well and removes exactly the clicked row.
javax.faces.el.EvaluationException
When I click "Remove" in any row of the table, removeSelectedPosition() is
always being called for first row(entity). What is wrong ?
XHTML :
|
| Quantity
|
|
|
| Item
| #{item.part.description}
|
Hello
My pages.xml contains the following block :
|
| You must register to use this
function
|
|
Sometimes it works fine, but when I redeploy the application and try to refresh
the page that contains component with @Restrict("#{identity.loggedIn}"
20:12:18,375 ERROR [SeamPhaseListener] uncaught exception
| javax.faces.el.EvaluationException: Exception while invoking expression
#{cart.addPart}
| at
org.apache.myfaces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:165)
| at
org.jboss.seam.actionparam.ActionParamBindingHelp
Still one problem, though .
When I call a method with single argument (argument is entity bean) everything
works well :
JSF code
Java code
public void addPart(PartCMP part)
| {
| cartOrder.addPosition(part, 1);
| }
But when I use 2 arguments, I am getting IllegalArgumentExcepti
Thanks a lot Pete, it was the case. Solved.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4056083#4056083
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4056083
___
jboss-user
Hello
In example 1.23 listing of Seam documentation I see the code :
|
| Name
| #{hot.name}
|
|
| Address
| #{hot.address}
|
|
| City, State
| #{hot.city}, #{hot.state}, #{hot.country}
|
|
|
"ChristopheA" wrote : Is your findPart method declared in the PartSearch
interface ?
|
Yes
@Local
| public interface PartSearch
| {
| public int getPageSize();
| public void setPageSize(int pageSize);
|
| public String getSearchString();
| public void setSearchString
1 - 100 of 122 matches
Mail list logo