How do we create Dynamic Breadcrumbs
Hi All,
I have 10 tabs, a->b->d....->j. which is having two master pages like 1->2->a->b->........->j
I have to go to 5th tab from two different pages, How can I create breadcrumbs dynamically?
it should show like this 1->2->abc(new page)->5th tab
Please give me some suggestions.
Thanks in advance.
I do not have an online example. In my case, I had one page I had to display different breadcrumbs on and navigate to another page from there, e.g.
Main page -> Page with dynamic breadcrumb -> Another page
You populate a breadcrumb item with a breadcrumb value on a page with a dynamic breadcrumb depending on your scenario or conditions, e.g.
Main page -> This is my first option -> Another page
or
Main page -> This is my second option -> Another page
====
ON LOAD
if some condition then
:breadcrumb := 'This is my first option';
else
:breadcrumb := 'This is my second option';
end if;
Similar Messages
-
How can we create dynamic pie chart in jsp
hi im a new jsp programmer and i just want to know how can i create dynamic pie chart in jsp
http://sourceforge.net/projects/jfreechart
- Saish -
How can i Create Dynamic mailing lists with Iplanet Delegated Administrator
Hello people,
Could anyone help me in this matter please?
I am running IMS5.2 with Netscape Directory4.16. I need help about how to create a Dynamic Mailing list using de Iplanet Delegated Administrator, not using the traditional Netscape Console.
If someone can help me, i will apreciate.
bye.
Azim LakhaIn 24.4.0 there is no File|New|Address Book. There is File|New|Address Book Contact. How do I create a new address book ?
-
How do I create dynamic HREF anchors??
Is there any way where I can get a value rendered from a Bean into JavaScript??
how do I write a javaScript function that can read in the commandLink
Can I do like this??? Let me know; this is kind a vague :-(
Eg:
<h:dataTable var="test" value="#{TestBean.list}">
<t:column>
<t:commandLink value="#{test.name}" id="pathway" onClick="dosomething(#{test.name})" />
<t:column>
</h:dataTable>
<script>
doSomething(test)
document.location.href="#test";
</script>
//Essentialy the goal is to create dynamic Hrefsuse h:outputLink
-
How can I create dynamic file references in Power Query?
Hi all,
I'm new at using PowerQuery, and so far I like it. There's one thing I am struggling with though... Once I have set up my PoweQuery connections, I don't find an easy way to change the file to which the query is connecting. I'm using it for a monthyl recurring
process, and every month the source data to query on woudl be different. The same in format/structure, but just a different dataset.
Is there a way to make the source setup more dynamic? Can I for example in a parameters sheet enter the name and path of the new source file and update the queries?
Currently the Advanced editor shows me following file reference:
let
Source = Excel.Workbook(File.Contents("Z:\Templates\EMEA\Source Data Tables\EMEA_EW_Source_Data_for_Power_Queries v1.xlsm")),
Thanks in advance for suggestionsYes, this is something that you can do with Power Query. Here's how you can do it:
Create a table in Excel containing your parameter value. Let's say that it has one column, called ParameterValue, and one row.
Create a new Power Query query that gets the data from this table. Call the query something like ParameterQuery.
In your original query you will now be able to reference values from your parameter query by saying something like this:
Source = Excel.Workbook(File.Contents(ParameterQuery[ParameterValue]{0})),
HTH,
Chris
Check out my MS BI blog I also do
SSAS, PowerPivot, MDX and DAX consultancy
and run public SQL Server and BI training courses in the UK -
How I can create dynamically-formed requests or use native SQL in EJB?
Hi all.
I'm working around modify an example from NetWeaver Developer Studio (CarRental). I want to get ordered data from table and allow users to specify the ordering field, not in the code. EJB QL doesn't support dynamically-formed queries like "select object(b) from QuickBooking b where b.status like ?1 order by b.<b>?2</b>" so i can't passing field name as parameter into query. Creating a sorting method for every field is not good solution because I need a dynamically-formed requests.
I think using native SQL will help but I don't know how I can use SQL in EJB.
Thanks,
Levimport javax.persistence.EntityManager;within class, place
protected EntityManager entityManager;of course make it public, private, whatever you need.
Then, in your method
entityManager.createNativeQuery(....);R. Grimes -
How would i create dynamic categories.
http://www.quietlyscheming.com/blog/components/flexbook/
http://www.rubenswieringa.com/blog/flex-book-component-beta
I am trying to create a dynamic flipbook, the first one i
ever made in flex is here.
http://proof7.com/holiday2008/
Now I am trying to create a book with a few different
categories. 8 to be specific.
How would I go about creating a book with sub categories that
will allow me to click a menu or button, to flip to the next
category, but the actual page contents be dynamic?
The other members of my team say that it can be achieved
through XML, but I havent seen any examples showing how to
dynamically generate pages from the DB. Some say use the URLloader.
The code is from the QS version. I like this one because it
has the zoom but I have to figure out how to get it to talk with
the backend first.
Any help would be greatly appreciated.
Courthttp://www.rubenswieringa.com/blog/flex-book-component-beta
Nobody ever created a project that had more than 1 category
with this component? -
How can we create dynamic query
can any one please tell me how can we cretae a dynamic query in android by join two tables
Hi Mousumi,
Can you please be more brief on the question.
cretae a dynamic query in android by join two tables
What do you mean by this ? -
How do I create dynamic external links
I am attempting to create a dynamic link from information
stored in a sql database. The database table has one field, the
website address. The code below successfully pulls the information
from the database but it does not display as a link, only as text.
<?php do { ?>
</MM:DECORATION></MM_REPEATEDREGION>
</a>
<MM_REPEATEDREGION SOURCE="@@rs@@"><MM:DECORATION
OUTLINE="Repeat" OUTLINEID=2><p><?php echo
$row_rskingsLinks['kingsLinks']; ?></p>
<a href="<?php echo $row_rskingsLinks['kingsLinks'];
?>">
<?php } while ($row_rsKingscentre =
mysql_fetch_assoc($rsKingscentre)); ?>
I have added the following code to create a link but it trys
to link to a local url which it can not find
<?php do { ?>
</MM:DECORATION></MM_REPEATEDREGION>
</a>
<MM_REPEATEDREGION SOURCE="@@rs@@"><MM:DECORATION
OUTLINE="Repeat" OUTLINEID=2><p><a href="<?php echo
$row_rsKingscentre['']; ?>"><?php echo
$row_rskingsLinks['kingsLinks']; ?></a></p>
<a href="<?php echo $row_rskingsLinks['kingsLinks'];
?>">
<?php } while ($row_rsKingscentre =
mysql_fetch_assoc($rsKingscentre)); ?>
</a></div>
<?php echo $row_rskingsLinks['kingsLinks'];
?></a></p>Where are you getting this code?
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
==================
"jeffoirecoupe1234" <[email protected]>
wrote in message
news:g147fb$cnv$[email protected]..
>I am attempting to create a dynamic link from information
stored in a sql
> database. The database table has one field, the website
address. The code
> below
> successfully pulls the information from the database but
it does not
> display as
> a link, only as text.
>
> <?php do { ?>
> </MM:DECORATION></MM_REPEATEDREGION>
> </a>
> <MM_REPEATEDREGION
SOURCE="@@rs@@"><MM:DECORATION OUTLINE="Repeat"
> OUTLINEID=2><p><?php echo
$row_rskingsLinks['kingsLinks']; ?></p>
> <a href="<?php echo
$row_rskingsLinks['kingsLinks']; ?>">
> <?php } while ($row_rsKingscentre =
> mysql_fetch_assoc($rsKingscentre));
> ?>
>
> I have added the following code
> <?php do { ?>
> </MM:DECORATION></MM_REPEATEDREGION>
> </a>
> <MM_REPEATEDREGION
SOURCE="@@rs@@"><MM:DECORATION OUTLINE="Repeat"
> OUTLINEID=2><p><a href="<?php echo
$row_rsKingscentre['']; ?>"><?php echo
> $row_rskingsLinks['kingsLinks'];
?></a></p>
> <a href="<?php echo
$row_rskingsLinks['kingsLinks']; ?>">
> <?php } while ($row_rsKingscentre =
> mysql_fetch_assoc($rsKingscentre));
> ?>
> </a></div>
>
Text
Text
<?php echo
$row_rskingsLinks['kingsLinks'];
> ?></a></p>
<?php echo $row_rskingsLinks['kingsLinks'];
> ?></a></p>
> -
How do I create dynamic scrolling text in Flash CS5?
Hi everyone,
I am a complete newbie to Flash. I'm tyring to build a scrolling text box that automatically scrolls. On mouse over, I want the scrolling to stop so users can click on an item in the text box. All of the items will be tied to external hyperlinks. I want to populate the text box with an external file. I've done some searches on Adobe, but haven't found anything that takes me through the whole process.
I have the complete Adobe Master Collection. So if this is easier in Flash Catalyst, let me know. I know how to buid a manual scroll box in Flash Catalyst. Could I export this to and add the auto-scrolling?
Remember, I'm a complete newbie.
Any help will be greatly appreciated.
Thanks!Thanks again Kglad,
I really have no preference of Action Script since I don't have any significant experience with either one.
I'll keep doing searches to see if I can get the information I need.
Have a great holiday. -
How to create dynamic room in runtime execution?
Hello All,
Can you please suggest me how can I create dynamic room in runtime execution? I do not want to create fixed room from the room consol. I want to create a new room & also delete it after work complete in runtime execution.
thanks,
krishHi Krish,
If you are using your own server to do ExternalAuthentication, then you can
user server to server API's to do that. Please refer to Server2Server apps
in the SDK's sample apps folder.
Else you might have to use AccountManager with room
owner credentials. But the Server2Server aprroach is highly recommended.
private var acctMgr:AccountManager = new AccountManager();
acctMgr.accountURL = m_accountURL;
acctMgr.authenticator = authenticator;
acctMgr.addEventListener(AccountManagerEvent.LOGIN_SUCCESS, authenticateSuccess);
//acctMgr.addEventListener(AccountManagerEvent.LOGIN_FAILURE, authenticateFailure);
//acctMgr.addEventListener(AccountManagerEvent.ACCESS_ERROR, onAuthenticationAccessError);
public function authenticateSuccess(event:AccountManagerEvent):void {
acctMgr.addEventListener(AccountManagerEvent.ROOM_DELETE, onRoomDelete);
acctMgr.deleteRoom(name, template);
public function onRoomDelete(event:AccountManagerEvent):void {
Thanks
Arun -
When you define a movement type, you can set up the system to create dynamic storage bins in the assigned interim storage area. In this case, the system uses the document number which triggered the stock movement as the coordinates for the interim storage bin.
For example, for a goods receipt, you can set up the system to use the purchase order number as the storage bin coordinates in the interim storage area for goods receipts.
These coordinates only exist as long as the quant is in the interim storage bin; afterwards, they are deleted.
Where do I do the config for the above scenario..
I tried creating bins for interim storage typees in LX20....after creating an interim storage area through referencing standard ones in IMG... I cant understand how the system creates dynamic bins for the movement type. Please helpLX20 is for static bins.
The dynamic ones are created automatically by the system when the stock is moved to the area.
In the movement type configuration in the WM:
(LE -> WM -> Activities -> Define movement types)
Select your movement type and warehouse and make sure the SCR box is checked
Also check that the field is mapped correctly for the dynamic bin in
LE-> WM -> Activities -> Define Requirements
Field Name is what is grabbed -
I want that the breadcrumbs in my UIX aplication grows dynamically while you are visiting pages and i would like specify the text to show.
So, i have created an UIX template for all my pages like this:
<provider>
<data name="breadCrumbs">
<method class="view.BreadCrumbs"
method="obtieneListaLinks"/>
</data>
</provider>
<breadCrumbs>
<contents childData="${uix.data.breadCrumbs}">
<link text="${uix.current.titulo}" destination="${uix.current.URL}"/>
</contents>
</breadCrumbs>
with java class BreadCrumbs.java with a method:
public static Object obtieneListaLinks(RenderingContext context, String namespace, String name)
BajaContext ctx=BajaRenderingContext.getBajaContext(context);
String pagina = new String(ctx.getServletRequest().getRequestURL());
Page page=BajaRenderingContext.getPage(context);
String nombrePagina = page.getName();
//Se crea un nodo de la lista con la dirección actual
HashMap pareja=new HashMap();
pareja.put("titulo", nombrePagina);
pareja.put("URL", pagina);
int indice=listaLinks.indexOf(pareja);
//Se recorre la lista de links para ver si el nodo ya existía
if (indice>-1)
//Y si existía, se elimina ese nodo, y todos los siguientes
for (int i=listaLinks.indexOf(pareja); i<listaLinks.size(); indice++)
listaLinks.remove(i);
//Se añade al final de la lista el nodo actual
listaLinks.add(pareja);
//y por último el nodo ficticio vacío que no se visualizará
listaLinks.add(a);
return listaLinks;
But I can´t obtain any page's property. If i try to do a "page.getProperties()" i get null.
What's wrong? Am I trying to reinvent the wheel?
Thank's in advance
Carlos
PD. JDev 10.1.2OK, I have a followup question...I thought that maybe if I could keep track of the previous page I might be able to do something with the breadcrumbs. So I created an Application Process that fires on Submit.
The problem is the process never runs. I've done a lot of testing and the application level process does not fire. If I change the process to run on load, it runs fine. I created a link on a column and use that to link to the page on my interactive report.
Can anyone tell me why my application level process is not being executed? Oh, and let me know if I am on the right track to create dynamic breadcrumbs :)
Thanks,
-- John -
TopLink - create dynamically session login ?
Hi all,
pls, how can I create dynamically login to database?
I use toplink workbench and in this step 6: [http://www.oracle.com/technology/products/ias/toplink/doc/11110/tutorial/intro/standalone/intro_tutorial010.htm#CIHIHIFF] I do not check "save Login and Password" ...
If I set static user and password, everthing works fine, bud i need created login dynamically.. my code is:
+protected void createSession() throws Exception {+
System.setProperty("toplink.xml.platform", "oracle.toplink.platform.xml.jaxp.JAXPPlatform");
XMLSessionConfigLoader loader = new XMLSessionConfigLoader(getSessionsXmlPath());
SessionManager mgr = oracle.toplink.tools.sessionmanagement.SessionManager.getManager();
session.setLogin(applyLogin());
session = (ServerSession)mgr.getSession(loader, getSessionName(), Thread.currentThread().getContextClassLoader(), true, true);
+}+
+private DatabaseLogin applyLogin(){+
DatabaseLogin login = new DatabaseLogin();
login.usePlatform(new oracle.toplink.platform.database.oracle.Oracle8Platform());
login.setDriverClassName("oracle.jdbc.OracleDriver");
login.setConnectionString("path"); //jdbc:oracle:thin:@HOST:PORT:SID - path is OK (but its SECRET) :-)
login.setUserName("user"); //USER NAME - user is OK, but secred ;-)
login.setEncryptedPassword("pass"); //PASSWORD, ENCRYPTED password is OK ;-)
return login;
+}+
but it still returns java.lang.NullPointerException! If i set in TopLink workbench user and password, so it works..
Any ideas, how set login in Java, pls?
Sry for my English..
Thanks advance!
Bes regards, KLDWell,
now it's works, but I have still one problem :(
If I create a session in the TopLink Benchmark, and I don't save a user and user's password in the connection to the DB (in Benchmark when I create Login in session.. - and this I don't want to save user and password!) the sessions is created OK:
session = (ServerSession)mgr.getSession(loader, getSessionName(), Thread.currentThread().getContextClassLoader(), false, true);
Login is created OK:
session.setLogin(myLogin());
+private DatabaseLogin myLogin(){+
DatabaseLogin login = new DatabaseLogin();
login.usePlatform(new oracle.toplink.platform.database.oracle.Oracle11Platform());
login.setDriverClassName("oracle.jdbc.driver.OracleDriver");
login.setConnectionString("xxx"); //jdbc:oracle:thin:@HOST:PORT:SID
login.setUserName("xxx"); //USER NAME
login.setEncryptedPassword(xxx"); //PASSWORD, ENCRYPTED
return login;
+}+
But If I want login to the DB with this login and session:
session.login();
Then return java.lang.NullPointerException
and in console is write:
*Exception [TOPLINK-4002] (Oracle TopLink - 11g (11.1.1.0.0) (Build 080909)): oracle.toplink.exceptions.DatabaseException*
Internal Exception: java.sql.SQLException: call invalid arguments
Error Code: 17433
But I don't now how? If i save user and password in benchmark, everthing works fine...
Any ideas, pls?
Thanks advance!
Sry for my English...
Best regards, KLD. -
Need to create Dynamic Varient
Hi,
Need to create Dynamic Varient
My Requirement is :
When the program runs on last day of the month, varient has to be set up to populate the
the File path as :
/PA1/Interfaces/FlatFiles/new_sales_history.txt
When the program runs on Working day + 1, then the other varient has to be set up to populate the File Path as :
/PA1/Interfaces/FlatFiles/sales_history.txt
Can anybody let me know how i can create Dynamic Varient...?
Any suggestions will be appreciated!
Regards,
KittuConsider the following option:
1) Create two parameters on selection screen. One for working day file and another for working day + 1 file.
2) Use logic inside program to determine if working day or not. Accordingly use the correct file name (from parameter).
3) Users can override the file parameters online. If needed, when the program is run online (SY-BATCH = ' '), issue a confirmation popup for the file to be used.
I am not sure "dynamic variants" is the way to go here because you will have to build another program/process of updating it everyday. But here is information about it anyways...
To create customer defined variables to be used in a variant, you will have to create it in table TVARV. See the following two links for further information:
http://help.sap.com/saphelp_45b/helpdata/en/c0/980398e58611d194cc00a0c94260a5/frameset.htm
https://www.sdn.sap.com/irj/scn/wiki?path=/display/abap/creatingdynamicvariantusingtable+TVARV
Maybe you are looking for
-
Manually adding an attachment to FND tables
I know that there have been a few posts that outline how to handle adding an attachment to FND tables but I have an additional question. I have an trigger on each of the following four tables that captures all data when uploading an attachment when c
-
List all active change documents
Is there a way to list all ACTIVE change documents? In other words - I only want ot know which change documents are being used in the system... Thanks
-
LIghtroom 2 and college server
-I am not a techie and -I hope I get this right. i am the photographer at the college I work at. I am using Lightroom 2 to put keywords on my photos. The college techies want me to put my photos on a server ( I really don't totally understand this co
-
My iPhones iTunes Radio doesn't work it says "iTunes radio is temporarily unavailable try again later" some one please help I really want to listen to the radio. please help my life depends on anyone who fixes the problem.
-
I have CS4 but I was reading an old book by the Meyers, Creating Motion Graphic with AE Vol 1. the Essentials (©2004). On the DVD they have some Free Plugins - by various manufactures. In the chapter projects they mention that some of the plugins