How to unexpand Tree2

2006-02-08 Thread andreas.mitter
Title: How to unexpand Tree2 I'm using a tree2 in my application. When I open the jsf page with the tree the tree is not expanded. If I expand the tree, then go to another page and then go back to the first page with the tree, the tree is still expanded... Is there a way to unexpand the

Getting nomethodexception while using tomahawk components

2006-02-08 Thread Hasnain Badami
hi I am getting the following exception while I am trying to use any of the tomahawk components java.lang.NoSuchMethodError: org.apache.myfaces.renderkit.html.HtmlRendererUtils.selectContentType(Ljava/lang/String;)Ljava/lang/String;at

f:attribute and phase listeners

2006-02-08 Thread Jana Parvanova
Hi all! We are trying to implement some uniform mechanism for setting titles for each form in the application. So part of the plan is to set attribute of the view: f:view f:attribute name=title value=#{myBean.title}/ and then get it in a phase listener and put it in the session.

Re: myfaces tree2 delete node

2006-02-08 Thread Michal
I've got the same problem - I believe that's the problem of storing old tree somewhere (as it's client side toggle tree). Is there any way to update it? Some flush cache method's ;) or something? I really stuck with this, tried almost all.

Re: Using Tobago with facelet?

2006-02-08 Thread Volker Weber
This looks like the coulums attribute of tc:gridlayout is lost, the resulting output is exact as exected if no columns is set. Arvid Hülsebus wrote: Hello! Here is a short description of my findings before I go to bed: I started to write a Facelets taglib for some of the Tobago core tags:

Problem with dataTable and dataScroller

2006-02-08 Thread Hans Sowa
HiI realised a weird behaviour from the dataTable and DataScroller.e.g. There are 4 pages to be scrolled and the user go to 4th page. So becuase of an user action the data changed and there are now just 2 pages to be scrolled. The problem now is that the 4th page is still selected and no dataTable

SelectOneMenu vs Ajax

2006-02-08 Thread Vladimir Coutinho
I have 2 SelectOneMenu in a page. The first has some categories, when the user chooses one item, I change the items in the second SelectOneMenu via AJAX. But when I post the page, the value is not acepted, the page acepts only value that was in the second SelectOneMenu when the page was opened,

Re: SelectOneMenu vs Ajax

2006-02-08 Thread Vladimir Coutinho
I read the tips in http://forum.java.sun.com/thread.jspa?messageID=4027008But it didn't apply to my case. The possible values for the second selectonemenu are many ( 10.000).On 2/8/06, Vladimir Coutinho [EMAIL PROTECTED] wrote: I have 2 SelectOneMenu in a page. The first has some categories, when

Re: JSCookMenu and SUN's RI

2006-02-08 Thread Daniel Loebbe
Any news concerning this issue? The last nightly builds did not contain a correction. Bye, Daniel 2006/2/1, Daniel Loebbe [EMAIL PROTECTED]: Great to hear this. Thanks a lot! Looking forward, Daniel 2006/2/1, Martin Marinschek [EMAIL PROTECTED]: Yeah, there is YAB (yet another bug) open on

Re: How to render the empty rows of a dataTable

2006-02-08 Thread Roland Asmann
What good will this do me? I mean, in the generated HTML-code, there's just 3 tr-tags and I want to have all 10 of them! Anybody else have any ideas on how to solve this? Roland Use CSS to set the height of the rows/cells. Dennis Byrne -Original Message- From: Roland Asmann

[ADFFaces] Submiting when the user change a combo....inside a CoreShowOneTab element...

2006-02-08 Thread Dudu
how to submit a form when change the combo... I'm using ADF FAces and I have a page with this structure: [code] af:form af:panelPage af:subform id=subform af:showOneTab id=_detail The items inside here are dynamicalls

Problems using jenia4faces

2006-02-08 Thread Hasnain Badami
Hi I am using jenia4faces popupFrame ( which requires a parent h:form) inside a myfaces:panelTabbedPane. But due to some reason I am not able to open the popup. Looking at the html source of the generated page i can see that panelTabbedPane generates a form and inside that form resides the form

Re: How to render the empty rows of a dataTable

2006-02-08 Thread Martin Marinschek
No-o don't think so. You'd have to write a custome table-renderer, sorry. regards, Martin On 2/8/06, Roland Asmann [EMAIL PROTECTED] wrote: What good will this do me? I mean, in the generated HTML-code, there's just 3 tr-tags and I want to have all 10 of them! Anybody else have any ideas

Re: JSCookMenu and SUN's RI

2006-02-08 Thread Martin Marinschek
Hi Daniel, yes you do: you'll need to add the /faces/* mapping as well - see the examples. regards, Martin On 2/8/06, Daniel Loebbe [EMAIL PROTECTED] wrote: Hi Martin, these are my filter settings: filter filter-nameMyFacesExtensionsFilter /filter-name filter-class

Re: How to render the empty rows of a dataTable

2006-02-08 Thread Volker Weber
Martin Marinschek wrote: No-o don't think so. You'd have to write a custome table-renderer, sorry. Alternativly you can make model always adding a kind of empty rendered elements to the end of the list. regards, Martin On 2/8/06, Roland Asmann [EMAIL PROTECTED] wrote: What

RE: [ADFFaces] Submiting when the user change a combo....inside a CoreShowOneTab element...

2006-02-08 Thread Frank Felix Debatin
Hi, what worked for us is like this: (1) instead of setting onChange use the property autoSubmit=true (2) set the property partialTriggers=combo on the table. HTH Frank Felix -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dudu Sent: Wednesday,

jspx commandLink not working

2006-02-08 Thread ::SammyRulez::
I have a siple page like this jsp:root xmlns:jsp=http://java.sun.com/JSP/Page; xmlns=http://www.w3.org/1999/xhtml; xmlns:h=http://java.sun.com/jsf/html; xmlns:f=http://java.sun.com/jsf/core; version=2.0 f:view html xmlns=http://www.w3.org/1999/xhtml; lang=it

Re: jspx commandLink not working

2006-02-08 Thread Martin Marinschek
No clue. JSPX is not the problem, I'm using JSPX a lot in my current project. Can you do some debuggin by checking into FacesServlet and going through the lifecycle? regards, Martin On 2/8/06, ::SammyRulez:: [EMAIL PROTECTED] wrote: I have a siple page like this jsp:root

Re: jspx commandLink not working

2006-02-08 Thread Hans Sowa
HiI saw that you used the attribute immediate=true. I guess this is the problem because if I understand it correctly immediate means that after process validiations it goes directly to the phase Render Response. If you don't have a good reason for it, delete it.Hope, this will help you.best

Tree2 client side toggle - update after deletion

2006-02-08 Thread Michal
Hello all, I've got question to Sean (well, maybe someone else could help me as well). I'm developing an admin console for my company. All employers are using browser with java script enabled so I decided to use tree2 with clientSideToggle set to true. What my problem is, when I delete

Re: jspx commandLink not working

2006-02-08 Thread ::SammyRulez::
even without immediate=true the behaviour is the same: the action do not occurs nor the page is reloaded: it does absolutely nothing! I supposed the problem is with jspx because the same code in a jsp page works. 2006/2/8, Hans Sowa [EMAIL PROTECTED]: Hi I saw that you used the attribute

Re: jspx commandLink not working

2006-02-08 Thread Volker Weber
Hi, i have extracted your posted html source into a file and loading it into firefox. clicking on the link results in a error, because the requested page is not available. so it seems a click sould at least generate a page reload. If not there must be something wrong on the client side. Any

Re: jspx commandLink not working

2006-02-08 Thread ::SammyRulez::
i got this in js console Error: clear_linkame is not defined the function is defined at the end of the page. I use a commandButton and the action occurs (well it fails because the lack of the param) thanks all in advance 2006/2/8, Volker Weber [EMAIL PROTECTED]: Hi, i have extracted your

Re: [ADFFaces] Submiting when the user change a combo....inside a CoreShowOneTab element...

2006-02-08 Thread Dudu
But if I select a different item on combo, and after, click in another tab of ShowOneTab, the action listener is called and the table is updated gloriously.On 2/8/06, Dudu [EMAIL PROTECTED] wrote: thanks FrankBut is not working still...The refresh is doing...But the actionListener of the como

RE: [ADFFaces] Submiting when the user change a combo....inside a CoreShowOneTab element...

2006-02-08 Thread Frank Felix Debatin
no idea ... I always found thatwhen working with subforms, some things don't work as smooth as before.. ??? Frank Felix From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of DuduSent: Wednesday, February 08, 2006 5:21 PMTo: MyFaces DiscussionSubject: Re: [ADFFaces] Submiting

Tomahawk TLD - Why always rtexprvaluefalse/rtexprvalue?

2006-02-08 Thread Matthias Kahlau
Hi! I've a question related to the TLD of Tomahawk. Why are all attributes declared with rtexprvaluefalse/rtexprvalue, although some can be dynamically calculated at runtime by an EL expression? Sometimes I need to know if a specific attribute accepts a JSF EL expression, but how can I know

Re: Tomahawk TLD - Why always rtexprvaluefalse/rtexprvalue?

2006-02-08 Thread Martin Marinschek
rtexprvalue is meant for JSP-expressions, and not JSF expressions - and you cannot use JSP-expressions in tag-attributes. You can use JSF-EL in all attributes except ids, I believe. Correct me if I'm wrong. regards, Martin On 2/8/06, Matthias Kahlau [EMAIL PROTECTED] wrote: Hi! I've a

Re: jspx commandLink not working

2006-02-08 Thread ::SammyRulez::
no error messages but i notices that in jspx the org.apache.myfaces.PRETTY_HTML param is ignored and that the page is displayed right in firefox and as xml () on ie 6 2006/2/8, Hans Sowa [EMAIL PROTECTED]: Hm, Try to add a h:messages /. I had a similiar problem (commandlink works but not

Re: get ResouceBundle from backing Bean

2006-02-08 Thread Craig McClanahan
On 2/7/06, Dave [EMAIL PROTECTED] wrote: Thanks! Will different users(http requests)use the same class loader on the server side? To support 3 locales with large bundle files, and lots of users, is it a good idea to have an application scope bean to cache bundles shared by all users? All of the

Problem with evaluation of Tomahawk HtmlSelectOneRadio components inside UIData (programmatically created UI)

2006-02-08 Thread Matthias Kahlau
Hi! I tried to use a Tomahawk HtmlDataTable to programmatically display a matrix containing questions in the left column and some radiobuttons in the other columns. I added a HtmlRadio component to each HtmlSimpleColumn instance. For each row, I added a HtmlSelectOneRadio component to the

AW: Tomahawk TLD - Why always rtexprvaluefalse/rtexprvalue?

2006-02-08 Thread Matthias Kahlau
rtexprvalue is meant for JSP-expressions, and not JSF expressions - and you cannot use JSP-expressions in tag-attributes. You can use JSF-EL in all attributes except ids, I believe. Correct me if I'm wrong. Thanks. That sounds good... If you're wrong, it would really be of help if there

Re: How to render the empty rows of a dataTable

2006-02-08 Thread Mike Kienenberger
You don't have to add empty elements to the list. You just need to create a model that always returns multiples of 10 items, automatically providing an empty item for empty rows. On 2/8/06, Roland Asmann [EMAIL PROTECTED] wrote: I'm afraid that adding empty elements in the list is not possible

Where i can download ADF faces which are donated to Myfaces ?

2006-02-08 Thread Legolas Woodland
Hi Thank you for reading my post where i can find a download able package of Cheeroke? (Oracle ADF faces which are donated to Apache) Thank you

Re: Where i can download ADF faces which are donated to Myfaces ?

2006-02-08 Thread Matthias Wessendorf
Hi Legolas- the poposal contains the link: http://wiki.apache.org/myfaces/adfproposal -Matthias On 2/8/06, Legolas Woodland [EMAIL PROTECTED] wrote: Hi Thank you for reading my post where i can find a download able package of Cheeroke? (Oracle ADF faces which are donated to Apache)

Re: Problems using jenia4faces

2006-02-08 Thread Mike Kienenberger
I remember seeing this problem posted on the jenia4 mailing lists. I'm still confused about it. As far as I know, myfaces:panelTabbedPane does not generate a form. Admittedly, I'm a bit behind on running the latest myfaces snapshot, but as of the Dec 11th snapshot (maybe even the Jan 2nd

Re: jspx commandLink not working

2006-02-08 Thread Martin Marinschek
Hmm what happens if you try to get another content-type? regards, Martin On 2/8/06, ::SammyRulez:: [EMAIL PROTECTED] wrote: no error messages but i notices that in jspx the org.apache.myfaces.PRETTY_HTML param is ignored and that the page is displayed right in firefox and as xml ()

Re: Problems using jenia4faces

2006-02-08 Thread Hasnain Badami
Hi I have tried creating the pages. When you create a panelTabbedPane it generates a form tag. I used the following code !DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd" %@ page contentType=text/html;charset=UTF-8 language=java % %@

Re: Problems using jenia4faces

2006-02-08 Thread Mike Kienenberger
Have you tried explictly creating an enclosing form? Maybe it only creates a form if it doesn't find a parent form. h:form blah blah blah /h:form On 2/8/06, Hasnain Badami [EMAIL PROTECTED] wrote: Hi I have tried creating the pages. When you create a panelTabbedPane it generates a form

ClearInputComponents - how to access component in Listener method ?

2006-02-08 Thread Michael Heinen
Hi all, I have to clear some form fields in an ActionListener method. The method is called with the immediate=true attribute. I found in the WIKI an article about ClearInputComponents. There is following snippet: component.setSubmittedValue(null); // The following is only

Re: Problem with evaluation of Tomahawk HtmlSelectOneRadio components inside UIData (programmatically created UI)

2006-02-08 Thread Martin Marinschek
Can you give us the JSP sources? regards, Martin On 2/8/06, Matthias Kahlau [EMAIL PROTECTED] wrote: Hi! I tried to use a Tomahawk HtmlDataTable to programmatically display a matrix containing questions in the left column and some radiobuttons in the other columns. I added a HtmlRadio

Controlling a programatically generated tablegrid

2006-02-08 Thread Luiz Carlos Geron
Hi All, I'm programatically creating components and putting them on a TableGrid component. I've setted the columns property as three, so each component goes in a cell of the table. The problem is that I need certain components to ocuppy two cells, i.e., create a cell with colspan. How can I do

AW: Problem with evaluation of Tomahawk HtmlSelectOneRadio components inside UIData (programmatically created UI)

2006-02-08 Thread Matthias Kahlau
I didn't use JSP, the UI is programmatically created. This is a part of the method which adds HtmlSelectOneRadio components to the HtmlDataTable: HtmlDataTable table = new HtmlDataTable(); this.form.getChildren().add(table); table.setId(this.viewRoot.createUniqueId());

Re: ClearInputComponents - how to access component in Listener method ?

2006-02-08 Thread Mike Kienenberger
I think there's a wiki article on it, but the two most common ways to get a reference to a component are to 1) bind it to your backing bean 2) use findComponent on it (requires hardcoding the id somewhere). On 2/8/06, Michael Heinen [EMAIL PROTECTED] wrote: Hi all, I have to clear some

Re: Anonymous classes and restoreComponentState Exception (Solution)

2006-02-08 Thread Tonio Caputo
Hi everybody, Thank you again, now I could take some time to explore the problem again, the solution was simple of course: All Inner Classes must implement Serializable, so Anonymous Inner Classes must extend/implement a class who implements Serializable. Well faces.ActionListener,

Re: getScrolling() missing in new nightly build

2006-02-08 Thread Mike Kienenberger
I recommend looking at the new web page, and not using url-pattern at all. http://myfaces.apache.org/tomahawk/extensionsFilter.html On 1/30/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I had a mistake in the filter-mapping entry. Thanks. There is an error on the myfaces page for filter

Re: JSCookMenu and f:param

2006-02-08 Thread Richard Frazer
OK, I used the daily from today and it is returning the value I was looking for, but not the UINavigationMenuItem like I would expect. It's still returning the HtmlCommandJSCookMenu. Should I be getting the UINavigationMenuItem when I am coding like you said in example a below? From: Richard

Applying style to radio button / checkbox labels

2006-02-08 Thread Matthias Kahlau
Hi! I have to add some style to the text shown with a radio button or checkbox (using HtmlRadio or HtmlCheckbox), not to the controls themselves. A HtmlSelectOneRadio or HtmlSelectManyCheckbox has a styleClass attribute, but the settings do only apply to the controls themselves, not to the

Re: Where i can download ADF faces which are donated to Myfaces ?

2006-02-08 Thread Sean Schofield
BTW Cherokee is not an officially sanctioned name at the moment. Its just ADF Faces. The name is to be settled in the future. Sean On 2/8/06, Matthias Wessendorf [EMAIL PROTECTED] wrote: Hi Legolas- the poposal contains the link: http://wiki.apache.org/myfaces/adfproposal -Matthias On

mock classes in a jar?

2006-02-08 Thread Alin Dosoniu
Hi, I want to write a testcase and need MockFacesContext and all the others.I found some of them in core folder some in tomahawk folder. For my testcase it was enough to use those from tomahawk. I noticed that not allMock classesfrom core are completly implemented. Is there a possibility

Re: Where i can download ADF faces which are donated to Myfaces ?

2006-02-08 Thread Matthias Wessendorf
BTW Cherokee is not an officially sanctioned name at the moment. Its just ADF Faces. The name is to be settled in the future. Right! Cherokee was just an idea. Not mentioned in the submitted proposal. -Matthias Sean On 2/8/06, Matthias Wessendorf [EMAIL PROTECTED] wrote: Hi Legolas-

Re: Using Tobago with facelet?

2006-02-08 Thread Mike Kienenberger
Ok. I see now that you're using ComponentUtil.getStringAttribute(this, ATTR_COLUMNS); and using a generic attribute. So, really, it's just the naming typo. The JSP taghandler converts columns to colunms, but in facelets, the value is being set as columns directly. So you should be able to

Re: mock classes in a jar?

2006-02-08 Thread Dennis Byrne
Take a look at the unit testing framework by Shale. Way more complete. Dennis Byrne -Original Message- From: Alin Dosoniu [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 8, 2006 03:49 PM To: 'MyFaces Discussion' Subject: mock classes in a jar? Hi, I want to write a testcase and

Re: mock classes in a jar?

2006-02-08 Thread Martin Marinschek
We should really replace that by a dependency on these test-classes or write up our own. regards, Martin On 2/8/06, Dennis Byrne [EMAIL PROTECTED] wrote: Take a look at the unit testing framework by Shale. Way more complete. Dennis Byrne -Original Message- From: Alin Dosoniu

Re: mock classes in a jar?

2006-02-08 Thread Dennis Byrne
Do you mean replace our mock objects w/ those in Shale? Dennis Byrne -Original Message- From: Martin Marinschek [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 8, 2006 03:55 PM To: 'MyFaces Discussion' Subject: Re: mock classes in a jar? We should really replace that by a dependency

Re: mock classes in a jar?

2006-02-08 Thread Martin Marinschek
@offlist: Dennis was asking me if I meant replacing the Mock-classes with Shale: yes, that's what I meant regards, Martin On 2/8/06, Martin Marinschek [EMAIL PROTECTED] wrote: We should really replace that by a dependency on these test-classes or write up our own. regards, Martin On

Re: mock classes in a jar?

2006-02-08 Thread Martin Marinschek
Oh, wasn't offlist ;) sorry for the confusion. regards, Martin On 2/8/06, Martin Marinschek [EMAIL PROTECTED] wrote: @offlist: Dennis was asking me if I meant replacing the Mock-classes with Shale: yes, that's what I meant regards, Martin On 2/8/06, Martin Marinschek [EMAIL

Re: Using Tobago with facelet?

2006-02-08 Thread Volker Weber
Just fixed in svn, thanks for finding this. BTW the private void setColumns(int columns) {... is in inner class Row, so this makes no problem. Regards, Volker Mike Kienenberger wrote: Ok. I see now that you're using ComponentUtil.getStringAttribute(this, ATTR_COLUMNS); and using a

Re: mock classes in a jar?

2006-02-08 Thread Dennis Byrne
@ Martin, When I hit reply to on your emails, they are going to you . The only issue here is control. There is a ton of work done with the Shale classes. But there are places where the work has not been done, in which case there will be an UnupportedOperation exception. Usually this is

Re: mock classes in a jar?

2006-02-08 Thread Mike Kienenberger
I'd start here for now: http://struts.apache.org/struts-shale/features-test-framework.html On 2/8/06, Alin Dosoniu [EMAIL PROTECTED] wrote: Hi, I want to write a testcase and need MockFacesContext and all the others. I found some of them in core folder some in tomahawk folder. For my

Re: mock classes in a jar?

2006-02-08 Thread Wendy Smoak
On 2/8/06, Martin Marinschek [EMAIL PROTECTED] wrote: @offlist: Dennis was asking me if I meant replacing the Mock-classes with Shale: yes, that's what I meant It's been discussed here in the past. One issue is that Shale has only had an alpha release so far. And there have been many

NavigationHandler fails to find navigation rule

2006-02-08 Thread Tonio Caputo
Hi, I implemented a custom NavigationHandler, that just do some stuff and them call the default Implementation. The application is running correctly with Sun Faces implementation. What is happening is that NavigationHandler is not matching any rule and always going to the default rule.

Re: mock classes in a jar?

2006-02-08 Thread Martin Marinschek
Well, the best solution might be to copy the stuff over and keep that in Sync whenever we hit any problems... It's not likely to change very often. In that case, we'd need a new module. regards, Martin On 2/8/06, Wendy Smoak [EMAIL PROTECTED] wrote: On 2/8/06, Martin Marinschek [EMAIL

AW: Problem with evaluation of Tomahawk HtmlSelectOneRadio components inside UIData (programmatically created UI)

2006-02-08 Thread Matthias Kahlau
Hi Martin! If you can't imagine the cause of the problem, maybe you can give me a hint to a workable solution using HtmlDataTable ... Regards, Matthias -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Auftrag von Matthias Kahlau Gesendet: Mittwoch, 8.

Re: Architecture question

2006-02-08 Thread Julián García
Maybe you could find this useful: http://www.javaworld.com/javaworld/jw-07-2004/jw-0719-jsf.html Julian Matthias Klein wrote: If an application has 3 tiers: presentation, business, backend - in which of those would you put the JSF Model (the Backing Beans?) When I read through the www, I

AW: Problem with evaluation of Tomahawk HtmlSelectOneRadio components inside UIData (programmatically created UI)

2006-02-08 Thread Matthias Kahlau
BTW: With JSP, I only had a selectBooleanCheckbox in a column of the dataTable. It had a component binding and I could access it after setting the rowIndex of UIData. In my current case, I need multiple radiobuttons (HtmlRadio components) in each row, aligned with the column headers. If I would

Re: dataTable item is not changed

2006-02-08 Thread Mike Kienenberger
My recommendation would be to use action instead of action + actionListener. I'm not sure -- is it even legal to be calling both? Why would you want to? I'd also recommend that you create both an editable and save button rather than reusing the same button for both. h:commandLink

Re: Problem with evaluation of Tomahawk HtmlSelectOneRadio components inside UIData (programmatically created UI)

2006-02-08 Thread Martin Marinschek
Ok, I do think I know now what your problem is: the findComponent will deliver a component which is not properly initialized (it will return the stamp, but not the actual initialized component for this row...) So what you're really looking for is the functionality I implemented a few weeks ago

RE: Architecture question

2006-02-08 Thread Jesse Alexander \(KBSA 21\)
-Original Message- If an application has 3 tiers: presentation, business, backend - in which of those would you put the JSF Model (the Backing Beans?) Usual answer: depends... ;-) When I read through the www, I have to assume that it belongs in the business tier while the rest

Re: jspx commandLink not working

2006-02-08 Thread ::SammyRulez::
I have added .face content type text/html to the tomcat's web.xml but withour results. The oddest thing is that the same code in a jsp page works fine. I fear that in the xml notation the js script is interpreted as comment and ignored. None of you have ever experienced this problem? 2006/2/8,

RE: Architecture question

2006-02-08 Thread Matthias Klein
Thanks for your super quick response. Well, that document says that the BackingBeans belong into the presentation tier. But as far as I understand Backing Beans, they are the Model of the JSF MVC. Am I wrong? If I am not too far off - what would be the responsibility of the Business Objects? In

Re: jspx commandLink not working

2006-02-08 Thread Martin Marinschek
ah-of course. that is the problem ;) I've implemented something to write out different script-statements depending on the content-type, though, so this seems to be a bug... regards, Martin On 2/8/06, ::SammyRulez:: [EMAIL PROTECTED] wrote: I have added .face content type text/html to the

AW: Problem with evaluation of Tomahawk HtmlSelectOneRadio components inside UIData (programmatically created UI)

2006-02-08 Thread Matthias Kahlau
Thanks Martin, but do you know, why I might get components that aren't properly initialized? I wonder about that, because processing the user input after locating the components by using findComponent works for all the other question types I use (without UIData), e. g. by using - only one

Re: Architecture question

2006-02-08 Thread Julián García
You shouln't put view dependencies on your model beans. JSF is pure view technology, and your backing beans will probably include logic strictly related to presentation (events, actions, etc). Thus, put the model on other layer, and treat your beans as a bridge between view and the real model.

Re: Problem with evaluation of Tomahawk HtmlSelectOneRadio components inside UIData (programmatically created UI)

2006-02-08 Thread Martin Marinschek
Yes, it has somehting to do with UIData. For UIData, not a thousand components represent thousand rows, but only one. Much like in Swing... So it's a little different there... regards, Martin On 2/8/06, Matthias Kahlau [EMAIL PROTECTED] wrote: Thanks Martin, but do you know, why I might

AW: Problem with evaluation of Tomahawk HtmlSelectOneRadio components inside UIData (programmatically created UI)

2006-02-08 Thread Matthias Kahlau
For UIData, not a thousand components represent thousand rows, but only one. But I didn't use only one HtmlSelectOneRadio component for all rows. Instead, I use many HtmlSelectOneRadio components, one component for one row. Using one HtmlSelectOneRadio component for all rows had only been a

Re: Using Tobago with facelet?

2006-02-08 Thread Arvid Hülsebus
Yes, thanks a lot! I just came home from work and updated the example. Now the gridLayout works: But I still get this warning: 08.02.2006 23:33:16 com.sun.facelets.tag.jsf.ComponentRule warnAttr WARNUNG: /helloWorld.xml @10,43 columns="fixed;*" Property 'columns' is not on type:

RE: calendar with tomahawk

2006-02-08 Thread Balaji Kalyansundaram
Hi Though I did not see the code, I can tell that "calendarBean" should be a backing bean. And they are saving the state of it.You can look at the WIKI for more info on t:saveState To use the Calendar you do not need to saveState. But make sure you unclude the extension filetrs in

[other]Borland want to sell its IDE products.....

2006-02-08 Thread Legolas Woodland
Hi just look at http://blogs.borland.com/davidi/archive/2006/02/08/23013.aspx it say that borland is going to sell its IDEs , what will happen next ? who will buy jdeveloper ?

override validation message

2006-02-08 Thread Dave
I have a table with 2 columns without header. Required fields are marked with (*). The following validation messages show up if user forget to input something into the required fields:"_idJsp263": Value is required."_idJsp255": Value is required."_idJsp193": Value is required.

Re: Architecture question

2006-02-08 Thread Alexandre Poitras
Typical mistake I have made so many times. You confuse MVC and layers while they are different things. Layer is an architectural pattern. It divides the whole application. The typical approach is a 3 layers architecture : presentation, business logic and integration (back end). The MVC is layers

RE: override validation message

2006-02-08 Thread Balaji Kalyansundaram
Hi Dave You can write PhaseListener for the Render Response, which will check for the Error Messages (Value is required) in the facesContext.getMessages(); and add a global message "Fields marked with (*) are required" Balaji -Original Message-From: Dave [mailto:[EMAIL

RE: override validation message

2006-02-08 Thread Balaji Kalyansundaram
May be you can write the PhaseListener for the Apply Request Values. -Original Message-From: Balaji Kalyansundaram [mailto:[EMAIL PROTECTED]Sent: Thursday, 9 February 2006 10:42 AMTo: MyFaces DiscussionSubject: RE: override validation message Hi Dave You can

Re: [other]Borland want to sell its IDE products.....

2006-02-08 Thread Werner Punz
Legolas Woodland schrieb: Hi just look at http://blogs.borland.com/davidi/archive/2006/02/08/23013.aspx it say that borland is going to sell its IDEs , what will happen next ? who will buy jdeveloper ? All I can say to it is that Borland often has missed the sign of the times since Philip

Re: [other]Borland want to sell its IDE products.....

2006-02-08 Thread Mike Kienenberger
OptimizeIt was pretty awesome at one point, but I think Borland's acquisition also managed to kill it as well. On 2/8/06, Werner Punz [EMAIL PROTECTED] wrote: Legolas Woodland schrieb: Hi just look at http://blogs.borland.com/davidi/archive/2006/02/08/23013.aspx it say that borland is

Re: Problem with evaluation of Tomahawk HtmlSelectOneRadio components inside UIData (programmatically created UI)

2006-02-08 Thread Martin Marinschek
Ah! Now I see! but how would find component work if the HtmlSelectOneRadio is not a child of UIData? regards, Martin On 2/8/06, Matthias Kahlau [EMAIL PROTECTED] wrote: For UIData, not a thousand components represent thousand rows, but only one. But I didn't use only one

Re: [other]Borland want to sell its IDE products.....

2006-02-08 Thread Martin Marinschek
You should have tried IntelliJ, Sean ;) And with JetBrains, we have the hope to have full support for JSF in the next version - they have someone on both expert groups for JSF now, and promise full support for JSF in 6.0. I hope they will keep to their promise regards, Martin On 2/9/06,

Problems with duplicate ids

2006-02-08 Thread Sonja Löhr
Hi! I have a frustrating problem with duplicate ids in my webapp (myfaces 1.1.1) I'm using tiles and each tiles:insert is in a (id'ed) subview. Here is what might be special: In the main tile on two pages I show a dataTable (and dataScroller) that is bound both times to the same objects of a