[jboss-user] [Security JAAS/JBoss] - JBoss Negotiation - Missing Service Pack

2009-07-30 Thread awhitford
JIRA seems to suggest that the latest version of Negotiation is 2.0.3.SP1 (around April 2009), but the Downloads link only shows 2.0.3.GA (around Janurary 2009). https://jira.jboss.org/jira/browse/SECURITY?report=com.atlassian.jira.plugin.system.project:roadmap-panel

[jboss-user] [Security JAAS/JBoss] - JBoss Negotiation - Tomcat

2009-07-30 Thread awhitford
Is it possible to use JBoss Negotiation with just Tomcat (not JBoss)? If so, can someone please point me to the documentation? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4247131#4247131 Reply to the post :

[jboss-user] [JBossWS] - Re: Jboss support for Webservices over REST?

2008-12-28 Thread awhitford
Is there a forum for RestEASY? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4198631#4198631 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4198631 ___ jboss-user mailing list

[jboss-user] [JBossWS] - Re: Wrong minOccurs in wsdl generated by Jboss

2008-11-27 Thread awhitford
FYI... I asked the same question here: http://www.jboss.com/index.html?module=bbop=viewtopict=146142 As a rule, I think any Java object is treated as minOccurs=0. The only thing that isn't optional are primitives like int. Alas, I too am interested in some control over this because some

[jboss-user] [JBossWS] - Best Practices for Dates

2008-11-22 Thread awhitford
I have a web service that returns Dates. Imagine something simple like: | @WebMethod | Date getCurrentBusinessDate() | In this case, I am only interested in a Date (not a Time or Date Time). This is by design because otherwise one might go down the road of considering Time Zones,

[jboss-user] [JBossWS] - How to avoid optional parameters (wsgen)

2008-11-22 Thread awhitford
Consider a simple web service method: | @WebMethod | void foo (@WebParam(name=param) String param) | When generating the WSDL using wsgen, and inspecting it in SoapUI, I notice that a primitive type (like an int) won't appear as optional, but an object reference does. In some cases, I

[jboss-user] [EJB 3.0] - Re: EJB3-embed jars in Maven repo?

2008-11-21 Thread awhitford
More than a year later, and thirdparty-all is still kicking around... These kitchen sink -all jars need to be replaced with proper poms and let Maven do its job. With the -all jars, we need to pay attention to classpath ordering to avoid version conflicts... Ugh! View the original post :

[jboss-user] [JBoss Seam] - Re: TimerBean and TimeBeanImpl from seam-gen project

2007-10-26 Thread awhitford
I received a reply from the ICEfaces Forum: http://www.icefaces.org/JForum/posts/list/6110.page anonymous wrote : The TimerBean interface is not currently being used. If you wanted to add to the TimerBeamImpl, make it stateful for example, you might want it. Other than that, it's just legacy.

[jboss-user] [JBoss Seam] - Re: Seam 2.0.0 CR3

2007-10-25 Thread awhitford
I notice that CR3 is on the JBoss Maven2 repository (great!), but I don't see a CR3 release for JBoss-EL. Is that an oversight? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4098987#4098987 Reply to the post :

[jboss-user] [JBoss Seam] - TimerBean and TimeBeanImpl from seam-gen project

2007-10-25 Thread awhitford
After building a project with seam-gen, I see a TimerBean interface and TimerBeanImpl class. I see the timer component is being used by layout\template.xhtml, but I am wondering why this is generated instead of part of the ice jar? View the original post :

[jboss-user] [JBoss Seam] - Re: Audit Interceptor with State

2007-08-10 Thread awhitford
So in the end, how did you do this Kevin? Did you use Pete's strategy, or end up using Hibernate Interceptors? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4073228#4073228 Reply to the post :

[jboss-user] [JBoss Seam] - Re: migration from 1.2 to 2.0beta1 @In

2007-07-12 Thread awhitford
The lack of qualification for the component name presents this risk. Why not make it best practice to qualify the component name? So built-in components are org.jboss.seam.Session, and my own objects would be com.domain.project.Session. I know it seems verbose, but it just seems practical for

[jboss-user] [JBoss jBPM] - New Eclipse Project

2007-07-11 Thread awhitford
I am trying to mimick the demo: http://docs.jboss.com/jbpm/v3/demos/movies/jbpm-overview.htm But I am stuck on the first point... My Eclipse 3.2 does not have a New JBPM project option. I have JBossIDE installed: http://download.jboss.org/jbosstools/updates/development Do I need another

[jboss-user] [JBoss Seam] - Re: Facelets 1.1.11 and s:decorate problem

2007-06-13 Thread awhitford
Out of curiousity, what is special with the facelets library that comes with Seam? (I can see that it doesn't match 1.1.11 or 1.1.12 -- both of which are several months old already...) As a Maven user, I typically just enter a dependency that is available from Ibiblio or somewhere... In this

[jboss-user] [JBoss Seam] - Facelets version

2007-06-12 Thread awhitford
What version of Facelets is required for Seam 1.3 and JBoss 4.2? I notice that 1.1.11 is still the latest official release, but the file size doesn't match (1.1.12 draft either). View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4053643#4053643 Reply to the post

[jboss-user] [JBoss Seam] - s:convertEntity with non-numeric @Id

2007-06-12 Thread awhitford
According to the documentation: anonymous wrote : | The converter works with any entity which has an @Id annotation - either simple or composite. | But if I try to use it with an Entity that has a String as the @Id, I get a NumberFormatException: |

[jboss-user] [JBoss Seam] - Re: s:convertEntity with non-numeric @Id

2007-06-12 Thread awhitford
I'm using Seam 1.3.0.ALPHA. Here is the full stack trace: Caused by javax.servlet.ServletException with message: For input string: USD | javax.faces.webapp.FacesServlet.service(FacesServlet.java:256) |

[jboss-user] [JBoss Seam] - Re: s:convertEntity with non-numeric @Id

2007-06-12 Thread awhitford
I logged this issue in JIRA: http://jira.jboss.com/jira/browse/JBSEAM-1444 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4053799#4053799 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4053799

[jboss-user] [JBoss Seam] - Re: seam-gen: What is it good for?

2007-06-06 Thread awhitford
I think you have raised a good question... I personally don't use it beyond getting an initial baseline. I have found that even after the code generation, I need to hunt around and make several tweaks (disabling schema validation, changing the naming strategy -- some of this is related to

[jboss-user] [JBoss Seam] - Re: seam 1.3.0.alpha seam-gen error

2007-06-05 Thread awhitford
Are you sure that did the trick? I see the same hibernate-all.jar in project\lib as seam-gen\lib. Renaming the one in project\lib doesn't change a thing for me... I recall I had this problem in the past and I had gotten around it by removing tables and constraints... View the original post

[jboss-user] [JBoss Seam] - Re: seam 1.3.0.alpha seam-gen error

2007-06-05 Thread awhitford
I traced the problem to having a foreign key constraint. If I drop the constraint, seam-gen works fine... (But I want that constraint, and I'm expecting seam-gen will generate code with convert-entity...) View the original post :

[jboss-user] [JBoss Seam] - faces-config 1.1 or 1.2

2007-06-05 Thread awhitford
From Michael Yuan's blog, he instructs to update the /WEB-INF/faces-config.xml file to add the SeamELResolver using the new JSF 1.2 XML schema declaration... Looking at a fresh seam-gen application (from 1.3.0.ALPHA), I see that faces-config still has the 1.1 dtd and it has no SeamELResolver...

[jboss-user] [JBoss Seam] - Re: Seam + Maven + Richfaces + softeu

2007-06-04 Thread awhitford
I would like to reiterate the value of Maven support. I liken Maven to my TiVo. It is one of those inventions that you don't really need, but when you start using it, you realize the benefits. The main issue with using Maven is that the open-source dependencies are driven by a community. If

[jboss-user] [JBoss Seam] - XML formattting in Eclipse to match seam-gen

2007-06-04 Thread awhitford
When looking at seam-gen generated xhtml, I can see it is formatted in a way that the element attributes are aligned on the equals (=) sign: | s:decorate id=nameDecoration template=layout/edit.xhtml | ui:define name=labelname/ui:define |

[jboss-user] [JBoss Seam] - Why avoid HTTP Authentication?

2007-06-04 Thread awhitford
From 12.4.7. HTTP Authentication, the Seam docs say: anonymous wrote : Although not recommended for use unless absolutely necessary, Seam provides means for authenticating using | either HTTP Basic or HTTP Digest (RFC 2617) methods. Can someone elaborate on why HTTP authentication is meant to

[jboss-user] [JBoss Seam] - DRY Edit pages

2007-06-04 Thread awhitford
Consider the following seam-gen generated snippet from an Edit.xhtml: | h:inputText id=code |disabled=#{countryHome.managed} |required=true |size=2 | maxlength=2 |

[jboss-user] [JBoss Seam] - Localizable CRUD from seam-gen

2007-06-04 Thread awhitford
For a long time, I never paid much attention to localization because my users all spoke English. Alas, I now need the convenience of localization. I remember that the earlier generation of seam-gen (the one built into the Hibernate reverse engineering tool part of the JBoss IDE) embedded

[jboss-user] [JBoss Seam] - Re: jboss-seam-CVS.20061204 seam-gen project

2007-06-03 Thread awhitford
seam generate-entities is failing for me with the latest CVS tree because ehcache is missing from the lib directory. It reports a java.lang.NoClassDefFoundError: net/sf/ehcache/CacheException. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4050774#4050774

[jboss-user] [JBoss Seam] - Re: jboss-seam-CVS.20061204 seam-gen project

2007-06-03 Thread awhitford
After supplying the ehcache jar, generate-entities fails with a new error: anonymous wrote : | BUILD FAILED | java.lang.IllegalAccessError: tried to access field org.hibernate.cfg.Collection | SecondPass.collection from class org.hibernate.cfg.JDBCBinder$JDBCCollectionSecondPass View the

[jboss-user] [JBoss Seam] - Re: Boiler-plate getMaxResults for domain object List class

2007-06-02 Thread awhitford
I am afraid that you missed my point... I am advocating that the framework (EntityQuery or Query) defines a default so that the numerous Entity List classes do not need to declare this. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4050688#4050688 Reply to

[jboss-user] [JBoss Seam] - Boiler-plate getMaxResults for domain object List class

2007-06-01 Thread awhitford
The boiler-plate for an entity List class overrides getMaxResults with a constant: | @Override | public Integer getMaxResults() { | return 25; | } | Why is this done (or necessary)? The underlying Query

[jboss-user] [JBoss Seam] - Re: seam-gen enhancement

2007-06-01 Thread awhitford
I notice that this issue (http://jira.jboss.org/jira/browse/JBSEAM-843) is still not on the roadmap. (I recall that this had just missed the 1.1.7 release, but I had hoped that it would have been included in the 1.2.x release, and now I don't even see it scheduled for 1.3.) Please don't

[jboss-user] [JBoss Seam] - Re: Excel support in Seam: any interest?

2007-03-07 Thread awhitford
I'd like to add my two cents... First off, I agree that a displaytag equivalent is a great idea! Sometimes a simple solution is the best. And I too have searched for a JSF equivalent to displaytag. I would love to see Seam (or one of the Faces sister projects) provide something like this.

[jboss-user] [JBoss Seam] - Re: Correct Syntax for enum lookup in messages

2007-02-14 Thread awhitford
I'd just like to add that I did have a build problem where the messages_en.properties file wasn't placed properly in WEB-INF/classes, but even after it was resolved, I still can't get the enum translations to work... View the original post :

[jboss-user] [JBoss Seam] - Re: seam-gen enhancement

2007-02-13 Thread awhitford
Good work Kent! I can't wait to try this... I can't stress how important this feature is because the reverse engineering approach makes a lot of incorrect assumptions. The Entity bean provides much richer information for CRUD generation. Some problems that I have run into with reverse

[jboss-user] [JBoss Seam] - Correct Syntax for enum lookup in messages

2007-02-13 Thread awhitford
For an edit page, I have an enum. My code looks something like: | s:selectItems value=#{myEnumTypes} | var=enumType label=#{messages[enumType]} | hideNoSelectionLabel=true noSelectionLabel=Please select.../ | My problem is that I am not seeing any label text... I may have a bug

[jboss-user] [JBoss Seam] - Re: Foreign Keys and changing Seam Gen templates

2007-02-10 Thread awhitford
I think I have the same problem as you, and Gavin suggested getting the latest seam-gen from CVS... See my post: http://www.jboss.com/index.html?module=bbop=viewtopict=101221 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4014189#4014189 Reply to the post :

[jboss-user] [JBoss Seam] - stylesheet/date.css missing from seam-gen project

2007-02-09 Thread awhitford
From my 1.1.6 GA seam-gen project, the template.xhtml has a link to stylesheet/date.css, but the date.css file is not part of the project. Looks like a bug... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4013910#4013910 Reply to the post :

[jboss-user] [JBoss Seam] - Best practice for creating reference entity for entity creat

2007-02-09 Thread awhitford
I used seam-gen from 1.1.6 GA to create a reverse-engineered project. I have a table with a self join. (Note that in order to use generate-entities, I had to drop the foreign key constraint, then I doctored the generated project a bit to restore the object relationship.) My entity looks

[jboss-user] [JBoss Seam] - Re: Trinidad PPR/Ajax and Seam

2007-01-31 Thread awhitford
Does anybody know if this is still necessary with 1.1.5 GA of Seam? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4009207#4009207 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4009207

[jboss-user] [JBoss Seam] - Feature Request: seam crud

2007-01-16 Thread awhitford
From this movie, I can see how Hibernate Tools can be used to reverse engineer a Seam CRUD application based on a database schema. My main problem is that the Entity beans that it generates aren't always right. (For example, I have two entities: Exchange and Country. There is a Many-To-One

[jboss-user] [JBoss Seam] - Re: Seam Maven2

2006-12-29 Thread awhitford
From http://raibledesigns.com/page/rd?entry=tse_hop_into_real_object: anonymous wrote : Ben just did a survey of the room asking who's using Ant vs. Maven. Surprisingly, Ant only slightly beats Maven. I can't stress the importance of being able to declare Seam as a dependency for Maven users.

[jboss-user] [JBoss Seam] - Re: Object level validation

2006-12-29 Thread awhitford
I can see someone has a similar issue: http://opensource.atlassian.com/projects/hibernate/browse/ANN-513 I though about using AssertTrue, but it felt forced, especially when I would need to use several if I wanted to actually link errors to certain fields... Is there a way that I can create a

[jboss-user] [JBoss Seam] - Object level validation

2006-12-28 Thread awhitford
I am creating JPA/EJB3 entity objects, and am using Hibernate Validation annotations for some basic constraints. And I definitely like how this validation framework is leveraged by Seam -- DRY! But how can I best provide semantic object level validation? For example, imagine that I have a