RE: commandLink and javascript question

2005-03-25 Thread CLEMENT Sébastien GC EUR
Thanks for your reply Manfred. But it doesn't work:-( My code is : and my javascript function : function confirmDelete(obj) { var confirmMsg = document.get

Re: navigation component

2005-03-25 Thread Matthias Wessendorf
Matt, in short to 2) that is *normal* in JSF use inside of your navigation rules and you'll see the *right* page. HTH, Matthias Matt Conway wrote: Hi, I've noticed a couple of issues with the x:*navigation components, and was wondering if anyone had a solution: 1) If I go to another page (which

x:tree2

2005-03-25 Thread Roger Lee, NOTiFY
Using the example supplied with MyFaces I am trying to use the x:tree2 component. I have taken the backing class which I used with Web Galileo and converted it to use TreeNode. The JSP gets called and my "breakpoints" are displayed in the JBoss console, but no Tree is rendered or errors thrown

Re: SQL Injection attack

2005-03-25 Thread Stefan Langer
TS Rick Gruber-Riemer wrote: Hi Sorry for a maybe stupid question: how can a persistence framework be more secure? Do they include code to detect SQL injects - I have some doubts that automatic/configured O/R-mapping by itselv protects entirely from SQL-injection attacts. Is there more to it?

Re: tree2

2005-03-25 Thread Sean Schofield
What are you trying to achieve? Do you want a server-side tree without folders? If I knew more about what you wanted your tree to look like that might help me answer your questions easier. I don't have my source code handy (I am on the road) so I will try to answer your questions as accurately a

Re: Can't get MyFaces with tiles to save and restore bean states right

2005-03-25 Thread Bill Dudney
Hi Ray, A couple of thoughts: What is the scope of your bean (request, app etc) in the for the object. When you say that the db is updated do you mean the user hits 'go' the db is updated then when the page is being rendered the values are set to null? If that is the case I don't think MyFaces

Re: x:tree2

2005-03-25 Thread Sean Schofield
No error messages? Hmm. My guess is one of the following: 1.) Your tree has a rendered attribute of false 2.) Your tree has a value of null for its value attribute. Neither of these cases generates a warning in the logs although that might be a good idea? Are you assigning a value to the tree

Re: Tree2 nodes

2005-03-25 Thread Sean Schofield
Rob, You've touched on a subject that has come up recently on the dev list. I will describe the situation as it is now: Your tree data must implement TreeNode interface. You can use TreeNodeBase or some other class of your own that implements TreeNode interface. An adapter class would be a per

Re: tree2 with empty TreeNode as base exception

2005-03-25 Thread Sean Schofield
Rob, did you figure this one out yet? sean On Thu, 24 Mar 2005 16:47:42 -0500, Rob Decker <[EMAIL PROTECTED]> wrote: > > When I have an empty tree: > > treebacker.getTreeData { > return new TreeNodeBase("branch", "root", "0", true); > } > > I get this exception: > > [24 Mar 2005 16:42:46

Re: tree2

2005-03-25 Thread Rob Decker
See my posts that followed for more info on what I'm trying to do. I've the plus/minus signs working as a commandLink with an actionListener for toggling (posted the code in another post). Currently I'm trying to create an adapter between my data and the TreeNode interface so I don't have to wrap

Re: tree2 with empty TreeNode as base exception

2005-03-25 Thread Rob Decker
Yes, if TreeNode (the value returned by treeBacker.treeData) implements List you get this exception. - Original Message - From: "Sean Schofield" <[EMAIL PROTECTED]> To: "MyFaces Discussion" Sent: Friday, March 25, 2005 9:20 AM Subject: Re: tree2 with empty TreeNode as base exception >

RE: ADF Faces EA14 with MyFaces 1.0.9

2005-03-25 Thread Stan Silvert
Jonas, You are mixing classes from two different versions of MyFaces. PORTLET_REQUEST_FLAG was added a few weeks after portlet support was initially added to MyFaces. You are using the newer version of PortletUtil.class with an old version of MyFacesGenericPortlet.class. Stan Silvert JBoss,

RE: Request for suggestions on Resource Bundle keys?

2005-03-25 Thread Neal Haggard
I found my problem, yes you can use it as a map, allowing bundle keys with '.' in them. -Original Message- From: Neal Haggard [mailto:[EMAIL PROTECTED] Sent: Thursday, March 24, 2005 6:10 PM To: MyFaces Discussion Subject: Request for suggestions on Resource Bundle keys? I noticed in J

Re: navigation component

2005-03-25 Thread Matt Conway
Matthias Wessendorf wrote: in short to 2) that is *normal* in JSF Strange - if you feel like it could you (or someone else) explain why this is so I can get a better understanding of JSF internals? I assume this is something that will addressed in future specs? It just doesn't seem right that

Re: x:tree2

2005-03-25 Thread Roger Lee, NOTiFY
Are you assigning a value to the tree using something like ? Also the data needs to be wrapped in TreeNodeBase or your own custom class that implements TreeNode but it sounds like you are doing that. Yes my "backer" class does that. I have also taken the backer class (TreeBacker.java) from the ex

Support for JSF 1.2?

2005-03-25 Thread Jonathan Eric Miller
Does anyone know what the status of JSF 1.2 support is for MyFaces? Jon

Re: ADF Faces EA14 with MyFaces 1.0.9

2005-03-25 Thread Jonas Jacobi
Hi Stan, Thanks for your rapid reply. I have checked my application and I'm pretty sure that the only thing I did was adding the 1.0.9 RC1 libraries, and when that did not work reversed back to 1.0.8 to ensure it wasn't my application breaking. To be sure I'm going to check again. Thanks, Jo

RE: ADF Faces EA14 with MyFaces 1.0.9

2005-03-25 Thread Stan Silvert
I can’t tell how it is happening, but the old version of MyFacesGenericPortlet is definitely getting loaded along with the new version of PortletUtil.  You might try passing the –verbose flag to your VM to see where each class is loaded from.   Stan Silvert JBoss, Inc. [EMAIL PROTECTE

Re: Support for JSF 1.2?

2005-03-25 Thread Heath Borders
I didn't think that JSF 1.2 had been finalized yet. Until that happens, I don't think we need to worry about supporting it. Even when it does come out, we should probably still have our first priority be getting ourselves setup with all the apache infrastructure (nightlies, etc). On Fri, 25 Mar

Re: Support for JSF 1.2?

2005-03-25 Thread Jonathan Eric Miller
Yeah, I guess you're right. I was thinking that the spec was already finalized, but, that the RI hadn't come out yet, but, after looking at the JSF Web site, I see that the spec is still a "Early Draft Review." I was just wondering if any of the developers here have already started working on i

faces form post problem

2005-03-25 Thread Eric Wahlforss
hi, I'd like to post a form for comments on entries. the form should be posted to the entry page so that if one makes a comment to e.g. entry nr 1 (entry.jsf?id=1), the form should post to that page so that the entry info is still shown. How can I do that in jsf..? I'm now posting to entry.jsf,

Re: commandLink and javascript question

2005-03-25 Thread Eric Wahlforss
hi, not sure if this solves your problem, but you shouldn't write "javascript:" inside of element event handlers (onload,onmouseup etc). so your commandLink should be: actionListener="#{pspDocumentationBean.deletePreStudyAction}" onmousedown="confirmDelete('body:preStudyPSPRequirementsForm: c

Using myfaces with gui builder

2005-03-25 Thread Patrick B Haggood
Anyone using a gui tool with MyFaces? Mostly just interested in quickie layouts w/o having to hand code then compile to see what it looks like - backing beans I can do manually.

RE: ADF Faces EA14 with MyFaces 1.0.9

2005-03-25 Thread Mark Millman
I downloaded the myfaces-examples and am trying to run it in Oracle JDeveloper 10.1.3.0.2.  I installed it in its own workspace and project but when I attempt to run it I get the following error message.   500 Internal Server Error java.lang.NoSuchFieldError:  org.apache.myfaces.portlet.MyFa

Re: ADF Faces EA14 with MyFaces 1.0.9

2005-03-25 Thread Jonas Jacobi
Hi Mark, I'm glad to see that it is not the ADF Faces component bundle that is causing this :) I have not had a chance to find the cause yet, maybe Stan have a better idea of what it is now when it can be reproduced in the MyFaces samples. I'll continue on our side to make sure that there are

Antwort: Re: commandLink and javascript question

2005-03-25 Thread christian . rueedi
Here's the way I do it: styleClass="ButtonNormal NormalText" value="#{msg.common_cancel}" action="" immediate="true" accesskey="Z" false;}; "/> greets  Chris Eric Wahlforss <[EMAIL PROTECTED]> 26.03.2005 00:30 Bitte antworten an "MyFaces Discussion"                 An:        My