Can you set pager attribute using jstl c:out tag?

I am trying to use the pager tag library from jsptags.com. The pager tag has a maxPageItems attribute. I want maxPageItems to be variable. I also want to use the jstl instead of scriptlets and expressions. Instead of writing
<pg:pager
    maxPageItems="<%= myPageItems %>" >I want to write
<pg:pager
    maxPageItems="<c:out value='myPageItems'/>">When I do this I get a java.lang.NumberFormatException: for input string: ""
I think this issue is documented on the jsptags website. So maybe I have no choice but to use the expression format. I guess I should also mention that I am using jstl 1.1 and jsp 1.2 (implemented in tomcat 4.1.27)
Has anyone tried this and had success?
Did I provide enough information?

Sorry, but you can't use tags as attributes to other tags (where would it end?)
You're stuck with using <%= %> syntax.

Similar Messages

  • Can you set Pages to add the bar code when you print an envelope

    When you use Pages to address an envelope, can you set it to add the bad code?

    No. I prefer to use the free EasyEnvelopes widget that does.

  • Can you set up an iTunes account w/out a credit card?

    Ok, here's the deal... I'm buying a 10 year old an iPod Touch for Christmas.  She needs to have her own iTunes account for purchasing stuff (apps, music, etc.) Is it possible to set up an iTunes account WITHOUT adding a credit card? I need her to operate completely off of iTunes gift cards so that I can 1) controll how much she spends, 2) avoid having to either enter my password every time she wants to buy a Justin Bieber song with my debit card, and 3) avoid random charges popping up on my credit card whenever she does purchase said Bieber songs by letting her know the password in an attempt to accomplish task #2... 
    Is there a way to set up an iTunes account without entering billing information? So that the account operates on 100% iTunes credit?  Is there a parental setting to block access to the card used to set up the account? With all the kids with iPods there has GOT to be a way to set this up... or else there are probably a LOT of broke parents chasing after them.... 

    Glad this helped! You might want to check this article on Understanding Restrictions on the iPad: http://support.apple.com/kb/HT4213.
    Al

  • Oracle scheduler : Setting job attributes using Enterprise Manager

    Hi,
    I have created below job and set the attribute "'raise_events" using the dbms_scheduler.set_attribute procedure.
    begin
    dbms_scheduler.create_job
    ( 'ebj_A', job_action =>
    '/tmp/job_A.ksh',
    job_type => 'Executable',
    enabled => false ,
    auto_drop =>false) ;
    dbms_scheduler.set_attribute
    ( 'ebj_A' , 'raise_events' , dbms_scheduler.job_run_completed);
    end;
    Now I am creating the same job using the Enterprise Manager (GUI).
    I donot see any where to set the attribute (Raise_events) using GUI.
    Please can you tell me can we set that attribute using the Enterprise manager or not.
    If yes please let me know how.
    Thanks in advance.
    Sreenath.

    Hi ,
    I am modified my question.
    We could set the value for "raise_events" attribute using Dbms_Scheduler.Set_Attribute.
    Can we also set the value for the "raise_events" attribute using the EM.(GUI).
    Please let me know.
    Thanks in advance.
    Sreenath.

  • Can you set iphone alarm to phone calls only?

    when i had a blackberry you could set it to "phone calls only" in one simple step, so while you were sleeping you didn't get bothered by emails and texts, but still would hear the phone ring for emergencies.  can you set this easily on iphone with out having to uncheck all notifications etc?

    **** it!  thanks for the quick resposne...you would think for something that simple you'd be able to

  • Can you set a web page as a 'home page' on the i phone safari as you would?

    Can you set a home page or will the safari button always take you to the last web site you were on?

    You cannot set a Home Page in Safari but if you save your favorite bookmark to the home screen, you can use that to open the browser on iPhone.
    To do this:
    Open Safari and open the page you want for the "Home Page".
    Tap the "+" at the bottom of the screen and select "Save to Home Screen"
    You can then name it whatever you wish and tap Save.
    This will create an icon on the home screen that you can tap on to always open Safari to that page.

  • In Initial View, can you set defaults for Navigation tab, Page layout, and Magnification?

    Adobe Acrobat 9 Pro V9.4.0
    Win7 Pro x64
    Problem: In Initial View, can you set defaults for Navigation tab, Page layout, and Magnification?
    Every time Acrobat scans a document, I have to go to Initial View to set Navigation tab, Page layout, and Magnification. It does not remember the settings I last used.
    Thanks in advance.

    See my response to this post

  • Can you set up apple tv using 2 different itunes accounts from 2 different macs in same household?

    can you set up apple tv using 2 different itunes accounts from 2 different macs in same household?

    No, you can only connect to one Home Sharing account at a time. If you want to see the content of the other Mac's library you will have to turn off Home Sharing on the Apple TV and log back in with the other iTunes account.

  • HT1677 Where can you set default in Safari to view as web page instead of Mobile Version?

    Where can you set the default setting in Safari to open page as web page instead of Mobile Version on iPad running iOS6.01?

    And, to make it even more fun, sometimes a website changes how it deals with Safari Mobile. A website that treated it like a desktop browser suddenly starts treating it like a cell phone. Just to mess with you. Or push an app.
    Best of luck.

  • How can i set  "Createdby" attribute  When using Custom JheadStart Security

    Hello
    We do not use JASS for Authentication , please help us how can i set createtby attributes with jhs.username in application for any entity object?
    thanks

    See a similar question at History Attributes when using Custom Authentication Type

  • Can you set up a new I Tunes account, but still use the same email address, as having problems with it keep telling me it has been disabled, no matter what I do to chnage the passwords, I haven't used the account since 2010?

    can you set up a new I Tunes account, but still use the same email address, as having problems with it keep telling me it has been disabled, no matter what I do to change the passwords, I haven't used the account since 2010?

    Hi eddinchina,
    You should have no need to use the Old Sync account.
    As long as device or devices are Firefox 29 or later (They should all be Firefox 30 now) you should use the New Sync.
    You may use the same email address with both accounts.

  • Using MS Access Web App, can you set the tab order of the fields on a form?

    Using MS Access Web App, can you set the tab order of the fields on a form?  Doesn't appear to be a property.  I don't see a programmatic method.  I saw someone suggest using goto control on the after update event trigger but what if the person
    doesn't edit the field?  No event would be fired.
    Jim

    Hi Jim,
    >>Using MS Access Web App, can you set the tab order of the fields on a form?
    I am afraid you could not. In Web applications, the tab order is set automatically and cannot be changed.
    (From
    https://support.office.com/en-au/article/Set-the-tab-order-for-controls-3d7f749c-5a53-42b2-bb0e-2323fa044e2e)
    >> I saw someone suggest using goto control on the after update event trigger but what if the person doesn't edit the field?  No event would be fired.
    The goto method is a workaround, but it should be triggered by a specific event. What I can figure out is changing the order of the fields.
    If this is a feature you want to include in future versions of Access Web app, please submit a feedback as the picture below:
    Best Regards,
    Edward
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Can you set Face time to prompt for password on use?

    Can you set Facetime to require password each time you go into the app?
    Regards,
    Buc

    No. you cannot set a password for individual Apps unless said App has that feature. Apple Apps like FaceTime do not.
    .  You can however use Restrictions to disable Facetime, and only enable it when you want to use it, by going back into restrictions and enabling it.
    Settings->Restrictions->Facetime (Turn Off)
    You'll need to enter the set password to enable / disable it each time.

  • HT3529 can you set up and save groups of more than 10 contacts for imessages for future use?

    can you set up and save groups of more than 10 contacts for imessages for future use?

    It can be done by creating a contact for that group which includes all their email addresses all separated by a comma or semicolon. You may have to format it just right depending on the email service you're using. Also, you will have to type this out in Notes first in order to be able to get the punctuation in there, then copy & paste the entire list into the email field of the new contact.

  • Can you set up a wireless network/router using only the iPad?

    Can you set up a wireless network/modem/router using only an iPad - if you don't have a computer?

    You actually can as most routers come with a web interface that lets you tinker with all things with regard to set up and connection.
    You have to choose though as there are other routers that would require you to plug-it in to a computer first, as they have a desktop application to make way for easier set-up.
    But for everything else, it is done through a web client which is just like accessing any web site.

Maybe you are looking for