1. Passing a enum value as a tag attribute in JSP stackoverflow.comI have a custom JSP tag which is using a parameter which is an enum. This approach is a consequence of using other classes which need this enumeration. The point is ... | ||||
2. passing c:forEach value to custom tag as attribute? coderanch.comHi all i just overcome the last query but now i have another problem that is, i have to pass the value of | ||||
3. Passing a value to an attribute of a custom jsp tag coderanch.compublic class DisplayTableClaimHistoryTag extends InquiryTag { String numberOfRecords; public void setNumberOfRecords(String numberOfRecords) { this.numberOfRecords = numberOfRecords; } public String getNumberOfRecords() { return numberOfRecords; } public int doStartTag()throws JspException { InquiryContext context = (InquiryContext)pageContext.getSession().getAttribute(Constrain.CONTEXT); if(context==null) throw new JspException(TAG_EXCEPTION+ "InquriyContext is null."); String hasData = (String)context.getAttribute(Constrain.CONTROL_HAS_DATA); if(hasData==null) throw new JspException(TAG_EXCEPTION + "The hasData property can not be null."); boolean hd = Boolean.valueOf(hasData).booleanValue(); Debug.println("hasData="+hd); ... | ||||
4. Pass values from Servlet to Custom Tag coderanch.com | ||||
5. JSP custom tag unable to pass dynamic value coderanch.comI am facing problem while passing dynamic values in my custom tag. I have created one tag which is retrieving some data based on passed-in values. It is working fine with static values like in my jsp if I use | ||||
6. How to pass value of ZK Tags to JSP???? zkoss.org |