For the following code:

ServletContext servletContext = ServletActionContext.getServletContext();
TilesContainer container = TilesAccess.getContainer(servletContext);
 AttributeContext attributeContext =
container.getAttributeContext(request,response);


my attribute context is null,  I don't see any current tiles definitions

would you know why?

also at this time, viewPreparer has not been called but variable location
has the correct tiles name.

Thanks

On Fri, Sep 9, 2011 at 2:41 PM, Muneer Malik <[email protected]> wrote:

> ok - I was not sure if they were updated
> since the webpages are not updated as well.
>
> ok - I will look at the java docs.
>
> I appreciate all your help here.
>
> Thanking You,
> Muneer
>
>
> On Fri, Sep 9, 2011 at 2:27 PM, Antonio Petrelli <
> [email protected]> wrote:
>
>> 2011/9/9 Muneer Malik <[email protected]>
>>
>>> what is the difference between
>>>
>>> putAttribute and setTemplateAttribute?
>>>
>>
>> Please, before asking such simple questions, read javadocs:
>>
>> http://tiles.apache.org/2.2/framework/apidocs/org/apache/tiles/BasicAttributeContext.html#setTemplateAttribute(org.apache.tiles.Attribute)
>>
>>
>> http://tiles.apache.org/2.2/framework/apidocs/org/apache/tiles/BasicAttributeContext.html#putAttribute(java.lang.String,
>> org.apache.tiles.Attribute)
>>
>> Antonio
>>
>
>
>
> --
> Confidentiality Notice
> -------------------------------
>
>
> THIS INFORMATION IS INTENDED ONLY FOR THE USE OF THE ADDRESSEE AND MAY
> CONTAIN INFORMATION THAT IS PRIVILEGED, CONFIDENTIAL AND EXEMPT FROM
> DISCLOSURE UNDER APPLICABLE LAW.  IF YOU ARE NOT THE INTENDED RECIPIENT, OR
> THE EMPLOYEE OR AGENT RESPONSIBLE FOR DELIVERING THIS MESSAGE TO THE
> INTENDED RECIPIENT, YOU ARE HEREBY NOTIFIED THAT ANY DISSEMINATION,
> DISTRIBUTION OR COPYING OF THE COMMUNICATION IS STRICTLY PROHIBITED.  IF YOU
> HAVE RECEIVED THIS COMMUNICATION IN ERROR, PLEASE NOTIFY IMMEDIATELY AT
> [email protected] OR BY TELEPHONE AT 817-458-1764.
>
>
> THANK YOU.
>



-- 
Confidentiality Notice
-------------------------------


THIS INFORMATION IS INTENDED ONLY FOR THE USE OF THE ADDRESSEE AND MAY
CONTAIN INFORMATION THAT IS PRIVILEGED, CONFIDENTIAL AND EXEMPT FROM
DISCLOSURE UNDER APPLICABLE LAW.  IF YOU ARE NOT THE INTENDED RECIPIENT, OR
THE EMPLOYEE OR AGENT RESPONSIBLE FOR DELIVERING THIS MESSAGE TO THE
INTENDED RECIPIENT, YOU ARE HEREBY NOTIFIED THAT ANY DISSEMINATION,
DISTRIBUTION OR COPYING OF THE COMMUNICATION IS STRICTLY PROHIBITED.  IF YOU
HAVE RECEIVED THIS COMMUNICATION IN ERROR, PLEASE NOTIFY IMMEDIATELY AT
[email protected] OR BY TELEPHONE AT 817-458-1764.


THANK YOU.

Reply via email to