Yes. Try to use EL expression in the partialTrigger. The
panelGroupLayout support using EL expression in the partialTrigger
attribute.
As of using a scroll bar. you could consider using styling to have a
scrollbar overflow:auto
try using <f:verbatim> and add the <div> inside.
<f:verbatim>
<div .... >
</div>
</f:verbatim>
On Feb 6, 2009, at 1:05 PM, Jim Kuschill wrote:
Omar,
Thanks for your input.
I looked at using partialTriggers, but there are a variable number of
buttons created so (I think) I would have had to have built a
dynamic EL
expression for use on panelGroupLayout. This seemed pretty ugly and
I don't
know how I would have handled a general case (the first panel just has
buttons, but others will be quite a bit more complex, ideally fully
meta-data driven). Do you have a suggestion?
I reviewed the devguide, but there must be some deep-inner-meaning
there
that I'm not comprehending relative to formatting. In this case, I'm
looking
for buttons being displayed two-up and the size and center
constraints on
the DIV causes the browser to nicely wrap them (and provide a scroll
bar if
there are lots and lots of them). I had originally created a backing
bean
that "pre-folded" the list into a 2-up structure (column1, column2)
for use
in a table, but this was pretty ugly. Is there another approach you
can
suggest?
I did notice that my version of Trinidad is quite old - 1.2.5, so I
will try
to upgrade and see what happens.
Omar Elprince-2 wrote:
You really should not use <div>. Also take a look at the output html.
In your code I don't see the partialTriggers attribute.
http://myfaces.apache.org/trinidad/devguide/ppr.html
--
View this message in context:
http://www.nabble.com/-trinidad--PRR---DIVs-tp21876372p21877709.html
Sent from the MyFaces - Users mailing list archive at Nabble.com.