Help with driving f:param in a command***
I have the following problem that I can't resolve:
Having a inputtext and a commandlink, I need to pass the inputtext value as a commandlink param in a request scope, to make some logical action in the back bean, I have been trying using binding and f:inputhidden, but I can't find the way. I find some info in:
http://balusc.blogspot.com/2006/06/communication-in-jsf.html
If someone have some code example please help!!!
If placed in the same form, the h:inputText value is just accessible in the action method?
Similar Messages
-
Help with broken? macbook. Boot commands dont work.
I have an old macbook that is from late 2008 and is kinda old. First time it did 3 beeps (ram error) So i exchanged the ram and now it starts. But i get stuck at greyscreen, and sometimes at a flashing folder with a Question mark.
I did try to go through the community here but i cant use any of the commands people are recommending..
Command + Alt + R dont work
Alt during boot dont work.
Command + alt wont work... No commands do anything except leaving a blank screen and a cursor.
If i dont hold any keys during boot i eventually get the flashing questionmark folder.
Any suggestions?
Can i reinstall it from a USB and how do i do it if i cant use the bootup commands? :S
(The keyboard seems to work so that cant be the issue)
Thanks.i dont know what the existing OS is.
Cannot help with troubleshooting since you do not know which OS is installed on your comp. If you purchased your MBP from a private party, ask them. Better yet, did the previous owner provide you w/the DVDs that originally came w/the MBP? If not, you purchased a glorified door stop.
If none of the suggestions in the KB Article work out, take the MBP to your local AS or an AASP.
There is nothing more for me to suggest until you determine which OS you are working with and you have possession of the system DVDs that originally came w/the MBP. -
Help with commandLink, actionListener, param in a simple CRUD example
Hi All,
I'm trying to build a very simple CRUD (create read update delete) interface as a proof of concept (concept being that I have some aptitude with JSF) and here is my problem:
I have a dataTable, each row of which represents a campaign object. I want an "edit" link in each row that will load a single-edit page for the campaign in that row. I am not sure how to access the value of the param (campaignId) within the backing bean's actionListener method. Below is the code for the link and thanks in advance.
Matt
<h:commandLink
actionListener="#{CampaignBean.chooseCampaign}"
action="#{CampaignBean.editCampaign}"
rendered="#{not campaign.editable }">
<h:outputText value='#{campaign.campaignName}'
rendered="#{not campaign.editable }"/>
<f:param name="chosenCampaign"
value="#{campaign.campaignId }"/>
</h:commandLink>Thank you very much! Actually a co-worker had pointed me to your site yesterday afternoon and I was going to post a link to it. Your articles are very helpful!!!
-
IDXML - Help with the rights for the "useerGroupsProfile" command
On page 121-122 of the developer guide for CoreID - It mentions that in order to use the IDXML command for "userGroupsProfile" that the "The logged-in user must be able to grant read capability on the proxysourceuid classname attribute"
I am pretty sure this is the issue I am having using this command. I am passing valid DN's to it, but it keeps telling me it cannot find the user. My guess is that my service account making the request does not have the right to "grant read capability on the proxysourceuid classname attribute".
The other issue is that I have is I have no access to the CoreID admin to make this change / search the screens to find out exactly where to grant this right. I have to pass all requests for these kind of changes on to our CoreID admin (Who is also just learning to work with the system in this capacity.)
Any specific instructions on where we can change this "right" would be greatly appreciated. (Such as which admin screen / attributes need to be set and where).
Thanks again - -From the CoreID screens, I can access both the user manager and group manager screens.
When I access the user manager, I can see all users... but cannot see what groups they are in.
When I access the group manager, I can see all groups. I can also see who is in each of the groups.
So it seems like I am missing the rights to jump from a user to the users memberships. When the absolute admin logs into those screens... they are able to do that.
IDXML Below:
<?xml version="1.0" ?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas-xmlsoap.org/soap/envelope/" xmlns:oblix="http://www.oblix.com">
<SOAP-ENV:Body>
<oblix:request application="groupservcenter" function="userGroupsProfile" mode="dataonly" version="NPWSDL1.0">
<oblix:params>
<oblix:proxysourceuid>CN=Smith\, John,OU=Users,OU=ASDF,ou=oblixjoin,ou=vde,dc=vde,dc=mycompany,dc=com</oblix:proxysourceuid>
<oblix:showMemberOfGroups>true</oblix:showMemberOfGroups>
<oblix:showOwnerOfGroups>true</oblix:showOwnerOfGroups>
<oblix:showStaticGroups>true</oblix:showStaticGroups>
<oblix:showDynamicGroups>true</oblix:showDynamicGroups>
<oblix:showNestedGroups>true</oblix:showNestedGroups>
<oblix:showAdministratorOfGroups>true</oblix:showAdministratorOfGroups>
</oblix:params>
</oblix:request>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope> -
Help with coding - MouseEnter/Leave and Click commands for animated tabbed panel
Hello!
I've asked a question similar to this but unfortunately couldn't figure it out! I'm hoping someone may be able to help now as I'm much clearer about what I need...!
Here's my Edge Animate project - http://we.tl/JEOuvnK4SX It's going to be embedded on a Muse website.
At the moment, it works well, with the animations happening as the mouse is rolled over each icon at the top. What I'd love to achieve is something very similar but with click actions - When the icon at the top is rolled over it plays and reverseplays but the panel below is only played when the icon is actually clicked - and it holds until another is clicked (so the mouse can wonder around the screen without the information dissappearing), it should then playreverse before the new one appears.
I'd also like it to begin with 'Concept' pre-selected so users can see the first panel. At the moment there's a big empty space which makes it look like there's actually something missing.
So I'd like something like this (hopefully this makes sense!):
TO BEGIN - ICON (Concept) and PANEL (Concept_1) already activated (CLICK) (see image). It would also be quite nice if this began as the user scrolled down the page as I already have a few scroll effects on the Muse project.
MOUSE ENTER:
sym.getSymbol("ICON").play('Over');
MOUSE LEAVE:
sym.getSymbol("ICON").playReverse();
CLICK:
< find currently activated "ICON" .playReverse(); >
< find currently activated "PANEL" .playReverse(); >
sym.getSymbol("PANEL").play('Over');
I've been racking my brain over this but I think I just don't know enough code! Any help would be MASSIVELY appreciated!! ThanksOk, i will look at mouse events.
Code to display default panel and icon requires a new line.
compositionReady:
// Default Panel: first panel
sym.getSymbol("Concept").play('Over'); // <== new line
sym.getSymbol("Concept_1").getSymbolElement().show();
sym.getSymbol("Concept_1").play("Over");
sym.setVariable("displayedPanel","Concept_1"); -
Help with for loop and remove-item command
Hi all here is the code so far
$a = Get-Content C:\Users\cody-horton\Desktop\test.txt
for($i=0;$i -lt $a.Length;$i++){
#$temp = [int32]::Parse($a[$i])
Remove-Item '\\ceit2551202x0'$a[$i]'\C$\Program Files\MATLAB\R2013a\*' -Force
I have a text file with a few number in it that i want to get. They are in the array $a but I'm getting an error that says a positional parameter cannot be found that accepts argument '53' (it does this for all the numbers in the array.) I know in java you
could have something like this string + int + string.
I'm not sure what to do I also tried to parse it with no luck. Thanks any help is appreciated.Your issue is with the path for Remove-Item, it is not complete so try this
Remove-Item "\\ceit2551202x0$($a[$i])\C$\Program Files\MATLAB\R2013a\*" -Force
I am unable to test, so I would add the -WhatIf switch to make sure it outputs what you expect
If you find that my post has answered your question, please mark it as the answer. If you find my post to be helpful in anyway, please click vote as helpful.
Don't Retire Technet -
Help with FIXED LENGTH columns - using spool command
Hi guys,
I have a view I am trying to spool using fixed length columns, and the spacing is off. Ive tried numerous things such as specifiying the column width before running the query, using the rpad command, but nothing seems to work. I have to spool it to a text file in order for the users to import this file into another system. I would welcome any and all suggestions. Thanks so much. The following is the view:
SELECT "EMPLOYEE_ID","FIRST NAME","INITIAL","LAST NAME","SUFFIX","TRAINING DATE","Course ID","Class ID", "We", "Make / Model", "Cali", "Barrell", "Serial Number", "Qualification", "Application", "SCORE", "Status", "Add Time", "Record Add ID","Record Add Date","Record Change ID","Record Change Date","RN" FROM
(SELECT
UPPER(RPAD(tbl.ssn,10)) AS "EMPLOYEE_ID",
UPPER(RPAD('',12)) AS "FIRST NAME",
UPPER(RPAD('',1)) AS "INITIAL",
UPPER(RPAD('',20)) AS "LAST NAME",
UPPER(RPAD('',5)) AS "SUFFIX",
UPPER(RPAD(to_char(QUALDATE, 'mmddyyyy'),8)) AS "TRAINING DATE",
UPPER(RPAD('P123',8)) AS "Course ID",
UPPER(RPAD('',6)) AS "Class ID",
UPPER(RPAD('P',4)) AS "We",
UPPER(RPAD('',4)) AS "Make / Model",
UPPER(RPAD('',4)) AS "Cali",
UPPER(RPAD('',7)) AS "Barrell",
UPPER(RPAD('',15)) AS "Serial Number",
UPPER(RPAD('A',4)) AS "Qualification",
UPPER(RPAD('D',4)) AS "Application",
to_char((RAWSCORE/250)*100, 'fm000.00') AS "SCORE",
UPPER(RPAD('PASS',4)) AS "Status",
UPPER(RPAD('',8)) AS "Add Time",
UPPER(RPAD('',8)) AS "Record Add ID",
UPPER(RPAD('',8)) AS "Record Add Date",
UPPER(RPAD('',8)) AS "Record Change ID",
UPPER(RPAD('',8)) AS "Record Change Date",
row_number()over(partition by firearms_scores.ID_NUMBER order by QUALDATE desc ) rn
FROM FIREARMS_scores, TBL
where scores.id_number=tbl.id_number
and qualyear='2010' and coursecode='SA'
order by employee_id)
where rn =1Hi,
You RPAD doesn't do anything, since they are same as:
SQL> SELECT NULL AS "Record Add ID",
2 NULL AS "Record Add Date",
3 NULL AS "Record Change ID",
4 NULL AS "Record Change Date" FROM DUAL;
R R R R
SQL>Can't see why COLUMN command shouldn't do what you want. Maybe you forgot the double quotes?
SQL> COL "Record Add ID" FOR a18
SQL> COL "Record Add Date" FOR a18
SQL>
SQL> SELECT NULL AS "Record Add ID",
2 NULL AS "Record Add Date",
3 NULL AS "Record Change ID",
4 NULL AS "Record Change Date" FROM DUAL;
Record Add ID Record Add Date R R
SQL>P.S: You probably shouldn't set a column width which is smaller than the header length
Regards
Peter -
Before I go into a lengthy explanation of the problem: Can anyone help with Double Command issues. This a specific keyboard question and they do not seem to know.
Thanks much.
EmileChoose Force Quit from the Apple menu and close Mail from there.
(103661) -
Can Anyone help with syncing my contacts are getting duplicated and there is a file from my computer and they are not the same it is driving me carazy can anyone help?
Are you in DSL? Do you know if your modem is bridged?
"Sometimes your knight in shining armor is just a retard in tin foil.."-ARCHANGEL_06 -
Need help with a terminal command
Ever since Lion, or maybe even earlier, I am fighting a losing battle against memory leaks on my MacBook Pro. Safari for example takes over time 2GB+ for just 2 or 3 tabs open with almost no extensions active. Really strange.
Someone told me about the "purge" command in Terminal to free some of the sequestered memory, so I am doing this a few times a day to be able to use Photoshop, Keynote, Premiere and other stuff concurrently without opening and closing apps like I did 10 or 15 years ago, remember those days?
So here are my 2 questions:
Will this frequent "purge" command harm anything in the long run?
If no, is it possible to automate this "purge" Terminal action somehow? Maybe a desktop icon to click, or fully automated? I am a designer, not a coder, so I would need help with that.
Thank you for your input!
Model Name: MacBook Pro
Model Identifier: MacBookPro8,2
Processor Name: Intel Core i7
Processor Speed: 2.3 GHz
Number of Processors: 1
Total Number of Cores: 4
L2 Cache (per Core): 256 KB
L3 Cache: 8 MB
Memory: 8 GB
Boot ROM Version: MBP81.0047.B27Hello, do any modifier keys work, like Optio/alt?
Could you have Firmware password protection in Mac OS X ...
http://support.apple.com/kb/HT1352
It would block usage of all the startup keys, like C, N, T, D, CMD+s, CMD+Option+p+r, CMD +v, Option, and Shift, as well as booting from anything but the Hard Drive.
Force Removing Password Protection
1) Add or remove DIMMs to change the total amount of RAM in the computer.
2) Then, the PRAM must be reset 3 times. (Command + Option + P + R).
http://www.securemac.com/openfirmwarepasswordprotection.php -
Help please! My macbook air (2015) startup showed a folder with question mark so i tried "Command R" for internet recovery but after few minutes it stopped and showed error.. Please hepl me!
Startup – Question Mark
Startup Issues - Resolve
Startup Issues - Resolve (2)
Startup Issues - Resolve (3) -
Need help with Set-ADUser command
I need a little help with the following command. Im new to PS and I have found this command but it is only one user at a time. I need to be able to update ALL users in AD.
My goal is this. Someone before me set all Users Home numbers to 1234567899 and I need to remove that and leave it blank. The command below allows me to do that but only one user at a time by entering their SAMID.
Is there a way to do this for everyone in AD ?
Set-AdUser –Identity SAMID –HomePhone $NULLYeah sure -
Get-Aduser -filter * -properties SamaccountName | Select SamAccountName | % {Set-Aduser -identity $_.SamaccountName -HomePhone $null} -
I installed Exchange Server 2010 inside my VMWare Windows Server 2008 Ent R2. And After successful installation when I try to open my Exchange Server Console, I am getting the following error message. I am very new to Exchange server please help me
to solve this problem.
Initialization Failed
The following error occurred while searching for the on-premises Exchange server:
[win-.local] Connecting to remote server failed with the following error message : Access is denied. For more information, see the about_Remote_Troubleshooting Help topic. It was running the command 'Discover-ExchangeServer -UseWIA $true -SuppressError
$true -CurrentVersion 'Version 14.1 (Build 218.15)''.
Thanks Vivek
SharePoint Foundation 2010 Book
http://www.redpipit.comHi,
Please have a look at the article below:
Troubleshooting Exchange 2010 Management Tools startup issues
http://blogs.technet.com/b/exchange/archive/2010/02/04/3409289.aspx
Resolving WinRM errors and Exchange 2010 Management tools startup failures
http://blogs.technet.com/b/exchange/archive/2010/12/07/3411644.aspx
Besides, please run the cmdlet below:
set-user alias -remotepowershellenabled$true
Xiu Zhang
TechNet Community Support -
Help with Command - Stored Procedure
Hi all,
I'm having a great deal of difficulty getting my head around
an update command / stored procedure, I've pulled out all of my
books and spent the last two days on Google which has made my
confusion worse. In simple terms what I'm trying to do is update a
field in a table with the value y, but based on certain criteria.
So my table has the following fields -
JBAID
JBASiteID
JBADatePosted
JBAPostFor
JBANotified
What i want to do is update the value of field JBANotified on
all records that meeting the following criteria to Y
The criteria is -
WHERE DATEADD(d,JBAPostFor,JBADatePosted) BETWEEN DATEADD(d,
-7, GETDATE()) AND GETDATE() AND JBANotified = 'n' AND JBASiteID =
MMColParam (where MMColParam is Session("SITEID"))
So I've just tried building a command / stored procedure -
which reads (see attached code)(more than likely all wrong)
The things that I cant get my head around are -
Firstly getting the code right in the first place, running
the command on page load and then when the command has run
redirecting to the next page.
I really would appreciate some help with this -
thanks allEd Stewart wrote:
> Are you using CS3 with ASP/VBScript? There is a bug in
the command
> implementation that has this function broken.
>
> I asked about it in this forum several months ago, but
now I can't find my
> original post, but I did find another post that talks
about the same thing:
>
http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?forumid=12&catid=26
> 3&threadid=1281539&enterthread=y
>
> My solution is to drop back to DW8 for command editing,
but use CS3 for
> everything else. I don't know what you're supposed to do
if you don't have an
> earlier version.
>
> It looks like your sql is correct, but the bug prevents
the second code block
> is not being updated with the correct values.
>
> I hope a solution is forthcoming....
>
Create a stored procedure and then use a recordset to
exectute it,
making sure the recordset has matching parameters that the
stored
procedure expects.
Commands are broken, I reported it to Adobe and they said it
might get
fixed in the next version.
Steve -
Help with Expect command to change config on hundreds of ASA's.
Hi All,
I'm looking for some help with the Expect command to automate some tasks, I'm certainly no programmer but I am struggling, here is an example of my script.
#!/usr/bin/expect -f
# This simple Expect script will add a new Syslog destination in
# Cisco switches (IOS based)
# We assume here that all switches uses the same credentials
# for the administrative tasks
# Define variables
set password "site1"
set enablepassword "site1"
# Define all the switches to be reconfigured (separated by spaces)
set switches "site1 site2 site3"
# Main loop
foreach switch $switches {
puts "Processing switch: $switch";
# Open the telnet session:
spawn telnet $switch
# Perform authentication
expect "Password:"
send "$password\r"
expect ">"
# Switch to enable mode
send "en\r"
expect "Password:"
send "$enablepassword\r"
expect "#"
# Enable configuration mode (terminal)
send "conf t\r"
expect "#"
# Modify VLAN1
send "interface vlan1\r"
expect "#"
# Change VLAN1 Description to Uppercase
send "description INSIDE\r"
expect "#"
send "exit\r"
expect "#"
# Save config to NVRAM
send "wr\r"
expect "#"
#Logging out
send "exit\r"
expect eof
In the example this works fine for SITE1 passing the credentials SITE1 as the default password and SITE1 as the enable password. I need to do usernames and passwords that are different for each site. I have to make some changes across hundreds of ASA's to terminating tunnels to a new location. Can anyone help out in how to do this, I know I am close I just need it to read, siteA, username, both passwords from a text file, etc
GregHello,
try to modify this example to your needs ->
http://www.bitpapers.com/2012/04/cisco-changing-configurations-of-many.html
Best Regards
Please rate all helpful posts and close solved questions
Maybe you are looking for
-
Credit check for oldest open item
Hello friends While checking oldest open item for credit management, open line items with credit nature should not be considered. Only debit entry should be considered and based on date given for blocking the oldest due item should be followed. Pleas
-
HELP!!!!!! I can't click anything on my computer?
My computer randomly restarted itself and when it came back on, I could not open anything on my desktop. When I click on something a loading thing comes up for a second then goes away. Also my battery icon on the bottom right corner is completely bla
-
Does a speaker consum ipod's battery?
HI! I'm thinking about buying a speaker for my ipod, but I don't know if it will consum battery or not. I mean... Speaker consums ipod's battery when plugged?, Battery's life will be shorter if I use it? Or it only feeds ipod when playing and charge
-
Dear SAP Gurus, Please guide me on following. I am configuring Domestic and Export pricing procedure on TAXINN ( Sales and Distribution ). 1. For domestic pricing procedure as required I have maintained all excise conditions in it and excise invoice
-
Not able to start the RAC database service
Hi Experts, I have created a RAC Database service . I have made two instances as preferred and no instance as available. When i am trying to start the service (srvctl start service -s newser -d newdb) , the command is hanging. Please help me out. Tha