Re: [appfuse-user] heap space error when generating reports.

2009-10-07 Thread sudhakargupta
ot;perm gen" (case insensitive) there is > a solution in the archives here. > > --j > > > sudhakargupta wrote: >> >> Hi Matt, >> >> Presently i'm working with appfuse 1.9 (struts) application, in my >> application i need to gene

Re: [appfuse-user] heap space error when generating reports.

2009-10-07 Thread sudhakargupta
f the displaytag: > > http://displaytag.sourceforge.net/11/tut_externalSortAndPage.html > > You might also take a look at this project: > > http://code.google.com/p/pagingappfuse/ > > Matt > > On Tue, Oct 6, 2009 at 3:04 AM, sudhakargupta > wrote: >> >&

[appfuse-user] heap space error when generating reports.

2009-10-06 Thread sudhakargupta
Hi Matt, Presently i'm working with appfuse 1.9 (struts) application, in my application i need to generate the reports with customized queries which is not related to the hibernate mapped classes. In some situations the query returns 50,000 records or higher (return as a list to use displaytag

[appfuse-user] problem with Update the login time when login is success

2009-09-24 Thread sudhakargupta
Hi Matt, i need to update the login time when i logged into the application, i get a some sample code like this public class LoginListener implements ApplicationListener { private UserManager userManager; /** * @param userManager the userManager to set */ public voi

Re: [appfuse-user] Composite primary key problem in appfuse 2.0 (struts2)

2009-09-18 Thread sudhakargupta
Thanks for your reply but how to edit the row using this Composite-id, i am not worked on this please suggest me... Alistair Bush wrote: > >> Hi Matt, >> >> presently i'm working with appfuse 2.0 (struts2) application. i have >> one >> problem how to use composite primary key using hiber

RE: [appfuse-user] how to call Stored procedures in appfuse 2.0 (MSSQL)

2009-09-18 Thread sudhakargupta
t st = > (DelegatingPreparedStatement)session.connection().prepareStatement("{call > name_of_sp(?,?,?)}"); > st.setString(1,""+a); > st.setString(2, ""+b); > st.setString(3, c); > st.execute(); > > -

[appfuse-user] Composite primary key problem in appfuse 2.0 (struts2)

2009-09-18 Thread sudhakargupta
Hi Matt, presently i'm working with appfuse 2.0 (struts2) application. i have one problem how to use composite primary key using hibernate in this application My model class code like this @IdClass (value=MenuPk.class) @Entity @Table (name="App_Menu") public class Menu extends BaseObject imp

Re: [appfuse-user] how to call Stored procedures in appfuse 2.0 (MSSQL)

2009-09-14 Thread sudhakargupta
king at that > framework's documentation? > > On Mon, Sep 14, 2009 at 4:41 AM, sudhakargupta < > sudhakargupta_s...@hotmail.com> wrote: > >> >> Hi Matt, >> >> i am working with appfuse 2.0 and MSSQL database. i need to call the >> stored proced

[appfuse-user] how to call Stored procedures in appfuse 2.0 (MSSQL)

2009-09-14 Thread sudhakargupta
Hi Matt, i am working with appfuse 2.0 and MSSQL database. i need to call the stored procedures written in MSSQL. i just want to run the stored procedure with name only, with out writing the function in programming. if you have any examples please give me. please suggest me how to solve thi

Re: [appfuse-user] Postgresql BLOB data saving problem

2009-07-20 Thread sudhakargupta
ta(byte[] data) { this.data = data; } then it will work perfectly sudhakargupta wrote: > > Hi Matt, > I am using appfuse1.9 with postgresql database v8.x, I need to save xml > structured data in database, to implement this requirement > 1) i create a table column wi

[appfuse-user] Postgresql BLOB data saving problem

2009-07-20 Thread sudhakargupta
Hi Matt, I am using appfuse1.9 with postgresql database v8.x, I need to save xml structured data in database, to implement this requirement 1) i create a table column with OID type in database 2) written the pojo class code like /** * @hibernate.propety column="data" not-null="true" */ publi

[appfuse-user] Re[appfuse-user] trieve Table Name and details from POJO

2009-07-09 Thread sudhakargupta
Hi Matt, In appfuse 1.9. i need to take the backup from the webapplication for the specified table, which i used in the application i.e POJO. I tried the code like sessionFacroty.getClassMetaData(Xyz.class); in XyzDaoHibernate class it gives an POJO class variable names. please suggest m

Re: [appfuse-user] Struts2 Many-to-one New Record Save problem (JSP Drop down)

2009-05-11 Thread sudhakargupta
The ftl files are freemarker which underlies struts2 tags. I just poked > around in there and worked it out myself. > > > sudhakargupta wrote: >> >> Hi Harps, >> >> Thanks for your reply, i written the UserConverter class as you said, >> but i am un

Re: [appfuse-user] Struts2 Many-to-one New Record Save problem (JSP Drop down)

2009-05-10 Thread sudhakargupta
ans am saying that this is the correct way to do it. > > > > <#if parameters.nameValue??> > <#if tag.contains(parameters.nameValue.id, itemKey) == true> > selected="selected"<#rt/> > > <#if tag.co

Re: [appfuse-user] Struts2 Many-to-one New Record Save problem (JSP Drop down)

2009-05-08 Thread sudhakargupta
E to your @ManyToOne. > Although usually in a Many to One the "one" exists first but you > pattern could be different. > > If cascade is not going to work for you then you need to save your > User first and then your Purchase. > > On May 8, 2009, at 1:53 AM, s

[appfuse-user] Struts2 Many-to-one New Record Save problem (JSP Drop down)

2009-05-08 Thread sudhakargupta
Hi Matt, In appfuse2 struts i written the many-to-one relationship code like this Purchase.java @ManyToOne (targetEntity=User.class) @JoinColumn (name="user_id", nullable=flase) private User user; PurchaseAction.java: (appended code) public List getUsers() { return userManager.getUsers(ne

Re: [appfuse-user] how to display account not enabled error while login

2009-04-29 Thread sudhakargupta
Thanks for your reply its working fine mraible wrote: > > Try this instead: > > ${sessionScope.SPRING_SECURITY_LAST_EXCEPTION.message} > > Matt > > On Wed, Apr 29, 2009 at 12:15 AM, sudhakargupta < > sudhakargupta_s...@hotmail.com> wrote: > >>

[appfuse-user] how to display account not enabled error while login

2009-04-28 Thread sudhakargupta
Hi Matt, Presently I just want to display the message to user if the account is not enabled while login, i removed the comments of the below code in jsp but it doesn't show any error message. ${sessionScope.SPRING_SECURITY_LAST_EXCEPTION_KEY.message} and it shows the password.misma

Re: [appfuse-user] Multiple database connection in One host

2009-03-23 Thread sudhakargupta
Hopefully others on this list > have had this experience and can help you. > > Matt > > On Mon, Mar 23, 2009 at 11:28 PM, sudhakargupta < > sudhakargupta_s...@hotmail.com> wrote: > >> >> Thanks for your reply. i'm connecting to multiple database w

Re: [appfuse-user] Multiple database connection in One host

2009-03-23 Thread sudhakargupta
l behavior from happening. > > Matt > > On Mon, Mar 23, 2009 at 11:04 PM, sudhakargupta < > sudhakargupta_s...@hotmail.com> wrote: > >> >> Thanks for your reply but i am unable to get the solution. is there any >> possibilities to maintain multiple databas

Re: [appfuse-user] Multiple database connection in One host

2009-03-23 Thread sudhakargupta
> http://appfuse.markmail.org. I believe there's some solutions for > connecting > to multiple databases in there. > > Matt > > On Mon, Mar 23, 2009 at 6:59 AM, sudhakargupta < > sudhakargupta_s...@hotmail.com> wrote: > >> >> Hi Matt, >> &g

[appfuse-user] Multiple database connection in One host

2009-03-23 Thread sudhakargupta
Hi Matt, I'm presently working with the appfuse1.9.4, and postgresql database. In my application i need to develop a reports like charts. For this reports i need to use different databases like (test1,test2,test3) in postgresql in the same host with the different user name and passwords. w

[appfuse-user] Heap space Error

2009-02-20 Thread sudhakargupta
Hi Matt.. In the appfuse2.0 struts i am loading 3 tables at a time. The total records of the 3 tables are around or above 1Lakh so,its not loading the page and in the server it gives java heapspace Error. I make a configuration for the catalina_opts is max 4gb, still it's giving java heap

Re: [appfuse-user] Double Submit problem in appfuse 1.9 struts

2009-02-18 Thread sudhakargupta
Thanks for your reply its working fine. Sudhakar mraible wrote: > > http://www.learntechnology.net/content/struts/struts_token.jsp > > On Tue, Feb 17, 2009 at 6:49 AM, sudhakargupta < > sudhakargupta_s...@hotmail.com> wrote: > >> >> Thanks for your repl

Re: [appfuse-user] Double Submit problem in appfuse 1.9 struts

2009-02-17 Thread sudhakargupta
> double submit problem: > http://struts.apache.org/2.0.14/docs/token-interceptor.html > > > > Bests, > > José Plana > > > > On Tue, Feb 17, 2009 at 6:15 AM, sudhakargupta < > sudhakargupta_s...@hotmail.com> wrote: > >> >> Thanks for yo

Re: [appfuse-user] Double Submit problem in appfuse 1.9 struts

2009-02-16 Thread sudhakargupta
form like "saveTwoTables". please suggest me how to solve this problem. mraible wrote: > > You might try using JavaScript to disable the button once it's been > clicked. > > Matt > > On Mon, Feb 16, 2009 at 4:48 AM, sudhakargupta < > sudhakargupta_s...@h

Re: [appfuse-user] how to assign primarykey value manually from the form page or in the action class

2009-01-09 Thread sudhakargupta
it, please help me to overcome this problem.. Regards, Sudhakar.. mraible wrote: > > Have you tried to do this by writing code? If so, what's your code > look like and what errors are you experiencing? > > Matt > > On Wed, Jan 7, 2009 at 11:46 PM, sudhakargupta > w

[appfuse-user] how to assign primarykey value manually from the form page or in the action class

2009-01-07 Thread sudhakargupta
Hi.. Thanks in advance for your help.. In appfuse2-basic struts how to assign the id value of the primary key manually from the form page or in the action class.. why because my requirement is the primary key is a string value (ex: FGP-1020-501), so i need an string value for the primary key

[appfuse-user] problem with the Assign value to primarykey manually from the html Form

2009-01-07 Thread sudhakargupta
Hi.. Matt I am presently working with the appfuse2.0 basic struts, in the tables the primary key will be the assigned value by the administrator. I observed in the code of action class the prepare() method will get the object from the database and if any changes are done in the html

Re: [appfuse-user] Appfuse2 struts2 mvn appfuse:full-source problem

2008-12-15 Thread sudhakargupta
ot;mvn -o commandName" > offline after you get the initial artifacts downloaded. > > Matt > > On Sun, Dec 14, 2008 at 9:54 PM, sudhakargupta > wrote: >> >> Thanks for your reply matt, if i want to create a new project in >> offline(means i don't have

Re: [appfuse-user] Appfuse2 struts2 mvn appfuse:full-source problem

2008-12-14 Thread sudhakargupta
Thanks for your reply matt, if i want to create a new project in offline(means i don't have any internet connection) then how to use the mvn appfuse:full-source please suggest me how to solve this problem Sudhakar mraible wrote: > > It looks like SVN may be down. You might want to try again

Re: [appfuse-user] Appfuse2 Struts problem

2008-12-14 Thread sudhakargupta
it before save. > > Best Regards > > > > 2008/12/13 sudhakargupta > >> >> Thanks for your reply >> >> Is there any other way to use the auto generator for the string in mysql >> or in any other database >> >> please suggest me for this

Re: [appfuse-user] Appfuse2 Struts save/update problem

2008-12-14 Thread sudhakargupta
myObjectList = universalManager.getAll(MyObject.class); > } > return myObjectList; > } > > > Best Regards > > 2008/12/13 sudhakargupta > >> >> Hi Matt.. >> >> >> i created a model classes with the name Person,Department. >> >&

[appfuse-user] Appfuse2 Struts save/update problem

2008-12-13 Thread sudhakargupta
Hi Matt.. i created a model classes with the name Person,Department. in the person class i created a many-to-one mapping like this @MantToOne(targetEntity=Department.class) @JoinColumn ( name="dept_id",insertable=false,updatable=true) public Department getDepartment() { return this.d

Re: [appfuse-user] Appfuse2 Struts problem

2008-12-13 Thread sudhakargupta
e of generator that doesn't increment. I've never done this, > hopefully someone else on this list can help you. > > Matt > > On Fri, Dec 12, 2008 at 5:39 AM, sudhakargupta > wrote: >> >> Hi Matt... >> >> >> Presently i'm working

[appfuse-user] Appfuse2 Struts problem

2008-12-12 Thread sudhakargupta
Hi Matt... Presently i'm working with the appfuse2 struts.. In one of my table i need to use the String as a primarykey and use foreignkey relations with this primarykey. i created a model class primary key setters/getters are @Id private String code; private String getCode() { retu

Re: [appfuse-user] manager initiation problem in appfuse2 jsf

2008-12-08 Thread sudhakargupta
On Mon, Dec 1, 2008 at 9:55 PM, sudhakargupta > <[EMAIL PROTECTED]> wrote: >> >> Hi.. Matt >> >> >> in the uploadfile action class i want to upload a excel file to read >> the >> contents of the excel, for this i want create a one manager class and

Re: [appfuse-user] how to user both jsp's and the xhtml in the appfuse2 jsf

2008-12-08 Thread sudhakargupta
Thanks for your reply so, both jsp's and facelets are not possible ot use in JSF. Sudhakar.. mraible wrote: > > I don't believe it's possible to use JSPs and Facelets for JSF in the > same application. > > Matt > > On Mon, Dec 1, 2008 at 11:42 PM, sudha

[appfuse-user] how to user both jsp's and the xhtml in the appfuse2 jsf

2008-12-01 Thread sudhakargupta
Hi .. Matt, in my project presently using xhtml files, now i want to use both the jsp and xhtml files why because in the xhtml files core jstl tags not working perfectly in the example like this . . . in such cases it's givin

[appfuse-user] manager initiation problem in appfuse2 jsf

2008-12-01 Thread sudhakargupta
Hi.. Matt in the uploadfile action class i want to upload a excel file to read the contents of the excel, for this i want create a one manager class and pojo class for data. in action class: public void setPoiManager(PoiManager poiManager) { this.poiManager = poiManager; } in applicat

Re: [appfuse-user] jsf is not working with IE

2008-11-24 Thread sudhakargupta
hi.. it's working with the firefox very well .. please give me the suggestions... Sudhakar mraible wrote: > > Does it work in Firefox? > > On Mon, Nov 24, 2008 at 6:31 AM, sudhakargupta > <[EMAIL PROTECTED]> wrote: >> >> hi Raible.. >> &g

[appfuse-user] jsf is not working with IE

2008-11-24 Thread sudhakargupta
hi Raible.. In JSF DataList tables in the IE is not avaliable to edit the records, can u give me the suggestions for this problem.. Sudhakar.. -- View this message in context: http://www.nabble.com/jsf-is-not-working-with-IE-tp20660878s2369p20660878.html Sent from the AppFuse - User mailin

[appfuse-user] icefaces usage example with the appfuse

2008-11-11 Thread sudhakargupta
hi... i integrated the icefaces into appfuse successfully, but i'm not able to get the component controllers and styles and others from the icefaces like RowSelectionController to edit the data and not getting the styles and all. please give me a suggestions to learn the icefaces with app

Re: [appfuse-user] icefaces integration problem

2008-11-11 Thread sudhakargupta
Thanks for the help i added an exclusions and warSourceExclude at the time of build for el-api.jar in the pom.xml file. so, the server started perfectly. Sudhakar mraible wrote: > > Does removing el-api.jar help? > > Matt > > On Mon, Nov 3, 2008 at 10:18 PM, sudha

Re: [appfuse-user] icefaces integration problem

2008-11-05 Thread sudhakargupta
with the icefaces in appfuse2 -- sudhakar mraible wrote: > > Does removing el-api.jar help? > > Matt > > On Mon, Nov 3, 2008 at 10:18 PM, sudhakargupta > <[EMAIL PROTECTED]> wrote: >> >> thanks for giving reply >> >> added these be

Re: [appfuse-user] icefaces integration problem

2008-11-03 Thread sudhakargupta
i removed el-api.jar but still it shows the same errors mraible wrote: > > Does removing el-api.jar help? > > Matt > > On Mon, Nov 3, 2008 at 10:18 PM, sudhakargupta > <[EMAIL PROTECTED]> wrote: >> >> thanks for giving reply >> &g

Re: [appfuse-user] icefaces integration problem

2008-11-03 Thread sudhakargupta
t > > On Mon, Nov 3, 2008 at 5:28 AM, sudhakargupta > <[EMAIL PROTECTED]> wrote: >> >> hi.. >> >> >> presently i am working with the jsf but i want to change to icefaces how >> to >> integrate the icefaces in appfuse2.0, i downloaded al

[appfuse-user] icefaces integration problem

2008-11-03 Thread sudhakargupta
hi.. presently i am working with the jsf but i want to change to icefaces how to integrate the icefaces in appfuse2.0, i downloaded all the dependencies for the icefaces, please give me the reply to integration of icefaces. thanks -- View this message in context: http://www.nabble.com/icefa

Re: [appfuse-user] jsf many-to-one save problem in appfuse2.0.2

2008-10-17 Thread sudhakargupta
please check this link just remove the insertable and updatable tags from the model class to the many-to-one mapping http://www.nabble.com/SQL-does-not-store-FK-when-implementing-OneToMany-relationship.-td18560099s2369.html#a18560099 sudhakargupta wrote: > > Hi, > > &g

[appfuse-user] jsf many-to-one save problem in appfuse2.0.2

2008-10-17 Thread sudhakargupta
http://www.nabble.com/file/p20030193/application-context.xml application-context.xml please give me the reply. SudhakarGupta:-) -- View this message in context: http://www.nabble.com/jsf-many-to-one-save-problem-in-appfuse2.0.2-tp20030193s2369p20030193.html Sent from the AppFuse - User mailing list archi