[jboss-user] [JBoss Seam] - IPC JSF problems: caracter ', ' and parse date

dcshonda do-not-reply at jboss.com
Fri Jan 25 07:28:48 EST 2008

Hi every one,

I have a problem with IPC. I have two jsf portlets (A and B). I am sending a date from A to B. The data from A is coming from a SQL Server Database. I have two problems:

1. If I send three parameters and the first of them contains the caracter ',' ...the portletB makes a mess itself, with parameters. The problem is because Listener takes the first part (front of caracter ',') of the first parameter as the parameter´s vale, but the second part (behind caracter ',') as a new parameter name for the next parameter. I don´t know how to resolve it. Anyone knows if it is possible replace ',' with another caracter in the .xhtml file.

2. I can not send a param with format "dd/MM/yyyy" from JSF. I can show it in portlet B, but when I send it, it send the standard format.

Portlet A
  | <h:commandLink id="pars" value="#{op.operacionId}">
  | 	<f:param name="s_operacion" 	value="#{op.operacionId}"/>	<f:param name="s_office" value="#{op.oficinas.oficinaNo}"/>
  | 	<f:param name="s_date" value="#{op.date}"/>
  | </h:commandLink>

Portlet B
  | <h:outputLabel value="#{messages.expediente}"/> 
  | <h:outputText value="#{param.s_operation}"/>
  | <h:outputLabel value="#{messages.oficina}"/> 
  | <h:outputText value="#{param.s_office}"/>
  | <h:outputLabel value="#{messages.fecha_alta}"/> 
  | <h:outputText value="#{param.s_date}"/>

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4123437#4123437

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4123437

More information about the jboss-user mailing list