[jboss-user] [JBossWS] - Certain WS request syntax not supported in AS 4.2.x

2008-05-14 Thread JohnEChesher
I am running 4.2.1 and have web services deployed that I can access fine myself. However, when a partnering company developed a client to talk to them, we ran into a problem. Their PHP 5.2.5 Soap Client generates a very slightly different request syntax that is accepted by JBoss and control is p

[jboss-user] [Beginners Corner] - Web Service issue in AS 4.2.1

2008-05-13 Thread JohnEChesher
I am running 4.2.1 and have web services deployed that I can access fine myself. However, when a partnering company developed a client to talk to them, we ran into a problem. Their PHP 5.2.5 Soap Client generates a very slightly different request syntax that is accepted by JBoss and control is

[jboss-user] [JBoss Seam] - Conversion/Validation error - other lists of entities in vie

2007-10-18 Thread JohnEChesher
I have a view that contains 4 separate backing beans, three of them being Lists of entities that are displayed using an tag. My problem is that if I get a conversion or validation error on the form, the fields within the datatables are reverted to their values from when the form was originally

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Delete of joining entity in a oneToMany -> joinEntity <- one

2007-08-05 Thread JohnEChesher
I've read the FAQ and Hibernate docs on how to do this, but the examples are using Hibernate config files, whereas I am using EJB3 annotations, so I still have remaining problems/questions. I'm posting here instead of an EJB3 forum, as I suspect I am fundamentally misunderstanding how to use Hi

[jboss-user] [JBoss Seam] - Enhancement to s:validateAll ?

2007-05-09 Thread JohnEChesher
I have a case where s:validateAll was not firing hibernate validators for all fields on a page. We found a workaround, but believe we have found code used by the Seam s:validateAll tag that could be enhanced to properly validating all of the fields without the workaround. Here's the scenario:

[jboss-user] [JBoss Seam] - Re: s:link invoking page action for CURRENT page during post

2007-05-01 Thread JohnEChesher
Just a shameless bump of my own post, since it hadn't received any responses. ;-) Any thoughts would be much appreciated. If the Seam contributors feel it's a bug, I'll enter in the JIRA. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4042187#4042187 Reply

[jboss-user] [JBoss Seam] - s:link invoking page action for CURRENT page during postback

2007-04-30 Thread JohnEChesher
Scenario: Page A contains an s:link to go to page B. Page A has a page action defined in pages.xml. From Page A, when I click on the s:link to go to Page B, it invokes the page action for Page A before redirecting to Page B. I have this scenario in multiple instances within my application. In

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

2007-04-26 Thread JohnEChesher
No ideas? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4041027#4041027 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4041027 ___ jboss-user mailing list jboss-user@lists.jbos

[jboss-user] [JBoss Seam] - AJAX4JSF

2007-04-24 Thread JohnEChesher
I reused the AJAX4JSF search page/code from the booking example to build a search page for my application. I decided to make the search EJB session-scoped, so that my search criteria would still be there anytime I came back to the screen. I also wanted to display the "previous" search results

[jboss-user] [JBoss Seam] - Re: Can't remote to session bean instance in server initiate

2007-04-13 Thread JohnEChesher
Shane, thanks for your help. Got me down the right path, then I discovered how to get the current conversation ID from my view, which was the last missing link. In case it saves someone else some grief, here is how I got the current conversation ID: | function addFamily(instId, check

[jboss-user] [JBoss Seam] - Re: Can't remote to session bean instance in server initiate

2007-04-13 Thread JohnEChesher
But how can my client/view get the ID of the current long-running conversation (not nested) running on the server? Before I make any remote method call, the consersation ID returned by Seam.Remoting.getContext().getConversationId() is null. Thanks for the response! View the original post :

[jboss-user] [JBoss Seam] - Can't remote to session bean instance in server initiated co

2007-04-13 Thread JohnEChesher
I have a stateful session bean in conversation scope and reach a page that is within that conversation/scope. from that page, I make a remote call to the bean, but it is getting a new instance of the bean. Before the remote call, if I make a remote call to get the conversation ID, it is null.

[jboss-user] [JBoss Seam] - Re: Style on individual selectItem?

2007-04-12 Thread JohnEChesher
No responses. Is there just no way to do this with JSF and Seam? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4036698#4036698 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4036698 _

[jboss-user] [JBoss Seam] - Style on individual selectItem?

2007-04-11 Thread JohnEChesher
I'm using the Seam selectItems tag and would like to conditionally assign a style to SOME of the select items to display their label in red text. Thus far, I haven't found a way to do this using either the Seam selectItems tag or the JSF selectItem tag(s). So, I'm thinking it may be a limitati

[jboss-user] [JBoss Seam] - Re: Use of Seam Security/drools to selectively load a list?

2007-03-09 Thread JohnEChesher
Thanks Shane. As it turns out, I found a simpler way to implement this, by just passing the role name to the permission check in the "name" (1st) argument of hasPermission(). However, your response did help me to understand how to use the third argument, which is pretty cool and something I wi

[jboss-user] [JBoss Seam] - Use of Seam Security/drools to selectively load a list?

2007-03-08 Thread JohnEChesher
I have an application where I want users to be able to add other new users IF the new user's role is "less than" that of the current user. By "less than" I mean that the user roles are hierarchical, as in the following roles hierarchy: Super Admin (can add users w/ role of "Company Admin" or

[jboss-user] [JBoss Seam] - Re: Previous jBPM PageFlow and #{identity.login} No Longer w

2007-03-05 Thread JohnEChesher
Gavin, I hit the same problem, so I tried your suggestion. Had to tweak it a little, but adding the resulting class (below) overcomes the problem: @Name("org.jboss.seam.security.identity") | @Scope(ScopeType.SESSION) | @Intercept(InterceptionType.AFTER_RESTORE_VIEW) | public class MyIdent

[jboss-user] [JBoss Seam] - How to dynamically navigate after identity.login()

2007-03-02 Thread JohnEChesher
After successfully logging into my app using identity.login(), I want to dynamically direct the user to one of two pages, depending upon the permissions level of the user. I have tried several options, none of which worked, and I'm about ready to implement the solution that I know to work - use

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

2007-02-27 Thread JohnEChesher
Thanks for the quick response Shane! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4023280#4023280 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4023280 ___ jboss-user mailing

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

2007-02-27 Thread JohnEChesher
The example seamspace application, on logout, calls action method identity.logout, but does not explicitly call Seam.invalidateSession(). a) Does identity.logout invalidate the session for me? (I thought I saw a hint to the contrary, but I cannot reproduce...) b) if not, shouldn't I create a

[jboss-user] [JBoss Seam] - Re: Problem w/ 1.1.6 example Security Rules

2007-02-23 Thread JohnEChesher
Found the solution myself, so thought I would post, as it may later help someone else... This appears to be a problem with the example in the 1.1.6 Reference Doc. However, I remembered that the "seamspace" example in the Seam Distribution uses Seam Security, so I looked at the security.drl file

[jboss-user] [JBoss Seam] - Problem w/ 1.1.6 example Security Rules

2007-02-23 Thread JohnEChesher
I had a working Seam 1.1.6 application to which I added the jars and configuration to implement Seam Security, per the 1.1.6 reference doc. Just to see if everything was configured properly, before I configured any application specific rules, I used the security.drl file from the example in the