RE: Myfaces Portlet does not work when a bean is stored in Requestscope...

2008-04-21 Thread souravm
Hi Scott, Thanks again for clearing some of the basic points. For the better future reference purpose here I try to summarize our discussion/debate points. 1. Issue # 1 - How to handle initial Portlet request which has request parameters. Yes I do agree with you that Portals, according to

Re: MyFaces Tree2 Component

2008-04-21 Thread Grzesiek
Personally I regret tomahawk can't be used without myfaces (dependencies on `_shared` jars). 2008/4/21, spaduri [EMAIL PROTECTED]: Hi Krishna Tomahawk, trinidad are alomost similar implementations I guess, just wondering what kind of customization you are working on the Tree... Can you

Re: MyFaces Tree2 Component

2008-04-21 Thread [EMAIL PROTECTED]
This isn't correct; Tomahawk can be used with any JSF implementation, eg Sun's. In very old Tomahawk versions, you needed to add a shared jar if you weren't using myfaces but that was removed long ago. Regards, Simon Grzesiek schrieb: Personally I regret tomahawk can't be used without myfaces

RE: Using t:dataList with Ajax4JSF

2008-04-21 Thread Matt.Rossner-prest
Hi Martin, I see your point, I will make the changes. I've been on holiday all week hence the delay in my response, but thanks for your input on this. Matt -Message d'origine- De : Martin Marinschek [mailto:[EMAIL PROTECTED] Envoyé : vendredi 11 avril 2008 10:28 À : MyFaces Discussion

[OT] FacesTrace 0.9.0

2008-04-21 Thread Cagatay Civici
Hi, FacesTrace is a small library that can be used to display several visual trace info for JSF applications, also other than the trace features, it's quite a handy tool in the learning process of JSF. The new 0.9.0 version is released, The online demo is at:

Re: facelets: howto for writing custom components

2008-04-21 Thread arne anka
hi, but now i need to know, how exactly i do force attributes to be set You could simply output some kind of error message if a required value is not present. well, i could, of course, but i thougt there was some kind of mechanism i only need to hook into ... and, more important, how

Re: Leak in saveState?

2008-04-21 Thread Gerald Müllan
Hi, maybe comet would help here, instead of heavily pinging the server ;-) Yes, i am aware of comet but in our case it was for some reason not meaningful to use it. I can see that in some cases it may help, perhaps you wanna share the impl ? I just removed the two lines with the weak

how to avoid direct access to JSF pages?

2008-04-21 Thread lmk
Hi, Id like to prevent direct access to pages jsf, even the user is allowed to get the page requested, it's possible to allow only pages redirected or forwarded by the FacesServlet ? JSF can not redirect page under /WEB-INF/ directory, the directory wich user has no access... thanks !!

is there any date spinbox component available?

2008-04-21 Thread Sibel Nurla
Hello all, I would like to use a spinner for a date type, something similar to tr:inputNumberSpinbox, to be able to increase/ decrease dates values ( days, months, years) in an input field. Does anyone knows how to achieve this? Or will this component be available in the next release of Trinidad?

Re: JSF Value-Binding to Model Object doesnt work

2008-04-21 Thread Oliver Becker
I also tried injecting FqdnBean into DeviceBean and then access model object of FqdnBean i.e. Fqdn into DeviceBean as Fqdn fqdnVO = fqdnBean.getFqdn(); Result: It returns null How is your Fqdn instance created? (normally) Oliver

Update model values is executed without a proper h:form element

2008-04-21 Thread Oliver Becker
Hi MyFaces implementors, we've just encountered the following behaviour in MyFaces 1.1.5: Normally the update model value phase will be executed for those input components only that are children (or descendants) of the submitted form. However, if you place such an element (for example

[Trinidad] Depth of accessibility support? Any tips?

2008-04-21 Thread CT Arrington
Hi all First, my compliments to the Trinidad team - Trinidad looks like a tag library that isactually intended for use on large scale web systems. Everything seemsfully thought out and extensible. Moreover, the documentation and getting started content are comprehensive and easy to use. Very

Re: MyFaces Tree2 Component

2008-04-21 Thread Grzesiek
Yes, that is what should be. But in my case JSF Mojarra + Tomahawk causes a lot of problems, eg : 1. First (but it doesn't matter): 2008-04-21 13:22:02 org.apache.commons.digester.Digester error SEVERE: Parse Error at line 5 column 14: Document root element faces-config, must match DOCTYPE root

Re: MyFaces Tree2 Component

2008-04-21 Thread [EMAIL PROTECTED]
We should really use a different thread for this issue. However... Item (1) just looks like a plain old bug in tomahawk. Could you please post the first few lines of your faces-config.xml file? I don't know why (2) is happening for you... [EMAIL

Re: Leak in saveState?

2008-04-21 Thread wbirkhead
Gerald Müllan-3 wrote: I can see that in some cases it may help, perhaps you wanna share the impl ? I just removed the two lines with the weak references. So, only ugly duplication of code. :) Gerald, at the risk of sounding like a novice, can you point me to the lines of code with

Re: Leak in saveState?

2008-04-21 Thread [EMAIL PROTECTED]
wbirkhead schrieb: Gerald Müllan-3 wrote: I can see that in some cases it may help, perhaps you wanna share the impl ? I just removed the two lines with the weak references. So, only ugly duplication of code. :) Gerald, at the risk of sounding like a novice, can you

Two schedule components on one page

2008-04-21 Thread Tomasz Kaczor
Hi everybody Is there a way to put two tomahawk's schedule components on one page? If i do this only one is rendered. Thx

Re: MyFaces Tree2 Component

2008-04-21 Thread spaduri
Hi there I am planning to recommend JSF and MyFaces for the development of the application. like Navigation Tree on the left side, header, footer and body .. 1) Can any one share a piece of code or share any Ideas to develop Dynamic Navigation Tree(like ServerSideToggling ..I will get the

Re: Two schedule components on one page

2008-04-21 Thread Tomasz Kaczor
Sorry it was my mistake. I just put same binding in this two components. 2008/4/21, Tomasz Kaczor [EMAIL PROTECTED]: Hi everybody Is there a way to put two tomahawk's schedule components on one page? If i do this only one is rendered. Thx

Re: Myfaces Portlet does not work when a bean is stored in Requestscope...

2008-04-21 Thread Scott O'Bryan
souravm wrote: Hi Scott, Thanks again for clearing some of the basic points. For the better future reference purpose here I try to summarize our discussion/debate points. 1. Issue # 1 - How to handle initial Portlet request which has request parameters. Yes I do agree with you that

RE: how to avoid direct access to JSF pages?

2008-04-21 Thread James Clinton
I *think* if you use spring-web-flow 2.x, you can achieve this... -Original Message- From: lmk [mailto:[EMAIL PROTECTED] Sent: Monday, April 21, 2008 11:14 AM To: users@myfaces.apache.org Subject: how to avoid direct access to JSF pages? Hi, Id like to prevent direct access to pages

Re: Update model values is executed without a proper h:form element

2008-04-21 Thread Andrew Robinson
The form just produces an HTML form. All UIComponents in the tree are decoded, validated and updated per the specification. I believe that the core input* and select* controls do not update if the submittedValue for an EditableValueHolder is null. Therefore, you should check to see what form

Re: JSF Value-Binding to Model Object doesnt work

2008-04-21 Thread bansi
Hi Andrew Thanks for quick response. I tried using managed property but it still returns null. I do have ui:composition in my code but what i was wondering is when i use ui:include to include another xhtml file, if i dont have html and body tags in this xhtml file then how can i use jsf tags to

Re: JSF Value-Binding to Model Object doesnt work

2008-04-21 Thread Andrew Robinson
what do your registrations look like for your two beans in your faces-config.xml? Have you tried using EL to obtain the reference to fqdnBean? As far as ui:composition I usually have 1 template for my pages with the HTML and BODY and then use ui:composition for everything else: template.xhtml:

Re: MyFaces Tree2 Component

2008-04-21 Thread Grzesiek
first of all, thanks for you help... ?xml version='1.0' encoding='UTF-8'? !-- === FULL CONFIGURATION FILE == -- faces-config version=1.2 xmlns=http://java.sun.com/xml/ns/javaee; . It still gives an error : SEVERE: Parse Error at line 2 column 14:

[Trinidad] Trinidad Dialog Framework and Spring WebFlow

2008-04-21 Thread Richard Yee
Has anyone used the Trinidad Dialog Framework with Spring WebFlow? If so, can you share any tips that you may have on getting the two frameworks to work together. I am a little confused on how to map the Trinidad dialogs (view Id is dialog:someDialog) to the equivalent Spring flow. Since the

Re: View state- security

2008-04-21 Thread Scott O'Bryan
Kamal Parmar wrote: Hello People, I am pen-tester so please bear with any lack of knowledge on my part ;) I am reviewing a MyFaces web application which appears to have very large values for View State being posted back. The View State, once base64 decoded and gunzipped, measures anywhere

panelTabbedPane submit on serverside tab-switching

2008-04-21 Thread Christian Kölle
Hello everyone, I have a form containing a tomahawk panelTabbedPane which contains 4 tabbed panels. All tabbed panels contain a lot of input-fields. The problem is, as someone mentioned before 2 years ago, that the data entered in the form on TAB_A will be lost, when I switch to TAB_B, provided

AW: panelTabbedPane submit on serverside tab-switching

2008-04-21 Thread Christian Kölle
Sorry, I forgot to mention this: I also would really like to use server-side tab switching, because the various tabs show different views on the same data, i.e. if I enter a address on TAB_C and then switch to TAB_A the value entered should be shown in a different way. So the TABS represent

difficulty implementing t:columns

2008-04-21 Thread Aaryn Olsson
Hello, I am having difficulty implementing t:columns and keep getting this error message (using either MyFaces 1.2.2 or JSF 1.2_07). java.lang.IllegalStateException: UIColumns component must be a child of a UIData component I've attached my JSP and my backing bean. What am I missing here?

Re: Myfaces Portlet does not work when a bean is stored in Requestscope...

2008-04-21 Thread Scott O'Bryan
A quick list of items that will be addressed as part of 301 in JSF 1.2 over other bridges are: 1. Better thought through request scope 2. Extendible GenericFacesPortlet allowing custom behavior and mixture of portlet/jsf generated content while still being able to use the bridge 3. Much better

RE: Myfaces Portlet does not work when a bean is stored in Requestscope...

2008-04-21 Thread souravm
Hi Scott, Thanks for the list. Is there any good documentation available anywhere to help starting with My faces JSF 1.2 and the Portlet Bridge ? I was trying to experiment with them. But at a first step itself I'm getting problem once we put the respective jars in the jboss server. The

Re: Myfaces Portlet does not work when a bean is stored in Requestscope...

2008-04-21 Thread Scott O'Bryan
I would be surprised if JBoss didn't have JSF built in. Since the RI is under development, there is no real good documentation. On the wiki I have a page which outlines getting Pluto installed in Tomcat6, presumably you could use the RI or MyFaces with that. Scott souravm wrote: Hi Scott,

RE: Myfaces Portlet does not work when a bean is stored in Requestscope...

2008-04-21 Thread souravm
JBoss Portal Server works fine with JSF 1.2. The problem starts when I add the portlet-bridge-api-1.0.0-alpha-2.jar and portlet-bridge-impl-1.0.0-alpha-2.jar. It gives error while parsing the faces-config.xml file in Manifest folder of portlet-bridge-impl-1.0.0-alpha-2.jar. It says Parse Error

Re: Myfaces Portlet does not work when a bean is stored in Requestscope...

2008-04-21 Thread Scott O'Bryan
Hey Souravm, are you on the dev list? We should probably continue this there. Scott souravm wrote: JBoss Portal Server works fine with JSF 1.2. The problem starts when I add the portlet-bridge-api-1.0.0-alpha-2.jar and portlet-bridge-impl-1.0.0-alpha-2.jar. It gives error while parsing

RE: Myfaces Portlet does not work when a bean is stored in Requestscope...

2008-04-21 Thread souravm
Ok. I'm not currently in dev list. Let me add myself there and let you know. Regards, Sourav -Original Message- From: Scott O'Bryan [mailto:[EMAIL PROTECTED] Sent: Monday, April 21, 2008 5:05 PM To: MyFaces Discussion Subject: Re: Myfaces Portlet does not work when a bean is stored in