[JBoss Seam] - Re: @RequestParameter issue
by Sammy8306
I wasn't trying to be hostile or anything, sorry if I came across like that?
What I want, is some mechanism to create (for example) a facesmessage containing a reference to the parameter name stating that invalid information is entered. However, 1) we are dealing with a GET, so facesmessages are not displayed directly (can work around that using a conditionally rendered div or something) 2) the runtime exception is not being thrown in the context of the component that accesses the requestparameter.
If redirecting based on the exception is the only mechanism available, then I'll use it - if there was an easier solution (which is why I asked the question) I would like to use that.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4042239#4042239
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4042239
17 years, 2 months
[JBoss Seam] - Re: Trinidad PPR/Ajax and Seam
by dajevtic
Hi. Have you ever tried placing your to-be-updated tags into a panelGroupLayout or panelLabelAndMessage?
I use inputListOfValues for either inputting or selecting a postal code from a list of values and upon selection i update the calling page's fields with city and country info. It all works perfectly fine:
| <tr:inputListOfValues id="postalcode" action="dialog:citieslov" valueChangeListener="#{valueChangeHandler.processPostalCodeChange}"
| label="#{messages.postalcode}:" autoSubmit="true" showRequired="true" partialTriggers="postalcode" value="#{currentCompany.city.postalcode}"
| returnListener="#{valueChangeHandler.processReturnCityToCompanyLov}">
| <f:param name="conversationPropagation" value="join" />
| </tr:inputListOfValues>
|
| <tr:panelLabelAndMessage label="#{messages.city}:">
| <tr:outputText partialTriggers="postalcode" id="city"
| value="#{currentCompany.city.name}" />
| </tr:panelLabelAndMessage>
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4042234#4042234
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4042234
17 years, 2 months