Skip to content

Commit

Permalink
some missing API files
Browse files Browse the repository at this point in the history
  • Loading branch information
darkv committed Feb 20, 2014
1 parent 5e994ae commit 2f06f7a
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 0 deletions.
9 changes: 9 additions & 0 deletions Frameworks/Core/ERExtensions/Components/ERXPartialMarker.api
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<wodefinitions>
<wo class="ERXPartialWrapper.java" wocomponentcontent="true">
<binding name="key"/>
<validation message="'key' is a required binding.">
<unbound name="key"/>
</validation>
</wo>
</wodefinitions>
9 changes: 9 additions & 0 deletions Frameworks/Core/ERExtensions/Components/ERXPartialWrapper.api
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<wodefinitions>
<wo class="ERXPartialWrapper.java" wocomponentcontent="true">
<binding name="key"/>
<validation message="'key' is a required binding.">
<unbound name="key"/>
</validation>
</wo>
</wodefinitions>
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<wodefinitions>
<wo class="ERXUniquingWrapper.java" wocomponentcontent="true">
<binding name="id"/>
<validation message="'id' is a required binding.">
<unbound name="id"/>
</validation>
</wo>
</wodefinitions>

2 comments on commit 2f06f7a

@paulhoadley
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What do any of these components even do, Johann? Do you use them? Just curious.

@darkv
Copy link
Member Author

@darkv darkv commented on 2f06f7a Feb 21, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I did use the partial stuff once in a demo project. It allows you to generate content for the response that is inserted at a different place within the response as the template parsing order would imply. So a component could create HTML code that is located outside of its scope.
From time to time I take some arbitrary classes from Wonder and check what they do. Lots of new ideas arise by that and you never stop to discover new gems :)

Please sign in to comment.