div tag in jsf

Hi,

i have header in my jsf where i put my text over the existent image:

<h:panelGrid>

<div id="lastimport">

my lastimport

</div>

</h:panelgrid>

and my stylesheet has following:

...

#lastimport

{

position:absolute; top:38px; left:685px;

}

...

now i would like to change the div-tags through jsf-tags. Unfortunately i didn磘 find appropriate jsf tag. I tried with:

<h:outputText styleClass = "lastimport" value="my last import ">

</h:outputText>

but the text appeared not at the place i wanted and its important for me to keep my design (stylesheet).

Is there any possibility to solve this problem?

[861 byte] By [naekoa] at [2007-11-26 15:30:30]
# 1
Use h:panelGroup with style="display: block;". This will renders a span which behaves as div thanks to the display: block;. Or create your own div component, also see http://www.jsftutorials.net/components/step1.html
BalusCa at 2007-7-8 21:47:10 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 2

ok........that works, the design keeps as i want. But now i can磘 read the value from my outputText (because of internationalization)

....

<h:panelGroup style="display: block;">

<h:outputText value="#{myMsg.last_import}"></h:outputText>

</h:panelGroup>

....

it seems to be static and no changes will be made.

Any suggestions?

naekoa at 2007-7-8 21:47:10 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...