It might be tough without human intervention (but then again, I suck at complex regex stuff).

These seemed to be the changes I made over and over again....

In .page(s):

Replace:
<!DOCTYPE page-specification PUBLIC
  "-//Apache Software Foundation//Tapestry Specification 3.0//EN"
  "http://jakarta.apache.org/tapestry/dtd/Tapestry_3_0.dtd";>
With:
<!DOCTYPE page-specification PUBLIC
      "-//Apache Software Foundation//Tapestry Specification 4.0//EN"
      "http://jakarta.apache.org/tapestry/dtd/Tapestry_4_0.dtd";>

Replace:
<property-specification name="email" persistent="no" type="java.lang.String" />
With:
     <property name="email" />

Replace:
<property-specification name="email" persistent="yes" type="java.lang.String" />
With:
    <property name="email" persist="session|client" />

In .jwc(s)

Replace:
<parameter name="selections" direction="auto" type="com.nhl.shared.tapestry.utils.SelectMap" required="yes" />
With:
<parameter name="selections" required="yes" />

Also worth mentioning...the deprecated component stuff....replacing @Conditional w/ @If and the Checkbox component's "selected" binding is now "value".

I probably missed a few things, but this is basically it. Go though each file and repeat steps.

Cheers,
eric

ps - I'm running on jdk 1.4 so i don't make use of annotations.



On Oct 21, 2005, at 1:28 PM, Henri Dupre wrote:

I was wondering if anyone has made any conversion scripts to convert
the jwc and page specs to 4 style?

Thanks,

Henri.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to