|
View:
New views
3 Messages
—
Rating Filter:
Alert me
|
|
|
Assistance regarding empty request parameters during postBackHi,
Since I am fairly new to Facelet this will be an intro question, so please bear with me. In a nutshell I have created a custom component + custom renderer and the issue is that the value of dynamically created INPUT html element of type HIDDEN is not present within FacesContext.ExternalContext.getRequestParameterMap() during the postBack phase. Of course the values of the regular components such as <h:inputText /> is being mapped correctly and the custom component + custom renderer is working correctly when using the JSP ViewHandler. The reason I mentioned that <h:inputText /> component is working properly is because I have created a custom RenderKit with its associated resources [ResponseStateManager, ResponseWriter]. Technically these resources use composition design pattern to wrap around the HTML implementations [needed so that one can intermix the custom components with HTML components]. After encountering this issue I was planning to dig through the Facelet code, but I was hoping if I could get some leads or answers to why I am seeing this quirky behavior from more experienced individuals. Thanks!!! -- Sincerely, Ji Hoon Kim --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@... For additional commands, e-mail: users-help@... |
|
|
Re: Assistance regarding empty request parameters during postBackDid more investigation and might be a stupid error on my part.
Hopefully is and will tell of the error later, so that this post can be disregarded. Thanks!!! On Sat, Feb 14, 2009 at 10:16 PM, Jihoon Kim <jihoonkim1004@...> wrote: > Hi, > > Since I am fairly new to Facelet this will be an intro question, so > please bear with me. > > In a nutshell I have created a custom component + custom renderer and > the issue is that the value of dynamically created INPUT html element > of type HIDDEN is not present within > FacesContext.ExternalContext.getRequestParameterMap() during the > postBack phase. Of course the values of the regular components such > as <h:inputText /> is being mapped correctly and the custom component > + custom renderer is working correctly when using the JSP ViewHandler. > > The reason I mentioned that <h:inputText /> component is working > properly is because I have created a custom RenderKit with its > associated resources [ResponseStateManager, ResponseWriter]. > Technically these resources use composition design pattern to wrap > around the HTML implementations [needed so that one can intermix the > custom components with HTML components]. > > After encountering this issue I was planning to dig through the > Facelet code, but I was hoping if I could get some leads or answers to > why I am seeing this quirky behavior from more experienced > individuals. > > Thanks!!! > > -- > Sincerely, > > Ji Hoon Kim > -- Sincerely, Ji Hoon Kim --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@... For additional commands, e-mail: users-help@... |
|
|
Re: Assistance regarding empty request parameters during postBackHorrah, I was an idiot yesterday!!!
Knew it was unlikely that ServletRequest would be touched, but still posted because I wanted to get the solution as soon as possible and eliminate that possibility. Sorry about that and I did punch myself in the face for this, my bad. Oh well, a positive result of this posting is that I did create a Java Net account. Thanks!!! On Sun, Feb 15, 2009 at 6:01 PM, Jihoon Kim <jihoonkim1004@...> wrote: > Did more investigation and might be a stupid error on my part. > Hopefully is and will tell of the error later, so that this post can > be disregarded. > > Thanks!!! > > On Sat, Feb 14, 2009 at 10:16 PM, Jihoon Kim <jihoonkim1004@...> wrote: >> Hi, >> >> Since I am fairly new to Facelet this will be an intro question, so >> please bear with me. >> >> In a nutshell I have created a custom component + custom renderer and >> the issue is that the value of dynamically created INPUT html element >> of type HIDDEN is not present within >> FacesContext.ExternalContext.getRequestParameterMap() during the >> postBack phase. Of course the values of the regular components such >> as <h:inputText /> is being mapped correctly and the custom component >> + custom renderer is working correctly when using the JSP ViewHandler. >> >> The reason I mentioned that <h:inputText /> component is working >> properly is because I have created a custom RenderKit with its >> associated resources [ResponseStateManager, ResponseWriter]. >> Technically these resources use composition design pattern to wrap >> around the HTML implementations [needed so that one can intermix the >> custom components with HTML components]. >> >> After encountering this issue I was planning to dig through the >> Facelet code, but I was hoping if I could get some leads or answers to >> why I am seeing this quirky behavior from more experienced >> individuals. >> >> Thanks!!! >> >> -- >> Sincerely, >> >> Ji Hoon Kim >> > > > > -- > Sincerely, > > Ji Hoon Kim > -- Sincerely, Ji Hoon Kim --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@... For additional commands, e-mail: users-help@... |
| Free embeddable forum powered by Nabble | Forum Help |