I'm always +1 for using setXXX(boolean) instead of flags.

        As for the name, why not shorten it to setRenderBodyOnly()?

Gili

Juergen Donnerstag wrote:
As the new solution is based on FLAGS, what about
setRenderComponentBodyOnly(boolean).

Juergen

On 5/28/05, Johan Compagner <[EMAIL PROTECTED]> wrote:

+1 it breaks nothing so i don't mind.

johan


Juergen Donnerstag wrote:


Below is the snippet which Ari is using. "editOutline" is a panel with
additional <tr> tags and only optionally included. Though it works in
"all" browsers, trying to be 100% html compliant the <span> tag must
be removed.

<span wicket:id="rows">
  <tr wicket:id="row" class="dataRow_even">
       <td><span wicket:id="code">st</span></td>
       <td><span wicket:id="eMailAddress">[EMAIL PROTECTED]</span></td>
   </tr>
   <span wicket:id="editOutline"/>
</span>

The solution has been discussed on the wicket-user list already and I
ask to vote on whether we add that feature to 1.0.0 or not (it will
than be available in 1.1). The solution is based around

protected boolean Component.isRenderComponentTagEnabled()
{
  return true;
}

Thus, you simple have to provide your own implementation in your
component and you are done. Referring to our API freeze discussion it
results in one additional method available to all Components. No
existing user code has to be changed.

What do you think?
+1

Juergen


-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=fad-ysdn-ostg-q22005
_______________________________________________
Wicket-develop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-develop





-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
_______________________________________________
Wicket-develop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-develop




-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=fad-ysdn-ostg-q22005
_______________________________________________
Wicket-develop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-develop



-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
_______________________________________________
Wicket-develop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-develop

Reply via email to