Re: [Solved] ERROR: Value is not a valid option

2007-02-26 Thread Martin Grotzke
sBean.renderContainerType}"> > >> >> value="#{msgBundle.EPCMgr_ContainerLbl }:" > >> styleClass="standard_text_bold"/> > >> > >> >> value="#{ reportsBean.containerType}" immediate="true" > disabled="#{ > >> reportsBean.optionDisabled }" styleClass="standard_input"> > >> > >> value="#{reportsBean.containerTypeList }"/> > >> > >> > >> > >> Can anybody tell me why it is happening? > >> > >> regards > >> srinivas > >> > > > > > > -- > View this message in context: http://www.nabble.com/ERROR% > 3A-Value-is-not-a-valid-option-tf3270984.html#a9155607 > Sent from the MyFaces - Users mailing list archive at > Nabble.com. > > -- Martin Grotzke http://www.javakaffee.de/blog/ signature.asc Description: This is a digitally signed message part

Re: security and jsf

2007-03-07 Thread Martin Grotzke
Hi, On Tue, 2007-03-06 at 22:00 -0600, Garner Shawn wrote: > What are you using for security with JSF for user roles and login? > JSF Security, ACEGI, or something else? > > I just want to know what the options are and what works best. I use acegi and it works quite fine. More on this you can rea

Re: submitOnEvent to submit on clicking dataTable-row

2007-03-29 Thread Martin Grotzke
he.org/sandbox/tlddoc/s/submitOnEvent.html > [2] http://wiki.apache.org/myfaces/SubmitOnEvent > [3] http://forum.java.sun.com/thread.jspa?threadID=781630&tstart=0 > -- Martin Grotzke http://www.javakaffee.de/blog/ signature.asc Description: This is a digitally signed message part

Re: Large i18nalized blocks

2006-09-05 Thread Martin Grotzke
On Mon, 2006-09-04 at 12:18 +0200, Aleksei Valikov wrote: > Alternatively, block could be saved in sub-directories and name="myBlock.xhtml"/> automatically choses between en/myBlock.xhtml or > de/myBlock.xhtml according to the user locale preferences. Shouldn't it be possible to do s.th. like ?

Re: Direct usage of myfaces out of a Java program and save/restoreState issues

2006-09-07 Thread Martin Grotzke
On Tue, 2006-09-05 at 17:12 +0200, Ricardo Tercero Lozano wrote: > Forgot to say than If you really want to complete restore a previous > rendered view you must extend the NavigationHander functionality or > use a 'dialog' functionality like Shale dialogs > (http://shale.apache.org/features-dialog-

Re: Run-time component generation

2006-09-09 Thread Martin Grotzke
newly populated controls after the selectOneMenu event > > > > passed to the server. > > > > > > > > I could provide more details if needed. > > > > > > > > Appreciate any help! > > > > > > > > Thank you, > >

Re: Direct usage of myfaces out of a Java program and save/restoreState issues

2006-09-11 Thread Martin Grotzke
On Thu, 2006-09-07 at 12:50 -0700, Craig McClanahan wrote: > On 9/7/06, Martin Grotzke <[EMAIL PROTECTED]> wrote: > Do you know if shale's dialog manager restores the right view > when > you come back to a certain view? So when the navig

Re: Conditionnal processing

2006-09-11 Thread Martin Grotzke
On Mon, 2006-09-11 at 15:13 +0200, David Delbecq wrote: > Hello, > > I have a little question regarding conditionnal processing of JSF > components. There is the possibility to process or not a specific JSF > component using the rendered property. However, is there a facility to > not process a wh

Re: varDetailToggler and DataTable

2006-09-13 Thread Martin Grotzke
Hello, On Mon, 2006-08-14 at 16:28 +0300, Murat Hazer wrote: > Hi, > > How can i define the default value of the detailStamp facets to true? > All of them are hidden (false) in the beggining. > > Is there an attribute like expandAll and collapseAll? does anybody know how this is possible? I j

Re: MyFaces and Ajax

2006-09-21 Thread Martin Grotzke
; wrote: > > > > > > On 9/20/06, Andrew Robinson <[EMAIL PROTECTED]> wrote: > > > Ajax4JSF and AjaxAnywhere both work just fine with MyFaces for partial > > > page refreshing > > > > How difficult is to accomplish this without using a framewo

Re: MyFaces and Ajax

2006-09-21 Thread Martin Grotzke
; components are more or less a 1:1 conversion from dojo widgets to jsf > components. great, the dojo integration is really cool! cheers, martin > > cheers, > > Gerald > > On 9/21/06, Martin Grotzke <[EMAIL PROTECTED]> wrote: > > On Wed, 2006-09-20 at 19:29 +0200,

Re: Extending Treetable component with drag & drop

2006-10-11 Thread Martin Grotzke
ng the drag&drop > > treetable end of the year? 1.1 or 1.2? > > > > And last but not least: We want to use facelets as view handler and tomcat > > 5.5 as servlet container :-) > > > > Thanks for reading this bunch of questions. > > Any hints regarding some or all of my questions would be greatly > > appreciated! > > > > Regards > > Jochen > > > > > -- Martin Grotzke Onlinehttp://www.javakaffee.de/blog/ signature.asc Description: This is a digitally signed message part

InputSuggestAjax and binding

2006-10-30 Thread Martin Grotzke
Hey all, the documentation for inputSuggestAjax (http://myfaces.apache.org/sandbox/inputSuggestAjax.html) says that the binding attribute "is needed because the control object does all the needed data transformation between the Ajax control and the backend/frontend"... Has someone an example how

Re: InputSuggestAjax and binding

2006-10-30 Thread Martin Grotzke
ndbox. Thanx && cheers, Martin > > Sorry for the confusion on this. > > cheers, > > Gerald > > On 10/30/06, Martin Grotzke <[EMAIL PROTECTED]> wrote: > > Hey all, > > > > the documentation for inputSuggestAjax > > (http://myfaces.apa

Re: InputSuggestAjax and binding

2006-10-30 Thread Martin Grotzke
; through a given converter. > > Hope this helps, > > cheers, > > Gerald > > On 10/30/06, Martin Grotzke <[EMAIL PROTECTED]> wrote: > > On Mon, 2006-10-30 at 13:50 +0100, Gerald Müllan wrote: > > > Hi, > > > > > > forget the binding stuff.

PanelStack.getSelectedPanel returns empty String if no panel is selected

2006-11-01 Thread Martin Grotzke
Hello, I just tried to integrate the t:panelStack, with the following sniplet: Foo Bar When i load this, i get the following exception: Nov 1, 2006 10:38:33 AM c

Howto trigger actionListener when detailToggler of dataTable is triggered

2006-11-03 Thread Martin Grotzke
Hello, is it possible to invoke the application when the detailToggler of a dataTable is toggled? I would like to bind an actionListener in a backing bean to the detailToggler.toggle action (if there is something like this ;)) Thanx in advance, cheers, Martin -- signature.asc Description: Th

Re: How to handle double clicks on commandButtons

2006-12-07 Thread Martin Grotzke
en that could handle double submit. > > > > 2006/12/6, Charbel Abdul-Massih < > [EMAIL PROTECTED]>: > > > > > > > > > > > > > > > What's the best way to handle double clicks on

Re: How to handle double clicks on commandButtons

2006-12-07 Thread Martin Grotzke
ct to get the same page loaded again... So now it's applied after UPDATE_MODEL_VALUES. Cheers, Martin > > Regards, > > Mert.. > > > On 12/7/06, Martin Grotzke <[EMAIL PROTECTED]> wrote: > Hi Mert, > > On Wed, 2006-12-06 at

How to handle/display errors during render response

2006-12-11 Thread Martin Grotzke
Hi all, I have a case where I perform some logic during the RENDER_RESPONSE phase where an error might occurs and I want to display some error message - which is unfortunately not displayed directly. But with the next request/response the error message is displayed. I asume that this is the case b

Re: How to handle/display errors during render response

2006-12-11 Thread Martin Grotzke
> Regards, > > ~ Simon > > On 12/11/06, Martin Grotzke <[EMAIL PROTECTED]> wrote: > Hi all, > > I have a case where I perform some logic during the > RENDER_RESPONSE > phase where an error might occurs and I want to displ

Re: How to handle/display errors during render response

2006-12-11 Thread Martin Grotzke
If you must put your code in the render phase (like property getters), > then you will need to put your messages component at the bottom of > your page. Then use CSS to move it to wherever you want on the page. Good idea, thanx! Cheers, Martin > > On 12/11/06, Martin Grotzke <[E

Re: How to handle/display errors during render response

2006-12-11 Thread Martin Grotzke
onLoad}" /> > > 2) On-load from jsf-comp: > http://jsf-comp.sourceforge.net/components/onload/index.html > > 3) or use Shale (I have no experience with this one): > http://shale.apache.org/shale-view/index.html > > -Andrew > > On 12/11/06, Martin Grotzke <

Re: How to handle/display errors during render response

2006-12-11 Thread Martin Grotzke
On Mon, 2006-12-11 at 20:37 +0100, Martin Grotzke wrote: > On Mon, 2006-12-11 at 09:44 -0700, Andrew Robinson wrote: > > "When myBean.myModel.myOptions is invoked the first time, I do some > > lazy > > initialization, this might cause errors..." > > > >

Re: How to handle/display errors during render response

2006-12-12 Thread Martin Grotzke
c CustomHtmlDataTableHandler(ComponentConfig config) { > super( config ); > } > > protected MetaRuleset createMetaRuleset(Class type) > { > MetaRuleset m = super.createMetaRuleset(type); > > m.addRule(actionListenerTagRule); > >

Re: How to handle/display errors during render response

2006-12-12 Thread Martin Grotzke
he MethodRule ;-) Cheers, Martin > > > On 12/12/06, Martin Grotzke <[EMAIL PROTECTED]> wrote: > > Hello Mike, > > > > On Mon, 2006-12-11 at 15:37 -0500, Mike Kienenberger wrote: > > > I think you made the facelets tag handler harder that necessary. Not > >

Re: How to handle/display errors during render response

2006-12-12 Thread Martin Grotzke
; For a well-written component (one that doesn't put component logic > into the jsp tag handler), the only time you'd need a component tag > handler is to specify MethodRules. > > In all the other cases, you'd be better off fixing the component > itself provided you had

Upgrade to myfaces-core-1.1.5 and TOMAHAWK-152

2007-02-19 Thread Martin Grotzke
Hi all, I just upgrade our myfaces-core from a 1.1.5 SNAPSHOT to the 1.1.5 release, and it seems as if we ran into http://issues.apache.org/jira/browse/TOMAHAWK-152 again: a selectOneRadio with layout="lineDirection" and an item signature.asc Description: This is a digitally signed message part

commandNavigation2 only accepts value bindings in attribute value

2006-06-28 Thread Martin Grotzke
Hello, i just wanted to start with the Tomahawk panelNavigation2 component. For this i added the elements to my (facelets) template. Unfortunately, i didn't see anything but a single dot, but not the text "Foo". Finally i found out, that one must use a value binding for the value of comma

Authorization aware component?

2006-06-28 Thread Martin Grotzke
hello, i want to have/create an authorization aware (menu/button) component. one approach would be to have s.th. like an "auth" component that would act as a pseudo-container for components that are added to the auth's parent component if the current user has the appropriate permissions (more gen

Re: Authorization aware component?

2006-06-29 Thread Martin Grotzke
Hello, On Wed, 2006-06-28 at 18:06 +0200, Gilles DEMARTY wrote: > Hi martin, > > > i want to have/create an authorization aware (menu/button) component. > Every Tomahawk components are user-role aware > http://wiki.apache.org/myfaces/User-role_Awareness Thanx for this hint! Until now i thought

Acegi authentication with several "outcomes"

2006-06-30 Thread Martin Grotzke
Hello all, we would like to use Acegi but have a "special" requirement. Besides the usual "authentication-success" and "authentication-failure" we want to be able to send the user to another special page according to some condition (s.th. like a 3rd "outcome"). Is that possible to achieve with th

Re: Authorization aware component?

2006-06-30 Thread Martin Grotzke
cegi managed security i'll check this out. Thx && cheers, Martin > > Regards, > > Cagatay > > On 6/28/06, Martin Grotzke <[EMAIL PROTECTED]> wrote: > Hello, > > On Wed, 2006-06-28 at 18:06 +0200, Gilles DEMARTY wrote: >

RE: Acegi authentication with several "outcomes"

2006-07-04 Thread Martin Grotzke
ould download the source code and > take a look to see if you think that would be an option for you. > > -Message d'origine- > De : Martin Grotzke [mailto:[EMAIL PROTECTED] > Envoyé : vendredi 30 juin 2006 10:06 > À : MyFaces Discussion > Objet : Acegi authenti

Re: EJB3.0 and Backing Beans Design

2006-07-05 Thread Martin Grotzke
Hello, On Wed, 2006-07-05 at 10:06 +0200, Mario Ivankovits wrote: > For this there is e.g. JBoss Seam, or, if you would like to use a > lightweigt approach, the conversation tag in tomahawk sandbox. The conversation tag sounds interesting. Could you describe it on http://wiki.apache.org/myfaces/My

t:panelNavigation2 toggle behavior

2006-07-07 Thread Martin Grotzke
hello, i'm just starting with the t:panelNavigation2 and have an issue with the toggling of active parent navigation items. E.g. i have a top-navigation with items 1 and 2, and a sub-navigation with items 1.1 and 1.2 (sub-navigation of top-item 1). When 1 is activated, 1.1 and 1.2 are displayed,

Re: Conditional working for dynamic components

2006-07-20 Thread Martin Grotzke
y read in this list, but have not remembered, also the parts > are not rendered the are also interpreted, so also I want to display a > String value, the template tries to .street and that > throws an exception. > > > Back to my question: How can I do just a functionality? I ca

Re: Prevent from submiting a form several times

2006-07-26 Thread Martin Grotzke
Hello, On Wed, 2006-07-26 at 15:54 +0200, tetaslap tetaslap wrote: > Hi, > I'm currently working on a web-application wich use MyFace, > Tomahawk, Spring, Hibernate, AcegiSecurity and Birt. > I would like to prevent the user from submiting a form several times. > Which is the best practice f

How to display confirmation dialog

2006-07-27 Thread Martin Grotzke
Hello, for actions like "Delete" or something like that i want to display a confirmation dialog, but it should not be a javascript confirmation box. The dialog could span the whole page or be some model browser window, in each case other navigation items or buttons should not be visible or accessi

Re: How to display confirmation dialog (with stateChangedNotifier?)

2006-07-28 Thread Martin Grotzke
t; Maybe you can go from there? > > regards, > > Martin > > On 7/27/06, Martin Grotzke <[EMAIL PROTECTED]> wrote: > > Hello, > > > > for actions like "Delete" or something like that i want to display > > a confirmation dialog, but it sho

Re: How to display confirmation dialog (with stateChangedNotifier?)

2006-07-28 Thread Martin Grotzke
Martin Marinschek <[EMAIL PROTECTED]>: > > You won't be able to use the stateChangedNotifier out of the box. > > > > But underlying the stateChangedNotifier is the dojo-dialog, and it > > should not be hard to apply this to your needs. > > > > regards, > &

Re: HELP with h:selectOneRadio inside h:dataTable

2006-08-02 Thread Martin Grotzke
Hello, have a look at http://wiki.apache.org/myfaces/Display_Radio_Buttons_In_Columns and http://myfaces.apache.org/sandbox/tagreference.html#selectOneRow. You find an example for the last one at http://irian.at/myfaces-sandbox/selectOneRow.jsf. Cheers, Martin On Wed, 2006-08-02 at 10:38 -0500,

Re: How to implement a "Processing, please wait..." page?

2006-08-28 Thread Martin Grotzke
Hello Paul, you can achieve this with ajax4jsf. Have a look at the following postings: question: https://ajax4jsf.dev.java.net/servlets/ReadMsg?list=users&msgNo=829 answer: https://ajax4jsf.dev.java.net/servlets/ReadMsg?list=users&msgNo=830 example: https://ajax4jsf.dev.java.net/servlets/ReadMsg?