[svn:fx-trunk] 10943: Fix to dragging from List with multiple-selection
Revision: 10943
Author: [email protected]
Date: 2009-10-08 15:46:27 -0700 (Thu, 08 Oct 2009)
Log Message:
Fix to dragging from List with multiple-selection
- The fix is to postpone the selection commit until we make sure the user has not started a drag gesture.
- Exclude the dragEnabled, dropEnabled, dragMoveEnabled properties for DropDownList
QE notes: None
Doc notes: None
Bugs: None
Reviewer: Deepa
Tests run: checkintests, mustella List, DropDownList
Is noteworthy for integration: No
Modified Paths:
flex/sdk/trunk/frameworks/projects/spark/src/spark/components/DropDownList.as
flex/sdk/trunk/frameworks/projects/spark/src/spark/components/List.as
Similar Messages
-
How to select value from list with multiple selections ?
HI,
i have a list with multiple selections where i show email address retrieved from database.
what i want to do is to send the selected email address to the invoiceedit.jsp.
please look at the following code which gives you the better idea.
<td class='smalltext'><select name="email" size="3" multiple="multiple">
<%
Connection conn = null;
Statement stmt = null;
Statement stmt_contactperson = null;
Statement stmt_address = null;
try{
conn = getREConnection();
stmt = conn.createStatement();
ResultSet rs = null;
rs = stmt.executeQuery("SELECT PROPERTYID, VALUE FROM PROPERTIES WHERE ENTITYID="+ g_strGroupID+" AND NAME = 'invoice_default_email'");
int numofrows = 0;
while(rs.next())
%>
<option value="<%= rs.getString("VALUE") %>" selected="selected"> <%= rs.getString("VALUE") %> </option>
<%
}//end of while
%>
</select>
<a href="invoiceedit.jsp?entityid=<%=g_strGroupID%>&add=1"><font color="#000000">Add</font></a>
<a href="invoiceedit.jsp?entityid=<%=g_strGroupID%>&email_to="><font color="#000000"> Edit</font></a> </td>thanksUse a form button instead of a link so that you can send it as a request parameter to the server. In the server side just use HttpServletRequest#getParameterValues() to obtain all values for the given parameter name. If you really need a link rather than a button, then use Javascript to submit the form on click of the link.
That said, your design is bad. Java code belongs in Java classes, not in JSP files. Database access logic belongs in a DAO class. Business and controlling logic belongs in a Servlet class. Only presentation logic belongs in the JSP file. Avoid scriptlets as much as possible and use JSP EL and/or JSTL instead. -
Create Word Doc from list with multiple items (repeat region)
I have a document library that creates an invoice document based on another list. The list has multiple items that where purchased and need to appear on the invoice. It is only showing the first purchase item and not the others. How do I get all the items
to display (repeating region)?
Example:
Invoice #
Salesperson
Items Purchased
item 1
item 2
etc...
Thanks!I've tried these examples but it only grabs the first item and places it in the word document. I need it to grab all the items.
Example:
Invoice #
Salesperson
Items Purchased
item 1
item 2
etc... -
Revision: 949
Author: [email protected]
Date: 2008-03-27 07:12:59 -0700 (Thu, 27 Mar 2008)
Log Message:
Bug: BLZ-96 - When sending a HttpService request from ActionScript with multiple headers with the same name, it causes a ClassCastException in the server
QA: Yes - try again with legacy-collection true and false.
Doc: No
Checkintests: Pass
Details: Another try in fixing this bug. When legacy-collection is false, Actionscript Array on the client becomes Java Array on the server and my fix yesterday assumed this case. However, when legacy-collection is true, Actionscript Array becomes Java ArrayList on the server. So added code to handle this case.
Ticket Links:
http://bugs.adobe.com/jira/browse/BLZ-96
Modified Paths:
blazeds/branches/3.0.x/modules/proxy/src/java/flex/messaging/services/http/proxy/RequestF ilter.javaHi all!
Just to post the solution to this if anyone ever runs accross this thread...
For some reason i had it bad the first time, don't have time right now to see why but here is what worked for me:
HashMap primaryFile = new HashMap();
primaryFile.put("fileContent", bFile);
primaryFile.put("fileName", uploadedFile.getFilename());
operationBinding.getParamsMap().put("primaryFile", primaryFile);
HashMap customDocMetadata = new HashMap();
HashMap [] properties = new HashMap[1];
HashMap customMetadataPropertyRoom = new HashMap();
customMetadataPropertyRoom.put("name", "xRoom");
customMetadataPropertyRoom.put("value", "SOME ROOM");
properties[0] = customMetadataPropertyRoom;
customDocMetadata.put("property", properties);
operationBinding.getParamsMap().put("CustomDocMetaData", customDocMetadata);
Basically an unbounded wsdl type is an array of objects (HashMaps), makes sense, i thought i had it like this before, must have messed up somewhere...
Good luck all! -
Revision: 931
Author: [email protected]
Date: 2008-03-26 11:31:01 -0700 (Wed, 26 Mar 2008)
Log Message:
Bug: BLZ-96 - When sending a HttpService request from ActionScript with multiple headers with the same name, it causes a ClassCastException in the server
QA: Yes - we need automated tests for this basic case.
Doc: No
Checkintests: Pass
Details: RequestFilter was not handling multiple headers with the same name properly.
Ticket Links:
http://bugs.adobe.com/jira/browse/BLZ-96
Modified Paths:
blazeds/branches/3.0.x/modules/proxy/src/java/flex/messaging/services/http/proxy/RequestF ilter.javaHi all!
Just to post the solution to this if anyone ever runs accross this thread...
For some reason i had it bad the first time, don't have time right now to see why but here is what worked for me:
HashMap primaryFile = new HashMap();
primaryFile.put("fileContent", bFile);
primaryFile.put("fileName", uploadedFile.getFilename());
operationBinding.getParamsMap().put("primaryFile", primaryFile);
HashMap customDocMetadata = new HashMap();
HashMap [] properties = new HashMap[1];
HashMap customMetadataPropertyRoom = new HashMap();
customMetadataPropertyRoom.put("name", "xRoom");
customMetadataPropertyRoom.put("value", "SOME ROOM");
properties[0] = customMetadataPropertyRoom;
customDocMetadata.put("property", properties);
operationBinding.getParamsMap().put("CustomDocMetaData", customDocMetadata);
Basically an unbounded wsdl type is an array of objects (HashMaps), makes sense, i thought i had it like this before, must have messed up somewhere...
Good luck all! -
Insert items from two different Multiple Select Lists into a single table
I need help. I have a training tracking system that tracks the courses taken by employees.
I have created two multiple select lists, one is SelectEmployees and the other is SelectCourses. I want to insert
the selected item from those two multiple select lists into Training_Record table.
Note, SelectEmployees" is from Employee table and SelectCourses is from Courses table. Those two table has no intersetion.
Train_Record is the table that joins those two together.
Please advice and your help is appreciate.Thank you for your help.
I tried your code and changed the table/field name to my actual table/field name and the iitem name to actual item name.
declare
cursor c_Employees is
select PERSONNEL_NEW.EMPLOYEEID from PERSONNEL_NEW where PERSONNEL_NEW.EMPLOYEEID in (:P15_SELECTEDEMP);
cursor c_Courses is
select COURSES.COURSE_ID from COURSES where COURSES.COURSE_ID in
(:P15_SELECTEDCOUR);
begin
foreach :=r_employee in c_Employees loop
foreach :=r_course in c_Courses loop
insert
into COPYOFTRAINREC ( EMPLOYEEID, COURSEID )
values ( r_employee.EMPLOYEEID, r_course.COURSE_ID );
end loop;
end loop;
end;
I got error message as :
ORA-06550: line 12, column 25: PLS-00103: Encountered the symbol "C_EMPLOYEES" when expecting one of the following: (
Error
OK -
Error: Validity of Certificate from list with PSE type PSE ends in 3 da
Hello,
our system is reporting the followin warning
Error: Validity of Certificate from list with PSE type > PSE < ends in 1 days, more notes on system log (SM21)
We check the transaction STRUST and STRUSTSSO2, the certificate between ERP and EP expires today. The ERP system is SAP R/3 Enterprise and EP release is 6.20
Please how can we create the certificate in that releases of SAP ERP and EP, we only found information about this procedure in the newest releases.
ThanksHi
Is the SAP Logon certifiacte goiogn to expire??From Portal to ERP??
If this is PSE then follow this [Link.|http://help.sap.com/saphelp_nw2004s/helpdata/EN/a6/f19a3dc0d82453e10000000a114084/frameset.htm]
Regards
Ajay -
Revision: 7891
Author: [email protected]
Date: 2009-06-16 13:38:37 -0700 (Tue, 16 Jun 2009)
Log Message:
Fixed bug in effects that was fallout from renaming offsets property to postLayoutTransformOffsets.
QE Notes: none
Doc Notes: None
Bugs: SDK-21839
Reviewer: Evtim
Tests: checkintests
Ticket Links:
http://bugs.adobe.com/jira/browse/SDK-21839
Modified Paths:
flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/supportClasses/AnimateTransfor mInstance.asLots to be excited about. BUT...Just updated to 8.1 on one of my computers to test it out...
Sadly, the following issue is NOT fixed for me. Is it with new projects only? I haven't started a new project on 8.1 I've only opened an old project but the issue that I'm referring to which involves also a delay/freeze of anywhere from a few seconds to a MINUTE while the render bar goes from yellow to red and then back to yellow is still there. Boo.
On the list above...
Switching between sequences can turn the render bar red.
This issue is incredibly easy to replicate. I really do hope it gets fixed. Here are the steps:
1) Create two sequences with multiple short clips (the more clips the better)
2) Make sure GPU acceleration is enabled.
3) Add warp stabilizer to the clips in both sequences. Again, the more clips the longer the delay/freeze will be as the render bar goes from YELLOW to RED and then eventually back to YELLOW again.
4) Hit SAVE.
5) Now, toggle between sequences. You'll hit a short delay with a few clips stabilized and a LONG delay with lots stabilized. In my case this delay is around a full minute. The render bar will go from YELLOW to RED and then back to yellow...eventually.
6) Toggle back to the original sequence and the delay occurs again.
7) Once you've toggled between sequences and have gone through this delay, that's it, there is no longer a delay...UNTIL...(and here's the big kicker)...until the project is SAVED again. After that the issue returns when you toggle between sequences. Both saving manually and AUTOSAVING cause this issue. No way around it except not editing with GPU acceleration.
Not sure what the issue is...caching issue when saving maybe? Either way, it stinks and it's still there in 8.1. Big bummer.
Again, lots to be excited about with this release but I really was hopefully this specific issue was resolved.
Sigh. -
[svn:bz-trunk] 9665: Fix minor typo in errors.properties file.
Revision: 9665
Author: [email protected]
Date: 2009-08-26 14:13:27 -0700 (Wed, 26 Aug 2009)
Log Message:
Fix minor typo in errors.properties file. Change "wilcard" to "wildcard" in the following error string.
10560=Attempt to subscribe to the subtopic, '''', on destination, '''', that does not allow wilcard subtopics failed.
Checkintests: passed
Modified Paths:
blazeds/trunk/modules/common/src/flex/messaging/errors.properties
blazeds/trunk/qa/apps/qa-regress/testsuites/mxunit/tests/messagingService/dynamicDestinat ions/subtopicsEnabledWildcardsNotAllowed.mxmlonearm wrote:
Svn revision 442 doesn't compile on Arch64:
[ 4%] [ 5%] Building CXX object src/CMakeFiles/guayadeque.dir/AlListBox.o
Building CXX object src/CMakeFiles/guayadeque.dir/ArListBox.o
In file included from /tmp/yaourt-tmp-gianluca/aur-guayadeque-svn/guayadeque-svn/src/guayadeque/Trunk/src/LastFMPanel.h:25,
from /tmp/yaourt-tmp-gianluca/aur-guayadeque-svn/guayadeque-svn/src/guayadeque/Trunk/src/MainFrame.h:27,
from /tmp/yaourt-tmp-gianluca/aur-guayadeque-svn/guayadeque-svn/src/guayadeque/Trunk/src/AlListBox.cpp:27:
/tmp/yaourt-tmp-gianluca/aur-guayadeque-svn/guayadeque-svn/src/guayadeque/Trunk/src/PlayerPanel.h:25:28: error: AutoScrollText.h: No such file or directory
[ 7%] Building CXX object src/CMakeFiles/guayadeque.dir/ArrayStringArray.o
[ 8%] Building CXX object src/CMakeFiles/guayadeque.dir/AudioScrobble.o
make[2]: *** [src/CMakeFiles/guayadeque.dir/AlListBox.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [src/CMakeFiles/guayadeque.dir/all] Error 2
make: *** [all] Error 2
Thanks for the bug report. It was a test i was doing but finally decided to not include it but left this line by error.
It have been fixed in svn 443.
Thanks again -
[svn:fx-trunk] 14381: Merge revision 14380 from 4.x to trunk.
Revision: 14381
Revision: 14381
Author: [email protected]
Date: 2010-02-23 16:54:43 -0800 (Tue, 23 Feb 2010)
Log Message:
Merge revision 14380 from 4.x to trunk.
Fix for http://bugs.adobe.com/jira/browse/SDK-25622. We were checking against "inherit" instead of null in UIMovieClip.
QE notes: None
Doc notes: None
Bugs: SDK-25622
Reviewed By: Hans
Tests run: checkintests
Is noteworthy for integration: No
Ticket Links:
http://bugs.adobe.com/jira/browse/SDK-25622
http://bugs.adobe.com/jira/browse/SDK-25622
Modified Paths:
flex/sdk/trunk/frameworks/projects/flash-integration/src/mx/flash/UIMovieClip.as
Property Changed:
flex/sdk/trunk/ -
[svn:fx-trunk] 14834: Merge revision 14833 from 4.x to trunk.
Revision: 14834
Revision: 14834
Author: [email protected]
Date: 2010-03-17 16:43:45 -0700 (Wed, 17 Mar 2010)
Log Message:
Merge revision 14833 from 4.x to trunk.
Fix for http://bugs.adobe.com/jira/browse/SDK-25881. Using states with layoutDirection was broken. The issue was that in commitProperties of UIComponent, states were trying to set layoutDirection after we've already dealt with layoutDirection. The state would try to set layoutDirection, but since we are already in commitProperties, the eventual invalidateProperties call in the layoutDirection setter (through styleChanged) doesn't do anything. The fix is to have states resolved before calling invalidateLayoutDirection in commitProperties, so we can pick up on state-specific values of layoutDirection.
QE notes: No
Doc notes: No
Bugs: SDK-25881
Reviewer: Carol, Hans
Tests run: checkintests
Is noteworthy for integration: No
Ticket Links:
http://bugs.adobe.com/jira/browse/SDK-25881
http://bugs.adobe.com/jira/browse/SDK-25881
Modified Paths:
flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UIComponent.as
Property Changed:
flex/sdk/trunk/ -
Revision: 9287
Author: [email protected]
Date: 2009-08-13 15:53:43 -0700 (Thu, 13 Aug 2009)
Log Message:
Fixes bug with shader-transition effects (AnimateTransitionShader, Wipe, and CrossFade) when acting on targets that either have filters or are inside a hierarchy with filters. Fix was to capture the bitmap snapshot of the target without any of its own filters applied and to then use the ShaderFilter in conjunction with the target's filters during the animation.
QE notes: Probably need more tests in this area, now that we handle it
Doc notes: none
Bugs: sdk-20250
Reviewer: Jason
Tests run: Checkintests, Mustella (spark/effects/[AnimateTransitionShader|Wipe|CrossFade])
Is noteworthy for integration: No
Ticket Links:
http://bugs.adobe.com/jira/browse/sdk-20250
Modified Paths:
flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/AnimateTransitionShader.as
flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/supportClasses/AnimateTransiti onShaderInstance.asLots to be excited about. BUT...Just updated to 8.1 on one of my computers to test it out...
Sadly, the following issue is NOT fixed for me. Is it with new projects only? I haven't started a new project on 8.1 I've only opened an old project but the issue that I'm referring to which involves also a delay/freeze of anywhere from a few seconds to a MINUTE while the render bar goes from yellow to red and then back to yellow is still there. Boo.
On the list above...
Switching between sequences can turn the render bar red.
This issue is incredibly easy to replicate. I really do hope it gets fixed. Here are the steps:
1) Create two sequences with multiple short clips (the more clips the better)
2) Make sure GPU acceleration is enabled.
3) Add warp stabilizer to the clips in both sequences. Again, the more clips the longer the delay/freeze will be as the render bar goes from YELLOW to RED and then eventually back to YELLOW again.
4) Hit SAVE.
5) Now, toggle between sequences. You'll hit a short delay with a few clips stabilized and a LONG delay with lots stabilized. In my case this delay is around a full minute. The render bar will go from YELLOW to RED and then back to yellow...eventually.
6) Toggle back to the original sequence and the delay occurs again.
7) Once you've toggled between sequences and have gone through this delay, that's it, there is no longer a delay...UNTIL...(and here's the big kicker)...until the project is SAVED again. After that the issue returns when you toggle between sequences. Both saving manually and AUTOSAVING cause this issue. No way around it except not editing with GPU acceleration.
Not sure what the issue is...caching issue when saving maybe? Either way, it stinks and it's still there in 8.1. Big bummer.
Again, lots to be excited about with this release but I really was hopefully this specific issue was resolved.
Sigh. -
[svn:fx-trunk] 9722: Fix the build.
Revision: 9722
Author: [email protected]
Date: 2009-08-27 15:53:29 -0700 (Thu, 27 Aug 2009)
Log Message:
Fix the build. Goes with rev 9721. Remove framework_textLayout from build.xml
Modified Paths:
flex/sdk/trunk/build.xml -
Revision: 14016
Revision: 14016
Author: [email protected]
Date: 2010-02-05 16:12:41 -0800 (Fri, 05 Feb 2010)
Log Message:
Fix for List RTE when dropping into list with null dataProvider. If the dataProvider is null, we create an ArrayCollection to hold items being dropped in the List.
QE notes: No
Doc notes: No
Bugs: SDK-25218
Reviewer: Jason
Tests run: checkintests
Is noteworthy for integration: No
Ticket Links:
http://bugs.adobe.com/jira/browse/SDK-25218
Modified Paths:
flex/sdk/trunk/frameworks/projects/spark/src/spark/components/List.asRevision: 14016
Revision: 14016
Author: [email protected]
Date: 2010-02-05 16:12:41 -0800 (Fri, 05 Feb 2010)
Log Message:
Fix for List RTE when dropping into list with null dataProvider. If the dataProvider is null, we create an ArrayCollection to hold items being dropped in the List.
QE notes: No
Doc notes: No
Bugs: SDK-25218
Reviewer: Jason
Tests run: checkintests
Is noteworthy for integration: No
Ticket Links:
http://bugs.adobe.com/jira/browse/SDK-25218
Modified Paths:
flex/sdk/trunk/frameworks/projects/spark/src/spark/components/List.as -
I have an app that needs a List with items that can be
dragged out of it, and dropped into a hierarchy on a Tree. Is this
something doable in AS 2.0? (I know it isn't in 3.0 since Adobe
removed the Tree object from Flash CS3-- I spent a whole day
redoing our app in AS3 until I got to the form with the Tree object
in it, and hit that brick wall. Grrrrrr!)
Any help is greatly appreciated!
DanI'm pretty sure its doable - although I've not done it.
For the tree as the drop target I'd start by checking out the
DragNDrop Tree extension from Alessandro Crugnola :
http://sephiroth.it/file_detail.php?id=133
to see if I could get it working with that. I've used it for
the first time recently - and its great - but I've never tried
using it for dragging to and from other components.
Is the list component populated with an array of XMLNodes as
its dataProvider? That would make things even easier perhaps.
And I haven't started to do things in as3 yet - I would have
if the Tree component was available. I wish it was otherwise
because I'm eager to do so.
Maybe you are looking for
-
so you know how when you go to music and tap songs. well mine does that but what does not appear on the screen is those letters that divide each letter group of the alphabet. you know it has all the songs starting with the letter a in one place divid
-
Ical events showing in week view as an hour later than the details in event
Hi all, I've just been upgrading my ical / mobileme and I can't figure this out. All time zones are set to London-UK. If I look up appointments in week view all my calendars are colour coded. One particular calendar appears 1hr late with appointments
-
Copying Profit Center from sales order to Purchase order
Hi Champs, Please let me know if anyone has implemented this scenario of copying profit center from sales order to purchase order and then to goods receipt. Thanks Pirzada
-
2010 Tax Forms print errors in Reader
All of the tax forms I've downloaded from the IRS web site print with errors --- lines, garbage characters, etc when printing from Reader (latest version) on OSX. If I open the .pdf files with Photoshop and print them, they come out just fine. Prin
-
Hello! I try to make a video player using NetStream, NetConnection and Video all from flash. My problem is that I don't know how to get totalTime for a video, can anybody help me with that? I work with Flex 2. I use that for the initialization for Ne