![]() Enter literal text to be prepended before the value of the name attribute. Enter a property reference that at runtime evaluates to text to be appended after the value of the name attribute. Enter literal text to be appended after the value of the name attribute. A constant text string representing the value to be saved and associated with the name. (If you save using the name FUM and later save FUM again, the more recent value overwrites the earlier value.) Choose a name that is unique for each save operation. AttributeĪ text string of your choosing, used for later retrieval. Include either the value or ref attribute. Replace any text in italics with your choice of value of that type.JSP tag delimiters mark the start and end of the tag.Square bracket characters define optional parts of the tag.The save tag can save values determined dynamically at runtime. Later in the stream, you can use the $save() function to look up the saved value on the scratchpad and display the saved value. Use the save tag to pass values among multiple HTML definitions that stream processing combines to generate a single output stream.įor example, use the save tag to save the value "Pegasystems Inc." and store it in a scratchpad variable named company. Retrieving the value does not remove it from the scratchpad. Use the $save( name) JavaScript function to retrieve the value previously associated with the name. Use the save JSP tag to add a name-value pair to the scratchpad. This in-memory scratchpad is available throughout the generation of the HTML (or XML) stream. Use the save tag to set up named values at runtime, while the source HTML (or XML) is processed, onto an internal symbol table known as the scratchpad. You are here: Reference > Streams and JSP > JSP Tags > save save JavaServer Page tag
0 Comments
Leave a Reply. |