Subversion Repositories SmartDukaan

Rev

Rev 387 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 387 Rev 388
Line 102... Line 102...
102
	/* (non-Javadoc)
102
	/* (non-Javadoc)
103
	 * @see com.opensymphony.xwork2.ModelDriven#getModel()
103
	 * @see com.opensymphony.xwork2.ModelDriven#getModel()
104
	 */
104
	 */
105
	@Override
105
	@Override
106
	public Object getModel() {
106
	public Object getModel() {
-
 
107
		System.out.println(" getModer  is called");
-
 
108
		return htmlSnippets;
107
		return this.id;
109
		//return this.id;
108
	}
110
	}
109
	
111
	
110
	/**
112
	/**
111
	 * 
113
	 * 
112
	 */
114
	 */
Line 114... Line 116...
114
	public void setServletContext(ServletContext servletContext) {
116
	public void setServletContext(ServletContext servletContext) {
115
		this.servletContext = servletContext;
117
		this.servletContext = servletContext;
116
	}
118
	}
117
	
119
	
118
	public Map<String,String> getHtmlSnippets(){
120
	public Map<String,String> getHtmlSnippets(){
-
 
121
		System.out.println(" getHtmlSnippets  is called");
119
		return htmlSnippets;
122
		return htmlSnippets;
120
	}
123
	}
-
 
124
	
-
 
125
	public String getPriceSnippets(){
-
 
126
		return htmlSnippets.get("PRICE_DIV");
-
 
127
	}
-
 
128
 
-
 
129
	public String getSlideGuideSnippets(){
-
 
130
		return htmlSnippets.get("SLIDE_GUIDE");
-
 
131
	}
-
 
132
 
-
 
133
	public String getWidgetSnippets(){
-
 
134
		return htmlSnippets.get("WIDGET_DIV");
-
 
135
	}
121
 
136
 
122
}
137
}