I've tried various regular expressions in the regex validator and it doesn't
appear to do anything.
For instance,
Allows any number of letters, number.
--
View this message in context:
http://www.nabble.com/validateRegExpr-broken--tf3652789.html#a10204206
Sent from the MyFaces - Users mail
How can you set the selected items for a UISelectMany during rendering?
--
View this message in context:
http://www.nabble.com/Setting-selected-item-in-SelectMany-tf3406117.html#a9487726
Sent from the MyFaces - Users mailing list archive at Nabble.com.
I had thought the response writer was set during the restoreView phase by the
viewRoot. I have a phase listener that is invoked after the restore view,
then calls a handler on a component. I assumed the context would have the
writer set in it, but its null at that point (unless I manually set it
I've found a few posts in the ballpark of the issue I'm working on right now,
but no solutions.
I have a custom component inside a t:datatable. I'm actually just using the
datatable to manage multiple instances of my custom component.
The custom component is a floatingPane (from dojo) that se
We are using ADF's token state saving, so I had to add a mechanism to
increment the token hidden field on the document during the AJAX request.
That resolved this.
Matt
Matt Tyson wrote:
>
> I've got a phaseListener that handle my ajax requests. I can successfully
> r
I've got a phaseListener that handle my ajax requests. I can successfully
recover the view and component by either manually using restoreView or by
waiting till the afterPhase() of the restoreView phase.
Once I have the component, I manually call its encode methods, followed by
the saveSerialize
I'm seeing this issue using ADF 10.1.3. I have the default renderer set to
adf's renderer, and when I try to render a t:commandlink inside a facet, I
see the following trace:
java.lang.NullPointerException
at
oracle.adfinternal.view.faces.uinode.FacesRenderingContext.setRenderingProperty
I've seen some discussion of problems with state saving and multiple windows.
My situation is I have a custom tree component in a left frame that has
nodes which when clicked open a new jsf url in the right frame. After
clicking the link, the right frame loads properly, but the state is not
re
t.jsp.
So get around this, you can make frameLeft.jsp itself a frameset that has
only one frame inside. Inside that frame, put your actual view, and myfaces
will recover the state correctly.
Matt
Matt Tyson wrote:
>
> I've got a component inside a frame. The state is server side,
> each frame will have there own component tree (their own viewId) in the
> server side..
>
>
> Matt Tyson
>
storing the view when it
has been requested from inside a frame. I don't know why.
Any other ideas?
Thanks,
Matt
Matt Tyson wrote:
>
> I've got a component inside a frame. The state is server side, and JSF
> can't find it. If I hit a command button inside that fr
Here is my theory. When the request is submitted for the framed page, its
from the framing page, with a different session ID.
Matt Tyson wrote:
>
> I've got a component inside a frame. The state is server side, and JSF
> can't find it. If I hit a command button inside
I've got a component inside a frame. The state is server side, and JSF can't
find it. If I hit a command button inside that frame, it can thereafter
find the state.
Leaving aside the question of why we are using frames, can anyone explain
this behavior? During the initial request for the page,
n the
wire.
Fortunately, switching back to server-side is trivial -- at least for this
particular situation.
Matt
Simon Kitching-3 wrote:
>
> Matt Tyson wrote:
>> Got it. Here's the params I needed to send with the ajax request:
>>
>> var clientTree = document.g
"jsf_state_64":clientState,
"jsf_viewid":viewId}
});
Only took a day. Thanks for pointing me in the right direction Simon.
Matt Tyson wrote:
>
> Simon,
>
> Here's where the problem arises. Th
y into the request, but I'm still
not getting my state back, perhaps because of 2)?
Any suggestions?
Thanks.
Matt
Simon Kitching-3 wrote:
>
> Matt Tyson wrote:
>> Hello,
>>
>> This works using server-side state saving:
>>
>> UIViewRoot viewRoot =
>&
Hello,
This works using server-side state saving:
UIViewRoot viewRoot =
context.getApplication().getViewHandler().restoreView(context, viewId);
And then I can get the component I'm interested in. The viewRoot has no
children if its client-side state saving. Do I need to manually restore the
s
I always enjoy answering my own questions moments after posting them.
Here's the missing piece I needed for others:
context.getApplication().getStateManager().saveSerializedView(context);
Regards.
Matt Tyson wrote:
>
> Here's my setup...
>
> 1) Request comes i
Here's my setup...
1) Request comes in and the component is rendered as normal
2) Next request is a AJAX request. I grab the request in a listener during
restoreView, and get the component using its clientId (we're in the
afterPhase method). Then I manually call the the encode methods on the
c
So I've got my tree rendering nodes based on ajax data. Now I want to be
able to control the node rendering via facets (a la the tree2 component).
My question, is the way to do this: iterate through the facets and children
using _FacetsAndChildrenIterator during my ajax response?
Basically I'
Instance();
>ValueBinding binding =
> context.getApplication().createValueBinding("configBean");
>return (ConfigBean)binding.getValue(context);
>
>
> On 12/7/06, Simon Kitching <[EMAIL PROTECTED]> wrote:
>> Matt Tyson wrote:
>> > Can you ha
ituation...
Regards,
Matt
Simon Kitching-3 wrote:
>
> Matt Tyson wrote:
>> Can you have a phase listener entry in the config.xml be a managed bean
>> reference?
>>
>> I've got a phase listener that needs a reference to another object to get
>> some data a
Can you have a phase listener entry in the config.xml be a managed bean
reference?
I've got a phase listener that needs a reference to another object to get
some data and I want to externalize that reference.
Thanks.
Matt
--
View this message in context:
http://www.nabble.com/PhaseListener-
other framework should
> be relatively easy
>
> http://sourceforge.net/projects/jsf-comp
> http://sourceforge.net/project/showfiles.php?group_id=137466&package_id=197375
>
> The code is currently just support for tree2.
>
> On 11/29/06, Matt Tyson <[EMAIL PROTECT
We are shooting for ajax nodes with lazy loading. I've looked at quite a few
ideas, but nothing really addresses what we're imaging.
We're looking to actually just append or remove nodes from the tree using JS
and the DOM with Ajax. So when a user clicks a node, the ajax request goes
and gets
hanks.
Matt Tyson
--
View this message in context:
http://www.nabble.com/Tomcat-and-undeploying-ADF-jar-tf2590203.html#a7222857
Sent from the MyFaces - Users mailing list archive at Nabble.com.
ceHandler.java:75)
Which I thought was fixed in the current code base. Unfortunately, since
the JsCookMenu renderer uses private methods instead of protected, I'm doing
some cut-and-paste that makes the call to MyFacesResourceHandler.
Suggestions?
Matt Tyson wrote:
>
> Dang it.
and without the render-kit-id. I know the config file is being picked up
(if I comment out this renderer, everything loads).
Can anyone tell me what else I might be doing wrong here? Just trying to
replace the renderer with my own subclass.
Thanks.
Matt Tyson
Matt Tyson wrote:
&
Dennis,
That fixed it. I REALLY appreciate your assistance.
I removed the rendit-kit-id from the faces-config entry that registered my
subclass of the JSCookMenu converter and it resolved the error in the
subject line.
Again, thank you very much.
Matt Tyson
P.S. I removed this topic from
But I get: expected a myfaces custom component class in package
org.apache.myfaces.custom
What am I not doing right?
Thanks very much.
Matt Tyson
--
View this message in context:
http://www.nabble.com/Subject%3A-expected-a-myfaces-custom-component-class-in-package
30 matches
Mail list logo