?
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
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
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
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
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
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
,
Adam Koprowski
--
=
[EMAIL PROTECTED] , ICQ: 3204612
http://www.win.tue.nl/~akoprows
The difference between impossible and possible
lies in determination (Tommy Lasorda)
=
--
David
?
Thanks in advance,
-Kevin
--
David Chandler
Development Coach
learnjsf.com
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
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
, 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
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
Yahoo! Mail beta.
--
David Chandler
Development Coach
learnjsf.com
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
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
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
provided for retrieve parent by current tree
node or tree state.
Please help. Thanks
--
Anthony Hong
--
David Chandler
Development Coach
learnjsf.com
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
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
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
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
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
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 =
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
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
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
/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
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
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
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
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
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
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
33 matches
Mail list logo