Win a copy of Terraform in Action this week in the Cloud forum!

Aravind M Jay

Greenhorn
+ Follow
since Mar 16, 2006
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
1
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Aravind M Jay

Criteria API is one of the ways -



Using javascript:window.open('example.html',400,600) I'm able to open a popup from outlook. But now the issue is the popup just vanishes within a fraction of a second.
Please lemme know what could be the issue.

Thanks,
Aravind
Well, displaying it in a browser is not at all an issue and am able to do it. But the requirement is to open it as a popup.
Any more inputs on this?

Thanks,
Aravind
Thanks for your reply. So does that mean there is no way to achieve this functionality?

Thanks,
Aravind
Hi,

I'm trying to open a popup from the emails sent to outlook from our application. The popup contains some help text. I'm using velocity templates for the email content. But not able to open the popup on click of the hyperlink.

Is it possible at all to call a popup from the mail message?

Am using on click in the .vm file -
Hi,

I have a JSP which shows a list of users. Each page is restricted to 10 records using pagination. My issue is -

Suppose I'm in the 3rd page and i click on the user name hyperlink i get the details of that user. I have a back button on this jsp page. So now when I click on this Back button i should go back to the 3rd page and not the 1st page. Right now it is redirecting me to the first page.

Is there any generic way which would work for all the JSPs?

I'm using Struts 1.2.

Thanks & Regards,
Aravind
13 years ago
Hi,

I have a JSP which shows a list of users. Each page is restricted to 10 records using pagination. My issue is -

Suppose I'm in the 3rd page and i click on the user name hyperlink i get the details of that user. I have a back button on this jsp page. So now when I click on this Back button i should go back to the 3rd page and not the 1st page. Right now it is redirecting me to the first page.

Is there any generic way which would work for all the JSPs?

I'm using Struts 1.2.

Thanks & Regards,
Aravind
I tried the following to compile my query -





Now strQuery is -



But this query is not running and throwing this error -


In one of the forums saw this was due to the missing antlr.jar but I dont think so and moreover I have the antlr.jar in my lib folder

Please Advice.

Thanks,
MJ
Hi,

I have this simple HQL query.




I have few Criteria queries which is used for the search functionality.
Between these two dates it searches for the data. This part is working fine.





But now my problem is
1. To combine my hqlQuery with this criteria query so that there is an additional condition for search i.e, search will now depend on the deptId that's passed.

2.


I tried this


But it is throwing this error


Please advice.

Thanks,
MJ
I have tried even declaring the type but to no avail..
Datatype is Integer.
Tried an alternative -
Replaced <column> with <formula> but this always saves NULL in the DB even though a value is entered.
Please let me know your inputs.
Hi,

This error is a combination of Spring + Hibernate. I have a FK in one of the tables which can accept null. But when this field is left blank the data is not saved in the DB.

This is the error message from the logs -



Table Details -



Hibernate Mapping -



POJO <excerpt> -



Please let me know where am I going wrong.

Thanks,
MJ
Hi,
I'm trying to populate my textbox from a datatable by providing a link on one of the columns of the table.It is all fine and working if the table has columns from one database table.
But my problem comes when there is a foreign key in my datatable and when i click on the link all fields get populated except for the foreign key field..
Could anyone please help me out in solving this???
im posting the code below...CurrencyCode is my foriegn key in this case..



Inside the Action method of the command link im catcthing the value.


"manufacturerEntityBn" is an instance of my entity bean.
"manufacturerDAOBn" is an instance of my DAO class where i have the methods for CRUD operations and that is not required in this case here..


[ March 16, 2006: Message edited by: Tim Holloway ]

[ March 16, 2006: Message edited by: Tim Holloway ]
[ March 16, 2006: Message edited by: Tim Holloway ]
15 years ago
JSF