Hi
When t:calendar-components value is
binded in to a map-objects mapping, and this mapping has got a value
of java.sql.Date or java.sql.Timestamp,
I will get exception in the update model-phase!! This comes from components
attempt to coerce value in java.util.Date
subclass-type. Does anybody
I made a couple of portlet... just for test but I'm not a portlet developer.
I have just started a big (first!!!) facelet project and (BTW) I have
wrote dow the taglib.xml for the FCKfaces component see the
attachment.
2006/3/13, Dave Brondsema [EMAIL PROTECTED]:
::SammyRulez:: wrote:
I have
IN JSF page, usual do i18n like
f:loadBundle basename=#{facesContext.application.messageBundle}
var=tagVar/
then h:outputText value=#{tagVar.TEMPLATE_LOGIN_USER}/:
I have a question how to use a composite message. like
tagKey=We met for {0} days
--
Anthony Hong
Anthony,
we solved this by defining our own EL function in the facelets tag library:
function
function-namemessage/function-name
function-classbamboo.web.faces.Helpers/function-class
function-signature
java.lang.String message(java.lang.String,
You can use h:outputFormat like this:
h:outputFormat value=#{bundle.list_footer}
f:param value=#{controller.addressCount} /
/h:outputFormat
Regards,
Arvid
Anthony Hong wrote:
IN JSF page, usual do i18n like
f:loadBundle
I am trying to use a jenia popup in my Facelet application but getting this error:javax.el.ELException: /neAdd.xhtml: Bean: $Proxy174, property: goPopupmy page is :
neAdd.xhtml :...jp:popupFrame scrolling=yes height=450px width=550px actionOpen=#{neLogic.goPopup} center=true
Martin Marinschek wrote:
Well, I'd first try to get into contact with Niko, if
he would be
willing to open source his stuff.
Thanks, I figured the best place to start was by
addressing the list. I really dont know what the list
policy about directly emailing other members is, but I
guess Ill
No, the funny thing is the dojoized inputsuggest has exactly such an
enforcement mechanism, it can be turned off, but if you want to see the
mechanism in action you can check out the examples at the dojo site,
which all enforce the input to be the same as the values in the drop down.
Sorry for missing this, have been a little busy lately and didn't have time
to check the mailing list.
Here is the source-code for the solution I came up with. It is not the most
elegant, but it works for now.
The main classes to look at are HistoryManager and ViewState. I basicaly
called the
Trying to upload a file I am getting a java.lang.IllegalArgumentException: argument type mismatch exception in the setter method of uploadedFile.I just have a private UploadedFile upFile in my bean and t:inputFileUpload id=file
accept=* value=#{fileLogic.upFile} storage=file
Hello, have a look at myfaces examples, copy the fileUpload beanmore likely, some of your bean properties are incorrecththmarcoOn 3/14/06,
Arash Bijanzadeh [EMAIL PROTECTED] wrote:
Trying to upload a file I am getting a java.lang.IllegalArgumentException: argument type mismatch exception in the
But I'm using saveState in both pages.
The user fill some parts of the form, press save button e he goes to other page with saveState to complete the form or came back to the same page (case is not necessary fill the second form). But the object is not being saved.
On 3/10/06, Mike Kienenberger
It'd probably help if you posted parts of your page tags. Using
t:saveState should work, so if it's not working, there's probably
something else involved.
On 3/14/06, Vladimir Coutinho [EMAIL PROTECTED] wrote:
But I'm using saveState in both pages.
The user fill some parts of the form,
Hi all,
I have a strange problem with a selectBooleanCheckbox
and preselection.
When I use the following statement
h:selectBooleanCheckbox
id=processed
value=#{DynaAnnoControllerBean.document.datafield['processed']}/
then I always receive the right value after page
submission in
You can't have it both ways.
If you bind the value to the backing bean, then the value always
reflects what's in the backing bean.
You can bind it to a different backing bean property. Perhaps one
that adjusts the value returned by the getter for the first time the
page is displayed or
Martin Marinschek wrote:
There definitely is interest.
I despise the current javascript codebase, so if you have a better
one, it would be great!
Well, I hope it's better. I know it needs some work to make it a
product quality calendar. I was wondering how this compares with the
ADF
If you can send me the code off- or onlist, that would be great.
regards,
Martin
On 3/14/06, Edwin Goei [EMAIL PROTECTED] wrote:
Martin Marinschek wrote:
There definitely is interest.
I despise the current javascript codebase, so if you have a better
one, it would be great!
Well, I
You might want to look at usability issues surrounding the input
dropdowns and the fact that you can select invalid dates on the
client-side. (e.g. January 31, 2006)
You probably don't want to allow the end user to do that.
-Original Message-
From: Edwin Goei [mailto:[EMAIL PROTECTED]
Hi!
Is it possible to create a library project?
Its indention is to pack all the dependend libraries into one jar/war
and have all other projects depend on them.
The idea is that I do not have to bundle all libraries in my war.
The application changes much more than the used libraries - this
#pragma ignore
sorry - wrong list
Ciao,
Mario
Hallo Hubert,
can you show me the example, and the error stack trace?
The way with the VariableResolver works in my case, with Sun RI and
MyFaces. The ValueBinding I've not tried.
There is also an example with tobago:
Actually I did finally get it to work. I used it in the filter I
described on http://marc.theaimsgroup.com/?l=myfaces-userm=114183050209635w=2
It turns out I was getting some conflicts because I had a nightly
build of Commons EL on my war's lib directory.
Hubert
On 3/14/06, Udo Schnurpfeil
Oh, and Thanks for responding, Udo!
Hubert
On 3/14/06, Hubert Rabago [EMAIL PROTECTED] wrote:
Actually I did finally get it to work. I used it in the filter I
described on
http://marc.theaimsgroup.com/?l=myfaces-userm=114183050209635w=2
It turns out I was getting some conflicts because I
It is nicer to display messages at one location just above the table.If h:messages can bind to one subtree of components, that would be very nice .h:messages for=""/all the messages for components in the subtree will be added to the h:messages.Is this reasonable? It helps
Is there way to list backing beans used by current page?Thanks!
Yahoo! Mail
Use Photomail to share photos without annoying attachments.
I encounter a problem with JSF value change listener
I have a selection box
h:selectOneMenu id=selDebtorType converter=javax.faces.Integer
validator=#{DebtorController.validateDebtorType}
I would like the t:panelTabbedPane to take up the entire height of the table td that it is in.When I specify a styleClass it renders two class attributes and mine is second see below:I don't know how to get rid of the
class=myFaces_panelTabbedPaneIt seems to be wanting to use some
I saw in JSF these is a dataTable that is used to display tabular
data. like reports.
I defined a dataTable in page and in backing bean I have a property of
dataModel.
There is a link in one column. By clicking it can enter an edit page.
My table with pagination function, it works fine when I
I think when click row data, it send back current row index. But in a
paginationed report with request scope managed bean. It's lack of page
num.
So it failed to work.
On 3/15/06, Anthony Hong [EMAIL PROTECTED] wrote:
I saw in JSF these is a dataTable that is used to display tabular
data. like
Where did it go? The core is only 1.1.3 at this URL
(http://cvs.apache.org/builds/myfaces/nightly/):
myfaces-core-1.1.3-SNAPSHOT-bin.tar.gz
myfaces-core-1.1.3-SNAPSHOT-bin.zip
tomahawk-1.1.2-SNAPSHOT-bin.tar.gz
tomahawk-1.1.2-SNAPSHOT-bin.zip
tomahawk-examples-1.1.2-SNAPSHOT-bin.tar.gz
Hi Anthony!
I encounter a problem with JSF value change listener
The valueChangeListener stuff happens BEFORE the update model phase.
So you cant read the updated value from the model, nor you can change it
(or any other model value) simply by setting it.
Now you have two options:
*) set the
On 3/14/06, Martin Marinschek [EMAIL PROTECTED] wrote:
If you can send me the code off- or onlist, that would be great.There's a source zip download at http://blogs.sun.com/roller/resources/edwingo/sample-simple-2.2.1-src.zip
to go along with the component authoring article
I couldn't find this exact problem in the archives... sorry if this is a repeat.
I have:
t:inputCalendar id=start value=#{confAdmin.conference.start}
renderAsPopup=true popupDateFormat=#{msg.default_dateformat}
helpText=#{msg.default_inputcalendar_helptext} /
Messages.properties:
Every thing seems ok. Could it be a Facelet problem?On 3/14/06, Marco Mistroni [EMAIL PROTECTED] wrote:
Hello, have a look at myfaces examples, copy the fileUpload beanmore likely, some of your bean properties are incorrect
hthmarcoOn 3/14/06,
Arash Bijanzadeh [EMAIL PROTECTED] wrote:
Trying to
I am trying to compile the head of myFaces but it has dependencies to struts-tiles which maven do not dl them. And build breaks. I wonder why Tomahawk should be depend on Struts tiles? It looks very strange.
-- from debian manifesto:Debian Linux is a brand-new kind of Linux distribution. Rather
35 matches
Mail list logo