Problem with t:calendar-components value setting and coercing.

2006-03-14 Thread Isto Pajarinen
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

Re: FCKfaces: FCKEditor component for JSF

2006-03-14 Thread ::SammyRulez::
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

How to set parameter in resource bundle in page

2006-03-14 Thread Anthony Hong
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

RE: How to set parameter in resource bundle in page

2006-03-14 Thread Frank Felix Debatin
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,

Re: How to set parameter in resource bundle in page

2006-03-14 Thread Arvid Hülsebus
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

jenia popup and facelet problem

2006-03-14 Thread Arash Bijanzadeh
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

Re: How can i manually save and restore a view's state?

2006-03-14 Thread Marios Kerkemezos
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 don’t know what the list policy about directly emailing other members is, but I guess I’ll

Re: tomahawk inputSuggest[Ajax]

2006-03-14 Thread Werner Punz
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.

FW: How can i manually save and restore a view's state?

2006-03-14 Thread Nico Krijnen
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

file upload problem

2006-03-14 Thread Arash Bijanzadeh
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

Re: file upload problem

2006-03-14 Thread Marco Mistroni
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

Re: SaveState

2006-03-14 Thread Vladimir Coutinho
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

Re: SaveState

2006-03-14 Thread 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,

selectBooleanCheckbox with preselection does not update backingbean

2006-03-14 Thread Michael Heinen
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

Re: selectBooleanCheckbox with preselection does not update backingbean

2006-03-14 Thread Mike Kienenberger
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

Re: Yet another calendar (also works in Java Studio Creator)

2006-03-14 Thread Edwin Goei
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

Re: Yet another calendar (also works in Java Studio Creator)

2006-03-14 Thread Martin Marinschek
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

RE: Yet another calendar (also works in Java Studio Creator)

2006-03-14 Thread Santiago, Ray
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]

[m2] library project

2006-03-14 Thread Mario Ivankovits
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

Re: [m2] library project

2006-03-14 Thread Mario Ivankovits
#pragma ignore sorry - wrong list Ciao, Mario

Re: Using VariableResolver or ValueBinding in NonFacesRequestServlet

2006-03-14 Thread Udo Schnurpfeil
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:

Re: Using VariableResolver or ValueBinding in NonFacesRequestServlet

2006-03-14 Thread Hubert Rabago
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

Re: Using VariableResolver or ValueBinding in NonFacesRequestServlet

2006-03-14 Thread Hubert Rabago
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

Re: more than one h:messages

2006-03-14 Thread Dave
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

2006-03-14 Thread Dave
Is there way to list backing beans used by current page?Thanks! Yahoo! Mail Use Photomail to share photos without annoying attachments.

JSF value Change Listener Problem

2006-03-14 Thread Anthony Hong
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}

[help] t:panelTabbedPane height

2006-03-14 Thread Garner Shawn
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

DataModel.getRowData() works incorrect with managed bean in request scope

2006-03-14 Thread Anthony Hong
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

Re: DataModel.getRowData() works incorrect with managed bean in request scope

2006-03-14 Thread Anthony Hong
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

Re: [ANNOUNCE] MyFaces Core 1.1.2 Ready For Testing

2006-03-14 Thread Andrew Robinson
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

Re: JSF value Change Listener Problem

2006-03-14 Thread Mario Ivankovits
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

Re: Yet another calendar (also works in Java Studio Creator)

2006-03-14 Thread Edwin Goei
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

inputCalendar and Today is date format (Sorry if this is already covered)

2006-03-14 Thread Andrew Robinson
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:

Re: file upload problem

2006-03-14 Thread Arash Bijanzadeh
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

Compile error , dependency on struts tiles

2006-03-14 Thread Arash Bijanzadeh
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