Re: Shale, Spring Tiger Annotations

2006-07-05 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,

Values from tree checkboxes not submitted, when checkboxes are hidden.

2006-07-05 Thread Bjørn Stenfeldt
Hello Im am trying to use tree2 with checkboxes, and have made everything work, except for one tiny detail. Each node in the tree has a selectManyCheckbox. My problem is that if I expand a node, check some of the checkboxes in the children, and hide the children again, the values from the

Re: Shale, Spring Tiger Annotations

2006-07-05 Thread Craig McClanahan
On 7/4/06, Enrique Medina Montenegro [EMAIL PROTECTED] wrote: 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: bean id=domains

Re: Shale, Spring Tiger Annotations

2006-07-05 Thread Enrique Medina Montenegro
Umm, I see.I found something like this in one post, but seems that for Spring 2.0 is no longer valid: bean id=newWidget class=model.Widget singleton=false jsf:scope=request/Any idea?On 7/5/06, Craig McClanahan [EMAIL PROTECTED] wrote: On 7/4/06, Enrique Medina Montenegro [EMAIL PROTECTED] wrote:

EJB3.0 and Backing Beans Design

2006-07-05 Thread ved.gunjan
FirstI have a design issuse about which i want to have experts opinion.It involvs POJO entity bean,dependency injection and view objects that are consumed at the presentation layer. I'm thinking of the approach regarding how we will do the mapping between the domain object and the view objects.

Re: Backing Bean in Request Scope Persists Beyond Request

2006-07-05 Thread Cosma Colanicchia
I think the problem is using outputLink instead of commandLink components.outputLink simply generates an a tag.. and it is intended for building links that go outside of the JSF scope (a link to another website or to a file on disk, for example). Are you using outputLink for some particular

Re: Shale, Spring Tiger Annotations

2006-07-05 Thread Craig McClanahan
On 7/5/06, Enrique Medina Montenegro [EMAIL PROTECTED] wrote: Umm, I see.I found something like this in one post, but seems that for Spring 2.0 is no longer valid: bean id=newWidget class=model.Widget singleton=false jsf:scope=request/Any idea?Hmm ... sounds like a good question to ask on the

Re: Shale, Spring Tiger Annotations

2006-07-05 Thread Enrique Medina Montenegro
Found this thread in the Spring forum:http://forum.springframework.org/showthread.php?t=26302highlight=scope On 7/5/06, Craig McClanahan [EMAIL PROTECTED] wrote: On 7/5/06, Enrique Medina Montenegro [EMAIL PROTECTED] wrote: Umm, I see.I found something like this in one post, but seems that for

Re: Value is not a valid option on a selectOneMenu

2006-07-05 Thread Cagatay Civici
Hi Steven,Actually UISelectMany has the same behaviour, it checks whether the local value(converted version of the submitted value) is in the selectitems list or not.UISelectOne is the parent of classes like HtmlSelectOneMenu, HtmlSelectOneRadio, HtmlSelectOneListbox. UISelectOne includes the

Re: explanation of DataTable

2006-07-05 Thread Alexandre Jaquet
In the example here : http://wiki.apache.org/myfaces-data/attachments/WorkingWithLargeTables/attachments/myfaces-cars.zip there is a method wich fill and create a datamodel: protected PageableData createPageableData() { ListSimpleCar cars = new ArrayListSimpleCar(); for(int i = 0; i

Re: Shale, Spring Tiger Annotations

2006-07-05 Thread Enrique Medina Montenegro
But if I just define my beans with scope=request or scope=session, then I get an IllegalStateException :-(org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'gestorMenuBean' defined in class path resource [com/sabini/librisuite/sabiniContext.xml]: Initialization

RE: Shale, Spring Tiger Annotations

2006-07-05 Thread Coloma Escribano, Ignacio
The spring-jsf project is an outdated alternative to achieve what you want. Im saying from memory, but Spring 2 introduces what you really need, the DelegatingVariableResolver. The rest that spring-jsf provides is a bidirectional reachability, that allows you to reach JSF beans from

Re: EJB3.0 and Backing Beans Design

2006-07-05 Thread Mario Ivankovits
Hi! I am not sure, if it is really required to separate the entities and the view model. We use hibernate too, but directly use the entities in the view. This means, if one changes some data, we use the transparent mechanismn of the persistence framework to have them persisted. For sure, this

NoSuchMethodError getBooleanValue() with Tomahawk 1.1.5

2006-07-05 Thread Axel Karst
Hi all, I'm using Myfaces, Tomahawk and Sandbox 1.1.5 Snapshot with JBoss AS/Seam. I get the following Exception when using some Tomahawk components on my page, for example t:commandButton value=s / exception javax.servlet.ServletException:

Re: Portlet Can not call encodeNamespace() error

2006-07-05 Thread John Singleton
FYI I managed to work round this by changing the PortletExternalContextImpl.encodeNamespace to return null when called during an action request, instead of throwing an IllegalStateException. My page now works, and it appears that the componenets still get assigned id's during the render stage.

Re: Customized image with t:inputDate

2006-07-05 Thread ldr
Is this possible at all? /ldr_ -- View this message in context: http://www.nabble.com/Customized-image-with-%3Ct%3AinputDate%3E-tf1872857.html#a5178317 Sent from the MyFaces - Users forum at Nabble.com.

DataTable big failure regarding page number

2006-07-05 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 that

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

Antwort: Re: Customized image with t:inputDate

2006-07-05 Thread holger . schimanski
It was in previous versions. The hole TLD changed. (see http://www.irian.at/myfaces/calendar.jsf) Kind regards Holger ldr [EMAIL PROTECTED] schrieb am 05.07.2006 11:11:15: Is this possible at all? /ldr_ -- View this message in context: http://www.nabble.com/Customized-

Re: Values from tree checkboxes not submitted, when checkboxes are hidden.

2006-07-05 Thread Bjørn Stenfeldt
In case I wasn't clear enough about the problem, here is an example... I have a tree root. It is not expanded. It has a checkbox, which is not checked. [+][ ] root Then I expand the root, which reveals 2 children. The children too have checkboxes that are not checked. [-][ ] root | -

[bug] jscookmenu

2006-07-05 Thread Alexandre Jaquet
When I use IE the menu items doesn't appear correctly we can see an image with a cross, when refreshing the page the trouble is solved. Regards

Re: Antwort: Re: Customized image with t:inputDate

2006-07-05 Thread ldr
that is for the inputCalendar and not inputDate.. correct me if im wrong. /ldr_ -- View this message in context: http://www.nabble.com/Customized-image-with-%3Ct%3AinputDate%3E-tf1872857.html#a5179965 Sent from the MyFaces - Users forum at Nabble.com.

Hooking into the tree2 autoscrolling

2006-07-05 Thread Adam
Dear All, We have an XForm + JSF combination where the is a JSF Tree2 of the left of the page the XForm on the right. Tree2 has it's own scrolling function built in in Javascript to set the position of the tree back to the point where you clicked on a TreeNode after a refresh. e.g.:

Re: EJB3.0 and Backing Beans Design

2006-07-05 Thread Mario Ivankovits
Hi! 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/MyFacesComponents? Yes, I am aware that documentation

Re: NoSuchMethodError getBooleanValue() with Tomahawk 1.1.5

2006-07-05 Thread Torsten Krah
Same here with tomcat 5.5.17. Looking at the 1.1.5 API, the shared_tomahawk subtree dissapeared, thats the cause but i have no idea how to solve this. kind regards Am Mittwoch, den 05.07.2006, 10:08 +0200 schrieb Axel Karst: Hi all, I'm using Myfaces, Tomahawk and Sandbox 1.1.5 Snapshot

Re: Hooking into the tree2 autoscrolling

2006-07-05 Thread Adam
Adam wrote: Never mind, I hooked the form scrolling code into the onload event alles ist gut. Adam Dear All, We have an XForm + JSF combination where the is a JSF Tree2 of the left of the page the XForm on the right. Tree2 has it's own scrolling function built in in Javascript to set

Re: Setter not called for value binding

2006-07-05 Thread David Chandler
Rob, I think I can answer part of your question. The dropdown component that you're creating programatically retains its value on subsequent requests because all components retain their prior submitted values until the component valuesare cleared, which happens in the UPDATE_MODEL phase. It

forceId and t:data_Table

2006-07-05 Thread Torsten Krah
Using forceId=true with a extended dataTable still gives me the generated one - the id is not forced. t:panelGroup with forceId works. According to the docs it should work with all t: components, bug or got anyone forceId working with a t:dataTable? kind regards Torsten -- Press every key to

InputCalendar and imageLocation

2006-07-05 Thread Michael Heinen
Hi, I don't want that the the InputCalendar loads the images from the resources directory using the ExtensionsFilter. So I added the imageLocation attribute and copied all the calendar images into my image directory. The generated image links in the html code contain the

Customize images for t:inputCalendar

2006-07-05 Thread holger . schimanski
Sorry, I mixed inputDate and inputCalendar... Instead of the button, I can use an image for the popUp using these attributes popupButtonImageUrl=images/calendar.gif renderPopupButtonAsImage=true But how to change the images _inside_ the popUp calendar? I mean the close, left, right and down

Re: InputCalendar and imageLocation

2006-07-05 Thread Geoff Longo
I had the same issue with the javascript location. No matter what I did, it always referred to the extensions resources. -G On 7/5/06, Michael Heinen [EMAIL PROTECTED] wrote: Hi, I don't want that the the InputCalendar loads the images from the resources directory using the

RE: Dynamically adding tabs to t:panelTabbedPane

2006-07-05 Thread janw
Hello, one question in this context: How do you add content to the tabs? Programmatically, or do you refer in the JSP page (in case JSP is used) to the created tabs? Best regards Jan -- View this message in context:

writing is own HtmlDataTable

2006-07-05 Thread Alexandre Jaquet
I need to write my own table component and I need your advice to start it. Do I need to extend an existing class ? Wich step I've to follow ? thx for your advice

RE: Dynamically adding tabs to t:panelTabbedPane

2006-07-05 Thread Julian Ray
A simple way would be to create a container such as a h:groupPanel for each tabbed pane in the JSP and use a binding to it in a backing bean, then add to the panel from the backing bean. -Original Message- From: janw [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 05, 2006 10:33 AM To:

Myfaces 1.1.3 compatibility with WebSphere v5.1.2

2006-07-05 Thread Karl
Hi Folks, Is MyFaces 1.1.3 actually compatible with WebSphere 5.1.2? I'm developing under RAD and targetting a 5.1 application server. To get a test application to load in the test application server, I have to include a jsp-2.0.jar in the WEB_INF/lib path. This is not too surprising,

components and valuechange events - forgotten update of other components watching the same backing bean attribute - Updates lost on backing bean when the last rendered component isn't used

2006-07-05 Thread Torsten Krah
Hello. I've got 2 components, watching one backing bean value: h:selectOneMenu value=#{tableData.country} onchange=submit() immediate=true valueChangeListener=#{tableData.countryChanged} f:selectItems

RE: writing is own HtmlDataTable

2006-07-05 Thread James Richards
Title: RE: writing is own HtmlDataTable I had to make a custom extension of HtmlDataTable for a recent project. To do that I extended MyFaces HtmlDataTable: //... import org.apache.myfaces.component.html.ext.HtmlDataTable; import org.apache.myfaces.component.UserRoleAware; // ... public

2nd Try: s:inputTextAjax does not render validation errors

2006-07-05 Thread Kevin Shale
The example jsp code I am using from http://www.irian.at/myfaces-sandbox/inputAjax.jsp.sourcerenders an ajax-aware input box. However, when I set the value and the backing-bean-validator updates, nothing happens to my form. The Pulse icon rotates and rotates and my log file simply says:

RE: Dynamically adding tabs to t:panelTabbedPane

2006-07-05 Thread janw
hmm, I'm not clear about how to do this... putting a h:panelgroup around the tabbedPane? Is there an example somewhere or some code snippets? Jan -- View this message in context: http://www.nabble.com/Dynamically-adding-tabs-to-t%3ApanelTabbedPane-tf1785535.html#a5184332 Sent from the MyFaces

RE: components and valuechange events - forgotten update of othercomponents watching the same backing bean attribute - Updates lost onbacking bean when the last rendered component isn't used

2006-07-05 Thread Conway. Fintan \(IT Solutions\)
Hi Torsten, You mention that the last rendered component is the value that is used. Would a hidden component at the end of the form, which is set to the changed value work for you? Failing this you could use JavaScript to make sure that both selectOne values are changed when one changes. HTH,

RE: components and valuechange events - forgotten update of othercomponents watching the same backing bean attribute - Updates lost onbacking bean when the last rendered component isn't used

2006-07-05 Thread Torsten Krah
Javascript maybe an option - but i would prefer to find another solution. Hidden component - i dont get in my mind how to do this - a hidden component, how should i set the value which comes from the event to it, problem X is still there - so i dont really know the correct value - only the event

Re: Portlet Can not call encodeNamespace() error

2006-07-05 Thread Mike Kienenberger
On 7/5/06, John Singleton [EMAIL PROTECTED] wrote: FYI I managed to work round this by changing the PortletExternalContextImpl.encodeNamespace to return null when called during an action request, instead of throwing an IllegalStateException. My page now works, and it appears that the

Re: forceId and t:data_Table

2006-07-05 Thread Matthias Wessendorf
Torsten- there is an example on [1] where dataTable is shown with forceId/forceIdIndex and without. You might check that? -Matthias [1] http://irian.at/myfaces/forceId.jsf On 7/5/06, Torsten Krah [EMAIL PROTECTED] wrote: Using forceId=true with a extended dataTable still gives me the

[OT][ANN] JAVAWUG BOF XX / Oracle City of London / 13th July 2006 @ 7pm

2006-07-05 Thread Peter Pilgrim
Hi All I would like announce the twentieth birds-of-a-feather (BOF 20) of the Java Web Users Group. The event will take place at Oracle City Of London One South Place London, England EC2M 2RB. The feature speakers: Emmanuel Okyere

Gracefully detecting session expiration in JSF

2006-07-05 Thread Jeff Bischoff
I am looking for a JSF-based way to detect when a session is expiring and run some code before it dies. Specifically, I am writing a myfaces/tomahawk web application, and wish to save some user state information to the database when the session expires. When they next log in, they will have

tree component in ADF Faces / Trinidad vs. Tomahawk

2006-07-05 Thread Jiang, Jane \(NIH/NCI\) [C]
Hi, Has any one done any comparison between ADF Faces and Tomahawk? I started prototyping using the tree2 component. Now I noticed that the ADF tree menu offers more options that I can use. For example, link tree nodes to action and set the initial expand level. Many thanks for your

RE: tree component in ADF Faces / Trinidad vs. Tomahawk

2006-07-05 Thread Chaitanya Kadaru
All I am also trying to use both trinidad and tomahawk together. Can you please let me know the steps you did for configuration , like web.xml faces.config.xml or anything else special you did to get things work Right now i have a working tomahawk component project with me. Is there any

Passing parameters to managed bean in a loop

2006-07-05 Thread marek__222
Hello I have a list of art works in a gallery. Everybody can see all works (admireWork action), but only an author of a specified work is allowed to edit it (editWork action). I want the [edit] link to appear only for the authors, next to their works. I'm using rendered=#{workBean.allowEdit},

Re: Tree2 component in Version1.1.3 is not working

2006-07-05 Thread Sean Schofield
Do you have the extension filter hooked up properly? Check the wiki and/or the simple examples to see how this is done. Sean On 7/5/06, Kasturi Mudulodu [EMAIL PROTECTED] wrote: Hi, When I moved to the new version of Myfaces 1.1.3 (and Tomahawk), Tree2 component stopped working. I get a

RE: Tree2 component in Version1.1.3 is not working

2006-07-05 Thread Kasturi Mudulodu
Hi Sean, Thank you! My ExtensionsFilter is hooked up properly. I checked it again. Here are the entries from my web.xml. It used to work in previous version without any problems what so ever. What else could have changed in this version? !-- Faces Servlet -- servlet

RE: Tree2 component in Version1.1.3 is not working

2006-07-05 Thread David Friedman
What about the ExtensionsFilter being mapped to /faces/* so it can insert appripriate Tomahawk 'stuff' of which Tree2 should be a part of? You only listed this mapping, not /faces/*: filter-mapping filter-nameMyFacesExtensionsFilter/filter-name url-pattern*.faces/url-pattern /filter-mapping

Re: Tree2 component in Version1.1.3 is not working

2006-07-05 Thread Sean Schofield
There have been some important changes so check the wiki for details. I suspect you are no longer getting the javascript and that would be related to the extension filter not working. Sean On 7/5/06, Kasturi Mudulodu [EMAIL PROTECTED] wrote: Hi Sean, Thank you! My ExtensionsFilter is hooked

override getscrolling()

2006-07-05 Thread Eric Hsieh
The default implementation for getScrolling() that gets added by the extensionsfilter does a window.scrollTo() call to set the scrolling position.This only works for the case where tree2 is set in the window, not withing another container like a scrolling div (where overflow=auto).Is there a way

RE: EJB3.0 and Backing Beans Design

2006-07-05 Thread Dhananjay Prasanna
Hi Mario! =) Also relevant may be the Web Beans JSR (299) that Jboss is leading for integrating EJB3 with JSF. Separating concerns is important if the persistence/EJB layer is (potentially) serving many view tiers. Many projects are using transport objects to move data between the EJB layer and

Re: Setter not called for value binding

2006-07-05 Thread Rob99
I'll investigate if bypassing the UPDATE_MODEL phase could be the issue. -- View this message in context: http://www.nabble.com/Setter-not-called-for-value-binding-tf1887301.html#a5191741 Sent from the MyFaces - Users forum at Nabble.com.

where can get examples

2006-07-05 Thread wch zll
Hi, I am a newbie in myfaces. I am trying to download the myfaces-1.1.3-examples.zip file, but i cant find it anywhere. So can anyone help. From website : http://www.irian.at/myfaces.jsf, there are working demos, but i want get a one that i can try out on my localhost. thanks! ch

immediate attribute of t:commandSortHeader doesn't work with value = false

2006-07-05 Thread Anthony Hong
As javadoc describe that commandSortHeader default immediate=true, If I want to set it to false. I still can not get updated value from page. Anyone who has successful on this component? As for default behavior, I have two column a, b. Each time click column, it will request my backingbean

Re: forceId and t:data_Table

2006-07-05 Thread Torsten Krah
Look at the source code there - same problem there. forceIdIndex works - but forceId on the dataTable not - take a look. kind regards Torsten Matthias Wessendorf schrieb: Torsten- there is an example on [1] where dataTable is shown with forceId/forceIdIndex and without. You might check that?

Re: immediate attribute of t:commandSortHeader doesn't work with value = false

2006-07-05 Thread Anthony Hong
When I click sortHead, DataTable set sort column as previous not current clicking column head, Is this correct? What I suppose is click on which column, sorting on that one On 7/6/06, Anthony Hong [EMAIL PROTECTED] wrote: As javadoc describe that commandSortHeader default immediate=true, If I

Re: forceId and t:data_Table

2006-07-05 Thread Torsten Krah
Looking at the source code, not the generated one also showed up, that forceId for the dataTable Tag is not used: t:dataTable value=#{forceIdBean.choices} var=choice h:column t:inputText id=widget value=#{choice}

Re: Tomahawk Maven2 oddity: 1.1.3 requires Shale and Struts1.2.8. Why?

2006-07-05 Thread Wendy Smoak
On 6/29/06, David Friedman [EMAIL PROTECTED] wrote: I just added Tomahawk 1.1.3 to my Maven2 build with: dependency groupIdorg.apache.myfaces.tomahawk/groupId artifactIdtomahawk/artifactId version1.1.3/version /dependency And it suddenly added Struts-1.2.8 to my .war

Re: EJB3.0 and Backing Beans Design

2006-07-05 Thread Matthias Wessendorf
Spring web flow is a also a good alternative to the conversation system you are describing... for some reasons I prefere the Shale / ADF dialog on that. It is closer to JSF than the Spring one. -Matt