You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Chris Turchin (JIRA)" <ji...@apache.org> on 2011/01/23 22:12:44 UTC

[jira] Created: (WICKET-3375) wicket-examples changes required to work with 1.5 RC1

wicket-examples changes required to work with 1.5 RC1
-----------------------------------------------------

                 Key: WICKET-3375
                 URL: https://issues.apache.org/jira/browse/WICKET-3375
             Project: Wicket
          Issue Type: Bug
          Components: wicket-examples
    Affects Versions: 1.5-RC1
            Reporter: Chris Turchin
            Priority: Minor


i am looking into wicket and tried to get wicket-examples to run with RC1 and had to make the following changes:

+++ java/org/apache/wicket/examples/requestmapper/RequestMapperApplication.java	(working copy)
-		mountResource("/print/${sheet}/${format}", new MapperDemoResourceReference());
+		mountSharedResource("/print/${sheet}/${format}", new MapperDemoResourceReference());

I also changed linkomatic/Home.java
-		linkWithLabel.setBodyModel(Model.of("A link that provides its body with Link.setBodyLabel(someModel)"));
+		linkWithLabel.setDefaultModel(Model.of("A link that provides its body with Link.setBodyLabel(someModel)"));

though that did not work in the sample, but it did make it build.  a number of the samples still do not work, but at least the project runs now.

there are also a number of changes required to the web.xml and applicationContext.xml to make it run (external deps to spring for some samples) "out of the box" but they are not so critical i suspect. 

at any rate, someone needs to look at the samples and get them up and running with 1.5 


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (WICKET-3375) wicket-examples changes required to work with 1.5 RC1

Posted by "Martin Grigorov (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WICKET-3375?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Martin Grigorov resolved WICKET-3375.
-------------------------------------

    Resolution: Invalid
      Assignee: Martin Grigorov

You are trying to build wicket-examples from *trunk* against wicket 1.5-RC1.

> wicket-examples changes required to work with 1.5 RC1
> -----------------------------------------------------
>
>                 Key: WICKET-3375
>                 URL: https://issues.apache.org/jira/browse/WICKET-3375
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket-examples
>    Affects Versions: 1.5-RC1
>            Reporter: Chris Turchin
>            Assignee: Martin Grigorov
>            Priority: Minor
>
> i am looking into wicket and tried to get wicket-examples to run with RC1 and had to make the following changes:
> +++ java/org/apache/wicket/examples/requestmapper/RequestMapperApplication.java	(working copy)
> -		mountResource("/print/${sheet}/${format}", new MapperDemoResourceReference());
> +		mountSharedResource("/print/${sheet}/${format}", new MapperDemoResourceReference());
> I also changed linkomatic/Home.java
> -		linkWithLabel.setBodyModel(Model.of("A link that provides its body with Link.setBodyLabel(someModel)"));
> +		linkWithLabel.setDefaultModel(Model.of("A link that provides its body with Link.setBodyLabel(someModel)"));
> though that did not work in the sample, but it did make it build.  a number of the samples still do not work, but at least the project runs now.
> there are also a number of changes required to the web.xml and applicationContext.xml to make it run (external deps to spring for some samples) "out of the box" but they are not so critical i suspect. 
> at any rate, someone needs to look at the samples and get them up and running with 1.5 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (WICKET-3375) wicket-examples changes required to work with 1.5 RC1

Posted by "Chris Turchin (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WICKET-3375?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12985432#action_12985432 ] 

Chris Turchin commented on WICKET-3375:
---------------------------------------

martin, thanks for clearing that up! 
i checked out again and did not have the build errors. however the following issues remain:
- niceurl: sample does not seem to work
- nested: is warning with "WARN  - aultMarkupSourcingStrategy - 1.4 to 1.5 migration issue: your item component should be derived from AbstractItem. Item=[TreeItem [Component id = 0]]"
- upload/muti is throwing a "WARN  - WicketObjects              - Unable to determine object size: org.apache.wicket.protocol.http.WebSession@2dce20
java.io.NotSerializableException: org.apache.wicket.util.file.FileUploadCleaner
	at java.io.ObjectOutputStream.writeObject0(Unknown Source)" 
- the org.apache.wicket.examples.source.SourcesPage - feature in the pop up does not show any files, do i have to do anything special to get that working?


> wicket-examples changes required to work with 1.5 RC1
> -----------------------------------------------------
>
>                 Key: WICKET-3375
>                 URL: https://issues.apache.org/jira/browse/WICKET-3375
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket-examples
>    Affects Versions: 1.5-RC1
>            Reporter: Chris Turchin
>            Assignee: Martin Grigorov
>            Priority: Minor
>
> i am looking into wicket and tried to get wicket-examples to run with RC1 and had to make the following changes:
> +++ java/org/apache/wicket/examples/requestmapper/RequestMapperApplication.java	(working copy)
> -		mountResource("/print/${sheet}/${format}", new MapperDemoResourceReference());
> +		mountSharedResource("/print/${sheet}/${format}", new MapperDemoResourceReference());
> I also changed linkomatic/Home.java
> -		linkWithLabel.setBodyModel(Model.of("A link that provides its body with Link.setBodyLabel(someModel)"));
> +		linkWithLabel.setDefaultModel(Model.of("A link that provides its body with Link.setBodyLabel(someModel)"));
> though that did not work in the sample, but it did make it build.  a number of the samples still do not work, but at least the project runs now.
> there are also a number of changes required to the web.xml and applicationContext.xml to make it run (external deps to spring for some samples) "out of the box" but they are not so critical i suspect. 
> at any rate, someone needs to look at the samples and get them up and running with 1.5 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.