Win a copy of Classic Computer Science Problems in Swift this week in the iOS forum!

jeff rusty

Ranch Hand
+ Follow
since Nov 07, 2006
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 jeff rusty

Coders.. please help me to solve this issue
8 years ago
JSF
Hi Coders,

I am trying to use the Skinning feature of trinidad but i find difficulties in changing the skin dynamiclly in conjuction with Partial submit or action listener.

This is what i am doing--

I have used Showdetailed item for rendering tabs (menus)in my application and on click of the showdetailed item i am checking for an attribute and trying to change the skin but it is not happening but whenever a full page submit happens the skin that i have changed earlier gets updated.

Is this right ?Cant Partial submit or action listener be used for chnaging skin dynamically. Please help me on this

thanks a lot
8 years ago
JSF
can some one help me in this?
8 years ago
JSF
Hi Ranchers,

I am using Myfaces with trinidad in my application and i get viewexpiredexception when i peform any long transaction in a dialog(popup) and come to the main page and tbhis behaviour is not consitent so i am not able to fix this.

Has anyone faced such an issue before or can someone tell me what could be the possible cause for this issue.

Any help would be highly appreciated..

Thanks
8 years ago
JSF
Hi Rancher,

I want to implement Favicon in JSF trinidad and i couldnt find any tag that would help me to achieve this.
Incase of HTml the below code will work so i wanted to know whether is an equivalent way to achieve this in JSF
<link rel="icon" type="image/vnd.microsoft.icon" href="http://example.com/image.ico">

thanks in advance
8 years ago
JSF
Hi ranchers,

i have a requirement wherein i have to access a JNDI object hosted in my tomcat server from a remote client(simple main()). Is this possible because i some where read, it is not availbale .

Any help in this would be highly appreciated

If that is not possible can i use Spring to host JNDI objects and access that from a remote machine.

thank you.
8 years ago
thank you Ulf Dittmer.
I am using JSF. Will this solution ork for me... Any way i will try and let you know..
8 years ago
JSF
Hi ranchers,

I have couple of questions in JSF

1. How to call Math.ABS() while displaying a number value in JSF? i am using Myfaces with trinidad.

2. how to align text when using <trutputlabel> (text-align:right or left). I tried the inlinestyle but it is working.


Any help in this is highly appreciated.


Thanks,
8 years ago
JSF
Thank you all for your quick reply..

But unfortunately the solutions you have mentioned can be by-passed by the user by changing the system time.

for eg: today i am deploying the web application and giving it a license for 2 months, after two months if the user backdates to today's date then he can extend another two months.

Is there is foolproof solution to this or am i missing something?

thanks
8 years ago
hi all,

i have an web application in which i want to restrict the user from using the system after pre-defined time. for eg: when i set up my application in a machine i will provide a license for 2 months and after two months the application should not allow any user login? how to do this ? any help would be highly appreciated

thanks
8 years ago
hi Tanzy,

Thanks a lot for replying.

Yes i haved also looked it and implemented but i wonder why was it not possible with HTMLEMAIL? it also support attach correct? is it specified in apache's site that it is not possible to attach files and at the same time to display body content with HTMLEMAIL?

i was able to atachfile in HtmEmail using the below code but then the body content/HtmlMessage was also sent as attachment in that case..

please let me know.
thanks>
HI,

I am trying to send email with attachment using apache's HTMLEMAIL but the mail is always sent without attachment.. Below is the code of it



Then i found in apache's site for an example and changed my above code like

if (content != null && templateType.equalsIgnoreCase(IMailConstants.TEMPLATE_TYPE_TEXT)) {

email.setMsg(content);

} else if (content != null && templateType.equalsIgnoreCase(IMailConstants.TEMPLATE_TYPE_HTML)) {

email.setHtmlMsg(content);

}
EmailAttachment e=new EmailAttachment();
e.setDisposition(EmailAttachment.ATTACHMENT);
//e.setDescription(desc)(desc)
e.setPath("c:/Will_license.txt");

e.setDescription("A picture");

e.setName("Thingy.txt");
email.attach(e);
email.send()

but this code send my body content also as an attachment.. can some on help me to resolve this. Any help in this would be highly appreciated..


thanks
Hi ,

I have a lengthy view page and at the bottom of the page i have a delete button which will delete any of the selected record on the page after deletion i am displaying a message but the focus is not going to the message instead it stays where the delete button is placed. so how to focus the message after deletion happens.

I am doing partial submit when clicking the delete button. I am using trinidad.

thanks
jeff
8 years ago
JSF
Hi,

I am using trinidad's implementation for JSF and fount it to be extremley slow when i click on any element (checkbox or radio button) with a value change listener or displaying a page and with little more debugging i found that the render response state is taking more time.

can some one guide to better the performance of my appliaction?

i have used the server side state saving method with cache_view and use_application_cache enabled.

Your help will be highly appreciated.

thanks
8 years ago
JSF