hi,
I've seen these used as styleClasses in myfaces examples, but can't
find their source. I was just curious about how they influenced
a form display.
Thanks
Tom
This message is intended for the recipient only and is not meant to be
forwarded or distributed in any other format. This
I've seen these used for styleClasses but haven't found their source:
formLabels and formInputs
Can anyone point me to them (sun? myfaces?)
Thanks in advance for your help
Tom
This message is intended for the recipient only and is not meant to be
forwarded or distributed in any
I have a list that is populated from a dataTable.
data in several columns (outputText) is truncated by the backing bean
to help keep the overall list within an area.
I'd like to display the full data in a column when the user moves the mouse
over a column with truncated data.
I've been
Mike, thanks for the example.
I tried it but I'm seeing these results...
When I put the mouse over a column that has a popup tag,
a small empty component (with tiny scrollbars) appears next to
the mouse, and the text associated with the popup appears
separately to the right of the mouse,
hello,
we're running myfaces and tomahawk 1.1.3
I have a dataTable where I need to get the rowIndex of the first row
displayed on a page
(this table has many rows/pages).
I found this example on the web
var b = 'h:outputText value=#{myBean.property}/';
I coded this
var index =
Thanks for your support Mike. You were right, the syntax was correct, I
just had to put it on the right tag.
In the end, this is what I tested and worked...
h:outputLabel id=outputLabelForInputText
for=inputText
value=Input follows
styleClass=#{testBean.error ? 'error' :
hello to all,
I'm trying to do something like this
h:outputLabel for=foo style=#{someBean.boolean ? 'error' : 'body'}
The purpose being to make a field label display the error style
or a standard style depending on whether the backing bean has detected an
error.
I've googled around but
hi, yeah I meant styleClass.
I've tried a lot of combinations and they all seem to get flagged as an
error in EL syntax
by MyEclipse, and the page causes an exception when I try to bring it up in
tomcat.
Maybe there are other ways to do the same thing? I just want to change the
styleClass
Thank you all for responding to my question.
I probably should have begun by stating my problem:
I want to be able to reset an update form to it's initial state. Sounds
simple enough, but...
A button of type=reset works fine, but on this jsp, a form submit may
have
occurred to refresh
hello everyone,
I have a jsp and backing bean. The jsp has a field like
h:inputText value=#{myBean.foo}
MyBean.java has the foo property, and it also has a property like
private MyBean myBean = null;
with getters and setters
I save a copy of MyBean here before any update so I can
Andrew,
would myfaces also find the property 'MyBean mybean' which is defined in
MyBean and call
setFoo on that reference?
for example, I've got
MyBean class
private String foo (with getters and setters)
private MyBean myBean (with getters and setters
before the update page
let's say I have a session scoped attribute (not a component) named foo,
with a value of bar
I wanted to create a command button like h: commandButton action=
#{session.foo} ...
to pass the string value to jsf for navigation. I didn't want to put
the value in a managed bean, so used just a
Thank you James and Julian. Your help is greatly appreciated.
Putting all session scoped variables in one place makes sense, but at this
time we
have a bunch of code that treats this one value as a separate attribute.
for the time being I'll use the syntax from James and going forward
hello,
We have a tomahawk element
t:selectOneMenu id=SelectItems forceId=true onchange=submit()
value=#{formMgr.selectedItem}
When an item is selected from this list, it causes another select list on
the page to be refreshed with
items related to the selection. This works fine.
Thanks to all for your responses.
Special thanks to Julian Ray. You've helped me twice now, first on
javascript syntax for the select id, now the immediate attribute.
Someone mentioned the reset button...I'm using it and it in fact does
work. The original state of page properties is
hello to everyone,
I have a form that displays detail data from a backing bean.
The same bean supplies properties for an update page.
The update page has a Cancel button and when selected
should return the user to the detail page with no changes saved.
Simple enough use, but when the
hello to everyone
I'm using a tomahawk dataTable where one of the t:columns contains a
t:selectBooleanCheckbox
The tag has id and a forceId=true attributes.
In the rendered html, the id of the checkbox is foo[0], foo[1] etc
I need to be able to loop through this list and look for a
17 matches
Mail list logo