Tags that end but dont
In my custom tag library, I have an HTML tag that will write out HTML along with any attributes it is passed:
<tl:HTML name="img">
<tl:HTMLattribute name="src" value="myImg.gif"/>
</tl:HTML>I do that by extending BodyTagSupport and not writing the tag HTML until the doAfterBody() method. I would also like to be able to support the tag as a self-closign tag, like
<tl:HTML name="br"/>The problem is it never gets to doAfterBody and never outputs if there is no body. Suggestions?
dan
got it solved. of course, use doEndTag for the writing and doAfterBody to gather the body content if it exists.
thanks,
-d
Similar Messages
-
how do i deauthorize my old computers I no longer have?
My PC crashed and I bought a new Macbookpro. Trying to authorize my iphone & itunes account and my wifes itunes account on my new Mac. Since she deauthorized all computers Last April, it says I have to wait until April 2012 to sync them all.
We have 5 people in my family, so we hit the limit as soon as we update or purchase anything. I really have to wait till April??? Is there a way around the yearly limit? -
trying to upload an app and it is asking for my developers ID i registered but dont know where to find that Id number I have used my apple ID but it seems to be different.
Ended up calling apple and got this fixed. Had to change id since it was made years ago with the old style of IDs.
-
How to create a text tag that shows up in a file but not on the sceen.
I need some help, I'm a newbie with enough skill to be dangerous. If someone can point me in the right direction has to how to use the F keys to apply the tagging mentioned below and the direction of how to do the tagging and make the tag invisible
in a text editor but not the text file. That would be great. If you wish to show some code examples that's OK, but if not I can stumble through and learn while doing it from your directions on how to get it done.
I will start with an example of what I'm trying to do; using the old desktop pub program Ventura. They had (what I'm calling a tag) tags in from of ASCII text in a file to tell the program what it was and what to do with it, I. E.; "Title@this
is the title text" the next line could be "Body@this is body text". When loaded the "Title@" would not be there on the screen.
I'm trying to create some text that uses a similar concept but not for formatting of text like Ventura.
I want to be able to highlight some text in an editor and then have it place some sort of tag for the highlighted text so that I could use it to do something upon that text and only that text; in concept the text "Bob Brush was a painter." I would
highlight Bob Brush and somehow assign a tag that would be "name" and then highlight "painter" and be tagged with "job".
The text file would then have something in it to distinguish "Bob Brush" and "painter" as what each is name and job. (as a note I'm not trying to make a database or form just using this simplified concept to get my idea across
because I get to wordy).
Thanks in advance BK
blkHi bik,
>> how to use the F keys to apply the tagging mentioned below and the direction of how to do the tagging and make the tag invisible in a text editor but not the text file.
It is unclear to me. Like you mentioned F keys, how does it work for? And Could you show us some code with a simple sample or a capture? It could be better to help us understand more.
In addition, I found a related thread
Tag editing in a WPF TextBox. Not sure if it is useful for you. Thanks.
Have a nice day!
Kristin
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
Someone used my email address to create an Apple ID. I logged in to appleid.apple.com and I changed the password because it is freaking me out. I want to report it to Apple but dont know how to go about it. I want the Apple ID deleted. How do I go about that? Is there also a way to ensure that the email address wont be used again by this person to create another Apple ID?
This is compounded actually by a Gmail issue. I have had this email address for ages, since the start of the beta. But lately in the last year or so, I am getting mail that seems to be intended for other people but it is using my email address. It is probably one of them who created the Apple ID.Contact iTunes support: https://getsupport.apple.com/Issues.action
-
I've lost a load of notes, but dont know why or how to get them back. I cant find the folder that is in my Yahoo account that people have suggested might be the location for the messages. I recently signed into iCloud for the first time. Any idea how to get the notes back? I really dont want to lose them.
It should keep asking for the password, because it's trying to check for purchases... As soon as you login, it will see you have pending downloads and create the downloads section on the left below Purchases under the Store section. Then it will start the music downloads there, as they will be listed one below the other.
You could just try to check your account balance or view your account and that will trigger a password request too. You can just click on that and say that now iTunes keeps asking for the password and ask him to help you with that. Trick would be to interrupt him so that he carries on with another task after, so he doesn't notice the download. Or you carry on with email or browsing which you were "busy" with when iTunes interrupted you for the password (stupid iTunes) -
How can i get rid of music or videos that i purchased from iTunes but dont want anymore. When i delete them they always come back in my downloads available?
thanks. somehow after restoring it, ipod on my phone had another option to download them onto my phone (even though they would play so no idea) but then it allowed me to swipe the songs to delete them so they are finally gone from my phone!!!
-
i have two apple IDs i dont know how that happened but i want to delete one so i can use that information on my itouch
You can use more than one ID oin the iPod
I have multiple Apple IDs. Is there a way for me to merge them into a single Apple ID?
Apple IDs cannot be merged. You should use your preferred Apple ID from now on, but you can still access your purchased items such as music, movies, or software using your other Apple IDs. -
i am trying to updat to 5.0 i have the latest version of itunes but it bring up the error 3194 and i have tried everything that it suggested includeing removing itues and reinstalling it i did get an error when it updated but dont know why and what for
sorry i was typing fast and didnt check spelling and stuff
-
Hi, Im trying to convert a PDF into a weblink that I can post onto social media but dont know how, can you help please?
You need to upload it to some kind of public server, or file-sharing site (like Google Drive, Dropbox, etc.), and then post the link to it.
-
My iphone has displayed a warning message two days ago that if i dont ..... i cannot purchase anymore applications but I could not read the first sentence and now I am unable to purchase
That error message suggest you have a permissions issue. Make sure you have full read/write privileges for the Drive/ Folder location that you are copying the files to.
-
I want to sent music on other devices but dont want that, why?
i want to sent music on other devices but dont want that, why?
when you dont make that possible, most people hacks their devicesThe reason for that is Digital Right Management, and Apple has to keep to the law. But you can share your music using Home Sharing for example.
-
I recently downloaded my previous purchased items from iTunes but I have found that some songs dont play or have only downloaded half of the actual song :/ when i go to iTunes>Purchased it says that the songs have already been downloaded, which means i cant re-download them. is there a way I can re-download my previous purchased songs?
Once you successfully add you iTunes library to iTunes Match, you go to Settings>iTunes & App Store on your iOS device and turn on iTunes Match. Your iTunes Match library will then appear on your iOS device.
-
can i take apart the imac power cord to put it through a hole in my desk. I'm able to get the ring off, but dont want take the housing off incase it breaks
I hear you. The reason I asked is that on the computer end of the cable, I took the ring off and it looks like there are some clasps around the housing, so I was wondering if these were for the purpose of threading the the cable. I will try and get some pictures. The drill is charging, however!!
Thanks
P -
I am using the iphone 4s in india now. i bought it from canada (factory unlocked). But here in india. when i put my vodafone sim in 4s. It only shows th name of the carrier but dont show the range towers. i tried airtel and reliance carriers also.but the result was same. now what can i do??
BobbyLe wrote:
I could not follow the AT&T instruction because my network (Optus) doesn't have anything as username or password or dial-up phone number. The only parameter I needed to key into Mobilink (the software I am running on the S10 is the APN which is: connectme that's it no number, no PIN, no password, nothing else.
How do I tell Windows to do that?
*99***1# <--- the number to call
at+cgdcont=1,"ip","connectme" <----- the string to put in the advanced field of the modem
Maybe you are looking for
-
??
-
I am a Smow Leopard User. I use Icloud only for mail and currently my account only has 8 messages. Why do I receive emails from ICLOUD telling me my Icloud storage is almost full? HOw can this be possible? There are no attachments, I didn't by anythi
-
cd/dvd drive i T42 will not read or write cds or dvds. Will eject. Could this be related to the abscence of any dla support? Any suggestions appreciated, Solved! Go to Solution.
-
Hp pavillion a000 recovery disk error.. where to go from here?
HI.. .fIRST Thank you so much for being here today... I have an HP pavillion a000 which was bought used. About a week ago I got pre-windows msgs. on the 3rd time it has frozen at this point Msg as follows... bla bla.. but windows did not start succes
-
Itunes killed the internet... HELP!
Hi, I just updated my Itunes, and when I did all sorts of crazy stuff happened. First of all, it told me I couldn't do it because it shared files with AIM. So I closed that out and updated. When I restarted, I can no longer connect to the internet an