Loading ...
Sorry, an error occurred while loading the content.

Re: not rendered in chtml?

Expand Messages
  • mark_o.brien
    I ve had similar problems, and I ve also fixed it. Will this change be made standard in future distributions of WALL? I believe it should. ...
    Message 1 of 11 , May 31, 2007
    • 0 Attachment
      I've had similar problems, and I've also fixed it. Will this change be
      made standard in future distributions of WALL? I believe it should.

      --- In wmlprogramming@yahoogroups.com, Luca Passani <passani@...> wrote:
      >
      > Stephan Fowler wrote:
      >
      > > If you are able to, that would be really great... not too confident of
      > >
      > >my ability to tinker effectively with the code...
      > >
      > >
      > >
      > You need to make a small change to WallBlock.java
      > (net/sourceforge/wurfl/wall/WallBlock.java)
      >
      >
      http://wurfl.cvs.sourceforge.net/wurfl/tools/java/wurflapi-xom/antbuild/src/net/sourceforge/wurfl/wall/WallBlock.java?revision=1.2&view=markup
      >
      > 86 if (capability_value.startsWith("chtml") ) {
      > 87 try {
      > 88 JspWriter out = pageContext.getOut();
      > 89 if (!align.equals("")) {
      > 90 if (align.equals("middle")) {
      > 91 out.print("<p align=\"center\">");
      > 92 } else {
      > 93 out.print("<p align=\""+align+"\">");
      > 94 }
      > } else {
      > 0ut.print("<p>");
      > 95 }
      >
      > and replace this:
      >
      >
      > 143 if ( capability_value.startsWith("chtml") ) {
      > 144 if (!align.equals("")) {
      > 145 out.print("</p>");
      > 146 }
      > 147 }
      >
      > with this:
      >
      > 143 if ( capability_value.startsWith("chtml") ) {
      > 144
      > 145 out.print("</p>");
      > 146
      > 147 }
      >
      >
      >
      > >As always, in great appreciation of WALL and the WURFL.
      > >
      > >
      > Your assumption that I am not immune to flattery is not incorrect ;)
      >
      > Luca
      >
    Your message has been successfully submitted and would be delivered to recipients shortly.