0 Replies Latest reply on Jan 25, 2008 7:28 AM by dcshonda

    IPC JSF problems: caracter ',' and parse date

    dcshonda

      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}"/>