[jboss-user] [JBoss Seam] - s:decorate question

2008-02-08 Thread bsmithjj
I've been trying to use s:decorate in a form. Here is the fragment I am using to 'decorate': | ui:composition ... | | s:div id=#{id} style=margin-bottom:9px; | label class=topLabel | ui:insert name=labelField Label/ui:insert | /label | div | ui:insert

[jboss-user] [JBoss Seam] - 2.0.1.GA - Ye Ole Maven2 + JBoss Embeddable problems

2008-01-31 Thread bsmithjj
What's changed w.r.t. to JBoss Embeddable and / or SeamTest ? I was able to move from Seam 2.0.0 to Seam 2.0.1.CR1 (yes the bootstrap stuff changed a bit in that transition). But now, when trying to upgrade to 2.0.1.GA, I'm getting several exceptions - Here's the first: | 10:12:49,242

[jboss-user] [JBoss Seam] - Re: extra jars needed when deploying a Seam 2.0.1.CR2 app in

2008-01-31 Thread bsmithjj
It would be nice if Seam 2.0.1 GA tracked the the jboss-embeddable that appeared in 2.0.1.CR1 instead of whatever it got released with. I'm all for bug fixes, documentation improvements, maybe a new feature or feature improvement. The volatility of the Seam(Test) + JBoss Embeddable stuff is

[jboss-user] [JBoss Seam] - Re: 2.0.1.GA - Ye Ole Maven2 + JBoss Embeddable problems

2008-01-31 Thread bsmithjj
Error in your docs already: http://docs.jboss.com/seam/2.0.1.GA/reference/en/html/testing.html#d0e22927 Table 33.1. anonymous wrote : org.jboss.seam.embedded jboss-embedded-api lib/test/jboss-embedded-api.jar looks to me like this jar is in the /lib directory, not /lib/test. Brad

[jboss-user] [JBoss Seam] - Seam Security - NotLoggedInException

2008-01-07 Thread bsmithjj
Hello, Is it possible to come up with something 'quieter' for the case where a user is not logged in and needs redirection to become logged in? Having lots of these exceptions | 10:58:07,196 ERROR [SeamPhaseListener] uncaught exception | org.jboss.seam.security.NotLoggedInException |

[jboss-user] [JBoss Seam] - Re: Seam Security - NotLoggedInException

2008-01-07 Thread bsmithjj
I see I've already asked for this before - thanks for the update. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4117627#4117627 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4117627

[jboss-user] [JBoss Seam] - Re: how to 'stay in conversation' with rich suggestionbox?

2007-12-26 Thread bsmithjj
Pete, It's a been a few weeks (~6 ;-)) but I ultimately reverted to session scope for most of our state in the simple application in which the issue arose. Thus, I don't have a solution for the problem I ran into here. I will be in my office mid-next week and can look at that specific

[jboss-user] [JBoss Seam] - Re: how to 'stay in conversation' with rich suggestionbox?

2007-11-13 Thread bsmithjj
Damian, thirdPartyHelper is a SLSB - the intent here is to simply provide the suggested options - it takes about 2-3 seconds to respond. my core:manager settings are as follows: | core:manager concurrent-request-timeout=500 | conversation-timeout=90 |

[jboss-user] [JBoss Seam] - Re: Seam 2.0.0.0GA + Maven2 doesn`t work...

2007-11-13 Thread bsmithjj
Here's one difference between my poms for an ear and yours. In the parent pom, it's my experience that I should generally build the ejb jar(s) before the webapp war(s) - often the webapp(s) depend on the ejb(s) (mainly for custom converters). | modules | moduleejb/module |

[jboss-user] [JBoss Seam] - Re: how to 'stay in conversation' with rich suggestionbox?

2007-11-13 Thread bsmithjj
Pete, I went to 10 seconds concurrent-request-timeout=1 - no luck. I looked over the documentation on that in the manual (just above section 6.9.1 which I used to come up with the settings used in the suggestionbox attributes). The basic flow I am trying to 'do' is: a.) on an editor

[jboss-user] [JBoss Seam] - Re: Is facelets a MUST for a seam application?

2007-11-13 Thread bsmithjj
Seam-mail requires facelets - maybe some of the other seam components do too. I think you can simply add facelets to your .war or .ear and not use it for view (page) template creation. Why not just add it? From your exception above, it seems like the Tomcat loader is complaining about

[jboss-user] [JBoss Seam] - how to 'stay in conversation' with rich suggestionbox?

2007-11-12 Thread bsmithjj
I am having trouble 'staying in conversation' using a SFSB that backs a parent form and a child form. From the parent form, I have the following navigation rule: | page view-id=/MMktIssuer.xhtml login-required=true | ... | navigation

[jboss-user] [JBoss Seam] - Re: Seam 2.0.0.0GA + Maven2 doesn`t work...

2007-11-12 Thread bsmithjj
There's been some research into Seam + Maven 2 unit testing in this thread. http://www.jboss.com/index.html?module=bbop=viewtopict=122406postdays=0postorder=ascstart=0 Transitive dependencies suck - anytime you put an exclusion into your pom you're fixing a problem due to this so-called feature

[jboss-user] [JBoss Seam] - Re: Writing SeamTests with Seam 2.0.0. CR2 - What's Changed?

2007-11-12 Thread bsmithjj
anonymous wrote : Well the error you posted is because your jndiPattern isn't getting set I think. That's what it looks like, but I've set the jndiPattern, even wrote code to query the JNDI tree and list all the bound objects - I'm using the right pattern and seam is not finding it (in my

[jboss-user] [JBoss Seam] - Re: Writing SeamTests with Seam 2.0.0. CR2 - What's Changed?

2007-10-31 Thread bsmithjj
WEB-INF/components.xml? no - I'm trying to boot the embedded jboss ONLY from an ejb module that's part of a larger ear project. This all worked nicely in Seam 1.2.1. I say that because (as you probably know quite well by now ;-)) that I am immensely frustrated at things like core:ejb

[jboss-user] [JBoss Seam] - Re: Writing SeamTests with Seam 2.0.0. CR2 - What's Changed?

2007-10-31 Thread bsmithjj
please start a new thread with this topic I am having trouble simply getting the most basic test to work Thanks View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4100835#4100835 Reply to the post :

[jboss-user] [JBoss Seam] - Re: Writing SeamTests with Seam 2.0.0. CR2 - What's Changed?

2007-10-30 Thread bsmithjj
[EMAIL PROTECTED] wrote : In Seam 1.2 and earlier we used Embedded EJB3, now we use Embedded JBoss, two different projects.anonymous wrote : | | | | Clearly! | | | | anonymous wrote : | | | These are the instructions that I wrote for using the Eclipse TestNG plugin

[jboss-user] [JBoss Seam] - Re: Writing SeamTests with Seam 2.0.0. CR2 - What's Changed?

2007-10-30 Thread bsmithjj
Pete, Do you know what's up with vfsfile as a protocol in JBoss Embedded? | ERROR [org.jboss.embedded.DeploymentScanner] Failed to deploy | org.jboss.deployers.spi.DeploymentException: Unable to find deployDir from url: file:/c:/work/BusinessIntelligence/InfoStratGui/app/target/test-clas

[jboss-user] [JBoss Seam] - Re: Nested ui:repeat fails

2007-10-30 Thread bsmithjj
[EMAIL PROTECTED] wrote : [EMAIL PROTECTED] wrote : I suggest you use the latest version of facelets (in which this bug has been fixed. Facelets 1.1.14) and ui:repeat and not tomahawk at all. If you still see this problem with Facelets 1.1.14 then post on the facelets mailing list. | |

[jboss-user] [JBoss Seam] - Re: Writing SeamTests with Seam 2.0.0. CR2 - What's Changed?

2007-10-30 Thread bsmithjj
| [DEBUG] Test Classpath : | [DEBUG] c:\work\BusinessIntelligence\InfoStratGui\app\target\classes | [DEBUG] c:\work\BusinessIntelligence\InfoStratGui\app\target\test-classes | [DEBUG] C:\Documents and Settings\a428302\.m2\repository\javax\faces\jsf-impl\1.2_04\jsf-impl-1.2_04.jar

[jboss-user] [JBoss Seam] - Re: Writing SeamTests with Seam 2.0.0. CR2 - What's Changed?

2007-10-30 Thread bsmithjj
Pete, I have this figured out now. No need to investigate any further. Thanks, Brad View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4100350#4100350 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4100350

[jboss-user] [JBoss Seam] - Re: Writing SeamTests with Seam 2.0.0. CR2 - What's Changed?

2007-10-30 Thread bsmithjj
ok, now I have this to figure out: | On=null whenRequired=Described resolved=false demand=persistence.units:jar=classes.jar,unitName=InfoStratGui} ** | persistence.units:jar=classes.jar,unitName=InfoStratGui - java.lang.NoSuchMethodError:

[jboss-user] [JBoss Seam] - Re: Writing SeamTests with Seam 2.0.0. CR2 - What's Changed?

2007-10-30 Thread bsmithjj
I don't believe wrong is the correct term to describe the situation, rather, from your (Seam team) perspective, you provide examples that are based on 'things' being in places in the Seam 2.0.0.CR(X) distribution. Thus, jars like jboss-embedded-all.jar are not truly all. I say that because I

[jboss-user] [JBoss Seam] - Re: Writing SeamTests with Seam 2.0.0. CR2 - What's Changed?

2007-10-30 Thread bsmithjj
I see that if hibernate-annotations 3.3.0 is in the classpath, I get the last error, now I am up to this: | *** CONTEXTS IN ERROR: Name - Error | UNKNOWN - ** UNRESOLVED [EMAIL PROTECTED]:jar=classes,name=RatingsHelperBean,service=EJB3 depen | dsOn=null whenRequired=Described

[jboss-user] [JBoss Seam] - Re: Writing SeamTests with Seam 2.0.0. CR2 - What's Changed?

2007-10-30 Thread bsmithjj
It looks like when the local-jdbc connection pool manager is trying to connect to the DB, it's running into issues: | 13:43:18,374 DEBUG org.jboss.ejb3.entity.PersistenceUnitDeployment.(start:187) - Found persistence.xml file in EJB3 jar | 13:43:20,156 WARN

[jboss-user] [JBoss Seam] - Re: Writing SeamTests with Seam 2.0.0. CR2 - What's Changed?

2007-10-30 Thread bsmithjj
hopefully this is the last question I have on the jboss embedded container. I'm currently having trouble on boot - it says here: | init(com.wachovia.evergreen.apps.infostrat.BootStrapTest) Time elapsed: 0 sec FAILURE! | java.lang.RuntimeException: Could not create Component:

[jboss-user] [JBoss Seam] - Re: Writing SeamTests with Seam 2.0.0. CR2 - What's Changed?

2007-10-29 Thread bsmithjj
Strange how ComponentTest doesn't come with support for init()'ing the container environment. I see by adding init() (and begin()) that I can get farther, now Seam doesn't know how to create my component. Guess it's time to try FacesRequest again ... sigh Thanks View the original post :

[jboss-user] [JBoss Seam] - Re: Writing SeamTests with Seam 2.0.0. CR2 - What's Changed?

2007-10-29 Thread bsmithjj
it looks like the version of testng supplied with Seam 2.0.0.CR3 is 5.6-200706070953 (from MANIFEST.MF file). The maven2 surefire plugin docs are based on testng 4.7 (which I was using - see previous post in thread). So has anyone out there found a way to get maven2-surefire to work with

[jboss-user] [JBoss Seam] - Re: Writing SeamTests with Seam 2.0.0. CR2 - What's Changed?

2007-10-29 Thread bsmithjj
is this dependency no longer sufficient? | dependency | groupIdorg.testng/groupId | artifactIdtestng/artifactId | version4.7/version | scopetest/scope | classifierjdk15/classifier | /dependency | here is the test I am working with at the

[jboss-user] [JBoss Seam] - Re: Writing SeamTests with Seam 2.0.0. CR2 - What's Changed?

2007-10-29 Thread bsmithjj
oh yes, one rant - if a specific version of testng is required, then what happened to the days when frameworks listed out their depedencies including versions? Has listing depedencies gone the way of documentation? ;-) from an old version of hibernate: | ant.jar (1.5.3) | - Ant core |

[jboss-user] [JBoss Seam] - Re: Writing SeamTests with Seam 2.0.0. CR2 - What's Changed?

2007-10-29 Thread bsmithjj
this link is even better - pay close attention to the maven-surefire-plugin version http://www.martingilday.org/blog/2007/sep/12/testng-and-maven/ View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=409#409 Reply to the post :

[jboss-user] [JBoss Seam] - Re: Writing SeamTests with Seam 2.0.0. CR2 - What's Changed?

2007-10-29 Thread bsmithjj
The testng docs provide some assistance with getting Maven2 and Testng 5.X to work http://testng.org/doc/maven.html#maven2... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=402#402 Reply to the post :

[jboss-user] [JBoss Seam] - Re: Writing SeamTests with Seam 2.0.0. CR2 - What's Changed?

2007-10-29 Thread bsmithjj
It looks like you actually need more than the libs in the ${JBOSS_SEAM_HOME}/lib/test/ directory. So far, I've had to add these dependencies as well: | dependency!-- required to boot jboss embedded -- | groupIdorg.jboss.seam/groupId |

[jboss-user] [JBoss Seam] - Re: Writing SeamTests with Seam 2.0.0. CR2 - What's Changed?

2007-10-29 Thread bsmithjj
so it looks like all that I learned about using JBoss embedded in Seam 1.2.1 and earlier is null and void. I see that I need to now figure out a project configuration that will copy the bootstrap directory stuff into target/test-classes and figure out all the stuff like this: |

[jboss-user] [JBoss Seam] - Writing SeamTests with Seam 2.0.0. CR2 - What's Changed?

2007-10-28 Thread bsmithjj
Hello, I used to be able to boot JBoss embedded from Seam tests in my app in the 1.2.1 and earlier days (was it only 6 months ago?). Anyway, now when I run my tests, I am getting null-pointer exceptions from a class called SeamBaseTest. For example: | public class

[jboss-user] [JBoss Seam] - Re: Writing SeamTests with Seam 2.0.0. CR2 - What's Changed?

2007-10-28 Thread bsmithjj
Pete, Yes - the whole test. I'm mainly trying to recover the ability to bootstrap the JBoss embeddable from maven 2 in the test phase. Figuring that out the first time was horrible (more than a year ago). Is there an enumerated list of dependencies for writing Seam tests that use JPA +

[jboss-user] [JBoss Seam] - Re: Writing SeamTests with Seam 2.0.0. CR2 - What's Changed?

2007-10-28 Thread bsmithjj
anonymous wrote : we need JBoss Tools to be able to work with a maven structure first. JBoss Tools? Try IDEA 7.0 - works seamlessly with Maven 2 poms ;-) - no need to wait. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4099686#4099686 Reply to the post :

[jboss-user] [JBoss Seam] - Re: Seam 2.0.0.CR2: lib jars have lost their versions

2007-10-06 Thread bsmithjj
tynor wrote : anonymous wrote : I think /build/root.pom.xml ought to be enough for figuring out versions, so I don't think a VERSIONS.txt file is necessary. | | Perhaps so. My experience on a previous project that used Maven's ant dependency management plugin (as seam-gen apparently does

[jboss-user] [JBoss Seam] - Re: How can I integrate CAS client into Seam?

2007-10-03 Thread bsmithjj
wuhaixing wrote : Thanks,I have readed the thread. | And I also found this,http://www.ja-sig.org/wiki/display/CASC/CASLoginModule+for+JAAS+applications | Do u think this is a better way? | I'm know little about JAAS and CAS,so I cann't do the decision by myself. | Thanks for all of you!

[jboss-user] [JBoss Seam] - Re: How can I integrate CAS client into Seam?

2007-10-03 Thread bsmithjj
Use this link http://www.ja-sig.org/wiki/display/CASC/Seam+Identity+Integration+%28Seam+1.2.1+-+2.0.0%29 instead. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4091037#4091037 Reply to the post :

[jboss-user] [JBoss Seam] - Re: How can I integrate CAS client into Seam?

2007-10-02 Thread bsmithjj
I use CAS and I have this working. You may want to review this thread http://www.jboss.com/index.html?module=bbop=viewtopict=119167. I use a different approach than the CAS Filter for authentication, but the process should be the same because by the time Seam steps in to the request processing

[jboss-user] [JBoss Seam] - Re: How can I integrate CAS client into Seam?

2007-10-02 Thread bsmithjj
One other item - CAS SSO server should be deployed standalone in a separate server. Your Seam app (or any app) typically should not be presenting its own login page in a CAS SSO architecture. In other words, there shouldn't be any concept of a 'login.xhtml' in your CAS-adapted Seam

[jboss-user] [JBoss Seam] - Re: Security: Better support for single sign on?!

2007-09-28 Thread bsmithjj
[EMAIL PROTECTED] wrote : You could probably define a navigation rule in pages.xml for your login page that uses isLoggedIn(true) to attempt an authentication and if successful redirect to another page without displaying the login page. You may need to extend Identity (or RuleBasedIdentity)

[jboss-user] [JBoss Seam] - Re: Security: Better support for single sign on?!

2007-09-28 Thread bsmithjj
stephen.friedrich wrote : | | Proposal: Here's a way to make integration into an SSO solution easier: | Add an attribute to identity that lets me specify a method that is used to try auto-login: | | | security:identity authenticate-method=#{authenticator.authenticate}

[jboss-user] [JBoss Seam] - Re: Security: Better support for single sign on?!

2007-09-28 Thread bsmithjj
stephen.friedrich wrote : Brad, can't you use a similar checkLogin() method like in my code above? | It call identity.login(); which will call your authenticate method. | In that method I use |redirect.setViewId(nextPage); | to redirect to a different page depending on the users

[jboss-user] [JBoss Seam] - Re: Security: Better support for single sign on?!

2007-09-27 Thread bsmithjj
Hello, I want to chime in with a friendly reminder regarding this task http://jira.jboss.org/jira/browse/JBSEAM-967 (which if you search the forum, shane, you'll find that you offered to add this if I posted a JIRA issue). Anyway, by the time the Seam web-app gets to process the request,

[jboss-user] [JBoss Seam] - JBoss 4.2.0 / 4.2.1 - Seam 2.0.0B1 - Mail Problem

2007-09-18 Thread bsmithjj
Hello, I'm having trouble with Seam Mail on JBoss 4.2 (both 4.2.0 and 4.2.1). What appears to be happening is that a particular SLSB which requires the mail session (@In[jected] by Seam), is not being deployed. All other Session beans which then depend on the Mail SLSB are subsequently not

[jboss-user] [JBoss Seam] - Re: JBoss 4.2.0 / 4.2.1 - Seam 2.0.0B1 - Mail Problem

2007-09-18 Thread bsmithjj
Hi Pete, I appreciate your suggestion and info, however, the reason I used the @Resource approach is because in the past, when this bean woke up to perform its timeout method, the Seam annotations would not be obeyed (since the timeout method is not being invoked in a JSF request). I don't

[jboss-user] [JBoss Seam] - Re: page flow question

2007-09-14 Thread bsmithjj
you can also use basic Servlet-container security to achieve a similar result: | security-constraint | web-resource-collection | web-resource-namerestricted-urls/web-resource-name | url-pattern/myapp/auth/*/url-pattern | /web-resource-collection |

[jboss-user] [JBoss Seam] - pages.xml - no-conversation-view-id problem?

2007-09-14 Thread bsmithjj
Hello, I have the following rule: | page view-id=/abo_edit.xhtml no-conversation-view-id=/index.xhtml | navigation from-action=#{aboDelegateManager.setApplicationABODelegate} | render view-id=/abo_edit_successful.xhtml/ | /navigation | /page | If I type the URL

[jboss-user] [JBoss Seam] - Re: pages.xml - no-conversation-view-id problem?

2007-09-14 Thread bsmithjj
Ah thanks Jacob - that's what I was looking for; a specific suggestion to achieve a result - not a pointer to yet another research path. Thanks very much - that worked! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4084489#4084489 Reply to the post :

[jboss-user] [JBoss Seam] - Re: Cleaner RESTful urls? Any suggestions?

2007-09-13 Thread bsmithjj
ElliotG wrote : [EMAIL PROTECTED] wrote : Why is that cleaner? Because someone wrote a paper that says so? | | This is the first thread I read in the forum. I am considering Seam for new development projects, I hope this hostility is not prevalent throughout the site and organization. |

[jboss-user] [JBoss Seam] - Re: When would SEAM 2.0.0 GA and SEAM 2.0.1 GA be released a

2007-09-11 Thread bsmithjj
I've asked this before... Will there be a release of Seam 1.3.0 which appeared as an alpha earlier this year? In particular, I was hoping to get fixes for this http://jira.jboss.org/jira/browse/JBSEAM-967 If my memory is correct, Gavin responded that he has changed the Seam code too much for

[jboss-user] [JBoss Seam] - Re: When would SEAM 2.0.0 GA and SEAM 2.0.1 GA be released a

2007-09-11 Thread bsmithjj
[EMAIL PROTECTED] wrote : anonymous wrote : It's not necessarily straight forward to just force several teams of developers to upgrade their version of Seam, and also their version of JBoss AS in order to obtain bug fixes. | | Well, here you actually have a much easier option: Seam 1.2.1

[jboss-user] [JBoss Seam] - Re: renew the @Factory

2007-09-05 Thread bsmithjj
Let's say your Seam component that contains this @Factory is session scoped; then you need to remove the current license from the session context. Example: | public String persistAndContinue(){ | super.persist(); | Contexts.getSessionContext().remove(license); |

[jboss-user] [JBoss Seam] - Re: renew the @Factory

2007-09-05 Thread bsmithjj
anonymous wrote : It didn´t works! Well, you should probably post your entire component then and the markup that you claim is 'submit the action'. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4081449#4081449 Reply to the post :

[jboss-user] [JBoss Seam] - Re: renew the @Factory

2007-09-05 Thread bsmithjj
Hmmm EntityHome isn't well documented in Seam 1.2.1 (which is what I currently use) and so without reviewing the EntityHome impl code in Seam, I'll have to guess a bit here. On closer inspection of your code, it looks like whether createInstance() is invoked or persistAndContinue() is

[jboss-user] [JBoss Seam] - Seam Versions and Nightly Build

2007-08-16 Thread bsmithjj
Hello, Is there going to be a Seam 1.2.2 or 1.3.0 release? Also, the nightly builds have not been available for many weeks. Are nightly builds of Seam 2.0.0 ever going to be available again (http://cruisecontrol.jboss.com/cc/artifacts/jboss-seam-builds)? Thanks, Brad Smith View the original

[jboss-user] [JBoss Seam] - Re: Seam 2.0 BETA

2007-06-28 Thread bsmithjj
[EMAIL PROTECTED] wrote : 1) We are now working entirely on Seam2, Seam 1.2.1.GA is part of the Application Platform though, and will be maintained | 2) Not from the community releases, but the application platform will offer this (still should soon be GA IIRC) | 3) The migration guide is in

[jboss-user] [JBoss Seam] - @Out problem (Seam 1.2.1)

2007-06-21 Thread bsmithjj
I'm probably missing something trivial, but I am stuck with an @Out issue and hopefully someone can point something out. First, I have a Seam component that is JavaBean; annotated as such: @Name(evergreenUser) | @Roles( { | @Role(name=accessRequestUser,

[jboss-user] [JBoss Seam] - Re: @Out problem (Seam 1.2.1)

2007-06-21 Thread bsmithjj
Never mind. Apparently, it's the redirect in pages.xml | rule if-outcome=2 | redirect view-id=/user_access_request_step_2.xhtml/ | /rule | that's causing the problem. I changed to render and now the @Outjection is working. | rule if-outcome=2 |

[jboss-user] [JBoss Seam] - Re: Seam jBPM: use annotation or pages.xml to get next task?

2007-06-20 Thread bsmithjj
the seam nightly builds are still 'stuck' on 06.14.2007 as the last build - any chance the nightly builds will resume being posted regularly? Thanks, Brad View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4056002#4056002 Reply to the post :

[jboss-user] [JBoss Seam] - Re: Help with MDB + Seam + jBPM - transaction issue?

2007-06-18 Thread bsmithjj
OK - will check this too - thanks! Brad View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4055196#4055196 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4055196 ___ jboss-user mailing

[jboss-user] [JBoss Seam] - Re: Help with MDB + Seam + jBPM - transaction issue?

2007-06-18 Thread bsmithjj
Due to firewall issues, I use the Seam nightly builds for testing 'what's in CVS.' The last build available at http://cruisecontrol.jboss.com/cc/artifacts/jboss-seam-builds is dated jboss-seam-CVS.20070614.zip (as of this morning 20070618). Any chance a nightly build made after your commits

[jboss-user] [JBoss Seam] - Re: Seam jBPM: use annotation or pages.xml to get next task?

2007-06-16 Thread bsmithjj
[EMAIL PROTECTED] wrote : This is done in CVS, Brad, please try it out! Ok - it will take me a few days to review this issue and try this out. Thanks, Brad View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4054957#4054957 Reply to the post :

[jboss-user] [JBoss Seam] - Conversations - do not work in Seam 1.2.1?

2007-06-13 Thread bsmithjj
I'm working on some code where I am trying to do the following: 1. User clicks a link to an action method on a SFSB 2. method is annotated with @Begin, using a custom conversation id 2a. the custom conversation id comes from the following 2a-1. a @Factory method in a SLSB creates a new persistent

[jboss-user] [JBoss Seam] - Re: Conversations - do not work in Seam 1.2.1?

2007-06-13 Thread bsmithjj
Never mind - it looks like (after reviewing in detail the documentation) that conversation is not really a good scope for entities. Instead, it looks like a solution based on private state in an SFSB and using the manager pattern (@Unwrap) may be a better way of doing this. Thanks, Brad Smith

[jboss-user] [JBoss Seam] - Re: Seam 1.3.0 ALPHA released

2007-06-13 Thread bsmithjj
Any chance some of these bug fixes will get backported to a Seam 1.2.X release? I (of course) would like the new features and bug fixes of Seam 1.3.0, but I can't necessarily upgrade my entire infrastructure to get the bug fixes. We're probably going to be on JBoss 4.0.4-4.0.5 for a quite a

[jboss-user] [JBoss Seam] - EntityHome doesn't work on JBoss 4.0.4 EJB3 RC8

2007-06-12 Thread bsmithjj
I ran into the problem described here - http://opensource.atlassian.com/projects/hibernate/browse/HHH-1938 while trying to use EntityHome in Seam 1.2.1 on JBoss 4.0.4 EJB3 RC8. I tried the suggested changes with still no success. I believe that my version of JBoss + EJB3 is the culprit here.

[jboss-user] [JBoss Seam] - Re: EntityHome doesn't work on JBoss 4.0.4 EJB3 RC8

2007-06-12 Thread bsmithjj
thanks View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4053665#4053665 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4053665 ___ jboss-user mailing list jboss-user@lists.jboss.org

[jboss-user] [JBoss Seam] - 5.1.1.2. Navigation (Seam 1.2.1)

2007-06-11 Thread bsmithjj
In section 5.1.1.2. Navigation in the Seam documentation, there is the following example: | page view-id=/editDocument.xhtml | | navigation from-action=#{documentEditor.update} | rule if=#{documentEditor.errors.empty} | redirect

[jboss-user] [JBoss Seam] - Question about explicit conversation id

2007-06-08 Thread bsmithjj
I have the following SeamTest (FacesRequest) method: | @Override | protected void invokeApplication() throws Exception { | | AccessRequestManager2 arm2 = (AccessRequestManager2) getInstance(accessRequestManager2); | assert arm2

[jboss-user] [JBoss Seam] - Re: Question about explicit conversation id

2007-06-08 Thread bsmithjj
I @In(jected) the conversation component into my bean and then added some code to dump the conversation id in the method invokation. It looks like that's working correctly, it's the SeamTest.FacesRequest that appears to be losing track of the conversation id. New

[jboss-user] [JBoss Seam] - Re: Question about explicit conversation id

2007-06-08 Thread bsmithjj
nested conversations? no - I wasn't planning on it in this use case. The main thing here is that I was trying to test from SeamTest.FacesRequest that the explicit (custom-generated) conversation id is the conversation id. It looks like the expression for my explicit id is being evaluated the

[jboss-user] [JBoss Portal] - Re: http://jira.jboss.com/jira/browse/JBPORTAL-459 You shoul

2007-05-18 Thread bsmithjj
rharari wrote : Hi Brad, | | I´ve a question: | | anonymous wrote : | | We are evaluating a few open source portals. | | | | Please, can you post or send me and e-mail describing which open source portals your team are evaluating? And also explain why you have decided to

[jboss-user] [JBoss Portal] - Re: http://jira.jboss.com/jira/browse/JBPORTAL-459 You shoul

2007-05-15 Thread bsmithjj
The only thing that I think I did differently from you is that I didn't use JEMS to create a portal installation - I just created 4.0.5 with ejb3 profile. I can't figure out what I did differently from you - maybe you used a different source for 2.6CR2 than the JBoss website download? Anyway,

[jboss-user] [JBoss Portal] - Re: JBoss Portal Security - You're losing your way...

2007-05-14 Thread bsmithjj
bsmithjj wrote : As I look into this more, look at the source code for 2.6, the wiki link you supplied, etc. I really am beginning to think that in some ways, you're losing your way with the security layer of JBoss Portal... | I've noticed in the so-called 'candidate releases (CR),' 1 and 2

[jboss-user] [JBoss Portal] - Re: http://jira.jboss.com/jira/browse/JBPORTAL-459 You shoul

2007-05-14 Thread bsmithjj
oh yes - I forgot the stack trace | 09:18:40,432 ERROR STDERR - org.jboss.portal.core.controller.ResourceAccessDeniedException: Not Authorized has denied access | 09:18:40,432 ERROR STDERR - at

[jboss-user] [JBoss Portal] - Re: http://jira.jboss.com/jira/browse/JBPORTAL-459 You shoul

2007-05-14 Thread bsmithjj
My environment: Windows JBoss 4.0.5 with EJB3 MySQL 5.0.37 with Connector 5.0.4 JDK 1.5 I downloaded JBoss Portal 2.6-CR2, placed it in the deploy directory, started the server up, logged in as admin, clicked the Admin link (that worked), then clicked the dashboard link and got a blank white

[jboss-user] [JBoss Portal] - Re: http://jira.jboss.com/jira/browse/JBPORTAL-459 You shoul

2007-05-14 Thread bsmithjj
Yes - I used the JEMS installer (1.2.0) to create 4.0.5 + EJB3. Thanks View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4045511#4045511 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4045511

[jboss-user] [JBoss Seam] - Seam - sortable data table options

2007-05-01 Thread bsmithjj
I am having some issues setting up a simple Tomahawk datatable that is sortable and as an extra, I've added in the Ajax4jsf tags to try to make the sort requests function as Ajax requests. The issue I am having is that the table renders fine on the initial display. When I click a column

[jboss-user] [JBoss Seam] - Re: Seam - sortable data table options

2007-05-01 Thread bsmithjj
Never mind - I just removed preserveDataModel=true from the t:dataTable .../ tag and all is working now. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4042113#4042113 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4042113

[jboss-user] [JBoss Seam] - Re: Seam - sortable data table options

2007-05-01 Thread bsmithjj
Pete - thanks for the link (looks like we posted at almost the same time). View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4042115#4042115 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4042115

[jboss-user] [JBoss Seam] - Where is Gavin?

2007-04-16 Thread bsmithjj
Hey, I haven't seen Gavin on the forum in a few weeks now - what's going on? Thanks View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4037672#4037672 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4037672

[jboss-user] [JBoss Seam] - Re: Where is Gavin?

2007-04-16 Thread bsmithjj
I missed that post - thanks! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4037700#4037700 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4037700 ___ jboss-user mailing list

[jboss-user] [JBoss Seam] - Re: Q: Seam Security - restrict../...

2007-04-03 Thread bsmithjj
[EMAIL PROTECTED] wrote : As far as I know this should work - there's nothing special about the EL expressions used for restrictions, i.e. they are not required to contain only Seam Security-related expressions. As long as the expression evaluates to a boolean it should be fine. I have, in

[jboss-user] [JBoss Seam] - Re: Q: Seam Security - restrict../...

2007-04-03 Thread bsmithjj
anonymous wrote : If you are not using Identity to authenticate then you need to override Identity.checkRestriction() with your own implementation that doesn't check isLoggedIn(). This is what I suspected - that restrict\ and @Restrict require the Identity component. And so it sounds like the

[jboss-user] [JBoss Seam] - Re: h:commandLink has to be clicked twice

2007-04-03 Thread bsmithjj
how could that be a seam issue? h:commandLink is a JSF tag View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4034252#4034252 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4034252 ___

[jboss-user] [JBoss Seam] - Q: Seam Security - restrict../...

2007-04-02 Thread bsmithjj
Hello, I was trying to make us of the tag in pages.xml to restrict access to a page based on whether or not a user has a role as reported by the Servlet container (instead of using Seam security): | restrict#{isUserInRole['Admin']}/restrict | Is this even possible? If not, is it

[jboss-user] [JBoss Seam] - Re: Seam Security Question - Tomcat Valve

2007-04-02 Thread bsmithjj
The problem is that the Seam security model is tightly coupled to a JAAS model of security - i.e. the Subject class and friends. With CAS and our custom Tomcat Valve, the servlet container associates/manages a copy of the authenticated Principal (a.k.a. userPrincipal in Seam) with the

[jboss-user] [JBoss Seam] - Conversation id - business key - howto

2007-03-30 Thread bsmithjj
Hello, I was reading Gavin's blog and saw this: anonymous wrote : | Also new in this release is ... and support for conversation propagation via a business key (ie. instead of seeing conversationId=3 in your URL, you would see orderId=45656). | Looking through the documentation on

[jboss-user] [JBoss Seam] - Re: Seam 1.2.1 Released

2007-03-28 Thread bsmithjj
fers wrote : Hello, | | I want to let you know that I have created Maven packages for Seam 1.2.1.GA. | | As usually you can find it on http://software.softeu.cz/seam/ . | | Petr Ferschmann I've deployed this release in our Maven 2 repository as well, but that's on our intranet

[jboss-user] [JBoss Seam] - Confusion on Conversation, Event-Observe, and Bijection

2007-03-28 Thread bsmithjj
Hello, I have a SFSB1 - it has an a field that is marked @In @Out. This same bean has an @Observer method that listens for an event raised by another SFSB2. Here is the trouble I am having. In a conversation, I click a link which invokes a method on SFSB2 - this method in SFSB2 is annotated

[jboss-user] [JBoss Seam] - Re: jBPM - What's in scope for a DecisionHandler?

2007-03-27 Thread bsmithjj
anonymous wrote : I don't understand why you don't call BusinessProcess.instance().setProcessId() before doing any work with jBPM Hey - go easy on me ;-) - BusinessProcess isn't well explained or discussed in the documentation so its taking a while for this stuff to sink in. This is in

[jboss-user] [JBoss Seam] - Re: Conceptual/Best Practice Question

2007-03-27 Thread bsmithjj
In your code that alters data raise an event: | Events.instance().raiseEvent(YOUR_EVENT_NAME); | In code that can refresh the data model: | @Observer(YOUR_EVENT_NAME) | public void refreshTheDataModel() { | | // your code to refresh the data model goes here |

[jboss-user] [JBoss Seam] - jBPM - What's in scope for a DecisionHandler?

2007-03-26 Thread bsmithjj
Hello, I have the following DecisionHandler node: | decision name=IsTerminationRequest expression=#{workItemManager.isTerminationRequest} | transition to=Check Provisioning Type name=isTerminationRequest/ | transition to=ABO Approve-Reject Request name=aboApprove/ |

[jboss-user] [JBoss Seam] - Re: jBPM - What's in scope for a DecisionHandler?

2007-03-26 Thread bsmithjj
in a request, a task-node get's transitioned to decision handler which transitions to this decision handler. task - decision handler 1 - decision handler 2 So specifically, what I am after is what do I know I can use these components for in decision handler 2? Yes, we get to decision 2 from

[jboss-user] [JBoss Seam] - Re: jBPM - What's in scope for a DecisionHandler?

2007-03-26 Thread bsmithjj
A quick test of a few components shows that when DecisionHandler invokes the desired method, we have the following: | 16:42:33,228 INFO com.evergreen.accesscontrol.impl.WorkItemManagerBean - jbpmContext - [EMAIL PROTECTED] | 16:42:33,228 INFO

[jboss-user] [JBoss Seam] - Re: jBPM - What's in scope for a DecisionHandler?

2007-03-26 Thread bsmithjj
I would think it's fair to have the processInstance that a DecisionHandler belongs to be in scope - it's not - so now I have to figure out how to resolve this in the EJB method call - or, again, write a custom DecisionHandler and use the executionContext.getProcessInstance() method to achieve

[jboss-user] [JBoss Seam] - Re: MyFaces, Ajax4jsf and Tomahawk (probably beginners mista

2007-03-21 Thread bsmithjj
anonymous wrote : I receive the following error: | java.lang.NoClassDefFoundError: org/apache/commons/fileupload/FileUpload | | But I never used this component | Regardless of the fact that you never used it, you need to make sure commons-fileupload is in your classpath. It can be

  1   2   3   >