[jboss-user] [JBoss Seam] - Obtaining Method name of the backing name in a component

2008-02-01 Thread hvram
Hi I know this is not related to Seam and is more of a JSF question . But I thought I will take a guess and try here . Sorry for the cross posting . I am trying to put up some test cases . I have an encodeEnd for all my components and I am printing the name of the id etc. These work

[jboss-user] [JBoss Seam] - Re: Multiple field validation and JBoss Seam 2.0 -- Various

2008-01-20 Thread hvram
I did some more digging around and figured out that I can get Case 1 to work if I set the FLUSH MODE to manual . There does not seem to be a way in the components.xml to set the flush mode to manual . All the documentation point to the use of an @Begin in the page.xml . My application does not

[jboss-user] [JBoss Seam] - Multiple field validation and JBoss Seam 2.0 -- Various appr

2008-01-18 Thread hvram
Hi I tried following the approach given in http://www.jroller.com/jgilbert01/entry/extending_the_hibernate_validation_framework by using the @Expression framework detailed there . The validation happens but Seam proceeds to the after phase and then fails when it tries to persist the form .

[jboss-user] [JBoss Seam] - Re: JBOSS Seam 2.0.0.GA and the latest JSF RI -- Stack over

2008-01-04 Thread hvram
Solved the problem. I was using the HEAD of the SUN JSF-RI and I guess people are still checking the code since I saw a lot of UnSupportedMethod Exception being throws delberately . I used the last tagged version and things are fine Thanks Regards Hari View the original post : http://www.jbos

[jboss-user] [JBoss Seam] - JBOSS Seam 2.0.0.GA and the latest JSF RI -- Stack overflow

2008-01-03 Thread hvram
Hi I am trying to use the latest jsf-ri from the the SVN repository of JSF - Ri . I did the following : Replace the jsf-api.jar and the jsf-impl.jar in the jboss-webdeployer/jsf-libs directory of my jboss server Replace the jsf-api.jar and the jsf-impl.jar of my application directory

[jboss-user] [JBoss Seam] - Re: Building Seam 2.0.0.0.GA with Eclipse --- javac task not

2007-12-24 Thread hvram
Thanks Peter . I ran the ant task and copied the .project file from the checkout. After that I was able to import this into eclipse Regards Hari View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4115372#4115372 Reply to the post : http://www.jboss.com/index.htm

[jboss-user] [JBoss Seam] - Building Seam 2.0.0.0.GA with Eclipse --- javac task not def

2007-12-24 Thread hvram
Hi I was attempting to build Seam 2.0 GA with Eclipse . I tried using Eclipse's create new project from an existing ant build file and it gave an error saying build.xml does not have javac task I am able to build from a command line ant . Is this the way to import the project into eclip

[jboss-user] [JBoss Seam] - JMS and Seam 1.2.1 GA

2007-08-28 Thread hvram
Hi The following is the programming model I use : I have a JMS listener which is annotated with the @Startup and @AutoCreate annotations. This polls the JMS queue every 'x' minutes and then tries to invoke a Seam component . The Seam component is found and invoked. If the component has any

[jboss-user] [JBoss Seam] - Re: Build system

2007-08-20 Thread hvram
Hi Max Yes I have tried JBoss Tools Beta 3. I am currently unable to run it on my x86_64 bit Linux machines. Works fine on the 32 bit though I am impressed since this seems to be an improvement over the tools support . But I am looking for a task since I want to extend the task to do the

[jboss-user] [JBoss Seam] - Build system

2007-08-17 Thread hvram
Hi I have been using Seam 1.21.GA for my project. I am looking for some advice on having a build system. Some of the common problems I am facing are a) No help on GUI for using the rich:tags etc. Solution : I am using the JSF facelet files as jspx files so that eclipse provides some sort

[jboss-user] [JBoss Seam] - Generating s:link programmatically

2007-06-09 Thread hvram
Hi I have a problem and I would be greatful for a solution . I have a property which is a URL (http://x.y.z?id=1&a=2&c=2 ). I would like to pass this to aetc. How do I do this from the backend ? Just putting http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4052822#4052

[jboss-user] [JBoss Seam] - Re: EntityHome for nested entity CRUD?

2007-05-25 Thread hvram
Hi We faced the same situation and we did the following Added entries in the components.xml for the other entityhome .. So something like and we used the reference to the childHome . We added page parameters (in the .page.xml ) for the childentities id . Let me know if this helps Regar

[jboss-user] [JBoss Seam] - Using log4j's NDC

2007-05-22 Thread hvram
Hi I want to use the NDC facility of Log4j in Seam so that I can make sense of the logs Is there any way to do this ? Any pointers will be greatly appreciated. Regards Hari PS : I tried importing NDC and then did a NDC.push , but this is not appearing in the log file View the original

[jboss-user] [JBoss Seam] - rich:suggest and Open in new tab broken

2007-05-21 Thread hvram
Hi I have a seam application . From the application I click on a link and then say open in a new tab . The new link contain some rich:components. When the control is activated I get a message in the Fibebug console that says LOG is not defined for ajax.4jsf.rich. After about 4 /5 tries t

[jboss-user] [JBoss Seam] - Problem refreshing a DataSet on a page

2007-05-17 Thread hvram
Hi I have my application which is largely seam-gen generated with my own modification . My application UI uses EntityHome.getSet1() to display items in the page instead of a EntityList.getResultList() . When I add a new item to the collection I can see that it gets persisted to the datab

[jboss-user] [JBoss Seam] - Re: Two war files with the same code base

2007-05-07 Thread hvram
Hi I am assuming you are referring to the Isolation and CallByAttribute values in the ear-deployer.xml It was false . I set both the values to true and it still did not make any difference . Should I also set the use JBossWebClassLoader to true in the jboss-service.xml ( It is fal

[jboss-user] [JBoss Seam] - Two war files with the same code base

2007-05-07 Thread hvram
Hi For the purpose of development our team uses Seam 1.2.1 . So we generally change the name of the project and thus create 2 different WAR files and then deploy them to the same jboss server . While I was trying to debug using the java remote debugger I found that I was hitting the break

[jboss-user] [JBoss Seam] - seam-gen , Authenticate and EntityHome

2007-04-24 Thread hvram
Hi My application uses the generate-entities to reverse engineer an existing DB schema . I am using the pages generated using seam-gen. I am trying to plug in the authentication and I am wondering what is the correct way to go about it . I did the following in Authenticator.java @Out

[jboss-user] [JBoss Seam] - Obtaining a handle to a EntityHome object

2007-04-23 Thread hvram
Hi The seam-gen code has reference to the EntityHome object . In the .java file if I do a Object o = new EntityHomeObject<> the compilation goes thru but somethings start failing . ( logging fails etc ) I searched the forums and found that this is the NOT the way to do

[jboss-user] [JBoss Seam] - Including an entity in component.xml

2007-04-20 Thread hvram
Hi I am defining new components in the component.xml . These components are dynamically generated So I changed the component.xml to define an ENTITY as in http://jboss.com/products/seam/components-1.1.dtd";[ ]> When I start JBoss the server looks for the specialcomponents.xml in the bin

[jboss-user] [JBoss Seam] - Action method being intercepted but bit being executed

2007-04-18 Thread hvram
Hi I added a new method in my EntityHome class and then called as an action from the h:commandButton . I can see from the logs that the method is getting intercepted by Seam but the method is not executed . There is no exception in the logs . Can somebody point me to the missing pi

[jboss-user] [JBoss Seam] - Re: seam-gen hbm to entities

2007-04-18 Thread hvram
Hi Look into the build.xml of seam-gen . There is a tag under the generate-entities target. Replace that with the tag The following works for me : | | | | | | | | Regards Hari View the orig

[jboss-user] [JBoss Seam] - seam-gen and clickable lists

2007-04-17 Thread hvram
Hi I am trying to modify the seam-gen generated code to support clicable lists . I have modified the List.java file and have a) implemented a local interface which contains one method in addition to extending the EntityQuery b) Annotated that method with the @Factory (x)

[jboss-user] [JBoss Seam] - Using conversations causes the pages to be cached

2007-04-09 Thread hvram
Hi I have been trying to use a long running conversation and I am facing the following problem . Once the conversation is created Any link that I click always takes me to the first page that was displayed after the conversation was created This is what I did : I have a method called se

[jboss-user] [JBoss Seam] - jboss seam and saving to the database

2007-03-09 Thread hvram
Hi I am using Seam 1.1.6 and I am facing the following problem " Trying to save values to the database redirects me to the Seam debug page on an exception . I am trying to redirect to my page but I am unable to do ". The following is what I have done -- I have a database table wit

[jboss-user] [JBoss Seam] - Need advice on using resultList and pagination

2007-01-17 Thread hvram
Hi I have been working with for the last 4 weeks and I have a query on using the resultList function. I used seam-gen and have been playing around with the code. My application has one main table and a lot of child tables The default code to display the child tables was to use ,h

[jboss-user] [JBoss Seam] - Re: Deployed ear file generated with seam-gen

2006-12-20 Thread hvram
Hi I get this error whne I am runnin 1.1 CR2 with the Sun JSF 1.2 RI . I am also using the classes generated using seam-gen Regards Hari View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3995434#3995434 Reply to the post : http://www.jboss.com/index.html?modu

[jboss-user] [JBoss Seam] - Re: Bean: org.hibernate.collection.PersistentSet, property:

2006-12-20 Thread hvram
Hi I checked the code and the properties are ArrayLists. As I said I just used seam-gen to generate the code and added an extra relationship in the table . I then changed the view to additionally display the sub table and pass the key as a request parameter Thanks Regards Hari View

[jboss-user] [JBoss Seam] - Bean: org.hibernate.collection.PersistentSet, property: 0

2006-12-20 Thread hvram
Hi I have a OneToMany relationship . When i try to access a value in the secondary table using an EL as follows #{usersHome.instance.refUserses[0].id} I get an error as follows javax.el.ELException: /Users.xhtml: Bean: org.hibernate.collection.PersistentSet, property: 0 I used seam-gen to