This week's giveaway is in the Testing forum.
We're giving away four copies of TDD for a Shopping Website LiveProject and have Steven Solomon on-line!
See this thread for details.
Win a copy of TDD for a Shopping Website LiveProject this week in the Testing forum!

jyothi sanka

Ranch Hand
+ Follow
since Aug 27, 2001
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
1
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 jyothi sanka

Hi,
I have add,delete,reset buttons on my jsf page. I want to disable deelete button while add button is enabled and delete button has to be enabled when I click on reset button.

<h anelGroup><h:commandButton type="submit" value="AddHardware"
action="#{hardwareCtrl.toggleEdit}"
rendered="#{!hardwareCtrl.edit}" />

<h:commandButton value="Save" actionListener="#{hardwareCtrl.saveHardware}" rendered="#{hardwareCtrl.edit}" /> <h utputText value=" " escape="false" /> <h utputText value=" " escape="false" /> <h:commandButton value="Delete" actionListener="#{hardwareCtrl.deleteHardware}" disabled="#{empty hardwareCtrl.model.domainObject.id}" /> <h utputText value=" " escape="false" /> <h:commandButton value="Reset" action="#{hardwareCtrl.reset}" rendered="#{hardwareCtrl.edit}" /> </h anelGroup>

I have reset() in my controller class like this:
public void reset() {
model = null;
edit = true;}

when I click on reset button the delete button going to be disabled state. but I want to keep delete button has to be in enabled mode. can you give any suggestions?
thank you
16 years ago
JSF
Hi,
I have add,delete,reset buttons on my jsf page. I want to disable deelete button while add button is enabled and delete button has to be enabled when I click on reset button.

<h anelGroup><h:commandButton type="submit" value="AddHardware"
action="#{hardwareCtrl.toggleEdit}"
rendered="#{!hardwareCtrl.edit}" />

<h:commandButton value="Save"actionListener="#{hardwareCtrl.saveHardware}"rendered="#{hardwareCtrl.edit}" /><h utputText value=" " escape="false" /><h utputText value=" " escape="false" /><h:commandButton value="Delete"actionListener="#{hardwareCtrl.deleteHardware}"disabled="#{empty hardwareCtrl.model.domainObject.id}" /><h utputText value=" " escape="false" /><h:commandButton value="Reset" action="#{hardwareCtrl.reset}"rendered="#{hardwareCtrl.edit}" /></h anelGroup>

I have reset() in my controller class like this:
public void reset() {
model = null;
edit = true;}

when I click on reset button the delete button going to be disabled state. but I want to keep delete button has to be in enabled mode. can you give any suggestions?
thank you
16 years ago
I have hard coded data in a data table. when I want to sort the column or edit the row. that time I am getting error like

HtmlDataTable.refresh



javax.servlet.ServletException: org.apache.myfaces.component.html.ext.HtmlDataTable.refresh(Ljavax/faces/context/FacesContext V

java.lang.NoSuchMethodError: org.apache.myfaces.component.html.ext.HtmlDataTable.refresh(Ljavax/faces/context/FacesContext


Can anyblody advice me why I am getting this error?

Thank you
16 years ago
JSF
Hi,
I am not asking the code just example of the statement only.
Thanks
Hi,
How to insert large amont of data(suppose 100,000) into database using jdbc? Please can you write the program details also.
Thank you
Hi, I was asked questions in interview

1How did you display data in your jsp?

2 when do you use ArrayList and LinkedList?
3 would you prefer database code in application server or in stored procedures in database server? what are the advantages and disadvantage?

4 Objects takes parameter by pass by reference then why String Object takes oparameter by pass by value?
5 why would you do clientside validation? what are the advantages over serverside validation?
can Please give some answers for discussion
16 years ago
JSP
Hi, If anybody know the inforamtion regarding ABINITIO software please let me know.
Thank you
16 years ago
Hi,
I had an interview last week and I was asked "how many months did you take to complete a project" and I told them , for completing my struts project it took 6 months. Then they asked me how many hours you took for completing the view part and how many hours you took for completing the Database side work? Can anybody tell me what answer they are expecting from me for the above question.
16 years ago
Hi,
I cleared SCWCD on March 17th and I didn't receive any certificate from SUN micro systems. What shall I have to do? Please let me know the phone number to whom I have to contact?
Thanks
HI,
Thanks for all the help from this forum. Thanks to the authors of HFSJ book. Just for fun, I read that book.It impressed me so much! Then I wanted to take the exam and passed with 82%. I prepared for 2 months.
Regarding exam: there are 6EL questions, 6 Design Pattern questions,4JSTL, 1 question on Filters,3 questions on simpletags,<ejb-local-ref>,<env-entry> questions also there.
I think this exam is a bit easier than scjp.
Thanks again.
Consider the tag handler class shown in exhibit.
What will be printed when the above tag is used as follows in a jsp page:

Hello <mylib:mytag> World!</mylib:mytag>

Code

public class MyTag extends TagSupport
{
public int doAfterBody()
{
try
{
pageContext.getOut().println("In doAfterBody()");
}
catch(Exception e)
{
}
return SKIP_BODY;
}
}
they gave answer is Hello.

I think answer is Hello World
because there is no doStartTag() and default is skip_body, so it goes to the doEndTag() and default value is EVAL_PAGE so World has to print.

Can anybody explain me ?
Thank you
1:If you give -ve value to this element <load-on-startup> what is the result?

2:<body-content>tagdependent</body-content> answer in the mock exam is it must implement the BodyTag interface. is it correct? can't we use in TagSupport classes ?


3:HFS mock exam Q-11
${map[map-index]
if you don't give quotes in the[]operator container looks for that name of attribute. so here there is map-index attribute. why can't container can't get this value?

4 what is the default value of the attribute's rtexprvalue in tagFiles?

5 what is the resylt in 2 conditions:
<session-timeout>0</session-timeout>
<session-timeout>-2</session-timeout>

6: what is the difference between encodeURL() and encodeRedirectURL()

thanks
I got 53% in HFS mock exam and jdiscuss 75% and jwebplus 73% j2eecertify 79%. I want to go for the exam coming thursday. Do I need more preperation or can I go for the exam?
thanks
Can we keep more than one <tag> elements in <taglib.....> ?