Re: IF statement..?

2005-10-21 Thread Simon Kitching
Jeffrey Porter wrote: It would be nice to add in more control, just like in JSP's. e.g. <%if (myObject.getName().equalsIgnoreCase("BOB")) {/**something**/} Having code in your presentation page is a *very bad idea* for large projects with long lifetimes. That's why JSP is such garbage for lar

Re: sandbox scheduler

2005-10-21 Thread Sean Schofield
Let us know how it works and feel free to suggest patches. I don't know many people using it but it looks cool. It would be helpful to have some testers before we promote it. sean On 10/17/05, Martin Marinschek <[EMAIL PROTECTED]> wrote: > In fact, the scheduler has been pretty stable for some

Re: FileDownload capability?

2005-10-21 Thread Mike Kienenberger
No, the data being downloaded in the example below is read from the database. The "attachment;filename=" header just provides a default suggested file name for browsers that implement it. You can write out any data you like. You can generate it on the spot if you want. I have a similar control

Tree2 lazy load : Adds nodes but does not display

2005-10-21 Thread Anu Padki
I am trying the code on the wiki page and this is how my jsp looks When I debug the actionlistener, it finds the identifier of the main node and then adds the new nodes. It however, does not display the nodes. What am I missing here? Can some one please help? - Anu <%@ taglib uri="http://java.sun

Re: Action called twice

2005-10-21 Thread Julián García
In fact I was using a for javax.faces.CONFIG_FILES, despite the name was faces-config, however, the problem still persists, when I get rid of the context param. As I already mentioned, the problem is present whenever I use client state saving. Using server saving solves it, but since my use

MyFaces 1.1.1 RC3 - Tree2

2005-10-21 Thread Ryan Wynn
Tree2 from MyFaces 1.1.1 RC3 seems to behave differently in a portlet environment. I have the same application deployed in WebSphere Portal and Tomcat.  In Tomcat the actions associated with the tree node links get triggered.  In portal, they do not.  Otherwise the application behaves correctly in

RE: Action called twice

2005-10-21 Thread Kevin Hale Boyes
Check your web.xml file to see if you're including faces-config.xml if defined in the for javax.faces.CONFIG_FILES. faces-config.xml is automatically loaded by JSF so if you've specified in the context-param then it is loaded twice. This causes some actions to be called twice. At least, this i

commandLink: Open in NEW window

2005-10-21 Thread Dave
When I right click a command Link, open it in a new window in IE, the behavior is not expected. Since commandLink has an action in server side, when opening in a new window, the action is not executed.   Any solution for this?  Thanks, Dave Yahoo! FareChase - Search multiple travel sites in one

RE: FileDownload capability?

2005-10-21 Thread CONNER, BRENDAN \(SBCSI\)
Thanks. In your example, does one have to first write out the data to a file on the server? I see you set the header with attachment;filename=..., but then I also see that you have responseStream.write(selectedContent.getContentDate().getData()). - Brendan -Original Message- From: Mike

Re: Ajax components in sandbox seem to error under internet explorer

2005-10-21 Thread Werner Punz
Travis Reeder wrote: > IE version 6.029 has javascript errors on autoUpdateDataTable, > accordianPanel (inputsuggestAjax broke for another reason so couldn't > try it right now), but is the prototype.js fully IE compliant? > > Travis > Prototype is regarding IE6, I have used it a lot in different

RE: Comparable validation design

2005-10-21 Thread Jesse Alexander \(KBSA 21\)
-Original Message- > Ha ha! You're the expert on designing validators that wrap other validators. I'll let you write that one! :-) -/Original Message- Remember how I first objected to have OVW defined also as Validator... Just a few seconds later a first flash of cascaded vali

Re: Comparable validation design

2005-10-21 Thread Mike Kienenberger
> Ha ha! You're the expert on designing validators that wrap other validators. I'll let you write that one! :-) On 10/21/05, Jesse Alexander (KBSA 21) <[EMAIL PROTECTED]> wrote: > -Original Message- > 1) is what I'm currently > doing. > 2) > > a) Operator values being "eq", "ne",

RE: Comparable validation design

2005-10-21 Thread Jesse Alexander \(KBSA 21\)
-Original Message- 1) is what I'm currently doing. 2) a) Operator values being "eq", "ne", "lt", "gt", "ge", and "le" in addition to (or maybe instead of) b) "==", "!=", ">", "<", "=>'", and "=<". -/Original Message- I'd prefer from 1 and 2: proposal 2 from a and b: pro

Ajax components in sandbox seem to error under internet explorer

2005-10-21 Thread Travis Reeder
IE version 6.029 has _javascript_ errors on autoUpdateDataTable, accordianPanel (inputsuggestAjax broke for another reason so couldn't try it right now), but is the prototype.js fully IE compliant? Travis

Re: t:saveState server/client ... or request/session

2005-10-21 Thread Dennis Byrne
It appears HtmlResponseStateManager uses jsf_tree *OR* jsf_tree_64 . Can anyone give me a high level idea about the different circumstances that would affect this? For example, when does SerializedView.getStructure() return a String? Likewise, for jsf_state and jsf_state_64. Origina

Comparable validation design

2005-10-21 Thread Mike Kienenberger
I'm working on a greater-than validator, along the lines of the tomahawk equalsValidator. However, it occurs to me that it'd probably be better if one validator could support ==, !=, >, <, =>, and =< I'm wondering if anyone has suggestions for the best way to represent it. is what I'm currently

RE: Internationalization question

2005-10-21 Thread gvial
At the beginning of your you can have something like that: By default, I believe the proper bundle based on the locale will be loaded or the default one will be loaded. Then in your page, you'll just call something like that: Label.naming being defined in your properties file. Greg

Re: FileDownload capability?

2005-10-21 Thread Mike Kienenberger
Also, Sylvaine was talking about encapsulating this into a download component, but it hasn't happened yet. Feel free to beat him to it :) -Mike On 10/21/05, Mike Kienenberger <[EMAIL PROTECTED]> wrote: > Here's one way. > > Note that facesContext.getResponseStream() is only valid during the > r

Re: FileDownload capability?

2005-10-21 Thread Mike Kienenberger
Here's one way. Note that facesContext.getResponseStream() is only valid during the render-response phase, so you'll have to access the HttpRequest directly (not sure how it works for portlets). public String downloadContentData() { Content selectedContent = (Content)this.announc

RE: FileDownload capability?

2005-10-21 Thread Neal Haggard
This is possible to do fairly easily, here's some sample code: FacesContext facesContext = Utils.getFacesContext(); HttpServletResponse response = (HttpServletResponse) facesContext .getExternalContext().getResponse(); try { response.setContentTy

FileDownload capability?

2005-10-21 Thread CONNER, BRENDAN \(SBCSI\)
We have an application requirement saying that the user needs the ability to push a button on our report page to download the report data into a local file on the user's machine suitable for loading into a spreadsheet. How can something like this be done? - Brendan

RE: ClassCastException: for HtmlCommandLink

2005-10-21 Thread CONNER, BRENDAN \(SBCSI\)
Title: Message Which version of Tomahawk are you using?   - Brendan -Original Message-From: Anu Padki [mailto:[EMAIL PROTECTED] Sent: Friday, October 21, 2005 2:09 PMTo: MyFaces DiscussionSubject: Re: ClassCastException: for HtmlCommandLinkThanks for the reply. Here is t

Re: ClassCastException: for HtmlCommandLink

2005-10-21 Thread Anu Padki
Thanks for the reply. Here is the JSP. <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%> <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%> <%@ taglib uri="http://myfaces.apache.org/tomahawk" prefix="t"%> <[EMAIL PROTECTED] file="/inc/head.inc" %>         <%--     NOTE:

RE: ClassCastException: for HtmlCommandLink

2005-10-21 Thread CONNER, BRENDAN \(SBCSI\)
Title: Message Can you send the entire tree from your JSF page?   - Brendan -Original Message-From: Anu Padki [mailto:[EMAIL PROTECTED] Sent: Friday, October 21, 2005 1:58 PMTo: users@myfaces.apache.orgSubject: ClassCastException: for HtmlCommandLinkI am trying the la

ClassCastException: for HtmlCommandLink

2005-10-21 Thread Anu Padki
I am trying the lazy load for tree2 and the code looks like this                            rendered="#{t.nodeExpanded}" border="0" />             rendered="#{!t.nodeExpanded}" border="0" />           

RE: IF statement..?

2005-10-21 Thread CONNER, BRENDAN \(SBCSI\)
Although I believe the JavaBean convention is that a variable should start with a lower-case letter, in which case this is a non-issue. - Brendan -Original Message- From: Martin Marinschek [mailto:[EMAIL PROTECTED] Sent: Friday, October 21, 2005 11:52 AM To: MyFaces Discussion Subject: R

Internationalization question

2005-10-21 Thread PATRICIA GUEDES
Hi again, Anyone know how can I get a message from a messageBundle with a dynamic value-binding expression? Ex: Thanks. Guedes

Best way to reset DataScroller

2005-10-21 Thread Ryan Wynn
Is there an API for setting the UIDataScroller to a certain page?

javascript in onclick for h:commandLink

2005-10-21 Thread Rafael Nami
Hi everyone. I was trying to use a simple confirm _javascript_ in the h:commandLink, like this: value="Atender Chamado" confirm('Deseja atender este chamado?');" rendered="#{pc_DetalhesChamado.renderedAtenderChamado}"/> But a strange behavior is happening. If I put in the onclick the return, not

Re: JSF does not find managed bean

2005-10-21 Thread drvpspam-myfaces
Hi! I don't think so... I'm pretty sure that the reason of this conversion error is because the managed bean (LogonBean) is null... so when it tries to lookup for its methods, a FacesException is thrown. I'm saying this because I switched to the Sun RI to see if it works, but the same conversion

Re: IF statement..?

2005-10-21 Thread Mike Kienenberger
We need a wiki entry on where to find the specs, once someone actually figures it all out :) On 10/21/05, Martin Marinschek <[EMAIL PROTECTED]> wrote: > And it has moved! > > there is now the common EL specification separate from the JSP spec, afaik. > > but the thing with the uppercase notation

Re: IF statement..?

2005-10-21 Thread Martin Marinschek
And it has moved! there is now the common EL specification separate from the JSP spec, afaik. but the thing with the uppercase notation was defined even before, in the java beans-specification. regards, Martin On 10/21/05, Mike Kienenberger <[EMAIL PROTECTED]> wrote: > Yeah,the problem is that

Re: IF statement..?

2005-10-21 Thread Mike Kienenberger
Yeah,the problem is that the JSF Spec defers to the JSP spec for EL getter stuff. Only the EL setter stuff is specified. For example: 5.1.2 Value Binding Expression Syntax The syntax of a value binding expression is identical to the syntax of an expression language expression d

Date validations

2005-10-21 Thread TMcCullough
In regards to the Date component, has anyone added logic to prevent alpha characters from being entered in the Day and Year fields? This seems to blow up when the form is submitted. Also, the calendar popup does not work properly when alpha characters are entered in the Year field. <[Servlet

RE: IF statement..?

2005-10-21 Thread CONNER, BRENDAN \(SBCSI\)
Oh. Hmm, I would have thought that this question would be specific to the JSF EL. - Brendan -Original Message- From: Mike Kienenberger [mailto:[EMAIL PROTECTED] Sent: Friday, October 21, 2005 11:29 AM To: CONNER, BRENDAN (SBCSI) Subject: Re: IF statement..? No, it's not actually discu

RE: IF statement..?

2005-10-21 Thread CONNER, BRENDAN \(SBCSI\)
Yes, the question I had is: Would the JSP work by specifying value="#{myBean.uRL}"? - Brendan -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, October 21, 2005 11:24 AM To: users@myfaces.apache.org Subject: RE: IF statement..? In my bean I have

RE: IF statement..?

2005-10-21 Thread stefan.maric
In my bean I have public void setURL(URL u){ url = u; } public URL getURL(){ return url; } And in my jsp I have Where mYBean is defined in faces-config.xml Works fine - no problem Am using MyFaces v1.1.0 deplo

RE: Value binding - exception: can somone explain?

2005-10-21 Thread gramani
"Jeffrey Porter" <[EMAIL PROTECTED]> wrote on 10/21/2005 12:04:27 PM: > Opps, typo. I moved some code around to try firstname. Both fail though. >   > Let me test one more time… >   > JSP… > > Code… >     public String getSurname() { >         return surname; >     } >   >   > Error… > None. >

RE: IF statement..?

2005-10-21 Thread CONNER, BRENDAN \(SBCSI\)
Man, that's annoying. One would think that following the regular rule of capitalization would work, and that this special case of recognizing a capitalized first letter would be supported as an additional feature. It's hard for me to understand why the regular rule of capitalization would be speci

RE: Value binding - exception: can somone explain?

2005-10-21 Thread Jeffrey Porter
Opps, typo. I moved some code around to try firstname. Both fail though.   Let me test one more time…   JSP… Code…     public String getSurname() {     return surname;     }     Error… None.   Oh great, so I reboot the box & it works. Didn’t even recompile the code, a

Re: Value binding - exception: can somone explain?

2005-10-21 Thread speriyas
I guess it should be value = "#{beanname.variablename}". I assume usercontroller to be bean name and surname to be variable name. What is user - ? -Suba. Quoting [EMAIL PROTECTED]: > Not sure but aren't you mixing up "firstName" and "surname" maybe..? > Geeta > > "Jeffrey Porter" <[EMAIL PRO

Re: Value binding - exception: can somone explain?

2005-10-21 Thread gramani
Not sure but aren't you mixing up "firstName" and "surname" maybe..? Geeta "Jeffrey Porter" <[EMAIL PROTECTED]> wrote on 10/21/2005 11:47:45 AM: >   > Hello all again, >   > I’ve got the following tag in my JSP. “UserController.user.surname” > is a string. >   > > maxlength="20" size="20" req

Value binding - exception: can somone explain?

2005-10-21 Thread Jeffrey Porter
  Hello all again,   I’ve got the following tag in my JSP. “UserController.user.surname” is a string.   id="enteredByUID" value="#{UserController.user.surname}" maxlength="20" size="20" required="true" />   But I get an exception when I try to save the page.   javax.faces.el.Eval

Re: IF statement..?

2005-10-21 Thread Martin Marinschek
it should work with #{bean.ME} anything else would be a bug. regards, Martin On 10/21/05, CONNER, BRENDAN (SBCSI) <[EMAIL PROTECTED]> wrote: > So, according to the specification, should it work with either > #(bean.ME} or #{bean.mE}? I personally hate special case situations > built into a spe

RE: IF statement..?

2005-10-21 Thread CONNER, BRENDAN \(SBCSI\)
So, according to the specification, should it work with either #(bean.ME} or #{bean.mE}? I personally hate special case situations built into a spec, but, hey, if it works, ... ;-) - Brendan -Original Message- From: Martin Marinschek [mailto:[EMAIL PROTECTED] Sent: Friday, October 21, 2

Re: IF statement..?

2005-10-21 Thread Martin Marinschek
If this works, we have a bug in our implementation! no lowercasing should be done if more than one uppercase characters, this is in the beans specification. regards, Martin On 10/21/05, Martin Marinschek <[EMAIL PROTECTED]> wrote: > @Brendan: > > you are right in that if you have bean.getMe, yo

Re: IF statement..?

2005-10-21 Thread Martin Marinschek
@Brendan: you are right in that if you have bean.getMe, you'll need to write bean.me. if you have bean.getME though, you will need to write bean.ME - if there is more than one uppercase character already, no lowercasing is necessary. regards, Martin On 10/21/05, CONNER, BRENDAN (SBCSI) <[EMAI

Re: Action called twice

2005-10-21 Thread Mike Kienenberger
I'd start by checking to see if you're receiving multiple identical requests at the servlet level. Try to eliminate the non JSF issues first. Maybe it's a config issue where you've configured the servlet twice or something. On 10/21/05, Julián García <[EMAIL PROTECTED]> wrote: > Yes, and I use

Re: IF statement..?

2005-10-21 Thread Mike Kienenberger
Thanks, Brendan, for clearing that up. Just to be sure, I just tested it to verify it works this way with MyFaces/Facelets, and it did. Guess I should have tested before posting. :) On 10/21/05, CONNER, BRENDAN (SBCSI) <[EMAIL PROTECTED]> wrote: > Actually, it is allowed, if you reference it cor

Re: Action called twice

2005-10-21 Thread Julián García
Yes, and I used client side until it failed. Problem is that no components of our arquitechture have been touched. My question is, what could be causing the problem (at the hypotheses level, so I can try to figure out what's the issue going on) Thanks a lot. Julian CONNER, BRENDAN (SBCS

RE: PROBLEMS WITH TREE2

2005-10-21 Thread CONNER, BRENDAN \(SBCSI\)
Can you try with the latest release (1.1.1RC3)? - Brendan -Original Message- From: rosalba bochicchio [mailto:[EMAIL PROTECTED] Sent: Friday, October 21, 2005 5:02 AM To: users@myfaces.apache.org Subject: PROBLEMS WITH TREE2 I'm using myfaces 1.0.9. I have a problem with tree2...when I

Re: // requests

2005-10-21 Thread Andrew robinson
If you are willing to try out JBoss-Seam, you can have multiple conversations open in a user's session, and they will not collide. So if you want to allow users to have multiple views in the same session/browser instance, it is possible using Seam. You don't need JBoss for Seam either, I have had i

RE: Action called twice

2005-10-21 Thread CONNER, BRENDAN \(SBCSI\)
Something else must be going on there, because we're using client side state saving with no problems. - Brendan -Original Message- From: Julián García [mailto:[EMAIL PROTECTED] Sent: Friday, October 21, 2005 10:07 AM To: MyFaces Discussion Subject: Re: Action called twice Forgot to me

Re: Action called twice

2005-10-21 Thread Julián García
Forgot to mention, I have this problem when using save state on the client side. Changing the parameter to server side appears to solve the problem. I would like to use client server state anyway. Any clues on the issue? Julián García wrote: Not only actions, but all the methods get called t

RE: IF statement..?

2005-10-21 Thread CONNER, BRENDAN \(SBCSI\)
I think the general philosophy of JSF is to do any fancy logic inside the Bean itself, and to keep the JSF page relatively free of conditionals and loops. One is always free to create additional helper methods inside the Bean itself. - Brendan -Original Message- From: Jeffrey Porter [mai

Re: Action called twice

2005-10-21 Thread Julián García
Not only actions, but all the methods get called twice, including init methods. What would be a reason for this to happen? Please help, I'm stuck Julian Julián García wrote: Hi. > How are you identifying this problem? The problem is easily identified doing a step-by-step remote debug

RE: IF statement..?

2005-10-21 Thread Jeffrey Porter
It would be nice to add in more control, just like in JSP's. e.g. <%if (myObject.getName().equalsIgnoreCase("BOB")) {/**something**/} %> Maybe there's a way to pass a JSF object over to JSP code? So that you can call code that passes variables into a method. I don't know. I've only been learning

RE: IF statement..?

2005-10-21 Thread CONNER, BRENDAN \(SBCSI\)
Actually, it is allowed, if you reference it correctly. In your case, it would be: #{UserController.user.pQE} Normally, if you have a boolean method isXyz() in your bean MyBean, you can reference it using #{MyBean.xyz} - Brendan -Original Message- From: Mike Kienenberger [mailto:[EMAIL

Re: IF statement..?

2005-10-21 Thread Mike Kienenberger
Yeah, I think the only thing that works for sure is "public boolean getIsPQE()." "public boolean isPQE" isn't allowed as a managed bean property. On 10/21/05, Volker Weber <[EMAIL PROTECTED]> wrote: > Ok, that may be the reason that he didn't found an exception in his logs. > > but does #{UserCont

Re: Action called twice

2005-10-21 Thread Julián García
Hi. > How are you identifying this problem? The problem is easily identified doing a step-by-step remote debug on the application. Also, an action that inserts some data into my database tries to issue the insert query twice!. I also found that once it has inserted the data, if I refresh the

Re: dataTable question (again)

2005-10-21 Thread PATRICIA GUEDES
It works Finally... Thanks very much for your time and patience . Guedes On 10/21/05, Mathias Brökelmann <[EMAIL PROTECTED]> wrote: > sorry I forgot to answer your question. > > You should not initialize your RowData with a datamodel for your > fields as a second parameter. Instead pass the

Re: IF statement..?

2005-10-21 Thread Martin Marinschek
the other thing that causes problems very often is this: rendered="#{xxx.xxx" no errror-message, no nothing-no output as well where you could check... I have been spending hours on searching the cause for problems like this. regards, Martin > > (Normally would ask another developer to look ov

RE: IF statement..?

2005-10-21 Thread Jeffrey Porter
Thank you. Feel a bit of an idiot now.   (Normally would ask another developer to look over my code, but there’s only 1 & his away for 3 weeks)   Also #{UserController.user.isPQE} does not work.   Jeff.   -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]

Re: dataTable question (again)

2005-10-21 Thread Mathias Brökelmann
sorry I forgot to answer your question. You should not initialize your RowData with a datamodel for your fields as a second parameter. Instead pass the values for each field of this row and don´t put your values into your fields: private static final Fields[] fieldsEmbque = new Fields[] { ne

Re: IF statement..?

2005-10-21 Thread Volker Weber
Ok, that may be the reason that he didn't found an exception in his logs. but does #{UserController.user.isPQE} works? i think not, but never tested. Martin Marinschek wrote: > Try using > > #{ > > instead of > > {# > > ;) > > regards, > > Martin > > On 10/21/05, Volker Weber <[EMAIL PROTE

RE: IF statement..?

2005-10-21 Thread stefan.maric
Use :outputLabel rendered="{#UserController.user.PQE}" for="finalLiability"   Rather than :outputLabel rendered="{#UserController.user.isPQE}" for="finalLiability"       Stefan Maric | IT & Professional Services | BT Global Services E: [EMAIL PROTECTED]  |  www.bt.com/globalserv

Re: IF statement..?

2005-10-21 Thread Martin Marinschek
Try using #{ instead of {# ;) regards, Martin On 10/21/05, Volker Weber <[EMAIL PROTECTED]> wrote: > Try rendered="{#UserController.user.PQE}" the 'is' is added by beanutils. > > > > Jeffrey Porter wrote: > > What am I missing here? > > > > > > > > > for="finalLiability" value="#{my_proper

Re: IF statement..?

2005-10-21 Thread Volker Weber
Try rendered="{#UserController.user.PQE}" the 'is' is added by beanutils. Jeffrey Porter wrote: > What am I missing here? > > > > for="finalLiability" value="#{my_properties['NCM_label_finalLiability']}" /> > > > > && > > > > > rendered="{#UserController.user.isPQE}" > >

Re: dataTable question (again)

2005-10-21 Thread PATRICIA GUEDES
Anyone help me, please I don't know what do Thanks Guedes On 10/20/05, PATRICIA GUEDES <[EMAIL PROTECTED]> wrote: > Hi, (sorry for my bad english again) > > I am trying to create a table using dataTable, but something is wrong. > When I try to show my lines using a DataModel, just the f

JSCookMenu Themes and Facelets

2005-10-21 Thread Daniel Loebbe
Hi all, I like to use the JSCookMenu from the myfaces extensions and Facelets. After adding the tags jscookMenu org.apache.myfaces.JSCookMenu org.apache.myfaces.JSCookMenu and navigationM

Re: Can't get x:saveState to work

2005-10-21 Thread Juan Medín Piñeiro
Hi Mark, I'm having the same problem with some simple test jsp files like yours, Could you explain what solution have you found for it ? Thanks, - Juancho On 9/9/05, Mike Kienenberger <[EMAIL PROTECTED]> wrote: > I recommend keeping questions on the mailing list so others can > comment

RE: IF statement..?

2005-10-21 Thread Jeffrey Porter
What am I missing here?   rendered="{#UserController.user.isPQE}" for="finalLiability" value="#{my_properties['NCM_label_finalLiability']}" />   &&     rendered="{#UserController.user.isPQE}"   required="true"   disabledClass="bodyheading"   enabledClass="bodyh

PROBLEMS WITH TREE2

2005-10-21 Thread rosalba bochicchio
I'm using myfaces 1.0.9. I have a problem with tree2...when I click on one of the nodes, I want to view a new page. But the click on the node generates the following error: java.lang.IllegalArgumentException: Node with id 0:1. Failed to parse 0:1 at org.apache.myfaces.custom.tree2.TreeMode

Re: DataTable Sorting not working

2005-10-21 Thread Mathias Brökelmann
try to use a latest myfaces release. We found a lot of bugs in the datatable/sortheader stuff since 1.0.9. If you plan to use input fields inside a datatable you should definitly use 1.1.0 or 1.1.1RC3 2005/10/21, Jecker Frédéric (LFR) <[EMAIL PROTECTED]>: > > Hello, > > This problem is now solved

RE: DataTable Sorting not working

2005-10-21 Thread LFR
Hello,   This problem is now solved (the version explained below is working) (..but don't ask me why, there's some kind of magic around !)   Rgds   FJ De : Jecker Frédéric (LFR) [mailto:[EMAIL PROTECTED] Envoyé : vendredi 21 octobre 2005 11:02À : users@myfaces.apache.orgObjet : DataTable

DataTable Sorting not working

2005-10-21 Thread LFR
Hello,   I have the following problem:I have a page displaying a dataTable that can be modified by the users(add/update/delete row) this works fine.Now I tried to implement sortable headers on my table.To do this I added the following propertiesto the bean managing the table :   private Str

Re: Multiple header styles in dataTable?

2005-10-21 Thread Mathias Brökelmann
try out the t:column component it allows you to define a headerstyleClass or headerstyle attribute for each column. Am 20.10.05 schrieb Thierry Buecheler <[EMAIL PROTECTED]>: > Hi everybody > > Is there a possibility to apply a header style for each (standard) > dataTable column or do I need a fan

Re: Why I must click twice?

2005-10-21 Thread Martin Marinschek
This is a known bug - it should be fixed in the latest nightly build. Can you try this out? regards, Martin On 10/21/05, 六岁就很酷 <[EMAIL PROTECTED]> wrote: > I use Myfaces(myfaces-1.1.1RC3) to build my web application. But I've got > some troubles. > > There are two pages in my application, and

Re: // requests

2005-10-21 Thread ir. ing. Jan Dockx
That's the saving, but that's not what I mean :-). 1) Certainly with save state = server, there is only 1 uiview tree per session per viewId=jsp page, right? 2) If so, what happens if 2 concurrent requests are executed for the same session/viewId? The same tree is used? (You seem to imply a differ

Why I must click twice?

2005-10-21 Thread 六岁就很酷
I use Myfaces(myfaces-1.1.1RC3) to build my web application. But I've got some troubles. There are two pages in my application, and there is a link in pageA which forward to pageB. I must click the link twice that I could forward to pageB When I back to pageA from pageB using IE's Back button

Re: RES: Myfaces under OC4J

2005-10-21 Thread Daniel Loebbe
I also encountered problems with the Oracle XML parser and JSF / myfaces. I changed the bootclasspath of the OC4J (unsupported) to use the Xerces parsers. But there also is a howto at Oracle dwescribing ho to change the default parser. It is called "how-to-swapxmlparser.zip). But I did not try it y

Re: faces-config.xml

2005-10-21 Thread Dennis Byrne
yeah, I got it. and w/out any need for a container as well. Original message >Date: Fri, 21 Oct 2005 09:10:09 +0200 >From: Martin van den Bemt <[EMAIL PROTECTED]> >Subject: Re: faces-config.xml >To: MyFaces Discussion > >Have a look at the org.apache.myfaces.config package... > >M

RE: MYFACES-TILES NAVIGATION PROBLEM

2005-10-21 Thread rosalba bochicchio
ok...I'll try that. Rosalba --- "CONNER, BRENDAN (SBCSI)" <[EMAIL PROTECTED]> wrote: > Can you define an on your page just to > make sure? > > - Brendan > > -Original Message- > From: rosalba bochicchio > [mailto:[EMAIL PROTECTED] > Sent: Thursday, October 20, 2005 10:27 AM > To: MyF

Re: faces-config.xml

2005-10-21 Thread Martin van den Bemt
Have a look at the org.apache.myfaces.config package... Mvgr, Martin Dennis Byrne wrote: I want to run unit tests on faces-config.xml . I am prepared to do this w/ DOM, but what I'd like to do is use the digester stuff used in the internals. Can anyone point me in a direction for this ? Den