This week's book giveaway is in the Artificial Intelligence and Machine Learning forum.
We're giving away four copies of Transfer Learning for Natural Language Processing (MEAP) and have Paul Azunre on-line!
See this thread for details.
Win a copy of Transfer Learning for Natural Language Processing (MEAP) this week in the Artificial Intelligence and Machine Learning forum!

Anjana Kumari

Greenhorn
+ Follow
since May 17, 2020
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Anjana Kumari

Thanks Dave, its clear now.

Am able to display 1 drop down using dynamic attribute in jsp  and the other handling.

However when i tried to add multiple drop downs and input text fields, its giving error like attributes need to be define which i already did in tld file. Could help what need to be change please?

Error in jsp page: missing optionsList attribute highlighted in country and race drop down

JSP code:




TLD file :

2 days ago
JSP
This is the JSP code where i have created dropdown using custom tag. Now i need to hide this dropdown based on some condition , need to understand what to be mention in the tld file that generated html.

JSP: please ignore the scriptlet , its for testing purpose only.




TLD:




Taghandler:

1 week ago
JSP
Thaks for responsing. As i mention i am still trying to figure out how to implement this functionality using custom tags/dynamic attribute- to conditionally display/hide a simple text field. So if you can guide to some specific references would be helpful.

Reason why we dont want to use html hidden property or javasccript or c chose tags to avoid lot of other than ui  code in jsp.
1 week ago
JSP
Need to und how to use dynamic attribute for this as could not find much details or there is any other way using custom tags for this
1 week ago
JSP
Please find following  code snippet, basically i need to conditionally set the visibility of input text field using custom tag. Able to  print simple string messages though.
1 week ago
JSP
Hi,

I started with basic example, have created a jsp with an string attribute,tld.xml(define that atteibute here)  and a tld file that extends tagsupport class,setter and getter method and basic implemetation of dotag method to print one string. This worked fine.

Now when i try to modified  this by adding html property in custom tag,its prompting error,also not sure how the tld java file will return some flag based on that to display/hide field. Not sure whether bodysupport class need to extend or dynamic attribute to be use,havenot found any examples of such online..
1 week ago
JSP
Hi,

We need to create a jsp form using custom tags and to write field display logic based on some condition in tld descriptor file. I have used simpletagsupport class but that is not useful in this case. Searched in web but did not find much relevant details about it. Could anybody help please.
1 week ago
JSP