Re: Shale, Spring & Tiger Annotations

2006-07-04 Thread Enrique Medina Montenegro
Craig,So in the documentation at the web site regarding Shale-Spring integration, when you show this example:or as a Spring bean in /WEB-INF/applicationContext.xml: class="com.mycompany.mypackage.MyDomainsImpl"singleton="true">... configuration of managed properties ...

Re: Shale, Spring & Tiger Annotations

2006-07-04 Thread Craig McClanahan
On 7/4/06, Enrique Medina Montenegro <[EMAIL PROTECTED]> wrote: Hi,I'm starting a new development where I will use MyFaces together with Shale and Spring. I've been reading the documentation regarding the integration between Spring and Shale, in terms of the delegating VariableResolver. Furthermore

RE: Backing Bean in Request Scope Persists Beyond Request

2006-07-04 Thread Dhananjay Prasanna
    -Original Message- From: Mike Duffy [mailto:[EMAIL PROTECTED] Sent: Wednesday, 5 July 2006 2:33 PM To: MyFaces Discussion Subject: Re: Backing Bean in Request Scope Persists Beyond Request   In a Google sarch I saw the following in a post from Craig:   You can accomplish

Tree2, selected node focus

2006-07-04 Thread Eric Hsieh
I'm using tree2 to render some data and am programmatically selecting nodes.  Is there a way to have the node that is selected be in focus in the browser?  I'm looking for something like an html textarea, where if you select a value in the textarea via _javascript_ the browser will autoscroll the t

Re: Backing Bean in Request Scope Persists Beyond Request

2006-07-04 Thread Mike Duffy
In a Google sarch I saw the following in a post from Craig: You can accomplish that with standard managed beans my setting the on the "businessDelegate" bean to be "none". This is like the create-every-time mode of Spring ... you always get a new instance each time the expression is evaluated,

Shale, Spring & Tiger Annotations

2006-07-04 Thread Enrique Medina Montenegro
Hi,I'm starting a new development where I will use MyFaces together with Shale and Spring. I've been reading the documentation regarding the integration between Spring and Shale, in terms of the delegating VariableResolver. Furthermore, I've been reading the documentation regarding Tiger extensions

Backing Bean in Request Scope Persists Beyond Request

2006-07-04 Thread Mike Duffy
I have a JSP (some.jsp) which is mapped to a backing bean (SomeBean.java). The scope is set to "request". In some.jsp there are five h:outputLink tags each with its own f:param tags. The "value" for each of the h:outputLink tags is some.jsp. When a link is clicked I want to set the param val

Re: Tomahawk Schedule WORKWEEK Problem

2006-07-04 Thread Jurgen Lust
You should do a model.refresh() after you call model.setMode(). Jurgen2006/7/4, ldr <[EMAIL PROTECTED]>: I have the same problem, when I switch between modes the number of datesshown gets fucked up. Ex. when I start in MONTH mode and change to WORKWEEKabout 30 dates are shown. I would guess one has

RE: Tomahawk Schedule WORKWEEK Problem

2006-07-04 Thread ldr
I have the same problem, when I switch between modes the number of dates shown gets fucked up. Ex. when I start in MONTH mode and change to WORKWEEK about 30 dates are shown. I would guess one has to change the range of dates shown, but I havent figured it out yet. Here is how I do now... switch

Re: expand tree2

2006-07-04 Thread Pierpaolo Follia
*bump* I also need this example. Thank you very much. akannan_erode wrote: Hi Sean, can you give the example code for expanding the tree intially?. Thanks, kannan -- View this message in context: http://www.nabble.com/expand-tree2-t1148512.html#a5002078 Sent from the MyFaces - Users forum

Re: explanation of DataTable

2006-07-04 Thread Bruno Aranda
The information on this page [1] can be very useful too, Cheers! Bruno [1] http://wiki.apache.org/myfaces/WorkingWithLargeTables On 7/4/06, Cosma Colanicchia <[EMAIL PROTECTED]> wrote: What do you mean with "load only 5 rows by time"? If it stands for "load ony 5 rows by time *from the databa

Re: explanation of DataTable

2006-07-04 Thread Cosma Colanicchia
What do you mean with "load only 5 rows by time"? If it stands for "load ony 5 rows by time *from the database*", then extending DataModel is the right way to go. If you simply want to display 5 rows for page, and you don't mind loading the whole table just to see the first page, then you don't n

Re: explanation of DataTable

2006-07-04 Thread Alexandre Jaquet
Well I'm been working with a datatable and a datascroller, what I want is to load only 5 rows by time. Cosma Colanicchia wrote: Alexandre, can you specify some more details about what you're trying to do? Cosma 2006/7/4, Alexandre Jaquet <[EMAIL PROTECTED]>: I only need to work with : da

Re: explanation of DataTable

2006-07-04 Thread Cosma Colanicchia
Alexandre, can you specify some more details about what you're trying to do? Cosma 2006/7/4, Alexandre Jaquet <[EMAIL PROTECTED]>: I only need to work with : datatable.setRowIndex (5); datatable.getRowData(); when I want to extend the component ? Thanks for your time passed ro responding :)

Re: explanation of DataTable

2006-07-04 Thread Alexandre Jaquet
I only need to work with : datatable.setRowIndex (5); datatable.getRowData(); when I want to extend the component ? Thanks for your time passed ro responding :) Cagatay Civici wrote: Hi, As Cosma explained before, all the control is done using a datamodel, even if you bind a list object as

Re: explanation of DataTable

2006-07-04 Thread Alexandre Jaquet
Nice explanation it's clear right now many thx Cosma Colanicchia wrote: Only some components are UIData. Think it as a set of component "families", there are UICommand that includes commandLink and commandButton, or UIInput with inputText and selectManyListbox, and others. UIData components usu

RE: tomahawk datatable - rowStyleClass

2006-07-04 Thread Michael Heinen
Thank, I know this attribute. I want to assign another style to the currently selected row so I tried rowStyleClass. But this attribute is never rendered, with or without rowClasses. Michael -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Dienstag, 4. Juli 20

Re: explanation of DataTable

2006-07-04 Thread Cagatay Civici
Hi,As Cosma explained before, all the control is done using a datamodel, even if you bind a list object as the value of a uidata, it is wrapped as a ListDataModel object. For example when you call datatable.setRowIndex (5);datatable.getRowData();At UIData, it leads togetDataModel().setRowIndex(5);g

Re: explanation of DataTable

2006-07-04 Thread Cosma Colanicchia
Only some components are UIData. Think it as a set of component "families", there are UICommand that includes commandLink and commandButton, or UIInput with inputText and selectManyListbox, and others. UIData components usually display data as a list or in a tabular format, and they are designed

Re: tomahawk datatable - rowStyleClass

2006-07-04 Thread [EMAIL PROTECTED]
try this attr.: rowClasses="row1, row2" Will let you do make a beatiful alternate-coloured dataTable! On Tue, 04 Jul 2006 17:27:51 +0300, Michael Heinen <[EMAIL PROTECTED]> wrote: Hi all, Has anybody the rowStyleClass attribute of t:datatable working ? The assigned value is not rendere

Re: Value is not a valid option on a selectOneMenu

2006-07-04 Thread Steven Peacock
Cagatay, Forgive my ignorance, but I do not follow. I am fairly new to JSF, so I may be missing something. 1) A component extends from UISelectOne. What is extending UISelectOne? 2) I used the tag, and populated it with a selection list using 3) When I look at the source generated I see that th

tomahawk datatable - rowStyleClass

2006-07-04 Thread Michael Heinen
Hi all,   Has anybody the rowStyleClass attribute of t:datatable working ? The assigned value is not rendered as html attribute in my app.   Michael

DataTable big failure regarding page number

2006-07-04 Thread [EMAIL PROTECTED]
Hello everyone! I have a t:dataTable (tomahawk's) and a t:dataScroller to paginate it. There is a link for editing each line (which corresponds to a short resume of a bigger DB record), and clicking it I can go to another page which implements it's editing. There are two buttons on th

Re: explanation of DataTable

2006-07-04 Thread Alexandre Jaquet
Well Cosma first thanks for your explanation, if I understand well, all components have to extend UIData and we can set to every components a dataModel? Cosma Colanicchia wrote: Hi Alexandre, it's simple, JSF defines a DataModel class that is used by UIData componentes (like the data table).

Re: explanation of DataTable

2006-07-04 Thread Cosma Colanicchia
Hi Alexandre, it's simple, JSF defines a DataModel class that is used by UIData componentes (like the data table). Note that it is allowed the usage of some other types (for example java.util.List) because DataModel implementations that wraps it are available automatically picked. Basically, the

explanation of DataTable

2006-07-04 Thread Alexandre Jaquet
Hi, I want to understand how work DataTable any good documentation ? I want to understand the cars-demo example : http://wiki.apache.org/myfaces/WorkingWithLargeTables regards

Re: Setter not called for value binding

2006-07-04 Thread Richard Capraro
Hello Rob, to be able to help you, where do you create the HtmlSelectOneMenu ? in the bean constructor ? Is your bean in session or request scope ? Could you show us some code snippet ? Regards, Richard Capraro 2006/7/4, Rob99 <[EMAIL PROTECTED]>: I'm adding an HtmlSelectOneMenu component prog

RE: Acegi authentication with several "outcomes"

2006-07-04 Thread L Frohman
I have created a myfaces wiki on the same subject, a simpler solution. see: http://wiki.apache.org/myfaces/JSF_and_Acegi -Message d'origine- De : Martin Grotzke [mailto:[EMAIL PROTECTED] Envoyé : mardi 4 juillet 2006 12:02 À : MyFaces Discussion Objet : RE: Acegi authentication with se

RE: Acegi authentication with several "outcomes"

2006-07-04 Thread Martin Grotzke
Hello, i found this description of an integration of acegi with jsf: http://jroller.com/page/fairTrade?entry=integrating_acegi_and_jsf_revisited this solution replaces the acegi AuthenticationProcessingFilter with a backing bean, which is directly invoked from the login page. With that i am abl

jscookmenu icon trouble

2006-07-04 Thread Alexandre Jaquet
Hi, When I use JsCookMenu with IE an icon doesn't appear (a cross image appear) Any idea how to fix it ? Regards

Re: Dependency Injection ,POJO Entity, Design Question

2006-07-04 Thread Jonathan Harley
Paul Sideleau wrote: I have a design question regarding a POJO entity bean, dependency injection, and storing the POJO in the user's session. For example, there is a web application where you update some entity through several "wizard" like screens. Then, this information is persisted to a dat

Re: Icon in panelNavigation2

2006-07-04 Thread janw
Fault of mine, now I see the icon. Is there a possibility to display *both* icon and text in the menu point, just as in the jscookmenu? I can display either icon or the text, but not both. This is how I use the constructor: NavigationMenuItem logoutMenuItem = new NavigationMenuItem( "Logo

Icon in panelNavigation2

2006-07-04 Thread janw
Hello, I use the panelNavigation2 component. Is it possible to set an icon for a Menu-item either programmatically or in a static way? There is a constructor for NavigationMenuItem that accepts an icon String, but the icon isn't shown, and the component commandNavigation2 as used in the example

RE: Acegi authentication with several "outcomes"

2006-07-04 Thread Coloma Escribano, Ignacio
Seems that you can achieve that requirement with a Filter and a simple redirect on a condition. To be more specific would need more details :) -Mensaje original- De: L Frohman [mailto:[EMAIL PROTECTED] Enviado el: viernes, 30 de junio de 2006 10:22 Para: 'MyFaces Discussion' Asunto: RE:

Re: Shale and Trinidad

2006-07-04 Thread Cosma Colanicchia
I was trying with the init() method but it was never called.. I'm now trying with prerender() and it works. Thank you Cosma 2006/7/3, Craig McClanahan <[EMAIL PROTECTED]>: On 7/3/06, Cosma Colanicchia <[EMAIL PROTECTED]> wrote: > I can see that the shale filtered and viewhandler are trigger

Re: Value is not a valid option on a selectOneMenu

2006-07-04 Thread Cagatay Civici
Hi,The reason is tricky actually, when a component that extends from UISelectOne is validated, the local value of the component is checked to figure out whether this value is in the selectitems list or not. If not then the value is not valid. Regards,CagatayOn 7/3/06, Steven Peacock <[EMAIL PROTECT