Thanks for your reply Manfred.
But it doesn't work:-(
My code is :
and my javascript function :
function confirmDelete(obj) {
var confirmMsg = document.get
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
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
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?
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
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
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
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
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
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
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
>
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,
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
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
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
Does anyone know what the status of JSF 1.2 support is for MyFaces?
Jon
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
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
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
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
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,
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
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.
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
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
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
26 matches
Mail list logo