• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Custom Component Question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Custom Component Question


  • Subject: Re: Custom Component Question
  • From: James Cicenia <email@hidden>
  • Date: Wed, 2 May 2007 12:59:22 -0500

OK -

That sort or worked... Now I have to strip out all linefeeds. As I am creating javascript
those line feeds are fubarring the outputted script.


Is there another command whereby appendToResponse can toggle off linefeeds?


Thanks James

On May 1, 2007, at 10:36 PM, Chuck Hill wrote:


On May 1, 2007, at 8:26 PM, James Cicenia wrote:

Thanks...

Simpler than I thought.

:-) With WO, the far too simple solution is usually the right one.

Chuck


On May 1, 2007, at 10:12 PM, Chuck Hill wrote:

A guess based on rather few details :-)


public void appendToResponse(WOResponse aResponse, WOContext aContext) {
aResponse.appendContentString("opening tag stuff here");
super. appendToResponse(aResponse, aContext);
aResponse.appendContentString("closing tag stuff here");
}


This answers, I think, your need rather than your question. Although it does indirectly answer your question.

Chuck



On May 1, 2007, at 7:28 PM, James Cicenia wrote:

Hello -

I am trying to write my own variant of say JSWindow.

How to access what is between the <webobject name="mytag"> tags </webobject> ?

I want to create custom opening and closing tags to wrap "tags" above.

Thanks
James Cicenia
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40global-village.net


This email sent to email@hidden


--

Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems.
http://www.global-village.net/products/practical_webobjects









--

Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems.
http://www.global-village.net/products/practical_webobjects







_______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >Custom Component Question (From: James Cicenia <email@hidden>)
 >Re: Custom Component Question (From: Chuck Hill <email@hidden>)
 >Re: Custom Component Question (From: James Cicenia <email@hidden>)
 >Re: Custom Component Question (From: Chuck Hill <email@hidden>)

  • Prev by Date: First Deployment Help
  • Next by Date: Re: Custom Component Question
  • Previous by thread: Re: Custom Component Question
  • Next by thread: Re: Custom Component Question
  • Index(es):
    • Date
    • Thread