2 questions about jsf page..

D

daniele

Hi guys,
i've 2 simple question for you, please help me:

1) i'm using framework tiles with jsf to have a fixed look for each
page of my jsf application. If i want using an image as a page
background,how can i do it?

2) i want to use customized botton, so i've created them with graphic
programs. Cause my application has 2 languages, i have to create 2
different bottons with two different msg or can i pass the image and
retrieving msg from bundle?
That is i've used image attribute for command button but it show my
image without loading text from bundle...how can i do it?

Thanks very much for your help
 
D

Dag Sunde

daniele said:
Hi guys,
i've 2 simple question for you, please help me:

1) i'm using framework tiles with jsf to have a fixed look for each
page of my jsf application. If i want using an image as a page
background,how can i do it?

Not a Java/JSF question...
Use CSS:

....
body {
background-image: url(../images/yourImage.gif);
background-position: top left;
background-repeat: no-repeat;
}
....
2) i want to use customized botton, so i've created them with graphic
programs. Cause my application has 2 languages, i have to create 2
different bottons with two different msg or can i pass the image and
retrieving msg from bundle?
That is i've used image attribute for command button but it show my
image without loading text from bundle...how can i do it?

That's impossible to answer, as long as you don't show ut how you
do it today...
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,780
Messages
2,569,608
Members
45,241
Latest member
Lisa1997

Latest Threads

Top