deepan thiagu

Greenhorn
+ Follow
since May 15, 2007
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
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 deepan thiagu

Hai everyone,

I need to format the price of a product specified in Indian Rupees.
The format used here in India is
Rs. 1,00,00,000 = 1 crore = 10 million = 10,000,000 (in the western format)

But when I try with f:convertNumber with type="currency" it always format like this 10,000,000

How can I achieve this?

The code I tried is as follows:

Can any one help me on this issue?

by
Thiagu.m
15 years ago
JSF
Hai every one

I need to display the product information in single page.
Each product has the release date.
I need to display the flag for particular product, if it is new release (the release date within one year)
How to check this condition in the JSF page

By
Thiagu.m
16 years ago
JSF
This is my TBL_PRODUCTS table structure is

This is my TBL_CELLPHONE table structure is

This is my TBL_CELLPHONE table structure is

my entity beans are

TblProducts is my main table. I try to add OneToOne relation with other tables (TblTelevision and TblCellphone). I cant add more than one relation. If I add it gives incomplete deployment problem. If I remove any one of the OneToOne relation from TblProducts its works fine.
Is there any mistake in my code
Please help me

By
Thiagu.m
This is my bean class structure

Here Tblproduct is my main table , I need to make a relation with all other subcategory products table.
But when I try to add the more than one OneToOne relation within product table it gives following error

is there any help how to overcome this problem

By
Thiagu.m
Hai every one i am using the h:selectManyCheckbox component in my page
I am use pageDirection layout for that component
I need to control the height of the component
If the height is Exide I need to display like a two column
It is possible
how to do that ...

By
Thiagu.m
16 years ago
JSF
Hai every one i am using the h:selectManyCheckbox component in my page
but the UI for the component like a box within a box
i need to remove the outer box form the component
i meant i need the cleared edge for that component
how to do that ...

By
Thiagu.m
16 years ago
JSF
Hai every one

i am working with Jboss Seam, JSF and EJP 3.0

in my part i need to implement text mining (keyword searches)
and smart searches (subject/object/verb/synonyms) within large text
objects.

I planed to use Oracle's Text functionality for this purpose.

Any suggestion regards this
it is possible in EJB 3.0

By
Thiagu.m
Hai every one

i need to find date/month/year of a date befor 'n' from the present date. it should be in dynamic.
i meant assume today date is "10/18/07" i need to find the "mm/dd/yy" of a day before 90 form the present date.
is there any predefine methods available for find the date in java.

By
Thiagu.m
16 years ago
Hai every one

assume "FieldClass" class have int variable 'z' meant i need to access the field value by using sting constant "z"
i try following ways

i cant access the field value
i can access "java.lang.reflect.Field" object,
i dont know how to access the field value from "java.lang.reflect.Field" object,

By
thiagu.m
16 years ago
hai every one this is my table structure

i need to display the all products information under one category at a time.
The datatable should be column wise and dynamically
if i am going to display the �car� category i have two list for display the dataTable
one from �Table_products� and another one from �Table_Car�
so this is my view part

this datTable fully dynamic so it is woke for any product category.
in the italic font line i have the problem
here i don't know about the any products property name, so i incorporate property name form another list

but the italic font line simply concatenated the object with field name like "CarClass@323.fuel" but i need to display the value in a dataTable

so how to i make EL syntax dynamically

By
Thiagu.m

[ August 21, 2007: Message edited by: deepan thiagu ]
[ August 21, 2007: Message edited by: deepan thiagu ]
16 years ago
JSF
Hai everyone i need to display the Object field value by using Expression Language.
But i need to refer this Object field name dynamically by using Expression Language.
Here i don't how to use the nested Expression Language

Here my sample code is

#{fields} gives the field name of object �sample�

then how to i display �sample� field value

i try following ways

1)#{sample}.#{fields}
2) #{sample[fields]}

Please any one help me

By
Thiagu.m
16 years ago
JSF
hai everyone i am new to JSF, i need to display the information in column wise not row wise
and also i need to make dynamic column dataTable

this is my table structure

How to do this, please any one help me

By
Thiagu.m
16 years ago
JSF
Hi,

I have 2 tables category and product. they have one-to-many relation in them.

Category : cat_id(PK),cat_name,cat_desc
Product : prod_id(PK),prod_name,prod_desc,cat_id(FK)

As both have one to many relation so i have declared a set in Category Table.


-----------------------------------------------


class Category implements Serializable
{
........
Set products;
@OneToMany(mappedBy="cat_id")
public void setProducts(Set prod)
{
this.products = prod;
}
public Set getProducts()
{
return products;
}
......
}

--------------------------------------------

i need to refer the result list of Category entity bean from my JSF view page.
here my problem is i cant diplay the set value in my JSF page, becaause no one JSF component to support to display the Set value
so i convert the Set value into List and then i can diplay it, as in

http://sfjsf.blogspot.com/2006/03/usings-sets-with-uidata.html#c2983217366300626078

here the same proble will arrives when i need to set the value to Category entity bean,

i dont know how to set the property value of "products" Category class from my JSF page

Please any one help to how to set the value to "Category" class property "products"

By
Thiagu.m
16 years ago
JSF
Hai every one i have problem with JSF Expression language, i describe about it.
i am working on registration page in seam, i need to allow the user to logged in after successfully register(i meant at the instance user register)
here i pass the registration page value to user bean and i call register method on my stateful session bean Register. here i need to assign the username, password value to Identity class in addition with user bean call
and i need to call Identity class login method.
with out the jsf Expression language i cant assign the value to Identity class, if i create Identity object manually i cant refer it by using expression language in my AuthenticatorAction class
Please any one give me the right solution
16 years ago
JSF
Hai every one
i dont know how to set defaule selection, for selectOneRadio. please any one give me the right solution
i give my sample code here


here i want to set male as a default selected one
16 years ago
JSF