Re: WARN [HtmlLabelRenderer]

2005-12-05 Thread Dennis Byrne
Kasper, try placing the element after the element w/ @id=documentTitle . Original message >Date: Tue, 6 Dec 2005 08:42:19 +0100 >From: Kasper Hansen <[EMAIL PROTECTED]> >Subject: WARN  [HtmlLabelRenderer] >To: users@myfaces.apache.org > >Hi, >I get this warning: >08:28:10,484 WA

WARN [HtmlLabelRenderer]

2005-12-05 Thread Kasper Hansen
Hi, I get this warning: 08:28:10,484 WARN [HtmlLabelRenderer] Unable to find component 'documentTitle' (calling findComponent on component 'form1:_id21') In fact I get it on all my labels! But I do not understand what the error means, since there is a component with id documentTitle. I'm I rea

Value is not a valid option

2005-12-05 Thread Khurram Ahmed
We have developed an application using myfaces 1.0.9, however due to some critical bugs in 1.0.9 we were forced to upgrade to myfaces 1.1.0 with the same code base that was working with the previous version of myfaces 1.0.9. This was when we ran into the "Value is not a valid option" bug on a page

Re: naming conventions in faces-config.xml

2005-12-05 Thread Simon Kitching
[EMAIL PROTECTED] wrote: Mike, thank you for your patience and effort trying to resolve this issue. I just changed the essential parts to reproduce the error. Here's the setter in CasesJdbcDAO: public void setDataSource(JDBCDataSource dataSource) { if (log.isDebugEnabled()) log.debug("setting

Re: naming conventions in faces-config.xml

2005-12-05 Thread mail
Mike, thank you for your patience and effort trying to resolve this issue. I just changed the essential parts to reproduce the error. Here's the setter in CasesJdbcDAO: public void setDataSource(JDBCDataSource dataSource) { if (log.isDebugEnabled()) log.debug("setting dataSource in casesDAO");

Re: Drilldown type app. without session bean?

2005-12-05 Thread Mike Kienenberger
If you want to use saveState this way, you can. I don't remember how the examples provide an alternative, but I have used savestate like this. // Could acquire a reference to your data backing bean some other way if you want ValueBinding binding = FacesContext.getCurrentInstance(

Re: Drilldown type app. without session bean?

2005-12-05 Thread Simon Kitching
Hi Yannick, t:saveState performs two actions: At the very end of the rendering phase, it looks up the object specified by its value attribute and serializes it. During the "restore view" phase, it deserializes its associated object, then evaluates its "value" attribute and assigns the recrea

Re: Drilldown type app. without session bean?

2005-12-05 Thread Yannick Le Teigner
Simon, The problem I face with the saveState component, is that when I place it on the master (1st) page, it is, as expected, initialized with no value (because the user has yet to click on a row in the datatable to edit a user/item.) Once the user click on a row, the detail page is displayed.

RE: editable forms

2005-12-05 Thread Yee CN
What I did is that I maintain an enum called screenMode={VIEW,EDIT,ADDNEW} in the backing bean. public boolean isEditMode() { return this.screenMode == ScreenMode.EDIT || this.screenMode == ScreenMode.ADDNEW; } public boolean isAddnewMode() {

Problem with selectBooleanCheckbox inside dataTable

2005-12-05 Thread Matthias Kahlau
Hi! I encounter a strange behavior of selectBooleanCheckbox component-binding inside a dataTable. When I select the checkbox in the last row and call an action method to delete the selected row, the page is redisplayed with all the remaining checkboxes selected, that had been deselected before.

Re: Drilldown type app. without session bean?

2005-12-05 Thread Simon Kitching
Yannick Le Teigner wrote: Hello, I am trying to remove as many beans as possible from the session scope, and I am facing some difficulties with drilldown pages. Let's say I have a page listing some users in a dataTable. Clicking on a user (commandLink), will bring you to a page where you can

Re: Obtaining the url?

2005-12-05 Thread Simon Kitching
Managed beans are created when they are referenced. Any time the EL VariableResolver is asked for a variable like "#{foo}", and there is no such variable then it checks the managed bean config info. If foo is declared there, then an instance of the specified type is created and stored in the sp

Drilldown type app. without session bean?

2005-12-05 Thread Yannick Le Teigner
Hello, I am trying to remove as many beans as possible from the session scope, and I am facing some difficulties with drilldown pages. Let's say I have a page listing some users in a dataTable. Clicking on a user (commandLink), will bring you to a page where you can edit some parameters abou

Re: Another Problem with t:inputHtml

2005-12-05 Thread Dave
Has this problem been fixed?  Could you log a bug?   By the way, where to log a MyFaces bug? Thanks.[EMAIL PROTECTED] wrote: When a page containing this widget is presented, the initial htmlfragment I want the user to see/edit is shownAs the mouse enters the widget the data is cleared - as thou

Re: Obtaining the url?

2005-12-05 Thread Andrew Robinson
To be honest, I have not covered the part of the specification that talks about bean initialization time. I would not be surprised if it depends on the bean's scope. In general, I always feel that it is a good decision to not put business code in a constructor. However, since JSF may set managed pr

Re: datatable - problems with commandlink

2005-12-05 Thread Simon Kitching
Alexander Traeder wrote: Hi, tried this for some days: t->tomahawk (myfaces-1.1.1 and nightly build) rowIndexVar="rowIndex" preserveDataModel="true" rows="10" rendered="true">

datatable - problems with commandlink

2005-12-05 Thread Alexander Traeder
Hi, tried this for some days: t->tomahawk (myfaces-1.1.1 and nightly build) rowIndexVar="rowIndex" preserveDataModel="true" rows="10" rendered="true">

Re: does not reference an Object of type SelectItem

2005-12-05 Thread Craig McClanahan
On 12/5/05, Simon Kitching <[EMAIL PROTECTED]> wrote: jsf-api.jar is *not* part of the j2ee.jar (at least not yet).Actually, it's unlikely to ever be bundled, as (at least in the myfaceslibs) there is significant library-specific logic in the "api" classes. All the "api" indicates is that the APIs

Re: valueChangeListener and disappearing cursor

2005-12-05 Thread Rogerio Pereira
Use the new focus component in sandbox. 2005/12/5, Tony Czupryna <[EMAIL PROTECTED]>: > I have a valueChangeListener set on an inputTextBox. If I change the value > and once the page is rerendered, there is no cursor. Does anyone know how to > make sure the cursor shows up in the next input box (

valueChangeListener and disappearing cursor

2005-12-05 Thread Tony Czupryna
I have a valueChangeListener set on an inputTextBox. If I change the value and once the page is rerendered, there is no cursor. Does anyone know how to make sure the cursor shows up in the next input box (assume I hit 'Tab')?    valueChangeListener="#{user.firstNameChanged}" i

Re: Obtaining the url?

2005-12-05 Thread Julián García
Is there any approach to access the url when the bean is initializing? Andrew Robinson wrote: It is set right after the view is created. This differs based on if there is queued action. If there is an action, the new view is created during the application invoke phase. If the view is new (new r

Re: Obtaining the url?

2005-12-05 Thread Andrew Robinson
It is set right after the view is created. This differs based on if there is queued action. If there is an action, the new view is created during the application invoke phase. If the view is new (new request or a redirect), then the view is created earlier in the lifecycle (I can't remember for sur

Re: Obtaining the url?

2005-12-05 Thread Julián García
Andrew Robinson wrote: Are you looking for: FacesContext.getCurrentInstance().getViewRoot().getViewId()? When is this id setI am trying to access this method just after setting the values configured in my config xml, and it is always showing null. Thanks-. On 11/28/05, Julián Garcí

Re: Tree2 unique attribute id creation problem

2005-12-05 Thread Anu Padki
All this server-side things are working fine. My problem is the is not known to _javascript_. I need to read the node in _javascript_. Javscrit can read only the id that is available to the web page. Any suggestions to creat this id in jsp, any pointers to such scripts? Is there any other way to o

tree2, varNodeToggler attribute

2005-12-05 Thread Thomas A Hurley
Hi,   I am trying to work out how the 'varNodeToggler' attribute works in the tree2 component. In all of the examples it is set equal to 't’. What code does 't' refer to? I’m assuming that it works like the ‘var’ attribute does.   I want to add an actionListener to a i.e. actionListene

Re: Problem with the newspaperTable

2005-12-05 Thread Volker Weber
Hi, just for info: The ScalarDataModel is a DataModel for a single row with the value object as row-data. If you put a Set as value to the dataTable you can create a table with one row, but how will you define your column values? So of cause a Set is of 'any other type', but it made no sense to

Re: Problem with the newspaperTable

2005-12-05 Thread Mike Kienenberger
4.1.3.2 Properties The current value identified by the value property is normally of type DataModel. However, a DataModel wrapper instance must automatically be provided by the JSF implementation if the current value is of one of the following types:  java.util.List  Array of java.util.Object  j

Re: does not reference an Object of type SelectItem

2005-12-05 Thread Simon Kitching
Hi Mike, If you're using JBoss 4.0.3 with tomcat, you'll find the sun implementation is bundled under: server/default/deploy/jbossweb-tomcat55.sar These jars need to be removed if you're using MyFaces. jsf-api.jar is *not* part of the j2ee.jar (at least not yet). Actually, it's unlikely to

Re: naming conventions in faces-config.xml

2005-12-05 Thread Mike Kienenberger
Kurt, what does both your setter and getter code and method signatures look like on CasesJdbcDAO when you're getting this error? 'javax.servlet.jsp.el.ELException: Attempt to coerce a value of type "JDBCDataSource" to type "javax.sql.DataSource"' indicates an attempt to inject a JDBCDataSource int

Re: newspaperTable merge with dataTable

2005-12-05 Thread Mike Kienenberger
I don't think so, but you could create a trivial subclass of t:dataTable called t:newspaperTable, and change the renderer. Then you'd inherit all of the non-rendering behavior of t:dataTable. As I said, this is just a workaround until someone did the work to combine the two rendering classes pro

Re: naming conventions in faces-config.xml

2005-12-05 Thread Kurt Edegger
Hi Mike, thank you for your help, but I don't think that your answer is correct. We are talking about two different classes. The first one is CasesJdbcDAO with the setter taking an JDBCDataSource Object and the second on is the JDBCDataSource class having a getDs() method to return the actual

Re: Problem with the newspaperTable

2005-12-05 Thread Martin Marinschek
P.S. I do think that Mike is right and t:dataTable still supports java.util.Set. regards, Martin On 12/5/05, Martin Marinschek <[EMAIL PROTECTED]> wrote: > Hans Bergsten is correct, > > you have > > java.util.List, Arrays, etc. supported > > but no Sets! > > regards, > > Martin > > On 12/5/05, M

Re: Problem with the newspaperTable

2005-12-05 Thread Martin Marinschek
Hans Bergsten is correct, you have java.util.List, Arrays, etc. supported but no Sets! regards, Martin On 12/5/05, Matthias Kahlau <[EMAIL PROTECTED]> wrote: > Hi Mike! > > > As described in the JSF book of Hans Bergsten, a member of the JSF > specification team, the value attribute value of

Re: newspaperTable merge with dataTable

2005-12-05 Thread Jesse Wilson
It's just a separate renderer, but it's a renderer that requires some parameters - the number of newspaper columns, and the gap between newspaper columns. Does JSF support multiple renderers for the same component simultaneously? In effect, could you render a dataTable with its regular renderer an

Fwd: Custom Component problem

2005-12-05 Thread Martin Marinschek
-- Forwarded message -- From: Martin Marinschek <[EMAIL PROTECTED]> Date: Dec 5, 2005 8:29 PM Subject: Re: Custom Component problem To: wasim bhatti <[EMAIL PROTECTED]> Best would be you would start your debugger and debug into the processValidators and processUpdates methods of y

AW: Problem with the newspaperTable

2005-12-05 Thread Matthias Kahlau
Hi Mike! As described in the JSF book of Hans Bergsten, a member of the JSF specification team, the value attribute value of a h:dataTable can be of any type, but the primary model type is the javax.faces.model.DataModel class. - a value of type Object[] is wrapped automatically in an instance o

Re: OnLoad in Myfaces -->something like in Oracle ADF?

2005-12-05 Thread Craig McClanahan
On 12/5/05, [EMAIL PROTECTED] <[EMAIL PROTECTED] > wrote: Hi all! Can I find a similar component like the Oracle ADF body, especially the "onload", component in Myfaces? Or can I do a workaround to load a method from the backing bean at Onload of the jsf page? One approach to this kind

RE: OnLoad in Myfaces -->something like in Oracle ADF?

2005-12-05 Thread Burke, Rodney
Title: OnLoad in Myfaces -->something like in Oracle ADF? Here’s a work around that may do the trick:   Essentially create a dummy component which uses a backing bean attached to rendered option. The dummy component should go right after   …     public Boolean getOnLoad() {

Re: editable forms

2005-12-05 Thread Mike Kienenberger
The problem is that #{param.edit} doesn't maintain a constant value. The component's "rendered" attribute value must be the same between the first and second request. If it's rendered on the initial request, but not rendered on the submitting request, then the backing bean won't be updated (the v

Re: facelet

2005-12-05 Thread Mike Kienenberger
There's quite a few people using this framework. Which license issue are you needing to solve? As I recall, tobago is just using a different renderkit. I don't think there would be any issues using it with facelets. You'd just need to set up a facelets taglib.xml file for it, but that's tru

Re: newspaperTable merge with dataTable

2005-12-05 Thread Mike Kienenberger
Is the only difference in rendering? Perhaps someone could create a patch that provided an alternate renderer for t:dataTable that performed the newspaper column layout. That'd be a simpler intermediate step than trying to combine both components. If nothing else, it'd make sense to open a JIRA

Re: OnLoad in Myfaces -->something like in Oracle ADF?

2005-12-05 Thread Andrew Robinson
I have an OnLoad phase listener implemented. It is part of http://sourceforge.net/projects/jsf-comp Check out the "jsfExt" release. It isn't a component, but may provide the functionality that you are looking for. -Andrew On 12/5/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > Hi all! > >

OnLoad in Myfaces -->something like in Oracle ADF?

2005-12-05 Thread andreas.mitter
Title: OnLoad in Myfaces -->something like in Oracle ADF? Hi all! Can I find a similar component like the Oracle ADF body, especially the "onload", component in Myfaces? Or can I do a workaround to load a method from the backing bean at Onload of the jsf page? Regards Andy __

Re: naming conventions in faces-config.xml

2005-12-05 Thread Mike Kienenberger
Your setter and getter return different types. public DataSource getDs() needs to be public JDBCDataSource getDs() { On 12/2/05, Kurt Edegger <[EMAIL PROTECTED]> wrote: > Hi Mike, > > thank you for your response. > > on 12/2/2005 7:30 AM Mike Kienenberger stated: > > Can you post the setter

AW: Progress Bar in Myfaces

2005-12-05 Thread andreas.mitter
Yes, that's what I mean. Did you implement it within an Myfaces Application? I just get no error stack, but nothing is displayed... Here is my code which i used: (in my jsf page:) <[EMA

Re: Progress Bar in Myfaces

2005-12-05 Thread Stand Trooper
sure, let me get it zipped up and I'll post the link here Just to make sure, we are talking about the bpcatalog at https://bpcatalog.dev.java.net/, yes? thx, timo On 12/5/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > I tried it, but it didn't work. > > Can you post your code? > > -Ursp

Bug with t:inputCalendar???

2005-12-05 Thread Boris Kovalenko
Hello! When I use t:inputCalendar with popupDateFormat="dd.MM." I getting and error - The given value "05.12.2005" could not be converted to a date. Of course there may be any date instead of 05.12.2005. When no popupDateFormat is used all is ok. Error is reproducable with 1.1.1R and 200

AW: MethodBinding in CustomRenderer(2)

2005-12-05 Thread Marcel Soulier
Hi, thanks Volker, adding the Components the right way made the Links work. But! Now I run into another problem: As soon as I add the second Component I get the following exeption: javax.faces.FacesException: Client-id : sucheRoot_1 is duplicated in the faces tree. "suchRoot" is the id I spec

Re: does not reference an Object of type SelectItem

2005-12-05 Thread Mike Duffy
I thought that might be it and I could not find the jsf-api.jar in any class path. Is the jsf-api.jar part of the j2ee.jar? Thx. Mike --- Martin Marinschek <[EMAIL PROTECTED]> wrote: > ... and this should be ok. You can return an array of SelectItem objects. > > Do you have any class load

AW: Progress Bar in Myfaces

2005-12-05 Thread andreas.mitter
I tried it, but it didn't work. Can you post your code? -Ursprüngliche Nachricht- Von: Stand Trooper [mailto:[EMAIL PROTECTED] Gesendet: Montag, 5. Dezember 2005 17:09 An: MyFaces Discussion Betreff: Re: Progress Bar in Myfaces I was able to get the progress bar from the blueprints to w

Re: Progress Bar in Myfaces

2005-12-05 Thread Stand Trooper
I was able to get the progress bar from the blueprints to work just fine. I didn't have any issues at all On 12/5/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > > Hi all! > > Has anybody experiences with Progress Bars and myfaces? I have found the Sun > Blueprint Progress Bar with googlin

Re: Problem with the newspaperTable

2005-12-05 Thread Mike Kienenberger
I don't think Set is a valid UIData value type. It requires an ordered collection like List. I remember reading in the past that MyFaces UIData erroneously supported Set, but I'm pretty sure that this error was corrected. It's possible that it's still supported by UIData subclasses like t:dataT

Re: Can't parse configuration file

2005-12-05 Thread Mike Kienenberger
For me, putting it in the WEB-INF directory has always worked for web apps. The one time I had to write an EntityResolver was when I was parsing dtd files in a batch job instead of a web app. On 12/5/05, Juan Medín Piñeiro <[EMAIL PROTECTED]> wrote: > Unfortunately putting the file in the WEB-INF

editable forms

2005-12-05 Thread R. Müller
hi group, in a particular form i want the fields only editable, if there is explicitly set a edit-param. I've tried it with the following code : value="#{backingBean.value}/> value="#{backingBean.value}"> But i've noticed that when submitting the form the 'setter'-method of the '

AW: Problems with ValueChangeListener and FacesMessages

2005-12-05 Thread andreas.mitter
Hi Martin! Thx, but the problem still resist, because the ValueChangeMethod (where i also remove the messages) isn't executed, because the message from the inputtext component is thrown before. (If I remove the immediate=true attribute at the inputtext component, everything works, but I need th

Re: Problems with ValueChangeListener and FacesMessages

2005-12-05 Thread Martin Marinschek
You have to say it.remove(); instead of context.getMessages().remove(); regards, Martin On 12/5/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > An second question: > > How can I remove the messages? > I tried: > > Iterator it = context.getMessages(); > while(it.hasNext()) >

Progress Bar in Myfaces

2005-12-05 Thread andreas.mitter
Title: Progress Bar in Myfaces Hi all! Has anybody experiences with Progress Bars and myfaces? I have found the Sun Blueprint Progress Bar with googling but I have also read, that it doesn't work with myfaces. Has anyone experieces with it, or are there other components that delivers a p

AW: Problems with ValueChangeListener and FacesMessages

2005-12-05 Thread andreas.mitter
An second question: How can I remove the messages? I tried: Iterator it = context.getMessages(); while(it.hasNext()) { context.getMessages().remove(); } But I get an error stack. javax.faces.el.EvaluationException: Exception while

AW: Problems with ValueChangeListener and FacesMessages

2005-12-05 Thread andreas.mitter
I just noticed, that the ValueChangeListener method isn't executed because the Required validation of the InputText (where the immediate attribute is set to true) shows the message first. When I enter some data into this InputText component, the ValueChangeListener method is executed. Any ideas

Re: Problems with ValueChangeListener and FacesMessages

2005-12-05 Thread Martin Marinschek
Short answer: no way ;) A workaround is coming to my mind: iterate through your faces-messages in the second valueChangeListener and remove them? regards, Martin On 12/5/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > I have one component on my page, where the immediate Attribute is set to

Re: Custom Component Binding problem

2005-12-05 Thread wasim bhatti
Sir My class is inherited from UIInput, but the problem is that, when i call setSubmittedValue in decode method, it does not work( in the sense that the bean value is not updated ). Waiting for ur reply. Regards   Martin Marinschek <[EMAIL PROTECTED]> wrote: If you subclass from UIInput, the

AW: Problems with ValueChangeListener and FacesMessages

2005-12-05 Thread andreas.mitter
I have one component on my page, where the immediate Attribute is set to true. And for this component the message is shown when the ValueChangeListener from my Selectbox is executed. For others no message is shown! The Problem is, that I need this immediate Attribute to set to true, because on t

Re: AW: Problems with ValueChangeListener and FacesMessages

2005-12-05 Thread Mario Ivankovits
Hi! The only thing I want to do is: Set some values from the backing bean into some inputtext tags (and this is done in the valuechangelistener method) I guess you might experience other problems too. The valueChangeListener is executed before the model update, so if you change a value in

Re: Custom Component Binding problem

2005-12-05 Thread Martin Marinschek
If you subclass from UIInput, the rest is done implicitly in the processValidators and the processUpdates Method. regards, Martin On 12/5/05, wasim bhatti <[EMAIL PROTECTED]> wrote: > Hey martin, > > Of the three states that you have mentioned ... which one do i have to do > explicity ? > becaus

Re: Custom Component Binding problem

2005-12-05 Thread wasim bhatti
Hey martin,   Of the three states that you have mentioned ... which one do i have to do explicity ? because i am calling the   set as a submitted value (done in decoding phase) explicitly but i think the value is not being set. i have no validators for my component. should that cause some pr

Re: Custom Component Binding problem

2005-12-05 Thread Martin Marinschek
that needs quite a long explanation, I'll try to give you a short one ;) there are three states your component values can be in: - set as a submitted value (done in decoding phase) - set as a local value (done after conversion and validation has been processed, this is when setValid() is called,

Custom Component Binding problem

2005-12-05 Thread wasim bhatti
Greetings,   I have made a custom component using myfaces 1.0.9. Everything worked fine to start with, and i was able to bind values of the component to the back end managed bean. At least there was no problem in retrieving values from the bean. The trouble occurs when the vlaue changes from the

Re: does not reference an Object of type SelectItem

2005-12-05 Thread Martin Marinschek
... and this should be ok. You can return an array of SelectItem objects. Do you have any class loader issues here? Maybe your javax.faces.api classes are loaded from a class loader which is not accessible from your web-app? Or you have both the jsf-api.jar and the myfaces-api.jar in your classpa

RE: Serialization problem with nightly builds

2005-12-05 Thread Lefevre, Daniel
Hello, Dennis, you are right. It seems that I got a serious caching problem. I tried everything again and I observe the problem with JspStateManagerImpl.writeState only when the save state is on the client side. When save state is on the server side, I get a problem with JspStateManagerImpl.se

RE: selectOneRadio / f:selectItem in different table cells.

2005-12-05 Thread Jeffrey Porter
Cheers. I think I've got it working, I'll update the WIKI page when I get an example running. :-) http://wiki.apache.org/myfaces/Radio?action=show -Original Message- From: Martin Marinschek [mailto:[EMAIL PROTECTED] Sent: 05 December 2005 09:42 To: MyFaces Discussion Subject: Re: sel

Re: does not reference an Object of type SelectItem

2005-12-05 Thread Martin van den Bemt
Mike Duffy wrote: I am trying to create a value binding for a tag. The object reference is definitely a collection of SelectItem objects (I've even tried it with an array). However, I am getting an error that tells me the object reference does not contain SelectItem objects. The error mess

Re: Problems with ValueChangeListener and FacesMessages

2005-12-05 Thread Martin Marinschek
It's only executed for the components which have immediate set to true - if you call facesContext.renderResponse in your valueChangeListener, it won't be executed for the others. regards, Martin On 12/5/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > The only thing I want to do is: > > Set so

does not reference an Object of type SelectItem

2005-12-05 Thread Mike Duffy
I am trying to create a value binding for a tag. The object reference is definitely a collection of SelectItem objects (I've even tried it with an array). However, I am getting an error that tells me the object reference does not contain SelectItem objects. The error message state, "but of t

AW: Problems with ValueChangeListener and FacesMessages

2005-12-05 Thread andreas.mitter
The only thing I want to do is: Set some values from the backing bean into some inputtext tags (and this is done in the valuechangelistener method) I didn't know, that the conversion and validation phase is executed... Is there a way to skip this? Regards, Andy -Ursprüngliche Nachricht

Re: selectOneRadio / f:selectItem in different table cells.

2005-12-05 Thread Martin Marinschek
I guess that's all - at least in the open source world... you could bug Thomas Spiegl for some more explanation, he is the author of the beast. regards, Martin On 12/5/05, Jeffrey Porter <[EMAIL PROTECTED]> wrote: > Thanks Martin. > > I've found the spec at... > http://myfaces.apache.org/tlddoc

RE: selectOneRadio / f:selectItem in different table cells.

2005-12-05 Thread Jeffrey Porter
Thanks Martin. I've found the spec at... http://myfaces.apache.org/tlddoc/tomahawk/t/radio.html and a bit of an example at... http://www.irian.at/myfaces/selectbox.jsp.source Is there any other help files/examples that you know of? Thanks Jeff -Original Message- From: Martin Marins

RE: Serialization problem with nightly builds

2005-12-05 Thread Dennis Byrne
JspStateManagerImpl.writeState is only supposed to call HtmlResponseStateManager.writeState when you are saving the state on the client side. Let me know if you are observing otherwise. Can you please post a full stack after you have verified that org.apache.myfaces.SERIALIZE_STATE_IN_SESSION

Re: Problems with ValueChangeListener and FacesMessages

2005-12-05 Thread Martin Marinschek
so in fact you want to get rid of the submitted values, and for this you recreate the whole tree? maybe you could use component binding on those inputTexts that should loose their submitted value and reset the submitted value yourself for them? In any case I don't see why your approach shouldn't

AW: Problems with ValueChangeListener and FacesMessages

2005-12-05 Thread andreas.mitter
No it's the same page, but in the ValueChangeListener some values for inputtext Tags are set and I have to refresh the page to display them. This works fine, but is there another method to refresh the page? Regards, Andy -Ursprüngliche Nachricht- Von: Martin Marinschek [mailto:[EMAIL PR

Re: Problems with ValueChangeListener and FacesMessages

2005-12-05 Thread Martin Marinschek
Hmmm... Let me try to understand what you are doing here - you want to head off to a new page, right? regards, Martin On 12/5/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > Hi All! > > I have problems with a ValueChangeListener and FacesMessages. > In my JSP Site there is a Selectbox wi

Re: selectOneRadio / f:selectItem in different table cells.

2005-12-05 Thread Martin Marinschek
Have you looked at the t:radio component of MyFaces? Might be helpful in your case - with this component you can layout the radio components where you really want them to be. regards, Martin On 12/5/05, Jeffrey Porter <[EMAIL PROTECTED]> wrote: > > > > So has anyone used a selectOneRadio with t

Problems with ValueChangeListener and FacesMessages

2005-12-05 Thread andreas.mitter
Title: Problems with ValueChangeListener and FacesMessages Hi All! I have problems with a ValueChangeListener and FacesMessages. In my JSP Site there is a Selectbox with a ValueChangeListener. Although I have set the immediate=True Attribute at this Selectbox, messages are shown after the

RE: selectOneRadio / f:selectItem in different table cells.

2005-12-05 Thread Jeffrey Porter
So has anyone used a selectOneRadio with the selectItem in different HTML table cells?   JP   -Original Message- From: Jeffrey Porter [mailto:[EMAIL PROTECTED] Sent: 02 December 2005 15:56 To: MyFaces Discussion Subject: h:selectOneRadio / f:selectItem in different table cells.

RE: Serialization problem with nightly builds

2005-12-05 Thread Lefevre, Daniel
Here it is! javax.faces.FacesException: java.io.NotSerializableException: org.springframework.beans.factory.support.DefaultListableBeanFactory at org.apache.myfaces.util.StateUtils.getAsByteArray(StateUtils.java:161) at org.apache.myfaces.util.StateUtils.construct(StateUtils.java:

Re: Can't parse configuration file

2005-12-05 Thread Juan Medín Piñeiro
Unfortunately putting the file in the WEB-INF dir doesn't work for me (other people have the same problem: http://forum.java.sun.com/thread.jspa?threadID=676326). Isn't writing your own EntityResolver a bit too much for this problem? Regards, - Juan On 11/29/05, Mike Kienenberger <[EMAIL PROTEC

Re: Serialization problem with nightly builds

2005-12-05 Thread Dennis Byrne
Can you please post the full stack trace? Original message >Date: Mon, 5 Dec 2005 09:46:31 +0100 >From: "Lefevre, Daniel" <[EMAIL PROTECTED]> >Subject: Serialization problem with nightly builds >To: > > Hello, > > sorry, but it does'nt seem to solve the problem. > I tried

Re: best approach for SelectItems inside a datatables

2005-12-05 Thread Mario Ivankovits
Hi! rowStyleClass="row#{(idx%2==0)?'0':'1'}" rowStyleClass="row0,row1" should do the trick too But this approach has a big disadvantage : the method 'selectItemList' is called in every rendered row even though the list themself isn't change. So why dont you cache the list in your bean?

Serialization problem with nightly builds

2005-12-05 Thread Lefevre, Daniel
Hello,   sorry, but it does'nt seem to solve the problem. I tried the new setting by adding the following in the web.xml:      org.apache.myfaces.SERIALIZE_STATE_IN_SESSION  false    but it does not change anything.   I also tried client side state saving, but I still got the problem.   Of c

best approach for SelectItems inside a datatables

2005-12-05 Thread R. Müller
hi group, it is common usecase for web-application to be able to select items (rows) of datatable and choosing desired action from a choice. to solve this issue, i personally using often the following construct : (the 'adapter' backing bean serves all necessary data)