[jboss-user] [JBoss Tools (users)] - Re: The Beta 1 download doesn't work

2008-11-12 Thread waynebagguley
I've got the download to work but installing it doesn't do anything. If I use the beta update site it moans about dependencies. Eclipse could do better by reporting which components are causing issues. View the original post :

[jboss-user] [JBoss Tools (users)] - Re: The Beta 1 download doesn't work

2008-11-12 Thread waynebagguley
Ah, my bad, I thought I had uninstalled all the previous version but something was lurking. It worky now. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4188701#4188701 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4188701

[jboss-user] [JBoss Seam] - Re: clickable lists problem...

2007-12-28 Thread waynebagguley
When using EntityHome what's a good way of implementing security so that only certain users can create new records and others can edit them and also some users can't even see certain records? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4115857#4115857 Reply

[jboss-user] [JBoss Seam] - Re: Resetting a form inside a modalPanel

2007-11-21 Thread waynebagguley
Ah, I think I know what the problem is (but not how to fix it). Because the form isn't being submitted, the backing bean isn't getting populated so clearing it down won't work (it doesn't exist yet). The form is getting reRendered but not reset. Looking at this :

[jboss-user] [JBoss Seam] - Restting a form inside a modalPanel

2007-11-20 Thread waynebagguley
I've got a form in a rich:modalPanel that appears when a user clicks the 'New' button. However, if the user clicks cancel on the form so that the modal panel closes, when the 'New' button is next clicked (without navigating away from the page) the old form is shown, complete with any validation

[jboss-user] [JBoss Seam] - Re: Restting a form inside a modalPanel

2007-11-20 Thread waynebagguley
No joy with that. Will have to keep trying differen things. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4106473#4106473 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4106473 ___

[jboss-user] [JBoss Seam] - Re: Restting a form inside a modalPanel

2007-11-20 Thread waynebagguley
Cheers, I thought I had tried that but I'll give it another go. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4106454#4106454 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4106454

[jboss-user] [JBoss Seam] - rendered=#{sessionBean.method(parameter)} not allowed?

2007-05-02 Thread waynebagguley
I have my app configured to use the SeamFaceletViewHandler and I can pass parameters successfully to action methods but this doesn't seem to work for the rendered attribute of components. Am I trying to stretch things too far? View the original post :

[jboss-user] [JBoss Seam] - Re: Error selecting object

2007-05-02 Thread waynebagguley
Try adding an equals method to either Uzman or Kullanici that tests against the id field. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4042322#4042322 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4042322

[jboss-user] [JBoss Seam] - Re: Error selecting object

2007-05-02 Thread waynebagguley
If it works at least it will help to track down the problem. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4042330#4042330 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4042330

[jboss-user] [JBoss Seam] - Re: rendered=#{sessionBean.method(parameter)} not allowed?

2007-05-02 Thread waynebagguley
Tsk, that's pants. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4042348#4042348 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4042348 ___ jboss-user mailing list

[jboss-user] [JBoss Seam] - EntityNotFoundException when performing EntityManager.refres

2007-04-16 Thread waynebagguley
Here is my scenario. I have an entity bean 'Request' that has a list of entity beans 'Detail'. I use the @OneToMany(cascade=ALL) annotation for the relationship. I have a page where I can edit 'Request' and add 'Detail' objects to it. If I click 'save' then everything is saved perfectly. If I

[jboss-user] [JBoss Seam] - Re: Drop Down Lists using Facelets?

2007-04-09 Thread waynebagguley
If you are using Seam v1.2.1.GA or above you can use this instead: | h:selectOneMenu value=#{itemManager.itemChosen} style=width:300px | s:selectItems value=#{itemManager.itemList} var=item |label=#{item.code} #{item.name} / | s:convertEntity / |

[jboss-user] [JBoss Seam] - Re: About Identity login

2007-04-09 Thread waynebagguley
Also note that if you are using roles then there is a bug that doesn't clear them down when Identity.login is performed. This is fixed in CVS but not (as I am aware) in any release version. I think someone should make this more widely known as there is a workaround for it and it could

[jboss-user] [JBoss Seam] - @In or @PersistenceContext for EntityManager?

2007-04-09 Thread waynebagguley
I'm confused (having read the docs) over whether I should be using @In or @PersistenceContext for a Seam managed persistence context. What's the difference? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4035646#4035646 Reply to the post :

[jboss-user] [JBoss Seam] - Re: Changes not persisted using EntityHome

2007-04-09 Thread waynebagguley
That seems a massive overkill. Why aren't you using the persistence context? Then you can just do exactly as the tutorial says: | public void delete() |{ | messageList.remove(message); | em.remove(message); | message=null; |} | em.remove(message) will

[jboss-user] [JBoss Seam] - Re: Changes not persisted using EntityHome

2007-04-09 Thread waynebagguley
Either you've missed a step or two, or you are doing something unusual somewhere in your code. You do not need to go to the lengths you are going to just to delete something. Do you have an @PersistenceContext annotation anywhere in your code? Can you show us the entity bean code? View the

[jboss-user] [JBoss Seam] - Re: Changes not persisted using EntityHome

2007-04-09 Thread waynebagguley
I've got a one-to-many relationship in one of my beans and have never had any trouble. This is from my entity bean: ListRequest requests = new ArrayListRequest(); | | @OneToMany | public ListRequest getRequests() | { | return requests; | } | public void

[jboss-user] [JBoss Seam] - Re: Changes not persisted using EntityHome

2007-04-09 Thread waynebagguley
Like I said, you need to use merge() if you are not using a seam managed persistence context. Using @PersistenceContext does not mean that it is a seam managed one. From what I can gather, if you obtain your entity bean in one session bean and then try and update it in another session bean

[jboss-user] [JBoss Seam] - Re: Argh! Where is the cid coming from?

2007-04-08 Thread waynebagguley
I think what you want to use is a nested conversation. This can be done either by annotating the method with @Begin(nested=true), by adding s:conversationPropagation type=nested/ to the h:commandLink, or by using begin-conversation nested=true. in pages.xml. Conversations are stack based.

[jboss-user] [JBoss Seam] - Re: How to return to a previous page without conversations

2007-04-08 Thread waynebagguley
Along with the new entry-point concept, will you be adding something to prevent a user from jumping to a page out of sequence? Currently I can easily skip to a page as long as I put the conversation id in the URL, I then get a useless page but I fear that this might lead to security holes. It

[jboss-user] [JBoss Seam] - Re: How to return to a previous page without conversations

2007-04-08 Thread waynebagguley
[EMAIL PROTECTED] wrote : Use jBPM pageflows in Seam if you want a statemachine controlling the navigation flow and preventing users from making illegal transitions. The concept of entry/exit points also needs to be added to this model though. | Does that stop me from fudging the URL

[jboss-user] [JBoss Seam] - Re: Can't get s:selectItems and s:convertEntity to work

2007-04-06 Thread waynebagguley
Fantastic! All I needed to do was to implement the equals method and it now calls the action method correctly. Many thanks. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4035266#4035266 Reply to the post :

[jboss-user] [JBoss Seam] - Can't get s:selectItems and s:convertEntity to work

2007-04-05 Thread waynebagguley
I have this in my components.xml: component name=org.jboss.seam.ui.entityConverter | property name=entityManager#{em}/property | /component ...and this in a session bean: @PersistenceContext | EntityManager em; ...and this on a page h:form | h:selectOneMenu

[jboss-user] [JBoss Seam] - Re: Can't get s:selectItems and s:convertEntity to work

2007-04-05 Thread waynebagguley
Ok, thanks for that? I've managed to find out how to configure the Seam managed persistence context and now I'm not getting the error any more but now the method attached to the action of the command button is not getting called and I'm getting no errors whatsoever in the logs... :( View the

[jboss-user] [JBoss Seam] - Re: Can't get s:selectItems and s:convertEntity to work

2007-04-05 Thread waynebagguley
I added h:messages/ and now I get Validation error on the page but I've not set up any validation for the form. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4035020#4035020 Reply to the post :

[jboss-user] [JBoss Seam] - Re: Can't get s:selectItems and s:convertEntity to work

2007-04-05 Thread waynebagguley
JBoss 4.0.5.GA Seam 1.2.1.GA MyFaces 1.1.5 Java 5 Windows XP View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4035025#4035025 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4035025

[jboss-user] [JBoss Seam] - Re: Can't get s:selectItems and s:convertEntity to work

2007-04-05 Thread waynebagguley
Could this be a bug in MyFaces? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4035056#4035056 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4035056 ___ jboss-user mailing list

[jboss-user] [JBoss Seam] - Re: Can't get s:selectItems and s:convertEntity to work

2007-04-05 Thread waynebagguley
This bit sounds useful: anonymous wrote : Your component may not have been found (see another FAQ) or the errors may be hidden. The JSF lifecycle consists of a number of phases; in some of these phases errors can occur which don't cause an exception to be thrown and logged (at least at the

[jboss-user] [JBoss Seam] - Re: Can't get s:selectItems and s:convertEntity to work

2007-04-05 Thread waynebagguley
Oh right, I already had a long running conversation that spans the list creation and the form submission. I'm going to try and do some debugging. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4035074#4035074 Reply to the post :

[jboss-user] [JBoss Seam] - Security flaw in Seam docs, section 12.3.2

2007-04-04 Thread waynebagguley
I've implemented my authenticator component as per the seam docs (section 12.3.2) and have come across a security flaw that I thought people should know about or maybe point out what I've done wrong. I have 2 user roles, 'admin' and 'user' and use these to determine which pages to show. If I

[jboss-user] [JBoss Seam] - Re: Security flaw in Seam docs, section 12.3.2

2007-04-04 Thread waynebagguley
How do I remove all the roles in one go? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4034592#4034592 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4034592 ___ jboss-user mailing

[jboss-user] [JBoss Seam] - Re: SEAM don't can find session bean !!

2007-03-31 Thread waynebagguley
Which version is it fixed in? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4033433#4033433 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4033433 ___ jboss-user mailing list

[jboss-user] [JBoss Seam] - Re: SEAM don't can find session bean !!

2007-03-30 Thread waynebagguley
Do you have the code for UserManagerRemote? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4033043#4033043 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4033043 ___ jboss-user

[jboss-user] [JBoss Seam] - Re: 2 questions about Seam

2007-03-30 Thread waynebagguley
The variable (e.g. var) will belong (scoped) to the SFSB it is declared in but it will be outjected or injected to/from the relevant context. I don't think you can rely on it being the same object (it might well be) but it should have the same value. View the original post :

[jboss-user] [JBoss Seam] - Re: SEAM don't can find session bean !!

2007-03-30 Thread waynebagguley
I suspect that you are getting an error on deployment that you have not seen. Check the log files. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4033080#4033080 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4033080

[jboss-user] [JBoss Seam] - Re: SEAM don't can find session bean !!

2007-03-30 Thread waynebagguley
Your bean class must have implements UserManagerLocal even though it implements it through an abstract class. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4033086#4033086 Reply to the post :

[jboss-user] [JBoss Seam] - Re: SEAM don't can find session bean !!

2007-03-30 Thread waynebagguley
No idea. It could be part of the EJB3 spec. Just add the 'implements' clause to your class. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4033093#4033093 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4033093

[jboss-user] [JBoss Seam] - Re: Use context as parameter

2007-03-30 Thread waynebagguley
If you configure pages.xml with this: | page view-id=/customer* action=#{bean.method}/ | And then extract the rest of the URL from inside the method? That might work. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4033102#4033102 Reply to the post :

[jboss-user] [JBoss Seam] - Re: Use context as parameter

2007-03-30 Thread waynebagguley
Are you asking how to get the page to display, how to populate the page with data or how to find out which customer to find the details of? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4033142#4033142 Reply to the post :

[jboss-user] [JBoss Seam] - Re: Use context as parameter

2007-03-30 Thread waynebagguley
You either have the action method return DisplayCustomer.xhtml as a String or configure pages.xml with a navigation rule and have the action method return the appropriate String. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4033180#4033180 Reply to the post

[jboss-user] [JBoss Seam] - Re: SEAM don't can find session bean !!

2007-03-29 Thread waynebagguley
do you have seam.properties in the right place? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4032654#4032654 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4032654 ___ jboss-user

[jboss-user] [JBoss Seam] - Re: cannot destroy component exception

2007-03-29 Thread waynebagguley
Doing the fix at the container level isn't a valid solution. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4032657#4032657 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4032657

[jboss-user] [JBoss Seam] - Re: SEAM don't can find session bean !!

2007-03-29 Thread waynebagguley
Don't you need an @Begin somewhere? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4032691#4032691 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4032691 ___ jboss-user mailing list

[jboss-user] [JBoss Seam] - Re: SEAM don't can find session bean !!

2007-03-29 Thread waynebagguley
Try adding @Begin(join=true) to the action method that is getting called View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4032749#4032749 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4032749

[jboss-user] [JBoss Seam] - Re: Question on Injecting

2007-03-29 Thread waynebagguley
What's the question? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4032759#4032759 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4032759 ___ jboss-user mailing list

[jboss-user] [JBoss Seam] - Re: Question on Injecting

2007-03-29 Thread waynebagguley
Ah yeah, well spotted pete. The name of the injected field has to match the declaration in @Name Change the code to: | @Stateful | @Name(itemsCache) | public class ItemsCacheBean implements ItemsCache, Serializable { | ... | @Stateful | @Name(itemsmanager) | public class

[jboss-user] [JBoss Seam] - Re: Page refresh

2007-03-28 Thread waynebagguley
That worked a treat, thanks. However, the docs for 1.2.0 are missing something: in section 5.1.1 it just says TODO: translate struts action into page action View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4032367#4032367 Reply to the post :

[jboss-user] [JBoss Seam] - Re: cannot destroy component exception

2007-03-28 Thread waynebagguley
[EMAIL PROTECTED] wrote : You need to set your SFSB timeout longer than your HTTP session timeout. This is in the FAQ, and we have already added it to the reference documentation. | | I'm not sure how a simply config setting that is described in the FAQ, and has been discussed in several

[jboss-user] [JBoss Seam] - Page refresh

2007-03-27 Thread waynebagguley
I have a page that contains a h:dataTable backed by a stateful session bean with a List attribute. The list is populated via an action but the trouble is that if the user clicks on a link (calling the action) and then presses the refresh button in the browser, the action doesn't get called

[jboss-user] [JBoss Seam] - Re: @Logger does not inject

2007-03-27 Thread waynebagguley
Are there any errors in the application server logs? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4032097#4032097 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4032097 ___

[jboss-user] [JBoss Seam] - Re: cannot destroy component exception

2007-03-26 Thread waynebagguley
You're not the only one. I get the same exceptions. Seam appears to have quite a few flaws like this. I'm quickly losing confidence in it. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4031481#4031481 Reply to the post :

[jboss-user] [JBoss Seam] - s:link bug?

2007-03-23 Thread waynebagguley
I've got a h:datatable like this: | h:dataTable value=#{jobListHandler.jobList} var=jobStore | Nested inside are some h:column elements as you'd expect. I want to include an s:link in one of the columns but before I did that I noticed that 'jobListHandler.jobList' was getting called

[jboss-user] [JBoss Seam] - Re: facesMessages.addToControl and h:message not working wit

2007-03-23 Thread waynebagguley
Fixed my own problem. I should return null from the action method when I want to stay on the same page. Oops! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4031104#4031104 Reply to the post :

[jboss-user] [JBoss Seam] - Re: s:link bug?

2007-03-23 Thread waynebagguley
I tried @DataModel but this has other side effects that I don't want. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4031129#4031129 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4031129

[jboss-user] [JBoss Seam] - facesMessages.addToControl and h:message not working with aj

2007-03-22 Thread waynebagguley
I've got a page with this piece of xhtml in: | f:subview | h:panelGroup id=findJobPanel | a4j:include viewId=/findJob/search.xhtml/ | /h:panelGroup | /f:subview | In the pages that are used by the a4j control, I have a h:form with a h:inputText and corresponding

[jboss-user] [JBoss Seam] - Preventing direct access to pages

2007-03-20 Thread waynebagguley
Is there a way of preventing a user manipulating the URL and accessing a page that should only be accessed by the result of an action on a session bean? For example, I have two pages of data entry followed by a pdf generated by the iText component. If I am on page 1 or 2 then it is still

[jboss-user] [JBoss Seam] - Re: Page Refresh problem

2007-03-20 Thread waynebagguley
Sounds like the bean might not actually be in the conversation scope or maybe the conversation has ended? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4029721#4029721 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4029721

[jboss-user] [JBoss Seam] - Re: Validation Error

2007-03-20 Thread waynebagguley
Seems to work fine for me. Why not supply a bit of code we can look at? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4029727#4029727 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4029727

[jboss-user] [JBoss Seam] - Re: language resource bundle example

2007-03-20 Thread waynebagguley
I don't have any of those configs and resource bundles work a treat. In your h:selectOneMenu tag, you don't specify where it is supposed to store the selected value. Here is the code taken from the Seam v1.2 documentation: | h:selectOneMenu value=#{localeSelector.language} |

[jboss-user] [JBoss Seam] - Re: language resource bundle example

2007-03-20 Thread waynebagguley
The locale ka(Georgian) is not supported by Java. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4029805#4029805 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4029805 ___