FYI.  I just got a response on the Jenia forum.  It currently isn't possible
to put an input box in a popup box, but it is being worked on.


> From: Richard Frazer <[EMAIL PROTECTED]>
> Reply-To: MyFaces Discussion <[email protected]>
> Date: Mon, 06 Mar 2006 13:59:28 -0500
> To: MyFaces Discussion <[email protected]>, Mike Kienenberger
> <[EMAIL PROTECTED]>
> Subject: Re: jenia popup w/ input text
> 
> Good thinking.  I pulled the inputText tag out to the top of the form and
> the value is set when my action in popup is called.  I also put it in
> several layers from my form down to the column header where I'm rendering my
> popup box.  All work, except when I ahave my inputText box in the popup box.
> 
> Thanks.
> 
> 
>> From: Mike Kienenberger <[EMAIL PROTECTED]>
>> Reply-To: MyFaces Discussion <[email protected]>
>> Date: Mon, 6 Mar 2006 13:50:41 -0500
>> To: MyFaces User mailing list <[email protected]>
>> Subject: Re: jenia popup w/ input text
>> 
>> Oops.  Dropped the list from the reply.
>> 
>> On 3/6/06, Mike Kienenberger <[EMAIL PROTECTED]> wrote:
>>> What happens if you stick the expression in a comment or elsewhere
>>> outside your popup box (as close to the top-level as possible)?
>>> Facelets will evaluate it even inside of a comment.
>>> 
>>> Or better yet, what happens if you move the inputText to a top level?
>>>  That should eliminate a large set of potential problems.
>>> 
>>> If it works outside of the other components, you know it's some odd
>>> interaction between components.
>>> 
>>> If it doesn't, you know it's the expression or inputText component.
>>> 
>>> You might also do a view source to be sure all of the tags are being
>>> evaluated.
>>> 
>>> -Mike
>>> 
>>> 
>>> On 3/6/06, Richard Frazer <[EMAIL PROTECTED]> wrote:
>>>> I'm certain that this expression is valid.  I pre-populate it in my backing
>>>> bean and it gets populated in my page.  Plus, when I intentionally put an
>>>> invalid expression in, I get an error page.
>>>> 
>>>> The warning message that I'm getting seems a little strange.
>>>> 
>>>> Richard
>>>> 
>>>> 
>>>>> From: Mike Kienenberger <[EMAIL PROTECTED]>
>>>>> Reply-To: <[EMAIL PROTECTED]>
>>>>> Date: Mon, 6 Mar 2006 13:33:57 -0500
>>>>> To: <[EMAIL PROTECTED]>
>>>>> Subject: Re: jenia popup w/ input text
>>>>> 
>>>>> Seems unlikely to be related to jp:popupBox if the commandLink works.
>>>>> My guess is that #{userListBean.userIdFilter} isn't a valid expression.
>>>>> 
>>>>> On 3/6/06, Richard Frazer <[EMAIL PROTECTED]> wrote:
>>>>>> Has anybody tried something like this:
>>>>>> 
>>>>>> <jp:popupBox>
>>>>>>   <f:facet name="button">User Id</f:facet>
>>>>>>   <f:facet name="content">
>>>>>>     <h:panelGrid columns="3">
>>>>>>       Filter
>>>>>>       <h:inputText id="userIdFilter"
>>>>>> value="#{userListBean.userIdFilter}"/>
>>>>>>       <h:commandLink value="go" action="#{userListBean.filter}"/>
>>>>>>     </h:panelGrid>
>>>>>>   </f:facet>
>>>>>> </jp:popupBox>
>>>>>> 
>>>>>> 
>>>>>> The action for the commandLink is being called, but the value for the
>>>>>> userIdFilter inputText isn't being set.  Is this supposed to work?
>>>>>> 
>>>>>> I'm using Facelets 1.0.10, MyFaces nightly from last week, and
>>>>>> Jenia4Faces
>>>>>> 1.2, which is supposed to work with Facelets.
>>>>>> 
>>>>>> I'm getting this warning in the log file:
>>>>>> 
>>>>>> 13:10:25,957 WARN  [HtmlRendererUtils] There should always be a submitted
>>>>>> value for an input if it is rendered, its form is submitted, and it is
>>>>>> not
>>>>>> disabled or read-only. Component : {Component-Path : [Class:
>>>>>> javax.faces.component.UIViewRoot,ViewId: /admin/UserList.xhtml][Class:
>>>>>> javax.faces.component.html.HtmlPanelGroup,Id: rightColumn][Class:
>>>>>> javax.faces.component.html.HtmlForm,Id: userListForm][Class:
>>>>>> org.apache.myfaces.component.html.ext.HtmlDataTable,Id: users][Class:
>>>>>> javax.faces.component.UIColumn,Id: _id11][Class:
>>>>>> org.jenia.faces.popup.component.html.HtmlPopupBox,Id: _id12][Class:
>>>>>> javax.faces.component.html.HtmlPanelGrid,Id: _id13][Class:
>>>>>> javax.faces.component.html.HtmlInputText,Id: userIdFilter]}
>>>>>> 
>>>>>> Thanks for any help.
>>>>>> 
>>>>>> Richard
>>>>>> 
>>>>>> ---------------------------------------------------------------------
>>>>>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>>>>>> For additional commands, e-mail: [EMAIL PROTECTED]
>>>>>> 
>>>>>> 
>>>>> 
>>>>> ---------------------------------------------------------------------
>>>>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>>>>> For additional commands, e-mail: [EMAIL PROTECTED]
>>>>> 
>>>> 
>>>> 
>>> 
> 

Reply via email to