Re: DataScroller and POST/GET redirect

2007-01-16 Thread David Chandler
? The same probably also applies to the sort headers in the dataTable. André Næss -- View this message in context: http://www.nabble.com/DataScroller-and-POST-GET-redirect-tf2944965.html#a8235235 Sent from the MyFaces - Users mailing list archive at Nabble.com. -- David Chandler Development

Re: Inline validation method

2007-01-03 Thread David Chandler
dealing with validation in a custom Validator object. This is also explains the requirement of maintaining the same method signature. -- David Chandler Development Coach learnjsf.com

Re: download file breaks lifecycle

2006-12-29 Thread David Chandler
ideas? -- ::SammyRulez:: http://www.kyub.com/blog/ - La programmazione è per un terzo interpretazione e per due terzi ispirazione. E per un terzo mistificazione -- David Chandler Development Coach learnjsf.com

Re: Multiple Field Validations

2006-12-29 Thread David Chandler
You can use one validator to target multiple components as long as the component IDs you assign are distinct. There should be no problem using a form-level validator to reach of these fields with findComponent(id). h:inputText id=address1street.../ h:inputText id=address1zip.../ h:inputText

Re: Multiple Field Validations

2006-12-29 Thread David Chandler
So the problem is that i want to write a genric validator that doesn't know of the id's you might want to use within your page, but only the meaning of those id, so u can have multiple zipcode checks within the same page without altering your validator. Ah, I see. Since the address validator

Re: Accessing array or collection size in JSF expresison language

2006-12-19 Thread David Chandler
someBean.getSomeArraySize() as it's seems to me it's like doing double work (getSommeArray returns and array and getSommeArray returns information present in Array) -- David Chandler Development Coach learnjsf.com

Re: JSF is the answer? I don't think so...

2006-12-13 Thread David Chandler
, Adam Koprowski -- = [EMAIL PROTECTED] , ICQ: 3204612 http://www.win.tue.nl/~akoprows The difference between impossible and possible lies in determination (Tommy Lasorda) = -- David

Re: Spoofing commandLink

2006-12-13 Thread David Chandler
? Thanks in advance, -Kevin -- David Chandler Development Coach learnjsf.com

Re: CommandLink and Tree2

2006-12-11 Thread David Chandler
then delete and destroy the original message and all copies. You should not copy, forward and/or disclose this message, in whole or in part, without permission of the sender. -- -- David Chandler Development Coach learnjsf.com

Re: submit value by commandLink

2006-12-08 Thread David Chandler
CommandLink does submit all values in the enclosing form just like commandButton unless you're using immediate=true and specifying the outcome in the action attribute like this: h:commandLink value=Edit action=success immediate=true / /dmc -- David

Re: Finding an object in a dataTable

2006-12-08 Thread David Chandler
, and then let JS read the hidden field to get the ID of the selected item, look for that id in the DOM, and compute the scroll distance. HTH, /dmc On 12/8/06, Steve S [EMAIL PROTECTED] wrote: David Chandler david.chandler at learnjsf.com writes: Sounds like you need the id in the hidden

Re: submit value by commandLink

2006-12-08 Thread David Chandler
On 12/8/06, Dave [EMAIL PROTECTED] wrote: But no modelUpdate phase is went through, and the backing bean binding value is not changed. If commandLink submit values like commandButton does, there should be a modelUpdate phase to update values. Thanks, What happens if you simply change the word

Re: URL for home page(index.jsp) without redirect

2006-12-08 Thread David Chandler
Yahoo! Mail beta. -- David Chandler Development Coach learnjsf.com

Re: SelectONeMenu valueChangeListener not skipping validation phase...

2006-12-07 Thread David Chandler
the respective validation message for this component, which I don´t want to happen. Any ideas, is this a known issue, am I missing something? Thanks, JV -- David Chandler Development Coach learnjsf.com

Re: Finding an object in a dataTable

2006-12-07 Thread David Chandler
played around with rowIndex and t:updateActionListener, to no avail. Anyone have any ideas how I can get the value I need? Thanks in advance, Steve -- David Chandler Development Coach learnjsf.com

Re: Facelets and JSP tags

2006-12-07 Thread David Chandler
should appear in the templates. Question is, is it possible to include JSP tags inside a facelet template? Or is there an easy way to create a facelet tag that wrap a legacy JSP tag? -- David Chandler Development Coach learnjsf.com

Re: Tree2 question: How to retrieve entire path of current selected node?

2006-11-29 Thread David Chandler
provided for retrieve parent by current tree node or tree state. Please help. Thanks -- Anthony Hong -- David Chandler Development Coach learnjsf.com

Re: Custom JSF navigation

2006-11-16 Thread David Chandler
component, however. Of course, this approach has the disadvantage that you must keep track of navigation states yourself in the passive portlet. HTH, /dmc -- David Chandler Development Coach learnjsf.com On 11/16/06, Pfau, Oliver [EMAIL PROTECTED] wrote: Hi, I have 2 JSF portlets. Click in portlet 1

Re: Custom component, validation messages

2006-11-16 Thread David Chandler
a écrit : If he can integrate the message-component in the input-component, then that's an option, right! regards, Martin On 11/14/06, David Chandler [EMAIL PROTECTED] wrote: I may not be understanding your question correctly, but if you're adding the input sub-components programatically, you

Re: Custom component, validation messages

2006-11-14 Thread David Chandler
I may not be understanding your question correctly, but if you're adding the input sub-components programatically, you could add the associated message sub-components programatically at the same time. Call setId() on each input component to give it its own ID that you can then use in for= "" the

Re: Inter portlet communication

2006-11-10 Thread David Chandler
If your portlets are deployed in the same WAR (at least in Liferay), they share the same HTTPSession. Therefore, you should be able to take one of several approaches to sharing information between your portlets:1) Create a shared object directly in the HTTPSession map. 2) Evaluate an EL

Re: tree gets collapsed between requests.

2006-10-30 Thread David Chandler
Are you navigating to a different view? In this case, the new view creates a new instance of the tree component (even if tree2 exists in only one file and is being included via Tiles), so you must store the tree state in the backing bean. See this MyFaces wiki article for details. Look under

Re: problem facing in A PRG Phase Listener for JSF

2006-10-19 Thread David Chandler
Asad,Since this isn't a MyFaces question, I've posted a reply on the blog you quoted./dmcOn 10/18/06, Asad Bashir [EMAIL PROTECTED] wrote: I am having the problem regarding A PRG Phase Listenerfor JSF it is not saving my messages as it never enter into this for loop for (Iterator i =

Re: Post-Redirect-Get-Pattern and t:datascoller

2006-10-19 Thread David Chandler
Ingo,Since this is not MyFaces-specific, I've replied directly at the blog (now http://learnjsf.com/wp/2006/08/06/a-prg-phase-listener-for-jsf/ )./dmcOn 10/14/06, Ingo Düppe [EMAIL PROTECTED] wrote: Hi,I tried to integrate the idea of the Post-Redirect-Get-PhaseListener

Re: Refresh JSF Page

2006-09-29 Thread David Chandler
by you. Could you provide some more information about how to use your PostRedirectGetListener to achieve Bookmark Refresh? e.g. In Master-detail kind of scenario, if a detail page is bookmarked, how to display that page? Regards, Kiran From: David Chandler [mailto:[EMAIL

Re: Refresh JSF Page

2006-09-25 Thread David Chandler
The POST-REDIRECT-GET phase listener can help with this. http://turbomanage.wordpress.com/2006/08/06/prg-for-jsf/ YMMV, /dmc On 9/20/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi, I have to provide Refresh Button in all the pages of my JSF application. Please help me how to achieve

Re: Potlets with Tomahawk in Liferay

2006-08-16 Thread David Chandler
/param-value /context-param /dmc David Chandler blog: http://turbomanage.wordpress.com On 8/14/06, Dave Brondsema [EMAIL PROTECTED] wrote: Marcus Smith wrote: Hi, I tried to run Tomahawk components (which require _javascript_) like InputCalendar or tree2 in a Portlet on the Liferay Portal

Re: Jetspeed2 and MyFaces

2006-07-26 Thread David Chandler
Yes, I have myFaces and facelets working with Jetspeed2. You don't need portals-bridges, just MyFacesGenericPortlet. You may want to extend it to do any special processing for your app, then register it in portal.xml, i.e. portlet-classcom.whoever.ClassThatExtendsMyFacesGenericPortlet

Re: tree 2 -- lazy loading.

2006-07-18 Thread David Chandler
Also see the wiki. The technique I'm currently using from there is to override the getChildren() method of your TreeNode implementation. Works perfectly! http://wiki.apache.org/myfaces/Tree2 /dmc On 7/17/06, Andrew Robinson [EMAIL PROTECTED] wrote: Check the archives. You will see my post about

Re: Process scope

2006-07-17 Thread David Chandler
Also check out WebFlow Navigation Module (wfnm.sourceforge.net), which offers JSP tags that demarcate page flows and uses a session listener to automatically destroy session managed beans associated with a page flow when you exit that flow. Ultimately, I'd like to see something more integrated

Re: Setter not called for value binding

2006-07-06 Thread David Chandler
immediate to true does not cause the UPDATE_MODEL phase (or anyother phase) to be skipped. See http://wiki.apache.org/myfaces/How_The_Immediate_Attribute_Works-Guy.On 05/07/2006 14:03, David Chandler wrote: Rob, I think I can answer part of your question. The dropdown component that you're creating

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

Any myFaces presentations at ApacheCon US this year?

2006-06-26 Thread David Chandler
against the oWASP Top Ten attacks (especially forced browsing prevention and paramter tampering / information hiding in menu options).Is anyoneinterested in meeting to discuss JSF security at ApacheConUS? David Chandler Java Web Developer