Re: f:verbatim bug?

2006-09-15 Thread Behrang Saeedzadeh
Mike, I tested the code that wasn't working as expected on Glassfish and Sun's implementation of JSF 1.2 and it worked fine. So maybe this should be a bug with MyFaces or an inefficiency of JSF 1.1? Regards, Behi On 9/15/06, Mike Kienenberger <[EMAIL PROTECTED]> wrote: I think it's a usage err

Re: datatable and htmlcommandlink?

2006-09-15 Thread Mr Arvind Pandey
Hi, u r right. u can use preserveDataModel="true" in datatable. if it is true then action method surely be invoked. But the problem is if u want to delete the row from table and afetr deletion you want to display the same page then row will be deleted from DB but page will contain that row. I

RE: Tomahawk - panelNavigation2 with facelets

2006-09-15 Thread Kumar, Abhilash (Gok)
I have noted that if the state saving method is client AND if you have h:form tags surrounding the tag AND if you have a second form in the page which does a post back, then the menu items are getting multiplicated on post back of the second form. I have filed a bug report for this. https://issue

Re: writing optimal HtmlSelectManyListbox converter

2006-09-15 Thread Mike Kienenberger
Yes, in my situation, the converters are all registered by class, so I cannot call a Converter constructor (or a converter property). Having a value binding was the best possible compromise -- after all, I can change the registered managed bean in the config file or in the code if it came to that.

Displaying totals in Trinidad TreeTable

2006-09-15 Thread Naresh Bhatia
Title: Displaying totals in Trinidad TreeTable I am looking for ideas on how to extend the Trinidad TreeTable to display totals at various levels of the hierarchy. The "total" rows should look distinct from others, so they need to have different styling. Would such TotalRows be physically ins

Re: somebody have seen this error?

2006-09-15 Thread Rogerio Pereira
Thx, but was another cause.2006/9/15, Mike Kienenberger <[EMAIL PROTECTED]>: Maybe you're t:saveStating a bean with UIComponents as instancevariables?   Declare them as "private transient UIComponentcomponentBinding;" instead.On 9/15/06, Rogerio Pereira < [EMAIL PROTECTED]> wrote:> I'm trying to fi

Re: writing optimal HtmlSelectManyListbox converter

2006-09-15 Thread Sławek Sobótka
thanx for response and sharing of Your ideas. i would like to register ma converter and use it on many pages. but when i hardcode this #{backingBean.selectItemList} than obvoiusly my converter is coupled with one specific bean (and few specific pages - in optimistic case) :/ btw: now im doing i

Re: somebody have seen this error?

2006-09-15 Thread Mike Kienenberger
Maybe you're t:saveStating a bean with UIComponents as instance variables? Declare them as "private transient UIComponent componentBinding;" instead. On 9/15/06, Rogerio Pereira <[EMAIL PROTECTED]> wrote: I'm trying to find where this class is being used in my app: javax.faces.FacesException:

Re: [old thread] Re: Screen refresh

2006-09-15 Thread Mike Kienenberger
On 9/15/06, Jeff Bischoff <[EMAIL PROTECTED]> wrote: (A response to the message by Mike Kienenberger 2005-11-07 16:56) Have you had any luck with your scrolling ideas, in the time since this thread? I'm sure that by now you must have figured something out to accomplish what you were trying to d

Re: Problem with

2006-09-15 Thread Jeff Bischoff
Dominik, I received the files. I can confirm that I am seeing the strange behaviour you have told us about. And this behaviour persists even when I replace the myfaces jars with a newer version. This seems like it must be one of those things where the answer is so simple, we'll all have to sl

[OT] RE: commandButton in a dataTable

2006-09-15 Thread Frank Russo
I agree with that as well. It's worth it. I just wanted everyone to be aware of the time needed. BTW, this is the off topic part, but has anyone looked at Flex. I saw a presentation on it the other night sponsored by the New York City JUG at Google's NY Office. I have to say I was pretty impresse

Another test

2006-09-15 Thread Leyzerzon, Simeon
Title: Another test test == Please access the attached hyperlink for an important electronic communications disclaimer: http://www.credit-suisse.com/legal/en/disclaimer_email_ib.html ==

[old thread] Re: Screen refresh

2006-09-15 Thread Jeff Bischoff
(A response to the message by Mike Kienenberger 2005-11-07 16:56) Mike, Have you had any luck with your scrolling ideas, in the time since this thread? I'm sure that by now you must have figured something out to accomplish what you were trying to do. In any case, I made a simple javascript

RE: test

2006-09-15 Thread Leyzerzon, Simeon
Title: test   == Please access the attached hyperlink for an important electronic communications disclaimer: http://www.credit-suisse.com/legal/en/disclaimer_email_ib.html =

Re: commandButton in a dataTable

2006-09-15 Thread Jeff Bischoff
> I have to say for any newbies out there, I've been working with JSF for > a couple of months, but I haven't had the time to really learn the ins > and outs of the framework. I'm just piecing together and learning things > as I need it. My advice is to only start a JSF project if you really > hav

test

2006-09-15 Thread Leyzerzon, Simeon
Title: test This is a test == Please access the attached hyperlink for an important electronic communications disclaimer: http://www.credit-suisse.com/legal/en/disclaimer_email_ib.html

somebody have seen this error?

2006-09-15 Thread Rogerio Pereira
I'm trying to find where this class is being used in my app:javax.faces.FacesException: java.io.NotSerializableException: java.util.RandomAccessSubList at org.apache.myfaces.shared_impl.util.StateUtils.getAsByteArray(StateUtils.java:191) at org.apache.myfaces.shared_impl.util.StateUtils.construct(

RE: the sinful JSF in JSP

2006-09-15 Thread Iordanov, Borislav \(GIC\)
Hmm, In my case, it doesn't render "Hello world" at all. And there's not exception printout either. BTW, does this functionality need to "extension filter"? I'm not using it since I'm developing with portlets. -Original Message- From: Damon Weyant [mailto:[EMAIL PROTECTED] Sent: Friday, S

Re: Tomahawk 1.1.3 on JSF 1.2 RI problem

2006-09-15 Thread William Huang
possible that's the problem, based on the jsf 1.2 release notes, there were some changes required on tag classes and tag handler classes. I might need to take a look at the tomahawk-facelets-1.0.10.jar also. William Huang Product Development Team IntraLinks, Inc. 99 Bedford Street Boston, MA 021

RE: the sinful JSF in JSP

2006-09-15 Thread Iordanov, Borislav \(GIC\)
If any MyFaces developers/experts could comment on the following: since the the body content of the f:view is buffered and moreover it is being processed at the end for save state markers, how hard would it be to: 1) render start/end markers with the component id for every JSF tag that appears in

Re: Tomahawk 1.1.3 on JSF 1.2 RI problem

2006-09-15 Thread Mike Kienenberger
That said, I think our components can probably work under both implementations. All of the attributes you listed were originally defined as generic component attributes with a fully-qualified org.apache initially. I wonder if that has something to do with it? On 9/15/06, Dennis Byrne <[E

RE: the sinful JSF in JSP

2006-09-15 Thread Damon Weyant
Try the following: In my project, it generated the following: Hello world Hope this helps... - Damon -Original Message- From: Iordanov, Borislav (GIC) [mailto:[EMAIL PROTECTED] Sent: Friday, September 15, 2006 3:06 PM To: MyFaces Discussion Subject: RE: the sinful JSF in

RE: the sinful JSF in JSP

2006-09-15 Thread Iordanov, Borislav \(GIC\)
Great to hear! B -Original Message- From: Dennis Byrne [mailto:[EMAIL PROTECTED] Sent: Friday, September 15, 2006 3:00 PM To: MyFaces Discussion Subject: Re: the sinful JSF in JSP They have been fixed in JSF 1.2 . Dennis Byrne >-Original Message- >From: Iordanov, Borislav \(G

RE: the sinful JSF in JSP

2006-09-15 Thread Iordanov, Borislav \(GIC\)
How does t:htmlTag work. For example: hello Generates: hello

Thanks, Bolerio -Original Message- From: Damon Weyant [mailto:[EMAIL PROTECTED] Sent: Friday, September 15, 2006 2:05 PM To: MyFaces Discussion Subject: RE: the sinful JSF in JSP Try using the component from the Toma


Re: Tomahawk 1.1.3 on JSF 1.2 RI problem

2006-09-15 Thread Dennis Byrne
Tomahawk components work great with MyFaces 1.1 implementations and the 1.1 RI only. If you choose to move to JSF 1.2, you are basically leaving a rich third party component market behind for now. Dennis Byrne >-Original Message- >From: William Huang [mailto:[EMAIL PROTECTED] >Sent: Fr

Re: the sinful JSF in JSP

2006-09-15 Thread Dennis Byrne
They have been fixed in JSF 1.2 . Dennis Byrne >-Original Message- >From: Iordanov, Borislav \(GIC\) [mailto:[EMAIL PROTECTED] >Sent: Friday, September 15, 2006 02:46 PM >To: 'MyFaces Discussion' >Subject: RE: the sinful JSF in JSP > >Thanks for the pointer! > >JSF has been in developmen

Tomahawk 1.1.3 on JSF 1.2 RI problem

2006-09-15 Thread William Huang
I recently upgrade to JSF 1.2 from MyFaces 1.1.3, my tomahawk tree2 doesnt seem to work correctly, it displays the tree, but the attributes like clientSideToggle="false" showRootNode="false" showNav="false" showLines="false" are all broken. Thanks, Bill Disclaimer: This electronic mail and any at

RE: the sinful JSF in JSP

2006-09-15 Thread Iordanov, Borislav \(GIC\)
Thanks for the pointer! JSF has been in development for more than 5 years now, and its integration with JSP was explicitly taken into account since the very beginning. Those are not minor incompatibilities, they are very close to show stoppers! And honestly, the fact that they are "well-known" and

Re: Two dataList in same page

2006-09-15 Thread Mike Kienenberger
Is #{subscriptionCategoryBean.subscriptions} request-scoped? If so, try using t:saveState to persist it across a page, or change it to session-scoped, or use some other persisting mechanism. On 9/15/06, Patrick Dreyer <[EMAIL PROTECTED]> wrote: Hi, I don't like the prosa form and so: * Tomcat

Re: the sinful JSF in JSP

2006-09-15 Thread Dennis Byrne
> > > You will have to wrap the p tags in f:verbatim tags. You may also try the t:html tag ( tomahawk tag library ). Facelets is another option. >Bolerio Dennis Byrne

Two dataList in same page

2006-09-15 Thread Patrick Dreyer
Hi, I don't like the prosa form and so: * Tomcat 5.5.17 * MyFaces 1.1.3 * Tomahawk 1.1.3 * Page with two dataList; subscriptionCategories and subscriptions * Links of subscriptionCategories work fine * Links of subscriptions don't work at all; action doesn't get called * Using dataTable for subsc

Re: the sinful JSF in JSP

2006-09-15 Thread Dennis Byrne
Boris, don't let ideas like this influence your development. Despite a handful of well known incompatibilities [1], there is nothing wrong with writing applications where HTML, JSF, JSP, JSTL and servlets are mixed, just as there is nothing wrong with mixing JDBC and an ORM. I really wish so ma

RE: the sinful JSF in JSP

2006-09-15 Thread Iordanov, Borislav \(GIC\)
Well, I'd thought of verbatim, or another outputText with value="", but that's it??? Hard to believe...it's really sad, sigh :( -Original Message- From: L Frohman [mailto:[EMAIL PROTECTED] Sent: Friday, September 15, 2006 2:14 PM To: 'MyFaces Discussion' Subject: RE: the sinful JSF in JSP

RE: the sinful JSF in JSP

2006-09-15 Thread L Frohman
or -Original Message- From: Damon Weyant [mailto:[EMAIL PROTECTED] Sent: Friday, September 15, 2006 11:05 AM To: MyFaces Discussion Subject: RE: the sinful JSF in JSP Try using the component from the Tomahawk library. - Damon -Original Message- From: Iordanov, Borislav (G

RE: the sinful JSF in JSP

2006-09-15 Thread Damon Weyant
Try using the component from the Tomahawk library. - Damon -Original Message- From: Iordanov, Borislav (GIC) [mailto:[EMAIL PROTECTED] Sent: Friday, September 15, 2006 2:01 PM To: MyFaces Discussion Subject: the sinful JSF in JSP Guys, I know it's anathema to use JSF with JSPs, but s

the sinful JSF in JSP

2006-09-15 Thread Iordanov, Borislav \(GIC\)
Guys, I know it's anathema to use JSF with JSPs, but since people have already invested in JSP, it's kind of unavoidable. Also, the mixup of the two technologies is promoted by the JSF spec team. Now, let's say I want to have a paragraph with text, where the text comes from some managed bean. I

RE: f:attribute problem

2006-09-15 Thread Iordanov, Borislav \(GIC\)
Ok, it's a bug then -Original Message- From: Thorbjørn Ravn Andersen [mailto:[EMAIL PROTECTED] Sent: Friday, September 15, 2006 1:20 PM To: MyFaces Discussion Subject: Re: f:attribute problem Iordanov, Borislav (GIC) skrev den 15-09-2006 18:33: > Well, thanks, but still, isn't that

Re: f:attribute problem

2006-09-15 Thread Thorbjørn Ravn Andersen
Iordanov, Borislav (GIC) skrev den 15-09-2006 18:33: Well, thanks, but still, isn't that a bug in f:attribute? As I understand it, the f:attribute expression is evaluated at a different time where the sRequest variable is not in scope anymore. -- Thorbjørn smime.p7s Description: S/MIME

RE: f:attribute problem

2006-09-15 Thread Iordanov, Borislav \(GIC\)
Yes, I want to get the attribute when I'm processing the action. I don't understand the use of f:param. I thought it's for setting request parameters and this doesn't work well in a portal environment (probably they won't be scoped for the particular portlet). In any case, the question remains:

RE: JSCookMenu Stylesheet and Facelets Problem

2006-09-15 Thread Tom Innes
I use the version that comes with Exadel Studio from around June.  My guess is that it is the 1.11 Release.   The message occurs the first time the page is compiled.   When I finish with the changes to the Stylesheet I will see if I can modify the _javascript_ and have it behave differe

RE: f:attribute problem

2006-09-15 Thread Hagen, Nicholas
Don't you want to use f:param to set parameters on commandLinks? Or are you actually trying to store the value in the attribute map of the command link component and when you try to get the attribute out of the attribute map it is null? Nick -Original Message- From: Iordanov, Borislav (G

RE: f:attribute problem

2006-09-15 Thread Iordanov, Borislav \(GIC\)
Well, thanks, but still, isn't that a bug in f:attribute? Don't want to use tomahawk tags at this time, especially when there shouldn't be a need. -Original Message- From: Thorbjørn Ravn Andersen [mailto:[EMAIL PROTECTED] Sent: Friday, September 15, 2006 12:29 PM To: MyFaces Discussion

Re: f:attribute problem

2006-09-15 Thread Thorbjørn Ravn Andersen
Iordanov, Borislav (GIC) skrev den 15-09-2006 18:25: Hi, Given the code: The value of #{sRequest.id} in the outputText tag is correctly evaluated (it displays), but not so for the f:attribute where the evaluation returns null. Any idea why? I need to attach th

f:attribute problem

2006-09-15 Thread Iordanov, Borislav \(GIC\)
Hi, Given the code: The value of #{sRequest.id} in the outputText tag is correctly evaluated (it displays), but not so for the f:attribute where the evaluation returns null. Any idea why? I need to attach this attribute to the command component as a parameter to m

Re: wizard-style JSF application: looking for words of wisdom

2006-09-15 Thread William Huang
then I think a nice solution is Andrew Robinson's method (JBoss Seam & Facelets), but instead of JBoss Seam, use tomahawk savestate. I think there is also a conversation jsf tag/component from tomahawk as well. William Huang Product Development Team

Re: wizard-style JSF application: looking for words of wisdom

2006-09-15 Thread Henrik Bentel
They both look like good alternatives except I'm stuck on java 1.4.2 and EE 1.3 (weblogic 8.1). It seems they both require higher JDK/EE versions. -Henrik On 9/15/06, Adam Brod <[EMAIL PROTECTED]> wrote: Check out JBoss Seam or the Apache Shale project. They are both JSF frameworks with supp

Re: wizard-style JSF application: looking for words of wisdom

2006-09-15 Thread William Huang
This is exactly what we do also.. Instead of Seam to managed conversation beans, you can also use tomahawk savestate to managed conversation beans. William Huang Product Development Team "Andrew Robinson"

RE: Problem with using multiple dataTables in a JSP page

2006-09-15 Thread Mak NF
I managed to solved this problem by enclosing each dataTable in a tag and is working fine now. I don't know why this works... anyone can give an explanation? Thanks. From: "Mak NF" <[EMAIL PROTECTED]>Reply-To: "MyFaces Discussion" To: users@myfaces.apache.orgSubject: Problem with using multiple d

Re: wizard-style JSF application: looking for words of wisdom

2006-09-15 Thread Andrew Robinson
I have had several wizards in my application. I have never created an actual framework though that made me happy. I tend to have one controller backing bean with several "helper" backing beans. The state of the wizard is saved with the view, so that the navigation rules control the back/next/cance

Re: SelectOneRow problem: only called every second time

2006-09-15 Thread Mike Kienenberger
Using different versions for Tomahawk and Sandbox is NOT supported. Things will mysteriously break. It's unclear if you're using MyFaces Core 1.1.3 as well, and unfortunately, 1.1.3 is not compatible with 1.1.4 between Core and Tomahawk due to a bug fix for JSF RI javascript compatibility. On 9/

Re: JSCookMenu Stylesheet and Facelets Problem

2006-09-15 Thread Murat Hazer
I put all of the images, _javascript_s, css's to the overrriden STYLE_LOCATION path. So i only override STYLE_LOCATION. i don't see any warnings in the log files, what is the version of the facelets? On 9/15/06, Tom Innes <[EMAIL PROTECTED]> wrote: Thanks Murat,   I finally figure

Re: Several Errors/Problems after Upgrading from 1.1.1 to myfaces 1.1.4/tomahawk 1.1.5

2006-09-15 Thread Mike Kienenberger
On 9/15/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: I tried to upgrade from myfaces 1.1.1 to myfaces 1.1.4 and tomahawk 1.1.5 (I use the archives from http://people.apache.org/builds/myfaces/core-1.1.x/myfaces-core-1.1.4-r428254-SNAPSHOT-bin.zip) and an uptodate tomahawk snapshot) What is

Re: SelectOneRow problem: only called every second time

2006-09-15 Thread prem
I had the same problem, there was a panelGroup tag which had an id specified, I removed the id and tada..it worked! I'm using MyFaces/Tomahawk 1.13/Sandbox 1.1.4 with the MyFaces Portlet bridge. HTH Prem

Re: writing optimal HtmlSelectManyListbox converter

2006-09-15 Thread Mike Kienenberger
Yeah, this is an ugly situation because converters don't allow StateHolder like Validators and Components and it's hard to initialize them with a set of values. Here's how I handle it. I store the stuff in a backing bean and programmically fetch a reference to the backing bean. In your case, th

Re: datatable and htmlcommandlink?

2006-09-15 Thread Mike Kienenberger
h:dataTable value="#{sharkEngine.acceptedAssignments}" must remain constant from renderResponse of the first request through invokeAction of the second request. I handle this by using On 9/15/06, David Delbecq <[EMAIL PROTECTED]> wrote: Hello, I have a datatable that iterate over some data

RE: JSCookMenu Stylesheet and Facelets Problem

2006-09-15 Thread Tom Innes
Thanks Murat,   I finally figured out that the STYLE_LOCATION is just that a location and that MyFaces converts it into an absolute path.   What I was doing was passing an absolute path.  Once I changed the location to a relative one it worked.  Though it does leave a message in the lo

Re: t:columns myFaces...please help me

2006-09-15 Thread Mike Kienenberger
Right -- What I posted is only helpful inside of the t:columns columns. In the case where UICommand is inside of a t:dataTable column, you should simply iterate over the biosamplesTable.columns property that you defined. This is going to depend on how your application datastructures are defined.

Re: wizard-style JSF application: looking for words of wisdom

2006-09-15 Thread Adam Brod
Check out JBoss Seam or the Apache Shale project.  They are both JSF frameworks with support for widard-like flows. Adam Brod Product Development Team "Henrik Bentel" <[EMAIL PROTECTED]> wrote on 09/15/2006 11:22:56 AM: > Hi > > I'm developing a JSF webapp which works like a 'wizard' where th

wizard-style JSF application: looking for words of wisdom

2006-09-15 Thread Henrik Bentel
Hi I'm developing a JSF webapp which works like a 'wizard' where the user steps though several pages(or steps). The main navigation control are links like 'next', 'previous', and 'cancel'. I've done a couple of these 'wizard'-style apps, each very different in structure. I'm looking for suggest

Re: several tabbedPanes with several extended datatables: VM crash!

2006-09-15 Thread Mike Kienenberger
On 9/15/06, Stefan Gesigora <[EMAIL PROTECTED]> wrote: Yes, Mike you're right. But the bug I've reported was in such a complex context I can't fix it... But thanks for the information. Stefan, your other alternative in such situations is to hire someone to fix it for you. A number of the MyFac

Re: f:verbatim bug?

2006-09-15 Thread Mike Kienenberger
I think it's a usage error, not a bug. You'll need to do something like this: Or you should be able to use this (you probably

Re: f:verbatim bug?

2006-09-15 Thread Behrang Saeedzadeh
Gerald, Is this solved in JSF 1.2? Regards, Behi On 9/15/06, Gerald Müllan <[EMAIL PROTECTED]> wrote: This is not really a bug; It`s because mixing up a jsf component with html/jsp content in jsf 1.1. The problem (reverse order) results when the component tree is created. Try to composite the

Re: MyFaces/Tomahawk Redirect Tracker - can you turn it off?

2006-09-15 Thread Mike Kienenberger
Sorry, I lost internet access right after I sent a response, but before I had a chance to update the issue. I've put in what I think will work as a workaround (although I haven't tested it). On 9/15/06, Richard Koch <[EMAIL PROTECTED]> wrote: Thanks for this information/link. The bug conversa

JsCookMenu change css style when menu item are disabled

2006-09-15 Thread Alexandre Jaquet
Hi, I would like to know how can I change the css style of a disabled menu item. I've try to set it in a constructor like that myNavigationMenuItem(String textCode, String goString, boolean splitBefore, boolean disabled) { super(UtilGui.getTranslationText(textCode), goString, null, split

RE: MyFaces/Tomahawk Redirect Tracker - can you turn it off?

2006-09-15 Thread Richard Koch
Thanks for this information/link. The bug conversation implies that you can disable the RedirectTracker but doesn't say how. Can anyone tell me if there is an archive that I can get earlier sandbox jar files (preferably one without this RedirectTracker feature/bug in it)? If not I guess I will h

writing optimal HtmlSelectManyListbox converter

2006-09-15 Thread Sławek Sobótka
welome back guys. after 1 year of coding fat swt/swing clients i'm backing to jsf business (and to your great comunity;). i can't find SelectItems list in nym converter:( here is the situation: i have selectManyListbox thats value is binded to List. select items are binded to List but each Sele

Re: MyFaces/Tomahawk Redirect Tracker - can you turn it off?

2006-09-15 Thread Mike Kienenberger
http://issues.apache.org/jira/browse/TOMAHAWK-672 On 9/15/06, Richard Koch <[EMAIL PROTECTED]> wrote: We are using Sun's RI for our application. I recently integrated Tomahawk and commons validators into our application so we can get file upload functionality easily implemented along with e

MyFaces/Tomahawk Redirect Tracker - can you turn it off?

2006-09-15 Thread Richard Koch
We are using Sun’s RI for our application.  I recently integrated Tomahawk and commons validators into our application so we can get file upload functionality easily implemented along with email and url validation.  To get url validation I had to include the sandbox jar too.    For fil

Re: Reset of forms

2006-09-15 Thread David Delbecq
This has been fixed, thanks Mike. Mike Kienenberger a écrit : > On 9/15/06, David Delbecq <[EMAIL PROTECTED]> wrote: >> using immediate=true is not possible. I will explain further what i need >> to achieve >> 1) immediate = true does not update the backing bean, i need them to be >> updated before

Re: f:verbatim bug?

2006-09-15 Thread Gerald Müllan
This is not really a bug; It`s because mixing up a jsf component with html/jsp content in jsf 1.1. The problem (reverse order) results when the component tree is created. Try to composite the page in another way where not mixing up the contents. When using facelets this issue should also be gone.

Re: Reset of forms

2006-09-15 Thread Mike Kienenberger
On 9/15/06, David Delbecq <[EMAIL PROTECTED]> wrote: using immediate=true is not possible. I will explain further what i need to achieve 1) immediate = true does not update the backing bean, i need them to be updated before action call David, this isn't relevent to the issue you want to solve.

RE: Dynamic PanelNavigation2 - Items getting duplicated on post

2006-09-15 Thread Kumar, Abhilash (Gok)
I have created a issue for this with Tomahawk. https://issues.apache.org/jira/browse/TOMAHAWK-673 -Original Message- From: Kumar, Abhilash (Gok) Sent: Friday, September 15, 2006 6:37 PM To: MyFaces Discussion Subject: RE: Dynamic PanelNavigation2 - Items getting duplicated on post Hell

Re: rendered="false" behaviour for f:subview

2006-09-15 Thread Behrang Saeedzadeh
Cagatay, According to the JavaDoc for the verbatim tag (http://myfaces.apache.org/impl/tlddoc/f/verbatim.html), it should not evaluate other JSF tags nested inside it. So the tags inside the verbatim should not be evaluated at all. But to my surprise MyFaces evaluates the JSF tags nested inside

RE: commandButton in a dataTable

2006-09-15 Thread Frank Russo
I tried the updateActionListener, but something was screwing with my css, and plus, I didn't want another dependency in my project, since my war is already about 25MB. I ended up using the f:setPropertyActionListener instead, and it worked the same. Very well I might add. I have to say for any new

RE: Dynamic PanelNavigation2 - Items getting duplicated on post

2006-09-15 Thread Kumar, Abhilash (Gok)
Hello Greg: I solved the problem. This happens if the state saving method is client and if there is a h:form tag surrounding the panelnavigationItems tag. But if I remove the h:form tag, then the javascript was not getting properly generated; i.e, when I click on a parent navigation , I will get

Re: f:verbatim bug?

2006-09-15 Thread Behrang Saeedzadeh
Hi Gerald, Earlier I was using t:htmlTag but it is very verbose and turns the page into a mess. And using t:div won't solve the problem cause div is not the only tag I need to use. Besides that I need to know if this is a bug so I might be able to fix it... Regards, Behi On 9/15/06, Gerald Mül

Re: CommandButton and styleClass

2006-09-15 Thread andreygl
It is working now. Thank you, Gert. I'm using Apache MyFaces version 1.1.1. It is working with and it is working with . Looks like I didn't make full page refresh and it displayed contents from cache. Sorry for dummy question. Gert Vanthienen wrote: > > > Since the code that does this is share

Re: CommandButton and styleClass

2006-09-15 Thread Gert Vanthienen
L.S., I'm using MyFaces/Tomahawk myself (version 1.1.3) and I use the styleClass attribute for extensively: a submit button will automatically be triggered when enter is pressed in a form field, with styleClass we can make it look like every other action link on a page. e.g. renders as (o

Re: t:columns myFaces...please help me

2006-09-15 Thread danielitob
Thanks very much Mike, you've cleared my ideas... however my question is: suppose i bind t:columns to a datatable and set as value a list... when i click on the button of the first row of my datatable how can i retrieve data inserted into new columns? In summary i need to retrieve the entire row,t

Using Select-only-One-Component like SelectOnerRadio in

2006-09-15 Thread NABA
Hi!! I m newbie in JSF. I would like build a tree, who I can select only an node, or document irrespective from the layer. I tried it with the example from Myfaces. The Tree: 00 cellspacing="0">

Re: Reset of forms

2006-09-15 Thread David Delbecq
I wanted confirmation due to a list of items not showing as they should after navigation until i renavigate again to the page. However, investigations have shown it's a transaction error in another library that lead to the list of rebuild bean to still show old values until transaction is commite

Re: Reset of forms

2006-09-15 Thread Gert Vanthienen
David, Normally you should be able to get the behavior you're describing by using a navigation rule to the same page. In the render response phase, a response component tree should be built, based upon the updated values in backing bean. This way, components that available in some conditions

Re: myfaces + dojo = Error running scripts from content:[object Error].

2006-09-15 Thread Werner Punz
ilities? If yes, move them over to programmatic javascript initialization. We had several issues with dojo tag faclities in the past and hence have moved our own dojo component code to pure programmatic javascript initialisation. I dont have a floating pane initialisation code handy, but this one come

Re: f:verbatim bug?

2006-09-15 Thread Gerald Müllan
Hi, try to get rid of the verbatim- and div tag; instead use t:div component and embed the outputText in it. cheers, Gerald On 9/15/06, Behrang Saeedzadeh <[EMAIL PROTECTED]> wrote: Hi, The following code snippet:

AW: verbatim bug?

2006-09-15 Thread Döring Markus
Looks like you have within the . Try something like -Ursprüngliche Nachricht- Von: Behrang Saeedza

datatable and htmlcommandlink?

2006-09-15 Thread David Delbecq
Hello, I have a datatable that iterate over some database values. Those values are subject to change, especially in quantity. The datatable is rendered like this: This basically renders a list of links that need to contain one

f:verbatim bug?

2006-09-15 Thread Behrang Saeedzadeh
Hi, The following code snippet: Should generate the value of the inside a div. But by looking at the generated code, it can be seen t

Re: Reset of forms

2006-09-15 Thread David Delbecq
Hi, the backing bean are being modified by the action, exactly as you suggest (except more over they are request scope and rebuild at each request, as very dependant on some database values). My problem is to be sure that the old components, which have local values, won't be used anymore after the

Re: Reset of forms

2006-09-15 Thread Gert Vanthienen
David, Wouldn't it be an option to create an backing bean containing your data object? You could store this containing bean in the session using JSF bean management and let it manage the lifecycle of the data object it contains. Your action method would have access to the correct state of t

Re: CommandButton and styleClass

2006-09-15 Thread andreygl
I'm using Tomahawk MyFaces control CommandButton attribute styleClass. It doesn't rendered on output in html. Even it isn't displayed if I set JSF control inside CommandButton like . Does anybody solve this problem? ould sid wrote: > > Hello, > I use MyFaces, I use styleClasse in CommandButto

Re: several tabbedPanes with several extended datatables: VM crash!

2006-09-15 Thread Stefan Gesigora
Hi!Yes, Mike you're right. But the bug I've reported was in such a complex context I can't fix it...But thanks for the information.@Gerald:I solved my problem:Instead of using only one tabbedpane with component binding and a panel and datatable inside now I use component binding for the panel and t

AW: Re: Start project?

2006-09-15 Thread Mosimann Matthias
Hi Gerald I'm not familiar with maven but it looks quit interesting and fit (I think so) exactly my needs. I will have a look at maven. Regards Matthias -Ursprüngliche Nachricht- Von: Gerald Müllan [mailto:[EMAIL PROTECTED] Gesendet: Freitag, 15. September 2006 11:03 An: MyFaces Disc

RE: myfaces + dojo = Error running scripts from content:[object Error].

2006-09-15 Thread Igor devor
Hi, I use IE6. and i have a dojo floatpanel (option executeScripts="true") that load a page with javascript and evaluate it. With firefox no problem. With IE6 i have this error when the floatpanel eval the page. And with some static html i have reproduce the error,

Re: Drill Down help

2006-09-15 Thread Titi Wangsa
ok i solved it using h:commandbutton erm new question say i have 130 items in a List and i use t:dataTable to display them and i use a t:dataScroller to scroll through the data say a page holds 20 items if i drill down, to say, record number 23 on page number 2, the details for that record gets

Re: Re: Start project?

2006-09-15 Thread Gerald Müllan
Ok, so then have a look at Exadel. You can create a skeleton jsf-web app at the beginning when starting with a new project. And sure, it`s not a need to use all the tools coming with Exadel; Just use the plain editors :) If you are a bit familiar with maven2 (to get the myfaces archetype this

Re: myfaces + dojo = Error running scripts from content:[object Error].

2006-09-15 Thread Werner Punz
This has nothing to do with dojo, what IE version are you using, the javascrt initialization as well as the generated code is perfectly compliant. html 4.01 transitional, strict: or xhmtl transitional: or xmhtl normal or I d

Re: Reset of forms

2006-09-15 Thread David Delbecq
using immediate=true is not possible. I will explain further what i need to achieve 1) immediate = true does not update the backing bean, i need them to be updated before action call 2) my action does commit some datas relative to my backing beans. This involve changing some lists in the backing be

Re: JSCookMenu Stylesheet and Facelets Problem

2006-09-15 Thread Murat Hazer
I had the same problem and following jscookmenu definition solved my problem...               org.apache.myfaces.STYLE_LOCATION="/faces/theme/jscookmenu/">                 regardsOn 9/14/06, Tom Innes <[EMAIL PROTECTED]> wrote: I am trying to override the S

Prevent double submit

2006-09-15 Thread Adrian Mitev
Hi all! I saw the generated html of the form and buttons/links there i saw that when submit the form clears its target: function clearFormHiddenParams_loginForm(currFormName) { var f = document.forms['loginForm']; f.elements['loginForm:_idcl'].value=''; f.target=''; } I thought that this could

Several Errors/Problems after Upgrading from 1.1.1 to myfaces 1.1.4/tomahawk 1.1.5

2006-09-15 Thread martin . kuhn
Hi, I tried to upgrade from myfaces 1.1.1 to myfaces 1.1.4 and tomahawk 1.1.5 (I use the archives from http://people.apache.org/builds/myfaces/core-1.1.x/myfaces-core-1.1.4-r428254-SNAPSHOT-bin.zip) and an uptodate tomahawk snapshot) Now I have some new problems in my application (an apllicat

  1   2   >