Hello,
Is it still the case in MyFaces 1.2.0 that using this:
context-param
param-nameorg.apache.myfaces.ADD_RESOURCE_CLASS/param-name
param-valueorg.apache.myfaces.component.html.util.StreamingAddResource/param-value
/context-param
with the Tomahawk
Hello there,
I have taken the plunge to start using MyFaces 1.2 (I've experience with
1.1.*). I have run into a strange problem that hopefully somebody will be
able to help with.
I have a standard h:commandButton with an actionListener, the code for which
is in a standrad request-scoped backing
Hello there,
I have a select one menu in a file that is included on all pages of my
webapp. This is to change the language of the site based on user's
preference. I have included onchange=submit(); and immediate=true
however the immediate property appears to be ignored and validation occurs
on,
with any large code base, it'll take a little time to
really
understand the layout.
On 2/26/07, CarlHowarth [EMAIL PROTECTED] wrote:
Hi,
I am having this problem too. My select one is set up as
follows:
h:selectOneMenu id
Hi,
I am having this problem too. My select one is set up as follows:
h:selectOneMenu id=regionList binding=#{Bean.regionListUI}
value=#{Bean.region}
f:converter converterId=myapp.Region/
f:selectItem itemValue=0 itemLabel=(all)/
t:selectItems var=r itemLabel=#{r.name}
.
Many thanks in advance, Carl
CarlHowarth wrote:
Hello there,
I have just upgraded to MyFaces 1.1.5 from 1.1.4 and have come across a
problem with the UISelectOne component, using a custom converter. When my
form is submitted I now get a message on screen:
Validation Error Region
Hello there,
I have just upgraded to MyFaces 1.1.5 from 1.1.4 and have come across a
problem with the UISelectOne component, using a custom converter. When my
form is submitted I now get a message on screen:
Validation Error Region List: regionList: Value is not a valid option.
Where
Hi there,
I have a strange problem with a datatable that I am generating on the fly
(since the user may choose the columns they wish to appear). It all appears
to be working just fine, except for the sortation under certain
circumstances.
On first load of the page, all sortation works without
Hello,
I posted a question previously relating to this that unfortunately has not
had any replies - I'm hoping to get this resolved I have the same
problem whereby the file's downloaded then any subsequent action on the page
causes the file to re-download. I have added the saveSerializedView
Hello there,
I have a JSF app which allows date entry. My default pattern is the UK style
(dd/mm/), however I would also like to allow shortened entry (dd/mm/yy).
If I try and enter a date in that fashion today's date of 15/01/07 is
amended to 15/01/0007.
The tags are set up as follows:
Hi,
I'm trying to return javascript alerts for certain error messages in my
application, however I want to get the text from a resource file. I have
added an inputHidden control and set its value to the text in the resource
file. In the javascript I return the text from the inputHidden control's
outputText
element, which will only be read but never posted back.
I would suggest to set display:none in the style (or styleClass) and
that should do the job.
cheers,
Gerald
On 11/29/06, CarlHowarth [EMAIL PROTECTED] wrote:
Hi,
I'm trying to return javascript alerts for certain
.
Regards,
Volker
2006/11/29, CarlHowarth [EMAIL PROTECTED]:
Hi Gerald,
Unfortunately style is not a valid attribute of the inputHidden control
so
this method won't work unfortunately.
Thanks, Carl
Gerald Müllan wrote:
Hi,
the problem is that you do a little mixture between
Sorry, just got the response re output text - this works well with the
display:none.
Cheers, Carl
CarlHowarth wrote:
Hi,
I'm trying to return javascript alerts for certain error messages in my
application, however I want to get the text from a resource file. I have
added an inputHidden
Hello there,
I have a datatable is populated with a collection of items, and I want to
query each item that is returned to determine whether or not the currently
user has the rights to view/edit the item, thus returning the relevant
icon/link.
The Item bean is unaware of which user is logged
Hello there,
I want to place my datascroller above my datatable - is this possible?
I have added a condition to the scroller that makes sure it only gets
rendered when there are enough rows:
rendered=#{BackingBean.recordCount} 20}
When the count does exceed 20 I get the facets appearing but
/
/f:facet
...
/t:dataScroller
/h:panelGrid
/h:panelGroup
/h:panelGrid
Regards,
Jeff Bischoff
Kenneth L Kurz Associates, Inc.
CarlHowarth wrote:
Hello there,
I want to place my datascroller above my
Hi,
I have an app that uses the tomahawk savestate component to save the state
of the backing bean. I have just tried bind a selectonemenu component to the
backing bean however as the HtmlSelectOneMenu class is not serializable I
get an error as this can not be saved.
If I change to session
Hello there,
Hopefully someone can help - I have looked through the existing queries and
can't just find what I'm after.
I have a main record with asociated files - the files are uploaded through
my web app and are downloaded from the same page that lists the files in a
dataTable. I have a
the
BackingBean.object.subObject.id value in Hibernate? Is this really
doing what you want it to do? I use Cayenne, so I can't say, but
normally I want to set a variable to the data object returned, not set
an id on an existing data object.
On 9/20/06, CarlHowarth [EMAIL PROTECTED] wrote:
Hi Mike,
I didn't have
object returned, not set
an id on an existing data object.
On 9/20/06, CarlHowarth [EMAIL PROTECTED] wrote:
Hi Mike,
I didn't have a converter within the selectOneMenu - the ID of the
selectItems is simply an integer. I'm a bit new to JSF - I have tried
adding
a convertnumber within
wrote:
Hi,
have you inserted a t:messages tag into the page in order to see if
any errors may happen?
regards,
Gerald
On 9/21/06, CarlHowarth [EMAIL PROTECTED] wrote:
Hi again,
I have been having a look at the custom converters and have written one
that
should handle any
,
Gerald
On 9/21/06, CarlHowarth [EMAIL PROTECTED] wrote:
Hi again,
I have been having a look at the custom converters and have written one
that
should handle any potential nulls. I set the value of the selectOneMenu
to
be #{BackingBean.mainObject} and the custom converter returns the ID
Hi,
I have a strange issue with a JSF page I am working on...
When I set the value of a selectOneMenu component to a property of my
backing bean, my action listeners stop being fired. If I set the value of my
selectOneMenu to a property of an object stored on my backing bean they work
again.
/06, CarlHowarth [EMAIL PROTECTED] wrote:
Hi,
I have a strange issue with a JSF page I am working on...
When I set the value of a selectOneMenu component to a property of my
backing bean, my action listeners stop being fired. If I set the value of
my
selectOneMenu to a property of an object
25 matches
Mail list logo