Re: Link

2005-07-05 Thread Martin Marinschek
We also showed the sourceforge webapp at the JavaOne, was a nice thing to show that we do work on the AJAX stuff ;) regards, Martin On 7/4/05, Werner Punz <[EMAIL PROTECTED]> wrote: > Hehe actually I did not want to post the link yet again on the list and > annoy everybody the mail was more or l

Re: Link

2005-07-05 Thread Werner Punz
Woha... why didn´t you tell me, I would have made things ready for you guys. I hope the new layout made it in before Javaone, I cannot remember. Werner Martin Marinschek wrote: We also showed the sourceforge webapp at the JavaOne, was a nice thing to show that we do work on the AJAX stuff ;)

Re: Link

2005-07-05 Thread Martin Marinschek
Yes it did... the AJAX didn't work out of the box, though, but we got it running in a nightly session ;) (seemed to be a linux-windows line ending problem). regards, Martin On 7/5/05, Werner Punz <[EMAIL PROTECTED]> wrote: > Woha... why didn´t you tell me, I would have made things ready for you

Re: Link

2005-07-05 Thread Werner Punz
Martin Marinschek wrote: Yes it did... Good the AJAX didn't work out of the box, though, but we got it running in a nightly session ;) (seemed to be a linux-windows line ending problem). regards, Well, havent had time to test it yet in Linux, since I move my main dev back to Windows, due to

Re: is it possible to edit dynamic Tabular data?

2005-07-05 Thread Bruno Aranda
Hi Jason, I have a solution for you using myfaces. There will be more elegant solutions, but this one should work for you: I take for granted that you have your variable-length array in a backing bean (call 'arrayValues' for instance), with public accessor methods. The code for the jsp page could

Re: is it possible to edit dynamic Tabular data?

2005-07-05 Thread Martin Marinschek
That should work with MyFaces out of the box - the only thing you might need to do would be to set the preserveDataModel to true - value change listeners should not be necessary. regards, Martin On 7/5/05, Bruno Aranda <[EMAIL PROTECTED]> wrote: > Hi Jason, I have a solution for you using myface

Re: jsValueChangeListener + DataTable: onchange tag value is not correct

2005-07-05 Thread Martin Marinschek
I don't have too much time, so if you want to give it a try, I would be very thankful ;) regards, Martin On 7/5/05, Paul Klaer <[EMAIL PROTECTED]> wrote: > Ah :-) I hope you had good days at java one... Thanks for your fast answer. > > Yes, I think you're right, than we need a hole marker for

Triggering an action on form display

2005-07-05 Thread Aleksei Valikov
Hi. Could a anyone give me a quick hint? I need a certain action to be triggered every time the form is displayed. For instance, I have implemented some kind of validation for my business objects and depending on the validation results, I'll display different messages. (This validation has no

Antwort: RE: to continue with my Custom Component

2005-07-05 Thread mathias . werlitz
Well, you are resolving the valuebinding already in the tag. This should be done in the component itself. This way your component keeps a reference to the binding. In the Tag you should do something like: ValueBinding vb = context.getApplication().createValueBinding(validList); component.setValue

Antwort: RE: MYFACES-228: preserveDataModel=true and x:dataTable fixed?

2005-07-05 Thread mathias . werlitz
Does your reimplementation fix http://issues.apache.org/jira/browse/MYFACES-288 ? Did you test it with the DataList extension component? [EMAIL PROTECTED] schrieb am 05.07.2005 10:24:35: > Hi, > > I would like to solve this issue. I´ve reimplemented the UIData and > derived DataTable component

RE: Antwort: RE: MYFACES-228: preserveDataModel=true and x:dataTable fixed?

2005-07-05 Thread Broekelmann, Mathias
I´ve not tested it against this particular issue. It would save me a lot of time if you are able to test the provided patch against your issue and give me some feedback if it work or not. Mathias -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 0

Re: [JavaOne] A couple of sessions

2005-07-05 Thread Jon Harley
I missed your BOF due to jet lag, did you do some slides and if so are they available on the web somewhere? Thanks, Jon (also missed the beer get-together due to not reading all my mailing lists while at Java One!) _ Dr JW Harley

possible to edit Tabular data?

2005-07-05 Thread Jason Nichols
Hello:   I can’t find a way to do this using myEclipse JRI and was wondering if anyone knew a way with myFaces.   I’d have a table of elements bound to an ArrayList. I display it and have the user type in new values, but those new values are never saved. Since the ArrayList is generated

h:commandLink and onsubmit

2005-07-05 Thread Aruna Kumaraswamy
Hi,   I have a _javascript_ validation onsubmit of my form. When I click the commandLink the js gets called and throws the alert for validation failure. But the form submits even when the validation fails. Could you please let me know if I am not using this correctly.   SCRIPT:   function validate(

Re: is it possible to edit dynamic Tabular data?

2005-07-05 Thread Sean Schofield
Nice solution Bruno. I believe that you could also get the parameter directly out of the request using ExternalContext. That might be less strange than assuming the child component is the parameter (I didn't even know you could do it that way.) That way if you change the hierarchy of your compon

RE: possible to edit Tabular data?

2005-07-05 Thread Broekelmann, Mathias
try using a object with a getter and setter for your input value. So you have: -Original Message- From: Jason Nichols [mailto:[EMAIL PROTECTED] Sent: Monday, July 04, 2005 11:16 PM To: 'MyFaces Discussion' Subject: possible to edi

RE: Antwort: RE: to continue with my Custom Component

2005-07-05 Thread Mariano Petrakovsky
Hi... thanxs for the comments. The two list have different values... validList should be "1,2,3,4" and userList "6,7,8"... and I need the two results. My trouble is the binding, it's real... when I use the binding before response is send to client, all work fine... my component lists bindin

h:commandLink and h:dataTable multiple calls

2005-07-05 Thread Ergun Mihcioglu
Hi I'm using a commandLink in a dataTable. My command links are like these : This comman

Re: MYFACES-228: preserveDataModel=true and x:dataTable fixed?

2005-07-05 Thread Sean Schofield
Mathias, So far this looks good. I like that you've found a way to workaround treating UIData, etc. in a special manner when saving and restoring states. I'm having trouble with the Tomahawk patch. SVN is complaining about HtmlDataTablePhaseListener and HtmlDataTableHack. Are you removing thes

Re: h:commandLink and h:dataTable multiple calls

2005-07-05 Thread Zarar Siddiqi
What implementation and version of JSF are you using? This was a known bug in 1.0 and should be fixed in the latest version. Take a look at this: http://forum.java.sun.com/thread.jspa?forumID=427&threadID=534232 - Original Message - From: "Ergun Mihcioglu" <[EMAIL PROTECTED]> To: "M

RE: MYFACES-228: preserveDataModel=true and x:dataTable fixed?

2005-07-05 Thread Broekelmann, Mathias
Hi Sean, I´ve saw that if I don´t make it from root my path structure above the project is used in the patches, which is the problem right? I would like to create that patch on project root but svn does not create one (only an empty file). I´ve tried tortoise and subclipse without success. Mat

Re: MYFACES-228: preserveDataModel=true and x:dataTable fixed?

2005-07-05 Thread Sean Schofield
I haven't tried creating a patch from the project root since the reorg. I guess the next best thing is to manually edit the path in the patch after you create it so people can just drop it in and run it. So what's the deal with those other two classes? sean On 7/5/05, Broekelmann, Mathias <[E

My new Component

2005-07-05 Thread Mariano Petrakovsky
I finalize my component... two SelectManyLists with buttons, the elements moves between lists. Now I want make a .jar... and upload at some site for use of all with source for somebody want change, fix bugs or make better :P. Where I upload my component?... in sourceForg

Re: SelectItem and Hibernate

2005-07-05 Thread Jonathan Eric Miller
Check this document out. It describes the Open Session in View pattern which IMHO works great. I think this is largely what Steve was talking about except, what he said about Filter.destroy() being called after every request is not correct. It's only called when the filter is taken out of servic

Re: My new Component

2005-07-05 Thread Sean Schofield
Mariano, Now that we have a sandbox project setup that is the better place for it. I'm working on updating the website to add documentation on the new SVN structure and how to go about adding new components to the sandbox. In the meantime, you can try and checkout the latest source after reading

RE: JSF with JSR 168 Portlet

2005-07-05 Thread Stan Silvert
I haven’t seen this problem.  The car demo uses navigation rules extensively and it runs just fine as a MyFaces portlet.  The only thing you have to do is remove the redirects from faces-config.xml.   Which portal were you using?  Which version?  Various portal vendors (including JBoss Po

Re: MYFACES-228: preserveDataModel=true and x:dataTable fixed?

2005-07-05 Thread Sean Schofield
OK I committed these changes. Thanks for looking into this! Can we remove HtmlDataTablePhaseListener now? For now I just applied your patch but its seems like we can remove it. I will test it now in simple apps to see if MYFACES-228 is any better now. This will be good news because we need thi

Antwort: Re: MYFACES-228: preserveDataModel=true and x:dataTable fixed?

2005-07-05 Thread mathias . werlitz
Well, there is a bug in the new UIData implementation. ActionListener are fired although the commandLink was not clicked. I'm in contact with Mathias to solve this. Regards, Mathias Werlitz [EMAIL PROTECTED] schrieb am 05.07.2005 18:30:47: > OK I committed these changes.  Thanks for looking in

Re: Re: MYFACES-228: preserveDataModel=true and x:dataTable fixed?

2005-07-05 Thread Sean Schofield
I imagine we will find a few bugs as we go along. UIData is such a massive beast! I think Mathias has gotten us off to the right start though. His solution is definitely simpler. Feel free to send me a patch once its ready. sean On 7/5/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > We

Re: Re: MYFACES-228: preserveDataModel=true and x:dataTable fixed?

2005-07-05 Thread Sean Schofield
MYFACES-228 is still not resolved. Try changing openDataTable.jsf in the simple examples. Modify the and change to . Modified values are lost once you click a header or "scroll" to a new page. sean On 7/5/05, Sean Schofield <[EMAIL PROTECTED]> wrote: > I imagine we will find a few bugs as we

Re: Re: MYFACES-228: preserveDataModel=true and x:dataTable fixed?

2005-07-05 Thread Sean Schofield
See also update JIRA issue for additional comments. sean On 7/5/05, Sean Schofield <[EMAIL PROTECTED]> wrote: > MYFACES-228 is still not resolved. Try changing openDataTable.jsf in > the simple examples. Modify the and change to > . Modified values are lost once you click a header or > "scrol

Re: MYFACES-228: preserveDataModel=true and x:dataTable fixed?

2005-07-05 Thread Mike Kienenberger
On 7/5/05, Broekelmann, Mathias <[EMAIL PROTECTED]> wrote: > HtmlDataTablePhaseListener is obsolete, but only commented out of Excellent! HtmlDataTablePhaseListener was causing other problems and I had to put in a nasty hack to work around it. I'll finish reading this thread and install all of y

Re: Acegi and JSF integration

2005-07-05 Thread Victor Tatai
Hello Richard and Enrique, I have detailed yet another approach for integranting JSF and Acegi in my blog: http://www.jroller.com/page/vtatai/20050505#integrating_acegi_with_jsf Regards, Victor On 7/1/05, Enrique Medina <[EMAIL PROTECTED]> wrote: > Hi Richard, > > I'm currently using Acegi an

Re: MYFACES-228: preserveDataModel=true and x:dataTable fixed?

2005-07-05 Thread Sean Schofield
Mike, You don't even have to install the patches since they've been checked in. Its better if you work off the latest SVN code. That will make it easier for you to suggest your own patches. sean On 7/5/05, Mike Kienenberger <[EMAIL PROTECTED]> wrote: > On 7/5/05, Broekelmann, Mathias <[EMAIL P

Re: jsp:redirect after session timeout

2005-07-05 Thread Mike Kienenberger
On 7/4/05, Michael Wiedmann <[EMAIL PROTECTED]> wrote: > If the session timeout value expires (default: 30 min.) the user should > be redirected to the login page. This worked until some time in the past > but now (using myfaces 1.0.8, Tomcat 5.0.30) we notice the following: > > We have a code fra

Re: MYFACES-228: preserveDataModel=true and x:dataTable fixed?

2005-07-05 Thread Mike Kienenberger
On 7/5/05, Broekelmann, Mathias <[EMAIL PROTECTED]> wrote: > I would like to solve this issue. I´ve reimplemented the UIData and derived > DataTable components for this issue. However it will take some time to test > all usecases. > > This is what I´ve done so far: > > - reduce the error phrone

Re: MYFACES-228: preserveDataModel=true and x:dataTable fixed?

2005-07-05 Thread Mathias Broekelmann
Hi Sean, the last patch I've posted was different from the first one. I currently have no access to my working copy right now. So if it is possible please commit the last patch. Mathias Mike Kienenberger schrieb: On 7/5/05, Broekelmann, Mathias <[EMAIL PROTECTED]> wrote: I would like to

Re: MYFACES-228: preserveDataModel=true and x:dataTable fixed?

2005-07-05 Thread Sean Schofield
Sorry but I was confused by your new patch. I reverted the change and applied the newest patch. In the ened, the only difference was changes to UIData and I committed those. sean On 7/5/05, Mathias Broekelmann <[EMAIL PROTECTED]> wrote: > Hi Sean, > > the last patch I've posted was different f

Re: h:commandLink and onsubmit

2005-07-05 Thread Slawek
i dont know why your form is submited and if it should be or not, but try do it another way return is very importand! Slawek Hi, I have a javascript validation onsubmit of my form. When I click the commandLink the js gets called and throws the alert for validation failure. But the form s

Re: MYFACES-228: preserveDataModel=true and x:dataTable fixed?

2005-07-05 Thread Mike Kienenberger
Thanks. That took care of the stack trace.

Re: MYFACES-228: preserveDataModel=true and x:dataTable fixed?

2005-07-05 Thread Sean Schofield
OK, keep us posted on what else you find. sean On 7/5/05, Mike Kienenberger <[EMAIL PROTECTED]> wrote: > Thanks. That took care of the stack trace. >

Re: is it possible to edit dynamic Tabular data?

2005-07-05 Thread Slawek
i have stupid question but im so curious that i must ask... what does preserveDataModel attrib mean? tag library says that: "Indicates whether the state of the whole DataModel should be saved and restored. Default: false" but what doest it mean? what happends when model is saved (true) and wh

Re: h:commandLink and onsubmit

2005-07-05 Thread Zarar Siddiqi
Post the generated code.   - Original Message - From: Aruna Kumaraswamy To: users@myfaces.apache.org Sent: Monday, July 04, 2005 12:03 PM Subject: h:commandLink and onsubmit Hi,   I have a _javascript_ validation onsubmit of my form. When I click the com

Re: is it possible to edit dynamic Tabular data?

2005-07-05 Thread Mike Kienenberger
On 7/5/05, Slawek <[EMAIL PROTECTED]> wrote: > what does preserveDataModel attrib mean? Here's the best explanation I've found: http://www.marinschek.com/myfaces/tiki/tiki-pagehistory.php?page=ExtDataTable&diff=4 My understanding of that is that it should be used if your datamodel is not static

using myfaces components

2005-07-05 Thread Duncan Krebs
Hi, I’m stuck on an error message that I get when trying to setup the jscook component. Keeps saying unsupported component, below is the trace. Can anyone give me any pointers? Thanks. Also, I’m using the example web app as a foundation. Copied all the jars, copied the web.xml and example-

Re: MYFACES-228: preserveDataModel=true and x:dataTable fixed?

2005-07-05 Thread Mike Kienenberger
On 7/5/05, Sean Schofield <[EMAIL PROTECTED]> wrote: > OK, keep us posted on what else you find. I've switched back from h:dataTable to x:dataTable, and, while I haven't found any new problems with the new implementation, it still has the same problems I reported with the original implementation:

Re: using myfaces components

2005-07-05 Thread Sean Schofield
Which application server are you using? A good starting point is to use the example applications provided by MyFaces. Normally these are available in the nightly builds but those aren't being built right now because of the reorg. If you check back in a few days they should be ready. In the mean

Re: Acegi and JSF integration

2005-07-05 Thread Richard Wallace
I've done much the same, implemented a backing bean that handles authentication. I took the AuthenticationProcessingFilter out of the FilterChainProxy. I've got authentication working just fine now, the only thing left that I have to figure out is if there was a restricted URL that was reques

RE: using myfaces components

2005-07-05 Thread Duncan Krebs
Hi Sean, I'm using tomcat 5028, I have the example application working great, no errors. I copied all the jars over to my web app, copied the web.xml as well as the jsf faces config file, only thing commented out in web.xml are a couple of non-related servlets/mappings. I guess what I'm trying t

RE: Clicking on the + in Tree2

2005-07-05 Thread CONNER, BRENDAN \(SBCSI\)
Hi Sean, Do you know why I'm getting the behavior described below? In short, I cannot get my actionListener to get called when clicking on the navigation icon; I can only get it to be called when clicking on a graphic image (or anything else) that I supply to the body of . - Brendan -Origin

RE: is it possible to edit dynamic Tabular data?

2005-07-05 Thread Jason Nichols
All: Thank you for your replies. Of the three ideas I've tried the two most straightforward and unfortunately I don't think they worked. I'm going to try Bruno's idea of using a valueChangeListener next. If anyone's interested the pages are at http://npgrid.fsu.edu detail: 1)

Re: JSF with JSR 168 Portlet

2005-07-05 Thread Sunil Tiwari
Hi,   I am using IBM Websphere Studio Site developer 5.1.2 with Portal Toolkit 5.0.2.3 It provides JSF implementation in 2 ways. Websphere provides 2 kinds of portlets : one is IBM specific(not based on JSR 168) and the other one is IBM's own implementation of JSR 168 portlet. And it supports