tag:blogger.com,1999:blog-6852138104666817120.post3038804083990248548..comments2024-03-06T11:51:51.435+05:30Comments on Oracle ATG Tutorials: ART#112 - How to create JSPs in ATG ? (using ATG's DSP tag library)Unknownnoreply@blogger.comBlogger10125tag:blogger.com,1999:blog-6852138104666817120.post-62748107401328030192017-05-18T18:40:57.294+05:302017-05-18T18:40:57.294+05:30Thanks for your tutorials! They're really grea...Thanks for your tutorials! They're really great!<br />I'm not sure, it might be a typo:<br /><br /><dsp:valueof> tag enables to to get <br /><br />should it be <dsp:getvalueof> ... ?Anonymoushttps://www.blogger.com/profile/00457718013758165279noreply@blogger.comtag:blogger.com,1999:blog-6852138104666817120.post-8282155437270922782016-12-02T16:24:58.044+05:302016-12-02T16:24:58.044+05:30valueof - used to DISPLAYING the value of EL varia...valueof - used to DISPLAYING the value of EL variable, PARAM, or COMPONENT's property value.<br /><br />getvalueof - used for putting the value of PARAM or COMPONENT's property value into an EL variable. You can also define the scope of this EL variable to various scopes (pageScope, applicationScope etc.)Monis Yousufhttps://www.blogger.com/profile/02226891551069104824noreply@blogger.comtag:blogger.com,1999:blog-6852138104666817120.post-59538146916664829262016-11-28T11:57:42.072+05:302016-11-28T11:57:42.072+05:30Thanks For writing this blog,But It would be great...Thanks For writing this blog,But It would be great if you an tell the difference betwwen valueof and getvalueof tag..<br /><br /><br /><br />Anonymoushttps://www.blogger.com/profile/05301455225888559902noreply@blogger.comtag:blogger.com,1999:blog-6852138104666817120.post-16357520292946245992015-08-17T10:10:56.149+05:302015-08-17T10:10:56.149+05:30I guess you are referring to the component propert...I guess you are referring to the component properties usage using tag.<br />This tag is used, when you want to copy the value of a parameter or a bean into a variable.<br />In our example, <br /><br /><br />Here, "Person" is a bean and it has some property values [like id, age, name etc.]<br />Next, we have the "personVariable" as a variable, which can be used to fetch individual properties of the "Person" bean using the "dot(.)" operator.<br /><br />Therefore, we can use the "." operator to fetch the properties of "Person" bean using any of the syntax like:-<br />1. EL Variable<br />2. tag [JSTL]<br />3. tag [DSP tag library]<br /><br />Hope this answers your question.Monis Yousufhttps://www.blogger.com/profile/02226891551069104824noreply@blogger.comtag:blogger.com,1999:blog-6852138104666817120.post-67093068310120812412015-08-13T22:48:17.809+05:302015-08-13T22:48:17.809+05:30Hi Monis. Thankyou for writing this blog. Its so u...Hi Monis. Thankyou for writing this blog. Its so useful for me. I have few queries, and one among them is<br />I found dsp:getvalueof is used in two ways<br /><br /> -> and the var is used as EL later<br /><br /> and the id is used as scripting variable later.<br /><br />What is the difference in the usage of both?allinonehttps://www.blogger.com/profile/10356320473241462815noreply@blogger.comtag:blogger.com,1999:blog-6852138104666817120.post-51566654308609481522015-02-23T17:07:52.412+05:302015-02-23T17:07:52.412+05:30Also, there are more details HERE:-
http://learnor...Also, there are more details HERE:-<br />http://learnoracleatg.blogspot.in/2014/11/art201-what-is-repository-in-atg.htmlMonis Yousufhttps://www.blogger.com/profile/02226891551069104824noreply@blogger.comtag:blogger.com,1999:blog-6852138104666817120.post-21511643487634223172015-02-23T17:02:59.049+05:302015-02-23T17:02:59.049+05:30An item-descriptor is like a set of properties (si...An item-descriptor is like a set of properties (similar to a class).<br />An item is like an object which has values for those properties. Therefore, using an item-descriptor we can create multiple objects which have different values of properties (which are defined by item-descriptor).Monis Yousufhttps://www.blogger.com/profile/02226891551069104824noreply@blogger.comtag:blogger.com,1999:blog-6852138104666817120.post-32490875548024463162015-02-20T11:56:59.596+05:302015-02-20T11:56:59.596+05:30can you explain item and item desciptor pleasecan you explain item and item desciptor pleaseMukul4Uhttps://www.blogger.com/profile/05582192810104873209noreply@blogger.comtag:blogger.com,1999:blog-6852138104666817120.post-16047192626641368132014-12-02T08:48:08.803+05:302014-12-02T08:48:08.803+05:301.item-type: When your item-descriptor refers to a...1.item-type: When your item-descriptor refers to another item-descriptor in a one-to-one relationship, you use item-type. For example:-<br />Consider the "user" item-descriptor. You have a requirement of having a "defaultAddress" for a particular user. In this case, each user would always have a single default address. This is a one-to-one relationship.<br />Address corresponds to the out-of-the-box "contactInfo item-descriptor. Therefore, your "user" item-descriptor should have property something like:-<br /><br />< item-descriptor name="user" xml-combine="append" ><br /> < table ><br /> < property name="defaultAddress" item-type="contactInfo"....... /><br /> < /table ><br />< /item-descriptor ><br /><br />In "user" item-descriptor, there is an out-of-the-box property called "homeAddress". You can refer to this for "item-type" reference XML.<br /><br />2. component-item-type: This is used mostly for one-to-many or many-to-many relationships.<br />Now, suppose you have a requirement, wherein a user can have multiple addresses. This would be a one to many relationship. So, your "user" item-descriptor can have "allAddresses" property which would refer to a list (or set) of many "contactInfo" items. In this case, you would use "component-item-type" instead of "item-type" in conjunction with a "data-type" attribute which would tell the repository that this is a "set" or a "list" of "contactInfo" items.<br />Considering this scenario your property would look something like:-<br /><br />< item-descriptor name="user" xml-combine="append" ><br /> < table....... ><br /> < property name="allAddresses" component-item-type="contactInfo" data-type="set"......./ ><br /> < /table ><br />< /item-descriptor ><br /><br />In "user" item-descriptor, there is an out-of-the-box property called "allSecondaryAddresses". You can refer to this for "component-item-type" reference XML.<br /><br />Please let us know in case of any more doubts.<br /><br />Thanks,<br />Monis<br />Monis Yousufhttps://www.blogger.com/profile/02226891551069104824noreply@blogger.comtag:blogger.com,1999:blog-6852138104666817120.post-36834775897086927472014-12-01T14:59:03.421+05:302014-12-01T14:59:03.421+05:30what is diff b/w item-type and component-item-type...what is diff b/w item-type and component-item-type? briefly explain with examples?<br />Anonymousnoreply@blogger.com