Felipe Reis

Greenhorn
+ Follow
since Oct 31, 2007
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by Felipe Reis

Actually, there is yet another problem. The displaying of the combobox is faulty too, it shows the id values instead of what is written in the label attribute...

Disappointing.
15 years ago
JSF
Hello everyone.

I'm trying to use the convertEntity tag from Jboss Seam in a <rich:comboBox> but I'm cannot manage to make it work.

I've read at the documentation that:

You must use Seam managed transactions (see Section 9.2, “Seam managed transactions”) with <s:convertEntity />.



So firstly I've worked on that... As I'm not using EJB and JTA transactions I've added this:

to my components.xml.

Then, I've inserted this

to my components.xml. I don't really understand why, but it was in the docs.

My .xhtml looks like this:


What I got as a result is a combobox that displays correctly, however, when I submit the form, I get the following error:

java.lang.NumberFormatException: For input string: ""


I assume that the value from the id is not being passed to the entity converter...

Has anyone had this problem before?



15 years ago
JSF
Hello everyone!

I looking for a web component that resembles that star rating system we find at several websites (youtube, amazon, etc.).

I'm using JSF with Richfaces and a4j, and I don't want to create the component myself. I'm sure there something out there I could use...

Any ideas?!

Thanks!
15 years ago
JSF

The address of a service is in it's WSDL file.



would it be on the value of the targetNamespace attribute?
16 years ago
Hi!
I have a very basic question that I'm sure it will be quickly answered...

I've created a CASA project which contains a BPEL project and deployed it on glassfish. My BPEL project contains a couple of WSDL files which represent web services. Now I need to call these web services from another application (not related to Java or Netbeans), and I need to know the address under which I can find the WSDLs. I guess it would be something like http://localhost/myCASAProjectsName/myWSDLFileName
or something similar....

Where can I find this information?
16 years ago
Hello!

I'm trying to create a BPEL project using Netbeans 6.1, I've followed this simple tutorial from the Netbeans' website:

http://www.netbeans.org/kb/61/soa/helloworldca.html

I could deploy the Composite Application without any problems, but when I run the test I got this weird error:

java.lang.NoClassDefFoundError: com/sun/esb/management/client/ManagementClient



I've been trying to found out the cause for hours now, and I've runned out of ideas... Can anyone give me a hand?
16 years ago
I'm having the exact same problem.

Could you figure that out Marco?

Does anyone knows how to do that?
I've been trying to purchase EJB Plus from Enthuware, but my orders keep being rejected. Did anyone else went through this?
I shop on internet quite often, this is the first time I have issues...

Regards,
Felipe Reis.
(the formatting of the first post was terrible, so I'm posting it again...)

Recently I've been following Bill Burke's and Rod Johnson's blogs where there is a discussion about Spring 'stealing' job offers from EJB.

For those who don't know who these guys are, Burke works for JBoss and wrote EJB 3.0 from O'Reilly, and Johnson is the creator of Spring.

Usually I don't give much attention to discussions regarding framework competition. But I found it interesting to see 2 IT heavyweights showing their arguments, and having quite a "warm" discussion about their products.

First they argue if Spring really has more job offers than EJB

Johnson:

Spring has now overtaken EJB, and it?s no longer even close, as far as job listings go



Burke:

Rod, I wrote this blog... to satirize your recent silly blog and manipulation of stats



Then the subject is the quality of the products:

Johnson:

Frankly, the EJB era was an aberration. EJB failed to solve the problems of earlier this decade; it's still more inadequate to those of the future



Burke:

Its too bad you have to rely on such a kiddy wrapper over real technologies to make your business



And here is a final warning from Burke:

Unfortunately, when you finally wake up and see that uniting Spring with Java EE/EJB is a good thing for everybody, the Rails movement will have already made us all obsolete. Sigh.



Well... I just thought it was an interesting discussion, and I respect both professinals. I just create this post to check the user's opinion about the subject: Spring and/or EJB.

here are the links:
http://www.infoq.com/news/2008/02/ejb-spring-job-listings-trends
http://bill.burkecentral.com/2008/02/13/ejb-maintains-its-dominance/
http://blog.springsource.com/main/2008/01/23/spring-overtakes-ejb-as-a-skills-requirement/
Recently I've been following Bill Burke's and Rod Johnson's blogs

where there is a discussion about Spring 'stealing' job offers

from EJB.

For those who don't know who these guys are, Burke works for

JBoss and wrote EJB 3.0 from O'Reilly, and Johnson is the creator

of Spring.

Usually I don't give much attention to discussions regarding

framework competition. But I found it interesting to see 2 IT

heavyweights showing their arguments, and having quite a "warm"

discussion about their products.

First they argue if Spring really has more job offers than EJB

Johnson:

Spring has now overtaken EJB, and it?s no longer even

close, as far as job listings go



Burke:

Rod, I wrote this blog... to satirize your recent silly

blog and manipulation of stats



Then the subject is the quality of the products:

Johnson:

Frankly, the EJB era was an aberration. EJB failed to

solve the problems of earlier this decade; it's still more

inadequate to those of the future



Burke:

Its too bad you have to rely on such a kiddy wrapper over

real technologies to make your business[/QUOTE

And here is a final warning from Burke:

Unfortunately, when you finally wake up and see that

uniting Spring with Java EE/EJB is a good thing for everybody,

the Rails movement will have already made us all obsolete.

Sigh.



Well... I just thought it was an interesting discussion, and I

respect both professinals. I just create this post to check the

user's opinion about the subject: Spring and/or EJB.

here are the links:
http://www.infoq.com/news/2008/02/ejb-spring-job-listings-trends
http://bill.burkecentral.com/2008/02/13/ejb-maintains-its-dominan

ce/
http://blog.springsource.com/main/2008/01/23/sprin...s-ejb-as-a-s

kills-requirement/

Hey all.

I'm developing a webpage that allows users to upload and download files.
To implement uploading I'm using an Apache library (FileUpload), and I haven't done the download bit yet (maybe I can manage to do it with an OutputStream...).

The thing is, I would like to show a custom progress bar when a file is being uploaded or downloaded. An example of that is the box.net website (www.box.net), which is a very well done page, by the way.

Is there a way to do that?

Cheers
17 years ago
Ben and Bear, thanks for the support.

I manage to solve the problem, and with the info that I provide, you guys could never have helped me. The problem was not in the code after all!

I have this habit of spending all my time looking for bugs in the code, and forgeting other issues like file location.

After some tests I found out that the function was not being called. The js file was in the same folder as my jsp, however, the jsp was called after a Servlet's forward(), so the URL in the browser bar was still from the first Servlet.

I spent days looking at the code, and the problem was solved after a glimpse on the browser bar...

Anyway, thanks again.
17 years ago
JSP
Oops, sorry... I've got 2 functions in that page, one with an array called Tree, and another called DivArray. But i've only posted the code relevant to the createTree() function.
17 years ago
JSP
Here is the code from the jsp:



This is the js file:

17 years ago
JSP
I've checked the FAQ about resources URL. As my page uses a static URL to include the js file I don't think that's the problem.

The elements are included in the array in the page <head> tag, so I think the function will be called just after that...

I'm stuck now. I'll do some more tests and see what I find out.

I've posted this question on a different forum, and a user suggested me to use scriptlets, because custom tags won't work. But that just doesn't make sense to me...

Thanks Bear and Ben.
17 years ago
JSP