How to set the number of contents in list area of t:selectOneMenu
Hi all
Can any one plz suggest me how to fix size of number listed elements in <h:selectOneMenu> or <t:selectOneMenu>.
I want to set this size to 10 so that i can control dropdown list size, which appeared quite long and shadows large screen area as well.
Having list size as 10 can make other elements scrollable through scroll bar of the list.
Hi Friend
Can you match this result with this result
javax.servlet.ServletException: /jsp/admin/SubTopic.jsp(89,8) Attribute size invalid for tag selectManyMenu according to TLD
javax.faces.webapp.FacesServlet.service(FacesServlet.java:154)
org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:144)
as per your suggestions i have implemented following code -
<h:selectManyMenu size="10"
id="topic" value="#{topicCreationBean.subtopic}"
style="width: 155px; font-size:10px;">
<f:selectItem itemLabel="-----------All-----------"
itemValue="None" />
<f:selectItems value="#{topicCreationBean.subTopicList}" />
</h:selectManyMenu></td>
Waiting for your reply.
Similar Messages
-
How to set the number of seconds a servlet is allowed to run
I use JSP to generate a report, but it will take about 10 minutes to search.
IE Client screen displays an error message what is "Cannot find out your page" after 8 minutes. How to set the number of seconds a servlet is allowed to run.It's not a matter of how long the servlet is running... it's the browser timing out because the servlet hasn't responded to its request.
You have several options:
1) "Browser Pinging"
Your servlet sends some small data which can be either seen or unseen (html comments, hidden chars, etc) by the user at short intervals while your report is running. When the report is finished, the browser will not have timed out because it has been "snacking" on those small bits of data which tell the browser its original request was both heard and being handled. I don't think there is any timeout in IE as long as it receives data continually (or at least before its own timeout mark over and over again...)
2) Multithreaded processing
This would probably be a better approach. Have the report run in a separate thread running on the server. You'd want to store a reference to this executing report in the user's session. Instead of making the browser wait for the report to be finished, have the servlet check the user's session to see if a report exists and is running. If one does not exist, create one and start its execution. If one does exist, and is still running, print a "please wait" type of message OR an animation, etc... along with some javascript which will reload the page every few seconds. If the page reloads and the servlet sees that the report is finished, it can then display it to the user.
Hope this helps,
-Scott -
8330 Call Forwarding...How do I set the number of rings before calls are forwarded? Right now it instantly forwards my calls but I don't want that. I want to change it so that let's say that if after 5 rings I don't answer the call is forwarded. I've looked everywhere for an answer but have had no luck. Any help would be appreciated. I am with Virgin Mobile if this makes a difference.
Thank you
Message Edited by 8WDDdotcom on 08-01-2009 02:39 PM
Message Edited by 8WDDdotcom on 08-01-2009 02:44 PMWell, call forwarding is a feature provided by your carrier -- it is not a function of the device. However it works for your carrier is how it works. Actually, from what I understand about call forwarding, it normally is an all-or-nothing circumstance...calls forward to the number you've asked them to be forwarded to, keeping you in a DND status. Regardless, though, if your carrier tells you how it works on their system, there's nothing that the device can do to override that. Unless there is some kind of 3rd party app that would do it, bypassing (somehow) the carrier network CF feature...but I've never heard of such a thing.
Occam's Razor nearly always applies when troubleshooting technology issues!
If anyone has been helpful to you, please show your appreciation by clicking the button inside of their post. Please click here and read, along with the threads to which it links, for helpful information to guide you as you proceed. I always recommend that you treat your BlackBerry like any other computing device, including using a regular backup schedule...click here for an article with instructions.
Join our BBM Channels
BSCF General Channel
PIN: C0001B7B4 Display/Scan Bar Code
Knowledge Base Updates
PIN: C0005A9AA Display/Scan Bar Code -
How to set the number of rings before voice mail answers?
How to set the number of rings before voice mail answers?
For me its:
1. Open the phone app and dial *#61# on the Keypad. Press the Call button.
2. Locate this text on the screen: "Setting Interrogation Succeeded, Voice Call Forwarding, When Unanswered, Forwards to +" and record the 11-digit number after the + symbol.
3. Touch the Dismiss button. Now enter this code on the Keypad: *61*+ followed by the 11-digit Forwards to number recorded in step 2, followed by *11 and *ringtime#. Ringtime is the number of seconds you want your iPhone to ring before voicemail picks up. Your finished code should look something like this:
*61*+18555513466*11*30#
In the example above the ring time is set to 30 seconds. Press the Call button.
4. You should receive the message: Setting Activation Succeeded. Press Dismiss and next time you receive a call it will ring for the new amount of time before going to voicemail. -
How to set the number of rings for the agent phone rings before it get the not prepared state
hi, how to set the number of rings for the agent phone rings? before it get the not prepared state.
thanksThe following assumes that you are using ICM with an IPIVR etc (not using CVP), as the answer is different for CVP
What you are looking for is called "Ring no answer time". It is set in the Agent Desk Setting List tool.
Regards,
Kevin -
How to count the number of text boxes that are data entered
How to count the number of text boxes that are data entered in visual basic form.
Here is an Iterator that expands on my previous response:
''' <summary>
''' Iterator for form controls
''' </summary>
''' <param name="onlyControlsOfType">specify type if a certain type of controls needed</param>
''' <param name="onlyTopLevel">if true don't search containers within the form</param>
''' <returns></returns>
''' <remarks></remarks>
Private Iterator Function AllControls(Optional onlyControlsOfType As Type = Nothing, _
Optional onlyTopLevel As Boolean = False) As IEnumerable(Of Control)
Dim ctrl As Control = Me.GetNextControl(Me, True)
Do Until ctrl Is Nothing
If onlyControlsOfType Is Nothing OrElse ctrl.GetType = onlyControlsOfType Then
If TypeOf ctrl.Parent Is Form OrElse Not onlyTopLevel Then
Yield ctrl
End If
End If
ctrl = Me.GetNextControl(ctrl, True)
Loop
End Function
Some sample uses:
For Each
For Each c As Control In AllControls()
Debug.WriteLine(c.Name)
Next
List of all controls, including controls in containers i.e. Groupbox
Dim l As List(Of Control) = AllControls().ToList
List of all Textbox controls, including Textboxes in containers i.e. Groupbox
l = AllControls(GetType(TextBox)).ToList
List of all Textbox controls, don't include Textboxes in containers i.e. Groupbox
l = AllControls(GetType(TextBox), True).ToList
'Those who use Application.DoEvents() have no idea what it does and those who know what it does never use it.' JohnWein
Multics
My Serial Port Answer -
How to set the number of rows that an awt.Choice can display
Dear Sir,
I want to ask how an awt.Choice can set the number of rows that it can display, like the method setMaximumRowCount in JCombobox. Since I want to set more row can be displayed, but choice no any method can set. And I have tried to add Jcombobox into awt.frame, then, the handling event function cannot receive event for the right-top cornet button(minimize, maximum, close).
Best Regards,please post a Short, Self Contained, Correct Example showing your problem.
bye
TPD -
How to set the number of records displayed at run time
Is it possible to set the number of records displayed block property at run time? The built-in 'GET_BLOCK_PROPERTY' can retrieve the number of RECORDS_DISPLAYED. But I can't find SET_BLOCK_PROPERTY to set this property. Is there anyway I can set this property programmatically? Thanks for any suggestions!
Bookmark Go to End
goal: How to vary the number of records displayed in a block
programmatically
fact: Oracle Forms Developer
fix:
Block property 'Number of Records Displayed' can not be changed during runtime
using SET_BLOCK_PROPERTY. However, it is still possible programmatically change
the visual appearance of the form so that it creates effect of changing this
property. To achieve such an effect follow these steps:
1. in Forms Builder, in the multirecord block define the new set of items.
The simplest way is to copy/paste the original item and rename created item.
2. set properties of these new items so that they are the same as the properties
of the original items. If these new items were copied from original items
then properties are already the same. Modify following properties
'Database item' on new items to value 'No'
'Synchronize with item' to the value of the original item
'Number of Items Displayed' to desired value.
'Visible' to 'No'
In other words, these new items are mirrors of original items.
3. code event, which is meant to trigger the change in block appearance.
This code should use SET_ITEM_PROPERTY built-in to set properties
like 'VISIBLE', 'ENABLED', 'NAVIGABLE', 'UPDATE_ALLOWED' and others
to desired value for items which are about to be displayed, then
move cursor to one of these just displayed items with GO_ITEM built-in
and then hide the previously displayed items.
Example:
Assume that the block is built on SCOTT.DEPT schema. Following will
change the set of displayed items
set_item_property('dept.mdeptno',visible,property_true);
set_item_property('dept.mdname',visible,property_true);
set_item_property('dept.mloc',visible,property_true);
set_item_property('dept.mdeptno',enabled,property_true);
set_item_property('dept.mdname',enabled,property_true);
set_item_property('dept.mloc',enabled,property_true);
set_item_property('dept.mdeptno',update_allowed,property_true);
set_item_property('dept.mdname',update_allowed,property_true);
set_item_property('dept.mloc',update_allowed,property_true);
set_item_property('dept.mdeptno',navigable,property_true);
set_item_property('dept.mdname',navigable,property_true);
set_item_property('dept.mloc',navigable,property_true);
go_item('dept.mdeptno');
set_item_property('dept.deptno',visible,property_false);
set_item_property('dept.dname',visible,property_false);
set_item_property('dept.loc',visible,property_false);
Regards,
Monica -
How to set the number of sockets for batch processing at runtime?
Hello all,
I need to change the execution model at runtime. I have achieved this by setting the 'ModelPath' property of the sequence file at runtime. When I set the sequence file model as batchmodel, i need to set the number of test sockets also dynamically. How can this be done? Once i set the number of sockets, i would also have to set the UUT serial number for each socket. Please help me out in solving this.
Thanks and Regards
Madhu Srinivasan.Hi Madhu,
You can do this by inserting a sequence file callback into your main sequence and choose the ModelOptions callback. You can then use the expression step to set the "Parameters.ModelOptions.NumTestSockets" value to whatever you want. If you then use the Test UUTs execution entry point you will be prompted for serial numbers automatically. You could also use this same procedure but alter the ModelOptions callback in the process model directly, either way works just as well but I think that using a sequence file callback gives a bit more flexibility in the system.
Hope this helps,
Nick -
How to set the number of elements dequeued?
Hello All,
I am relatively new to LabView. I use LabView 8.2 to detect Joystick movement using a set voltage threshold. Totally, I have 6 channels of analog input. The sampling rate is 2 Kilo Hertz with continuous sampling mode (buffer size set to 10 Kilo Samples). I show a visual stimulus on a computer monitor. Within 3 seconds from stimulus onset, the subject has to press the joystick. So I use a while loop that runs until the subject moves the joystick in any direction as detected by crossing of voltage threshold. The while loop was intended to run for a max of 3 sec if joystick was not moved. My intention while using the vi (see below) was to continuously monitor the voltage signal by means of removing voltage data points from the queue by the labview function/vi - "dequeue element". When I dequeue from inside the loop, the dequeue function removes about 100 msec worth of voltage data points ( = 198-201 points; sampling rate -2Khz) from each of the six channels. This creates problem for me because a single dequeue operation takes 40 to 85 msec during which the loop cannot be stopped. This results in miscalculation of the actual time when the joystick was moved.
Is there a way to set how many data points the dequeue function removes? My goal is to remove about 1-2 msec worth of data points so that the loop can exit within under 5msec of the joystick movement.
I have attached the screen shots of the subvi's I am using.
Acquire Response.jpg - the while loop that has the subvi: Access Analog Data Queue
Access Analog Data Queue.jpg - front panel of the subvi that has the 'dequeue element' function.
Remove Element.jpg - a case of Access Analog Data Queue.vi showing the 'dequeue element' function
Sorry for the long message. Any help would be greatly appreciated.
Thanks
Mani
Attachments:
Remove Element2.jpg 135 KB
Acquire Response1.jpg 266 KB
Remove Element1.jpg 135 KBHello Lynn and tst,
Thanks for your suggestions. I have attached a screen shot of a vi that has the enqueue function. As Lynn pointed out, it was the enqueueing size that was reflected in the size of the dequeueing. I tried various ways to control the enqueue element size in order to control the dequeue element size. Many of my tricks failed. I had set the data acquisition to be continuous at 2kHz with 10Ks buffer size. You may want to look at the attached image of the subvi "Analog Acquisition" while I explain my attempts. The first thing that I noticed was the 'dt' value in the input node of the timed loop which had been set by somebody to 100. I thought that was part of the reason why my dequeue size was always worth 100msec data points. So I changed it to 1 msec. This definitely made a difference in the chunk size of the dequeued element. Now dequeueing removes only data points worth 1 - 5msec. I also noticed that my data reading timer loop(the while loop in "Analog Acquisition" picture) takes about 20 -25 msec instead of the set 1 msec.
Why does the loop take so long? I have set the 'number of samples per channel' to -1 so that DAQmx read.vi (see it in Analog Acquisition subvi block diagram) can grab whatever data is available currently and put that into the queue. Can this be a reason why the loop takes more than 20 msec? I also tried to set the number of samples per channel to 2. I reasoned that with the sampling rate of 2KHz, 1ms loop should be able to pull 2data points and enqueue them. But it gave me the much-often-seen error code ":Error -200279 occurred at DAQmx Read (Analog 1D Wfm NChan NSamp).vi:1->Timed structure(s): DAQ Loop". I tried various combinations of loop time and number of samples per channel. I get Error-200279 very often. Note that I have several state transitions and only in a couple of them during every cycle of state transitions, I remove elements and flush the data queue (one place where I remove elements is shown in my original message in the picture-'Acquire Response.jpg').
How do I set the data acquisition loop to enqueue elements for exactly 1 msec or n msec so that I can control my dequeue size?
Thanks a lot, I am getting really tired of fixing this problem. Please help.
Mani
Attachments:
Analog Acquisition.jpg 363 KB -
How to set the number of minor tick marks?
How does one set the number of minor tick marks? My major tick marks are located at 0, 5, 10, 15, etc. I'd like to have 4 minor tick marks in the range 0 to 5, 5 to 10, 10 to 15, etc. Is this even possible with Numbers 2.02?
It's good that you are using a Scatter Chart for this. Just make your settings in the Inspector as shown in this example. You will be using the Chart Inspector, Axis Tab, Value Axis Settings, with the Chart selected.
Jerry -
How to set the number of averages for doing octave analysis
Hi
I am using a 4472 DAQ for continuously acquiring time domain signal and doing octave band analysis using Sound and vibration tool kit. How can we set the number of averages while doing the Octave analysis. All the other FFT vi like FRF, Auto Spectrum, Cross Spectrum have an option for setting the number of averages and then the vi runs for those many averages and it stops. How this same logic can be applied while doing octave analysis.
Regards,
AnkitHi Ankit,
You may want to consider using the VI in a for loop. By wiring the "number of averages you wish to complete" to the count terminal ("N'), you can control how many times the VI runs.
Hope this helps,
Jennifer O. -
How to set the number and width of divs of Graph?
Hi, everyone.
As the title, I want to design a virtual scope. And there is something I don't know
how to set about Graph. That is I want to set the number of divs of X-axis and Y-
axis with 10 divs of Y-axis and 8 divs ofX-axis. Additon, i also want to set the
width of each divs. How can I do the setup?
Thanks in advance!There are two ways of doing it.
First, to do it offline, right click on the graph in front panel>> dropdown Menu select 'properties'>> Go to Tab 'Scales' and select relevant values for each axis
Or to do it programatically, create a property node ( as shown in attached pic)>> select property>> x scale range / y scale range>> change it to write>> create a control to it and you can set following attributes: Minimum, Maximum, Increment, Minor Increment, and Start of that particular axis
Hope this helps
Regards,
Dev
Attachments:
graph_scale.PNG 11 KB -
Can I set the number of seconds a photo stays on the TV screen when I do a slideshow from my ATV2? Can't seem to find a setting on the Apple TV to do that. For the slideshow on the ATV2 I am choosing an Event from my iPhoto library and then choosing "slideshow" after adjusting the ATV2 settings for music and theme.
You can only set the time of slides with certain types of slideshows (i.e. classic and ken burns)
-
How to set the number of rows per page dynamically
Hello all,
i urgent need the option to set the number of rows per page dynamically.
I've got a parameter.
In dependence of the value of this paramter i want to set the number of rows per page of a repeating frame.
The Reports Builder version i use is 10.1.2.0.2
I defined a report trigger.
My code so far:
function R_G_BEMERKUNGFormatTrigger return boolean is
begin
if :vYN_Display_one_per_page = 'Y' then
--what i've to write right here??
return (TRUE);
else
return (TRUE);
end if;
return (TRUE);
end;
Can anyone help me please??
Best regards
FlorianDo you just need to change back and forth between 1 and some other number? If so, you can create two identical layouts, one with the "number of rows per page" preperty (on the repeating frame) set to 1 and the other layout set to whatever. You would have to have duplicate layouts for each group you wanted to do this with. Your format trigger on the outermost master group frame where num of rows was 1 would look like:
function M_G_ename_GRPFRFormatTrigger return boolean is
begin
if :vYN_Display_one_per_page = 'Y' then
return (TRUE);
else
return (FALSE);
end if;
end;Your format trigger on the outermost master group frame where num of rows was whatever would look like:
function M_G_ename_GRPFR1FormatTrigger return boolean is
begin
if :vYN_Display_one_per_page = 'N' then
return (TRUE);
else
return (FALSE);
end if;
return (TRUE);
end;
Maybe you are looking for
-
Bom dia à todos, Estou com um problema no processo de importação nosso, principalmente no que diz respeito aos débitos posteriores. Pois precisamos atrelar os custos aos materias, porém como lançamos a MIRO sem ctg. de NF, os debitos posteriores eu n
-
Probleme to run server after SAP NetWeaver 7.01 ABAP Trial Version install
Hi all, I have a probleme to start WAS and MAxDB after SAP NetWeaver 7.01 ABAP Trial Version. I installed the all and then connect to SAP System without restarting Windows. There was no probleme there all was perfect and I can connect to SAP. Next, I
-
Where do I get Cool Motion Templates
I'm not expierienced enough to do to much with motion on my own so I've been using templates. The problem is that there is not that many of them that come with it. Does anyone know where a good place is to download more templates. I know that some pe
-
Steve Where are you, nobody cares to fix iMovie crash
-
HT204266 How can I find my in App purchases receipt?
How can I find my in App purchases receipt?