2-way picklist display issue

Hi,

Is there any way I can get a 2-way picklist to cover 2 fields ?
I have created a form where we have everything in 2 columns to conserve
space and would like the 2-way picklist to cover both columns, right now
it just looks ugly.
Either the picklist gets to small or we get a big space between the
columns.

Thanks


-- 
-----------------------------------
joakim . ganse_@_ accept-it . se
------------------------------------------------------------------------



0
joakim
2/3/2012 11:26:01 AM
novell.id-manager.userapp 4379 articles. 0 followers. Follow

5 Replies
508 Views

Similar Articles

[PageSpeed] 0

Hi Joakim,

you can use jQuery to rearrange form items and massage the GUI - set 
"colspan" in your case:

* load jquery in your form script
    /IDMProv/javascript/jQuery/scripts/jquery-1.4.2.min.js
    (ignore the error)

* in your picklist onload event call

    /** set new column span attribute to given field
     */
    function jqSetColspan( fn, cols )
    {
       $('#_'+fn).parent().attr('colSpan',cols);
       $('#'+fn+"_packedValues").parent().attr('colSpan',cols);
    }

    jqSetColspan( field.getName(), 6 );


Wolfgang


On 03.02.2012 12:26, joakim ganse wrote:
>
> Hi,
>
> Is there any way I can get a 2-way picklist to cover 2 fields ?
> I have created a form where we have everything in 2 columns to conserve
> space and would like the 2-way picklist to cover both columns, right now
> it just looks ugly.
> Either the picklist gets to small or we get a big space between the
> columns.
>
> Thanks
>
>
0
Wolfgang
2/3/2012 12:15:10 PM
Thanks,

I cant find the jquery script in that folder though. It does however
exist in the war file at that location, do I have to extract it?
I tried both inline and external.

Running IDM 4.0.1.


-- 
-----------------------------------
joakim . ganse_@_ accept-it . se
------------------------------------------------------------------------
joakim_ganse's Profile: http://forums.novell.com/member.php?userid=6236
View this thread: http://forums.novell.com/showthread.php?t=451756

0
joakim
2/3/2012 2:36:02 PM
Got it!

had to add the http:// in the beginnging.

How do I vary the with of the columns ? is that the 6 in your code?


-- 
-----------------------------------
joakim . ganse_@_ accept-it . se
------------------------------------------------------------------------
joakim_ganse's Profile: http://forums.novell.com/member.php?userid=6236
View this thread: http://forums.novell.com/showthread.php?t=451756

0
joakim
2/3/2012 2:56:01 PM
Actually you don't need the http prefix, because you're specifying a 
relative path - it will work, even if Designer throws an error message.

The 6 is the colspan parameter (see the html docs for table cells) - 
what value you need depends on the number of columns on your form, but 6 
usually is sufficient.

Wolfgang

On 03.02.2012 15:56, joakim ganse wrote:
>
> Got it!
>
> had to add the http:// in the beginnging.
>
> How do I vary the with of the columns ? is that the 6 in your code?
>
>
0
Wolfgang
2/3/2012 3:25:19 PM
Then it must have been one other correction that made it work, I had
misspelled one expression.

Thank you for the code, it was exactly what I wanted and works perfect.


-- 
-----------------------------------
joakim . ganse_@_ accept-it . se
------------------------------------------------------------------------
joakim_ganse's Profile: http://forums.novell.com/member.php?userid=6236
View this thread: http://forums.novell.com/showthread.php?t=451756

0
joakim
2/6/2012 9:16:02 AM
Reply:

Similar Artilces:

displaying 2 way picklist
Hi I have a requirement of making a picklist 2-way dynamically at runtime. Normally we set the show-2lists attribute to true in the properties of the picklist. But how can i achieve this at runtime by writing a piece of code. regards Saurabh -- skachru ------------------------------------------------------------------------ On 05/11/2009 03:46 PM, skachru wrote: > Hi > > I have a requirement of making a picklist 2-way dynamically at runtime. > Normally we set the show-2lists attribute to true in the properties of > the picklist. But how can i ac...

Issue in 2-way picklist
Hi, I have 3 picklists:One is 2-way list(coreRoles) and other two are 1-way picklists (coreFunctionalTask and coreAppList). On click/focus on left-side of any role in 'coreRoles' picklist, I need to populate data on 'coreFunctionalTask' and 'coreAppList' field. I am using following code: var varCoreRoles=form.getValue("coreRoles"); form.setValues('coreFunctionalTask',IDVault.get(null,String(varCoreRoles), 'Role', 'chwUPRoleFunctionalTask')); var appAccessArray=new Array(); var appArray=new Array(); var tempArray; a...

2 way picklist issue
Hi, I have a 2 way picklist. I am hiding this field on the onLoad event. When a specific condition is met, i am making this field visible through field.show() method. But the 2 way picklist does not appear. Can anyone help me in this regard. Regards Saurabh -- skachru ------------------------------------------------------------------------ Greetings Saurabh, That has been covered in this list, that it is a known bug. Also, you asked the same question on 13-May-2009 in the Thread "2 way picklist show/hide" and were told then that it was a known bug....

2 way picklist
I have a 2 way picklist on the form. There are some pre-populated values on the right side when the form gets loaded. Now, if the user tries to de-select those values and move them to left side, i need to give a message and a yes, no option. If user selects yes, the value should move to left and if user selects no the value should remain on the right side. but this behaviour should not happen if user moves a value from left to right. Can anybody suggest how can i achieve this functionality. Regards Saurabh Kachru -- skachru -------------------------------------------------...

10.3.1 server, 10.2.2 managed devices any issues?
We have to upgrade our primary servers to 10.3.1 to fix an issue with patch but we do not want to upgrade all the managed devices at this time. So far the test environment seems to be ok with this configuration. Has anyone else ran 10.3.1 on the servers with 10.2.2 devices and had issues, patch problems, etc? Thanks. -- dtemple-sgi ------------------------------------------------------------------------ I recently had 10.2 agents running with 10.3.1 and all seemed ok, I ended up upgrading all the agents as I wanted the patch baselined...but not because I was having...

PickList issue #2
Problem Statement : I have to show (make visible) a two-way picklist(multivalued is true and show two lists is true) on the form when the user selects a radiobutton on the form. to achieve this -onmouseup event on the radiobutton field, the action expression is field.fireevent("showFacility"). -on showFacility event on the Picklist, the action expression is field.show(). But this is not happening on the request form. Please suggest a way out of it -- sharmche ------------------------------------------------------------------------ Greetings, This is a ...

2 issues with Seamonky 2.2
When I installed SM 2.2 my bookmarks are gone. Second problem is annoying more than a problem, there isn't a little x on the tab to close it. You have to rt click to close the tab. I sure would like to see my bookmarks again. Any ideas how to fix this?? B Sat, 13 Aug 2011 09:34:32 -0700, /Juiceman/: > When I installed SM 2.2 my bookmarks are gone. Second problem is > annoying more than a problem, there isn't a little x on the tab to > close it. You have to rt click to close the tab. As far as I remember, no SeaMonkey version has ever had a little x on...

[ID 19991025.007] Build Issues with perl5.005.2 on AIX 4.3.2.0
Hi, I've just completed a good build with AIX 4.3.2.0 using gcc 2.95.1 There were some problems with the hints and I needed to add -lmssa in order to get the math functions to work I've still got the build dir intact so if I can send you anything to help let me know Thanks, Bob French UNIX system manager US Diagnostics Inc bfrench@usdl.com The output from myconfig..... Summary of my perl5 (5.0 patchlevel 5 subversion 2) configuration: Platform: osname=aix, osvers=4.3.2.0, archname=aix uname='aix u-sewpbcbo-vis2 3 4 00059247a100 ' hint=...

RE: [ID 19991025.007] Build Issues with perl5.005.2 on AIX 4.3.2. 0
People, Let me take a bow here, I was rushed and just grabbed the version that was on the gnu page instead of going to CPAN and checking out the README I usually do. If anything I would suggest that the link on the GNU page just point you to the perl source dir on CPAN and leave it to the user to get the right version. The way it looks now you would think that 5.005_02 is the current latest. Anyway I've got 5.005_03 and I'll build it this evening Thanks -Bob French -----Original Message----- From: Elaine -HFB- Ashton [mailto:elaine@chaos.wustl.edu] Sent: Wednesday,...

RE: [ID 19991025.007] Build Issues with perl5.005.2 on AIX 4.3.2. 0
I know but you have a link from there and those of us that work with gcc and other GNU tools tend to use it as a base page. Just a suggestion anyway -----Original Message----- From: Jarkko Hietaniemi [mailto:jhi@iki.fi] Sent: Wednesday, October 27, 1999 3:05 PM To: Bob French Cc: 'Elaine -HFB- Ashton'; M.J.T. Guy; perl5-porters@perl.org Subject: RE: [ID 19991025.007] Build Issues with perl5.005.2 on AIX 4.3.2. 0 Bob French writes: > People, > Let me take a bow here, I was rushed and just grabbed > the version that was on the gnu page instead of going to ...

2 way picklist onClick
Hi, I have a requirement of populating a field based on the value selected in a 2 way picklist. Now, if i select more than one value in the 2 way picklist, i need to set the other field as blank. I am using the following code to find the index of the selected value and its value: var index = document.uiform._CoreRoles.selectedIndex; var SelectedValueName = document.uiform._CoreRoles[index].value; Now, when multiple values are selected and the above variables are printed using the alert method, the index and the value of the value that has the lowest index is printed. Can anybody...

Two way Picklist issue
i have three 3 fields on my form viz. 1) R1 - trueFalseradiobutton with options "A" , "B" and "C" 2) R2 - trueFalseradiobutton with options "X" , "Y" and "Z" 2) PL1 - two way pick list(initially hidden) 3) PL2 - two way pick list (initially hidden) when i select option "A" on R1, R2 is shown, when "X" option is selected PL1 is shown. on the onchange of PL1, PL2 is shown. now, on the same instance of form, when user switches to option "B" on R1, all the fields (R2, PL1, and PL2) should...

Remote Manager cannot be displayed #2
--____BFCPRQOKADNOFOCJITOI____ Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: base64 Content-Disposition: inline; modification-date="Wed, 14 Dec 2010 06:43:09 -0500" UnVuaW5nIE5ldFdhcmUgNi41LjYuICBSZW1vdGUgbWFuYWdlciBwYWdlIHdpbGwgbm90IGRpc3Bs YXkuICBJIGhhdmUgY2hlY2tlZCB0Y3Bjb24gYW5kIHBvcnQgODAwOCBpcyBub3QgbGlzdGVkLiAg aHR0cHN0ayBhbmQgcG9ydGFsIGFyZSBib3RoIHJ1bm5pbmcuICBIb3dldmVyIEkgZGlkIGZpbmQg dGhhdCB0aGUgbW9kdWxlIGh0MnNvYXAubmxtIGF1dG8tbG9hZHMgbndpZGsubmxtIGFuZCBodHRw c3RrLm5sbS4gIENvdWxkIGl0IGJlIGxvYWRpbmcgdGhlIHdyb25nIGNvbmZpZ3VyYXRpb24/ICBO ZXc...

New issue, on a different server... "The 4K memory pool of named cache tempdb_cache (cache id 3, cachelet id 1) is configured too small for current demands (state 2). Transaction progress may cease o
New issue, on a different server... "The 4K memory pool of named cache tempdb_cache (cache id 3, cachelet id 1) is configured too small for current demands (state 2). Transaction progress may cease or response time may increase." What would cause this? I believe Derek mentioned in the other Discussion Thread that these type of errors are generated when a "create index" or "update stats" is performed on a large table. Is it safe for us to assume that this is the cause for this error message as well? Thank you for your help and time you are setting ...

Web resources about - 2-way picklist display issue - novell.id-manager.userapp

The Orlando Project
The Orlando Project is an experiment in the integration of text and technology. It has designed and continues to enhance digital tools to harness ...

Charles Mok 可圈可點
多得梁振英錯愛,想不到我今天的一篇香港家書(註一),再要求成立科技局,都能夠得到特首這麼認真地以新聞公告(註二)回應,實在要感激他。 特首辦的回應說:「由於立法會拉布,現屆政府至今未能落實建議...(莫乃光)提到行政長官上任前曾承諾會成立科技及通訊局,有關建議雖然在立法會內得到主 ...

P - Computer dictionary and glossary
Computer dictionary abbreviations, definitions, glossary, and terms beginning with the letter P.

Winter ’14 Developer Preview
Summer is fading and fall will soon be here. Question: do you know what the best part of fall is? That’s right, the winter release of Salesforce.com. ...

App outreach and sustainability: lessons learned by Portland, Oregon
The big problems faced by contests and challenges in government apps are encouraging developers to turn their cool apps into sustainable products, ...

Magento - Wiki - All Articles
Menu OUR SITES Magento Magento's Corporate Site Enterprise Edition Enterprise-Class Platform Magento Go Small Business Storefront Connect Extensions ...

List Master - Video Demo
Login List Logic Software List Master Lists Your Way VIDEO DEMO MY LISTS Signup Help FAQ Tips and Tricks iPhone App Screenshots Video Demos Description ...

Attachments - OnTime Developer API
These are the get, post, and delete methods for managing attachments in the OnTime RESTful API.

App outreach and sustainability: lessons learned by Portland, Oregon
Having decided to hang around Portland for a couple days after the Open Source convention , I attended a hackathon sponsored by the City of Portland ...

Final Draft 8 for Windows review: Screenwriting software ready for its close-up
... write the screenplay. You'll have to bring your own brilliant ideas, but Final Draft can help with the format. Final Draft 8's Elements picklist ...

Resources last updated: 1/5/2016 6:37:16 PM