I have tried both ways...
1: With the patch
It creates the seam folder and puts the seam jar in that folder (Which I then
just manually move to the ear root)
2: Without the patch
It does not put the Seam Jar into the ear at all. Also, if you look at the "Add
and Remove projects" on the Jboss
Ye, something is still not working with the deployment (I have been following
the previos Eclipse Web Tools Bug)
1 : Fresh EE eclipse (winter)
2 : Jboss Tools 2.1.0.GA
3 : Seam 2.0.2SP1
3 : http://in.relation.to/8932.lace
It creates a seam folder in the ear and adds the jar there... this of cour
like this
|
|
|
|
|
|
|
For option 1: (because I think option 2 is rubbish) you just need a single
modal panel, so you do not need to worry about page size. Just bind the
contents of the modal panel to some variables then change the values of those
variables with a ajax action and rerender the contents of the modalpane
| @Resource(mappedName = "java:/someDatasource")
| DataSource someDataSource;
|
Then you can get the Connection from that an do "normal" jdbc
Connection conn;
| try {
| conn = someDataSource.getConnection();
| } catch (SQLExceptio
You can't, the seamtest uses testng specific annotations to set everything up.
You should be able to replace the testng annotations with junit ones and
recompile the seam test (from what I have seen)
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4107083#41070
I use
| Component.getInstance("course");
|
Im not quite sure how the factory method works in your case... but you could
always get courseManager...
| CourseManager cm = (CourseManager) Component.getInstance("courseManager");
View the original post :
http://www.jboss.com/index.html?
I tried ant and got the same error... (I used the ant file that is
automatically created by Eclipse, and just added the testng task... and got the
same error.
[testng] at org.testng.TestNG.main(TestNG.java:802)
|[testng] Caused by: java.lang.IllegalStateException: [EMAIL PROTECTED]
This issue...
http://jira.jboss.com/jira/browse/JBIDE-1129
and
http://jira.jboss.org/jira/browse/JBSEAM-2129
Is there a workaround for now?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4106685#4106685
Reply to the post :
http://www.jboss.com/index.html?m
Thanks... as I thought... very simple :-)
Is there an eta on when a fix will be commited to Embedded Jboss so that we can
run these Seam tests? (These test are extremely useful for me... and I would
really like to use them)
View the original post :
http://www.jboss.com/index.html?module=bb&o
Hmm, looks like there is a Major problem with Seam 2 and Embedded Jboss so
going to write normal Junit tests for now.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4106401#4106401
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&m
Hi, I have looked through the seam examples can can't find out how to invoke a
method with parameters with Seam test.
This is the method I want to test
@Stateless
| @Name("dbi")
| @AutoCreate
| public class DBI_EJB_Impl implements DBI {
|
| @In
| EntityManager entityManager;
Anyone have a work around for this? I am getting the same problem.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4105465#4105465
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4105465
Nevermind,
I thougtht there was some special el tag that put a variable onto the
session... but I see what you mean now.
| #{helper.setListToUse(compvar)}
|
Thanks... so simple... but taken days to figure out (digging into all sort of
stuff)
ps. Jboss Tools is awesome.
View the origina
Hi pete,
I am not quite sure what you mean by use EL functions? can you give an example?
Thanks.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4098111#4098111
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4098111
___
No luck :-(
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4097858#4097858
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4097858
___
jboss-user mailing list
jboss-user@lists.jb
Hi,
I see there is a way to inject by using Componenet.getInsance.
Is there a way to outject a object with out using the annotation?
Thanks.
Sean.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4097855#4097855
Reply to the post :
http://www.jboss.com/index.
Hello,
I am busy building a custom facelets component that I will use like this
|
|
|
Where testList and anotherTestList are List objects that has been outjected by
seam.
Now on the component side of things I can use the variable "compvar"
| .
| .
| .
|
| http://www.jbo
Hi,
I deployed a Seam 2 Beta app to Jboss that was running a Seam 1 App.
I get an error while using the seam2beta app that the decorate tag cannot be
found
anonymous wrote : com.sun.facelets.tag.TagException: /login.xhtml @22,53
Tag Library supports namespace:
http://jboss.com/products/seam/
Nice
Will defiantly use this...
Great Post.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4078652#4078652
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4078652
___
jboss-use
I removed the
xmlns:rich="http://richfaces.ajax4jsf.org/rich"; id="ajaxDropDownArea"
and the result is the same... no luck.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4070552#4070552
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=post
Ok, this is everything... going to be long...
most of it was generated by seam-gen
Web.xml
| http://java.sun.com/xml/ns/j2ee";
| xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
| xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
http://java.sun.com/xml/ns/j2ee/
Hi again,
I am using Seam 2.0.0 beta and Jboss 4.2.1,
I am having lots of problems using Seam from a quartz MDB bean (instead of from
the web end where everything works perfectly)
This is an example of my xhtml file that is included in the email and in the
web page... (It works from the web pa
Also sometimes after I redeploy I get this exception... and if I get this
exception it happens all the time until I restart jboss, or redeply
anonymous wrote : 09:56:02,391 ERROR [SendSettlementEmailBean] could not EMAIL:
| java.lang.RuntimeException: java.io.FileNotFoundException:
/pages/repo
Hi, I am having problems with Seam Email running off a cron schedule, and the
behavior is rather erratic..., I am running on JBoss 4.2.1, Seam 2.0.0Beta
This is my quartz service bean
@MessageDriven(activationConfig = { @ActivationConfigProperty(propertyName =
"cronTrigger", propertyValue = "0 0
I just tested the Entity vs. Stateful and the same is happening for me...
entity works, stateful does not.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4067313#4067313
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=406
I also have this problem, which I posted about yesterday
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=114280
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4067307#4067307
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mo
Hi,
I have just upgraded from JBoss 4.0.5 to 4.2.1, and at the same time upgraded
to Seam 2 from 1.2.1.
Everything is working fine except the hibernate validations, which don't seem
to be working at all.
This is my setup that was working with Seam 1.2.1
|
|
|
|
Solved it,
I added
anonymous wrote : protocol="HTTP/1.1" SSLEnabled="true"
to the config
|
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4066916#4066916
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4066916
_
I am having the same problem, did you find a solution? (I am using 4.2.1)
I set it up in the exact same way that I set up 4.0.5, which works.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4066914#4066914
Reply to the post :
http://www.jboss.com/index.html?mo
Hi
I have a "cron" bean that fires off an email...
| @MessageDriven(activationConfig = { @ActivationConfigProperty(propertyName
= "cronTrigger", propertyValue = "0/30 * * * * ?") })
| @ResourceAdapter("quartz-ra.rar")
| public class QuartzMDBBean implements Job {
|
| @EJB Se
Thanks, this is perfect.
Where can I find the documentation for this?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4055099#4055099
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4055099
___
Yip, I couldn't agree more... its AWESOME... (been using it since version 1)
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4054708#4054708
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4054708
__
Hi,
I have a "simple" problem and I was wondering if there is a easy solution...
I have an EJB3
| @Stateless
| public class SendSettlementEmailBean implements SendSettlementEmail {
| public void sendEmail() {
| System.out.println("Running Now");
| }
| }
Now I
Hi,
I have just started playing around with the new authentication in 1.2.1 and I
am having a bit of trouble getting my mind around the navigation control.
Here is a situation,
If a user has never logged in before they must first fill in a form then
continue to the page they requested. If they
If you used seam-gen to generate your project, that should work out the box.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4052985#4052985
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4052985
__
Solved it, just had to annotate the persist method (which I had overridden)
@Transactional
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4050130#4050130
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4050130
___
Hello,
I am trying to use Seam managed persistence (Seam Application Framework) with a
web service on Jboss 4.0.5 with ws 1.2.1 and seam 1.2.1.
| @WebService
| @SOAPBinding(style = SOAPBinding.Style.DOCUMENT)
| public class JustSwipeService {
|
| @WebMethod
| public boole
Hello,
How do you change the validation message for a particular field.
I have a field that has to be 6 digits, and the messages says
anonymous wrote : length must be between 6 and 6
which just looks wrong, I would rather the message says
anonymous wrote : Debtor Code must be 6 digits
The Cod
I just commented out the debug line in the source code, and everything is
working perfecly, im not sure what to do from here, except use my custom built
seam. (I don't really understand how the injection actually works)
| protected ClassValidator getValidator(Class modelClass)
|{
|
Hi,
I have a simple piece of code that is trying to persist/update the database
| VweraclientdnamesHome home = new VweraclientdnamesHome();
| home.setVweraclientdnamesId(input.getId());
| home.getInstance().setUsedForEras(true);
| home.update();
|
where home is a instance of the Enti
The PermGen thing worked, thanks Gavin.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4024105#4024105
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4024105
___
jboss-user mail
I am having the same problem with seam-gen code (The generate-entities
function). I had the problem with seam 1.1.5 and it still exists in 1.2.
My work around at the moment is to just restart JBoss...this problem pops up
for me after I have deployed/"seam restart" your app a few times to jboss.
Thanks Gavin,
I found my problem, the new seam gen, generates
@Override
| public List getRestrictions() {
| return Arrays.asList(RESTRICTIONS);
| }
Which was removing all of my "custom" restrictions.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=
Hi,
I would like to know the proper way to use seam restriction in the code.
I used to have a way that worked in Seam 1.1.0 but it stopped working in 1.1.1
(hence must be the incorrect way to use them)
| List restrictions = new ArrayList();
| restrictions.add("username like #{'" + value +
Hi,
I have also been getting this error
| [hibernate] Expression pojo.identifierProperty is undefined on line 47,
column 85 in view/list.xhtml.ftl.
| [hibernate] The problematic instruction:
| [hibernate] --
| [hibernate] ==> ${pojo.identifierProperty.name} [on line 47, column 83
I fixed it, was a silly error, I was not using the interface.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961818#3961818
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961818
_
:-/ having a bit of trouble with the forum. Here is the question.
I have a normal bean that is populated with data.
@Stateful()
| @Scope(ScopeType.SESSION)
| @Name("advancedSearch")
| public class AdvancedSearchBean implements AdvancedSearchLocal {
I want to use this data so I try inject i
Sorry, form pasted by accident??? Anyway, as you can see as soon as I add
that line to inject my bean I get that exception... everything works fine until
I try inject my bean.
Am I misssing something?
Thanks Sean.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewt
I have a simple application that has a radio box and displays the value of the
radio box to the screen. Everything seems to be working except when I browse
away from that page and then browse back I get and Exception.
|
|
|
50 matches
Mail list logo