• SunnySun
  • NEWBIE
  • 0 Points
  • Member since 2011

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 5
    Questions
  • 3
    Replies

Hi,all!

Then I code a visualforce page with filter function,I use some selectoption . I use inputHidden to deliver what I selected.

I can get the value in this page's controller. but when I want to based on these conditions to refresh the page, I found I can't send these conditions to the new page.

This is my code for refresh the page.

 

public PageReference selectChange(){
     PageReference pageRef = ApexPages.currentPage();
     pageRef.getParameters().put('FyValue', FyValue);
     pageRef.getParameters().put('ACCValue', ACCValue);
     pageRef.getParameters().put('ProductNameValue', ProductNameValue);
     pageRef.getParameters().put('CropNameValue', CropNameValue);
     pageRef.getParameters().put('PackageValue', PackageValue);
     pageRef.getParameters().put('BrandValue', BrandValue);
     pageRef.getParameters().put('ItermValue', ItermValue);
     pageRef.setRedirect(true);
     return pageRef;
    }

 I use  pageRef.getParameters().put('FyValue', FyValue); to send the conditions. But I found I Failure.

So,I want to know How should I do!

Any help will be admiration!

 

 

Hey guys,I have problem about Dynamic Visualforce Bindings . That is Spring 11 edition's new function .

Then,I want display a Date type field and edit it, so  i use <apex:inputField >.

But it isn't same to system. I get a text !

 

Guys, I want to know how to display a date type field whit dynamic , and can be edit it like system.

 

Any help would be extremely appreciated!

 

Sunny