[jboss-user] [JBoss Tools (users)] - Re: Find Usages

2009-08-13 Thread Kragoth
JIRA raised https://jira.jboss.org/jira/browse/JBIDE-4771 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4249538#4249538 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4249538 _

[jboss-user] [JBoss Tools (users)] - Find Usages

2009-08-12 Thread Kragoth
Hey all, Just wondering if there is any way at all so that when I do a find usages on a method that it will also find the .xhtml files that contain EL expressions that call the method as well. IDEA 8 does this and it is great. It allows me to refactor methods and have the .xhtml files updated

[jboss-user] [JBoss Tools (users)] - Re: Seam Components Problem

2009-04-13 Thread Kragoth
Hi, I downloaded 3.1.0 nightly (sorry should have got 3.0.1 but miss read) and it seems to be working for me :) Thanks heaps. At first it seemed to stall in a slightly different spot but after a project clean it seemed to start working. Thank you for the fast response! View the original post

[jboss-user] [JBoss Tools (users)] - Re: Seam Components Problem

2009-04-08 Thread Kragoth
Fantastic! Thanks heaps guys for your quick responses and help! I'm not sure I could try the work around as it would be a rather large modification for me to make to our project. For the time being I will just bear the pain of all the nice features of JbossTools not working and hope the patch c

[jboss-user] [JBoss Tools (users)] - Minor xsd/tld file problem?

2009-04-07 Thread Kragoth
Just noticed in my eclipse error log I am getting these warnings: | | !ENTRY org.jboss.tools.common.kb 2 0 2009-04-08 12:48:09.848 | !MESSAGE Warning: attribute type type is declared more than once in element hotKey. | | !ENTRY org.jboss.tools.common.kb 2 0 2009-04-08 12:48:09.848

[jboss-user] [JBoss Tools (users)] - Re: Seam Components Problem

2009-04-07 Thread Kragoth
Ok, went back and tried the latest version of Eclipse and the GA release of JBossTools and the only exception I'm getting in my error logs is this: | !SESSION 2009-04-08 10:56:31.240 --- | eclipse.buildId=M20090211-1700 | java.version=1.6.0_13

[jboss-user] [JBoss Tools (users)] - Re: Seam Components Problem

2009-04-07 Thread Kragoth
I have over 100 SEAM beans in my project. So there should definitly be more then 9. As well as this I should be seeing the SEAM libs components as well. I have tried toggeling the SEAM support to try force the nature and builder to restart etc, but this did not fix the problem. If I touch a SEA

[jboss-user] [JBoss Tools (users)] - Re: Seam Components Problem

2009-04-06 Thread Kragoth
I tried the GA release and I'm still having the same problem. This is really frustrating me! Everything was working fine and now I can't find anyway to fix it. I don't understand why it only finds my first 9 SEAM beans and then just stops. View the original post : http://www.jboss.org/index.ht

[jboss-user] [JBoss Tools (users)] - Seam Components Problem

2009-04-02 Thread Kragoth
Hi all, I'm having a rather large issue at the moment with JBoss Tools. Basically what's happening is that it is not finding all my SEAM components. It only finds about 9 of my SEAM components and then stops. I have well over 100 SEAM components and they just arn't showing up. This means my auto

[jboss-user] [JBoss Tools (users)] - Validate (Eclipse Seam Validator) problem

2008-08-21 Thread Kragoth
I've noticed a small problem with the Seam Validator in the jboss Tools plugin. The problem occurs if you have an attribute on a class where the second letter of the attribute is a capital letter. eg. | private GekkoMoney aRP; | Now according to java standards the getter for this property

[jboss-user] [JBoss Tools (users)] - Re: XHTML files and content assist with custom tags

2008-07-31 Thread Kragoth
I was also able to solve the problem of having the tld file checked into my codebase by adding a hardlink from the schemas/tld/.tld to my codebase. this was done with the 'fsutil hardlink create' tool in windows xp command prompt. Just in case anyone else wants that functionality View the o

[jboss-user] [JBoss Tools (users)] - Re: XHTML files and content assist with custom tags

2008-07-30 Thread Kragoth
I think that the BIG step missing from the instructions is telling people to start eclipse with the -clean argument. Without that argument the modifications will never appear. (I know most people probably know to do this but I had completely forgotten about it :P) So, if the instructions co

[jboss-user] [JBoss Tools (users)] - Re: XHTML files and content assist with custom tags

2008-07-30 Thread Kragoth
Thanks heaps campi! I copied and paste your plugin.xml entry and tld file and it works. So obviously there was something else I was doing wrong! I'll look around and hopefully I can find it. Thanks again! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=416777

[jboss-user] [JBoss Tools (users)] - Re: XHTML files and content assist with custom tags

2008-07-29 Thread Kragoth
Adding "JSF Capabilities" most certainly does make changes to a project. It adds a WEB-INF/lib folder and a bunch of other things. We do not have our project set up in the standard WEB-INF/lib way. Our ant build is what sets up the web app structure. At a source level we have a config directory t

[jboss-user] [JBoss Tools (users)] - Re: XHTML files and content assist with custom tags

2008-07-28 Thread Kragoth
Does the mentioned solution only work if you "Add JSF Capabilities"? Or should it work on any xhtml file? If it only works on projects that have "Added JSF Capabilities" then maybe that feature should not force the structure of the project to be so specific. View the original post : http://ww

[jboss-user] [JBoss Tools (users)] - Re: XHTML files and content assist with custom tags

2008-07-28 Thread Kragoth
I've just spent about an hour trying the solution mentioned above at http://docs.jboss.org/tools/2.1.0.GA/en/jsf/html_single/index.html#CodeAssistAndDynamicCodeAssist42BasedOnProjectData but I'm not having any success with it. My tags are still not in the list of tags when editing xhtml files. I

[jboss-user] [JBoss Tools (users)] - Re: XHTML files and content assist with custom tags

2008-07-28 Thread Kragoth
I find this solution severly limiting. I am working in a team of developers. The approach of putting the tld entry into the plugin.xml is tedious and painful. How can I now add this for all developers? It would require every developer to update their plugin.xml file. Secondly, because of this st

[jboss-user] [JBoss Tools (users)] - Re: XHTML files and content assist with custom tags

2008-07-24 Thread Kragoth
Yes I can help now. I have got content assist working (to a reasonable level) by doing the following. 1. Write an XSD for your custom tags. 2. In Eclipse go to. Window -> Preferences-> Web and XML -> XML Catalog. 3. Add a new entry using your tag namespace and pointing to your xsd file. Now you

[jboss-user] [JBoss Tools (users)] - Re: XHTML files and content assist with custom tags

2008-03-13 Thread Kragoth
I'm writing my own custom tags. So I had put the tld file in my WEB-INF folder. (NOTE: My project is not set up as a web application so I'm not sure if the location of the tld file should matter. I'm working on making it a web app but i'm restricted by a number of factors including the inability

[jboss-user] [JBoss Tools (users)] - Re: XHTML files and content assist with custom tags

2008-03-12 Thread Kragoth
Well, I've made progress. By creating the XSD file I can get attribute auto completion. But, I do not get tag auto complete. In that I have to know the name of my tag, but once i have put in my tag eg it will then give content assist for my attributes. I'm not entirely sure why it works for at

[jboss-user] [JBoss Tools (users)] - XHTML files and content assist with custom tags

2008-03-11 Thread Kragoth
Is there any possible way to create my own xsd file and have jboss tools give content assist while editing a .xhtml file? I've tried everything I can think of and I just can't get it to work. I've been searching on the net for ages.just no luck. I found the example for doing this for compon

[jboss-user] [JBoss Seam] - Re: Custom interceptors do not work with super classes

2008-01-10 Thread Kragoth
Is there anyone from the SEAM team that could tell me what I should do about this? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4118912#4118912 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4118912 ___

[jboss-user] [JBoss Seam] - Custom interceptors do not work with super classes

2008-01-09 Thread Kragoth
When creating my own interceptor I was hoping to have super class that all my classes could extend that would give them my interceptor. However, the initInterceptors method in the SEAM Component.java does not scan superclasses for annotations. So I have the following code. My Annotation | p

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

2008-01-09 Thread Kragoth
Ok, I've made a bit of progress, and I have a working interceptor. Code as follows: The actual interceptor: | package gekko.web.services; | | import org.jboss.seam.annotations.intercept.AroundInvoke; | import org.jboss.seam.annotations.intercept.Interceptor; | import org.jboss.seam.int

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

2008-01-09 Thread Kragoth
oops sorry posted at the same time. Thanks for your answer. Hope to see default interceptors soon :) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4118480#4118480 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4118480

[jboss-user] [JBoss Seam] - Seam Interceptors

2008-01-09 Thread Kragoth
Hey, I am trying to make an Interceptor so I can do some injection of Spring beans by type. However, for some reason my Interceptor never fires. Here is my test code. | package gekko.web.services; | | import org.jboss.seam.annotations.intercept.AroundInvoke; | import org.jboss.seam.an

[jboss-user] [JBoss Seam] - Re: @Autowired in a Seam bean

2007-12-18 Thread Kragoth
Ok, basically I want to do spring injection in a SEAM bean. But instead of doing it with the variable resolver, I want to have a listener on the creation of the SEAM bean that goes through and injects the spring components that have the @Autowired annotation. The reason is that the variable res

[jboss-user] [JBoss Seam] - @Autowired in a Seam bean

2007-12-12 Thread Kragoth
Hi all, Ok... currently I have a Spring application integrated with my Seam beans via a Variable resolver. The problem with this is that in my Seam bean injection is done via the name of the "implementation" of an interface. This is different from the way Spring works which can Autowire based o

[jboss-user] [JBoss Seam] - Re: selectItems - Is it possible?

2007-11-25 Thread Kragoth
I have used IGx89's converter and it is working perfectly for me I've made a few slight changes but nothing major... other then that I have moved the Store outside the converter. Oh and I have done some specific stuff for my project to make it easier for me but you can get rid of all that.

[jboss-user] [JBoss Seam] - Re: PDF - is there a way?

2007-11-19 Thread Kragoth
Actually forget what i said about it working with s:linkit's not. *sigh* I'm at a loss now :( View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4106253#4106253 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4106253 ___

[jboss-user] [JBoss Seam] - Re: PDF - is there a way?

2007-11-19 Thread Kragoth
Ok, it is most certainly the IFrame that is the cause of pretty much all my grief. I do not know of anyway of ensuring that the src attribute of the iframe will indeed join my current conversation... infact I don't even know where to begin in trying to do that. I have succeeded in using a s:li

[jboss-user] [JBoss Seam] - Re: PDF - is there a way?

2007-11-19 Thread Kragoth
Baby steps. Ok, I'm now almost 100% certain that the cause of all my problems lies in the use of the iframe. It appears that conversations do not span over iframes now from all my reading and the way I understand conversations this should not be the case! Am I right in assuming this? A

[jboss-user] [JBoss Seam] - Re: PDF - is there a way?

2007-11-19 Thread Kragoth
Well, to make matters even more confusing it seems as though this has absolutely nothing to do with the pdf at all. I created another straight xhtml file that uses the variable and put it in the iframe and NOTHING! The variable | @DataModelSelection(value="averagingEnquiry_uvAveragings") |

[jboss-user] [JBoss Seam] - Re: need help using DataModelSelectionIndex

2007-11-19 Thread Kragoth
As far as I know or at least as far as I can tell, you cannot have a DataModelSelectionIndex and a DataModelSelection on the same DataModel. You need to choose, do you want the index or the object. There really is no point in having the DataModelSelection if you have the index as you can get th

[jboss-user] [JBoss Seam] - Re: @Factory is not working

2007-11-19 Thread Kragoth
Make sure you have a seam.properties file in your classes directory. Are all other SEAM operations working? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4106200#4106200 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=41

[jboss-user] [JBoss Seam] - Re: PDF - is there a way?

2007-11-19 Thread Kragoth
OK, I have tried everything at CONVERSATION scope but the PDF document will never be able to find the variable. I've tried the BEAN, and all the OUT variables on CONVERSATION but that does not seem to change the outcome. As I stated in my original post the only way I get any data is if I outjec

[jboss-user] [JBoss Seam] - PDF - is there a way?

2007-11-18 Thread Kragoth
Hi all, I'm experiencing a little difficulty in getting SEAM's PDF functionality to work. I can get what I want if I put all my variables into a SESSION scope. But as soon as I want to try use a CONVERSATION scope the PDF has no data in it. Now I'm assuming that this is because of the way that

[jboss-user] [JBoss Seam] - Re: s:decorate - default template

2007-11-14 Thread Kragoth
Thanks pete. I'm not sure what you mean by a factory in components.xml but I'll try and see if I can find some doco about that. I really appreciate all the help you guys give. I have submitted the feature request. I'm not sure of the details I should give it but it's there. http://jira.jboss

[jboss-user] [JBoss Seam] - s:decorate - default template

2007-11-13 Thread Kragoth
Hi all, I'm not liking the fact that I have to write code like... | | | | all the time for every input component. Does anyone know any possible way of setting the default template that will be used by the s:decorate tag? If not, how hard would it be to create my own tag so tha

[jboss-user] [JBoss Seam] - @DataModelSelection help

2007-11-04 Thread Kragoth
Hi all, I have a really simple question and I've tried and tried to find the answer and I'm sure it's on the forum already but all the examples and similar posts I've found have not fixed my problem so... I"m sorry if this answered somewhere else but Why!!! does my DataModelSelection

[jboss-user] [JBoss Seam] - @Factory on initial page load

2007-10-30 Thread Kragoth
Hi, I've got a Search screen where users will enter their criteria. Below this I have an area for the results to be displayed. My problem is that the @Factory for the results section runs on the first load of the page and as no criteria have been entered it will return all records in the databa

[jboss-user] [JBoss Seam] - Re: selectItems - Is it possible?

2007-10-28 Thread Kragoth
Ok, I've tried using IGx89's converter but moving the store outside of the converter. And it *almost* works! I'm running into a small problem though. My code is as follows: ObjectConverter.java | package gekko.web.converter; | | import static org.jboss.seam.ScopeType.CONVERSATION; | i

[jboss-user] [JBoss Seam] - Re: selectItems - Is it possible?

2007-10-27 Thread Kragoth
Well guys, thanks for all the input. I didn't really know any other way to solve my problem so the converter is it for now I guess. @IGx89 I'll try your code when I get back to work and see if it works. @[EMAIL PROTECTED] How should the store be done pete? I'm really quite new to the seam worl

[jboss-user] [JBoss Seam] - Re: selectItems - Is it possible?

2007-10-24 Thread Kragoth
Ok, I've made progress!!! If I remove the @DataModelSelection annotation everything works exactly the way I want it. Hopefully someone else gets some good out of this code! Infact maybe the Seam guys should implement a generic converter for non Entity classes. View the original post : http:/

[jboss-user] [JBoss Seam] - Re: selectItems - Is it possible?

2007-10-24 Thread Kragoth
1 No stack trace is given. The error message is from a h:messages component. 2 Seam 2.0.0CR2 JSF 1.2 3 I'm not entirely sure what I need to do regards Stateful / Stateless for this bean. Another slightly smaller issue is that it does not select the "no Selection" item as default. I would like

[jboss-user] [JBoss Seam] - selectItems - Is it possible?

2007-10-24 Thread Kragoth
Hi all. Before I get into my question, I have been trying for 2 days to achieve what I want to do and I've read almost every article I can find about the s:selectItems and f:selectItems components that I can find. But, I can't seem to find any examples or I am just not understanding things which

[jboss-user] [JBoss Seam] - Re: How to use Seam without persistence?

2007-10-10 Thread Kragoth
Thank you all for your help. I did not see the line | | when reading the documentation. The addition of that line has indeed fixed my problems at least for now. :) What I read was. _ 8.2.1. Disabling Seam-managed transactions Seam transaction managemen

[jboss-user] [JBoss Seam] - Re: How to use Seam without persistence?

2007-10-09 Thread Kragoth
I guess I forgot a few details. I'm using: Seam 2.0 CR2 sun's jsf-api and impl that came with Seam 2.0 Tomcat 6.0.14 I'm not working on the Spring part of the application at the moment so not sure of its version, but most likely the latest stable build. Hope that helps. View the original post

[jboss-user] [JBoss Seam] - How to use Seam without persistence?

2007-10-09 Thread Kragoth
Hi all, I have a very unusual task at my work and I'm struggeling to find a way to accomplish what my team leader wants. We are writing an app that is using Spring for transaction management and for some *unknown/stupid* reason they do not want seam to handle persistence. However, I am running